nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
40,
76,
21,
38
] | 63 | [
"40+21=61",
"76/38=2",
"61+2=63"
] | Current State: 63:[40, 76, 21, 38], Operations: []
Exploring Operation: 40+21=61, Resulting Numbers: [76, 38, 61]
Generated Node #2: [76, 38, 61] from Operation: 40+21=61
Current State: 63:[76, 38, 61], Operations: ['40+21=61']
Exploring Operation: 76/38=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 76/38=2
Current State: 63:[61, 2], Operations: ['40+21=61', '76/38=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[40, 76, 21, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [40, 21, 2]
Generated Node #0,0: 63:[40, 21, 2] Operation: 76/38=2
Exploring Operation: 40-38=2, Resulting Numbers: [76, 21, 2]
Generated Node #0,1: 63:[76, 21, 2] Operation: 40-38=2
Moving to Node #0,1
Current State: 63:[76, 21, 2], Operations: ['40-38=2']
Exploring Operation: 76-2=74, Resulting Numbers: [21, 74]
Generated Node #0,1,0: 63:[21, 74] Operation: 76-2=74
Exploring Operation: 76-21=55, Resulting Numbers: [2, 55]
Generated Node #0,1,1: 63:[2, 55] Operation: 76-21=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[2, 55], Operations: ['40-38=2', '76-21=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[21, 74], Operations: ['40-38=2', '76-2=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 63:[40, 21, 2], Operations: ['76/38=2']
Exploring Operation: 40/2=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 63:[21, 20] Operation: 40/2=20
Exploring Operation: 40+21=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 40+21=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[21, 20], Operations: ['76/38=2', '40/2=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['76/38=2', '40+21=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[40, 76, 21, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [40, 21, 2]
Generated Node #0,0: 63:[40, 21, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 63:[40, 21, 2], Operations: ['76/38=2']
Exploring Operation: 40+21=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 40+21=61
Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['76/38=2', '40+21=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
29,
1,
67,
78
] | 39 | [
"29-1=28",
"78-67=11",
"28+11=39"
] | Current State: 39:[29, 1, 67, 78], Operations: []
Exploring Operation: 29-1=28, Resulting Numbers: [67, 78, 28]
Generated Node #2: [67, 78, 28] from Operation: 29-1=28
Current State: 39:[67, 78, 28], Operations: ['29-1=28']
Exploring Operation: 78-67=11, Resulting Numbers: [28, 11]
Generated Node #3: [28, 11] from Operation: 78-67=11
Current State: 39:[28, 11], Operations: ['29-1=28', '78-67=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[29, 1, 67, 78], Operations: []
Exploring Operation: 78-29=49, Resulting Numbers: [1, 67, 49]
Generated Node #0,0: 39:[1, 67, 49] Operation: 78-29=49
Exploring Operation: 78-67=11, Resulting Numbers: [29, 1, 11]
Generated Node #0,1: 39:[29, 1, 11] Operation: 78-67=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[29, 1, 11], Operations: ['78-67=11']
Exploring Operation: 29-11=18, Resulting Numbers: [1, 18]
Generated Node #0,1,0: 39:[1, 18] Operation: 29-11=18
Exploring Operation: 29+11=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 39:[1, 40] Operation: 29+11=40
Moving to Node #0,1,1
Current State: 39:[1, 40], Operations: ['78-67=11', '29+11=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[29, 1, 67, 78], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [29, 1, 11]
Generated Node #0,1: 39:[29, 1, 11] Operation: 78-67=11
Moving to Node #0,1
Current State: 39:[29, 1, 11], Operations: ['78-67=11']
Exploring Operation: 29+11=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 39:[1, 40] Operation: 29+11=40
Moving to Node #0,1,1
Current State: 39:[1, 40], Operations: ['78-67=11', '29+11=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
77,
48,
16,
42
] | 32 | [
"77-42=35",
"48/16=3",
"35-3=32"
] | Current State: 32:[77, 48, 16, 42], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [48, 16, 35]
Generated Node #2: [48, 16, 35] from Operation: 77-42=35
Current State: 32:[48, 16, 35], Operations: ['77-42=35']
Exploring Operation: 48/16=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 48/16=3
Current State: 32:[35, 3], Operations: ['77-42=35', '48/16=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[77, 48, 16, 42], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [48, 16, 35]
Generated Node #0,0: 32:[48, 16, 35] Operation: 77-42=35
Exploring Operation: 48-42=6, Resulting Numbers: [77, 16, 6]
Generated Node #0,1: 32:[77, 16, 6] Operation: 48-42=6
Exploring Operation: 77-48=29, Resulting Numbers: [16, 42, 29]
Generated Node #0,2: 32:[16, 42, 29] Operation: 77-48=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[16, 42, 29], Operations: ['77-48=29']
Exploring Operation: 42-16=26, Resulting Numbers: [29, 26]
Generated Node #0,2,0: 32:[29, 26] Operation: 42-16=26
Exploring Operation: 42-29=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 32:[16, 13] Operation: 42-29=13
Exploring Operation: 29-16=13, Resulting Numbers: [42, 13]
Generated Node #0,2,2: 32:[42, 13] Operation: 29-16=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[16, 13], Operations: ['77-48=29', '42-29=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,32 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[29, 26], Operations: ['77-48=29', '42-16=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,32 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[42, 13], Operations: ['77-48=29', '29-16=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,32 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[48, 16, 35], Operations: ['77-42=35']
Exploring Operation: 48-35=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 32:[16, 13] Operation: 48-35=13
Exploring Operation: 48-16=32, Resulting Numbers: [35, 32]
Generated Node #0,0,1: 32:[35, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [35, 3]
Generated Node #0,0,2: 32:[35, 3] Operation: 48/16=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[16, 13], Operations: ['77-42=35', '48-35=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,32 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[35, 32], Operations: ['77-42=35', '48-16=32']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[35, 3], Operations: ['77-42=35', '48/16=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[77, 48, 16, 42], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [48, 16, 35]
Generated Node #0,0: 32:[48, 16, 35] Operation: 77-42=35
Moving to Node #0,0
Current State: 32:[48, 16, 35], Operations: ['77-42=35']
Exploring Operation: 48/16=3, Resulting Numbers: [35, 3]
Generated Node #0,0,2: 32:[35, 3] Operation: 48/16=3
Moving to Node #0,0,2
Current State: 32:[35, 3], Operations: ['77-42=35', '48/16=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
87,
92,
32,
72
] | 45 | [
"92-87=5",
"72-32=40",
"5+40=45"
] | Current State: 45:[87, 92, 32, 72], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [32, 72, 5]
Generated Node #2: [32, 72, 5] from Operation: 92-87=5
Current State: 45:[32, 72, 5], Operations: ['92-87=5']
Exploring Operation: 72-32=40, Resulting Numbers: [5, 40]
Generated Node #3: [5, 40] from Operation: 72-32=40
Current State: 45:[5, 40], Operations: ['92-87=5', '72-32=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[87, 92, 32, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [87, 32, 20]
Generated Node #0,0: 45:[87, 32, 20] Operation: 92-72=20
Exploring Operation: 87-32=55, Resulting Numbers: [92, 72, 55]
Generated Node #0,1: 45:[92, 72, 55] Operation: 87-32=55
Exploring Operation: 92-87=5, Resulting Numbers: [32, 72, 5]
Generated Node #0,2: 45:[32, 72, 5] Operation: 92-87=5
Exploring Operation: 87-72=15, Resulting Numbers: [92, 32, 15]
Generated Node #0,3: 45:[92, 32, 15] Operation: 87-72=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[32, 72, 5], Operations: ['92-87=5']
Exploring Operation: 72-32=40, Resulting Numbers: [5, 40]
Generated Node #0,2,0: 45:[5, 40] Operation: 72-32=40
Exploring Operation: 72-5=67, Resulting Numbers: [32, 67]
Generated Node #0,2,1: 45:[32, 67] Operation: 72-5=67
Exploring Operation: 32-5=27, Resulting Numbers: [72, 27]
Generated Node #0,2,2: 45:[72, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [72, 37]
Generated Node #0,2,3: 45:[72, 37] Operation: 32+5=37
Moving to Node #0,2,0
Current State: 45:[5, 40], Operations: ['92-87=5', '72-32=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,45 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[87, 92, 32, 72], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [32, 72, 5]
Generated Node #0,2: 45:[32, 72, 5] Operation: 92-87=5
Moving to Node #0,2
Current State: 45:[32, 72, 5], Operations: ['92-87=5']
Exploring Operation: 72-32=40, Resulting Numbers: [5, 40]
Generated Node #0,2,0: 45:[5, 40] Operation: 72-32=40
Moving to Node #0,2,0
Current State: 45:[5, 40], Operations: ['92-87=5', '72-32=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
61,
61,
26,
13
] | 39 | [
"61-61=0",
"26+13=39",
"0+39=39"
] | Current State: 39:[61, 61, 26, 13], Operations: []
Exploring Operation: 61-61=0, Resulting Numbers: [26, 13, 0]
Generated Node #2: [26, 13, 0] from Operation: 61-61=0
Current State: 39:[26, 13, 0], Operations: ['61-61=0']
Exploring Operation: 26+13=39, Resulting Numbers: [0, 39]
Generated Node #3: [0, 39] from Operation: 26+13=39
Current State: 39:[0, 39], Operations: ['61-61=0', '26+13=39']
Exploring Operation: 0+39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[61, 61, 26, 13], Operations: []
Exploring Operation: 61-61=0, Resulting Numbers: [26, 13, 0]
Generated Node #0,0: 39:[26, 13, 0] Operation: 61-61=0
Exploring Operation: 61/61=1, Resulting Numbers: [26, 13, 1]
Generated Node #0,1: 39:[26, 13, 1] Operation: 61/61=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[26, 13, 1], Operations: ['61/61=1']
Exploring Operation: 26+13=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 39:[1, 39] Operation: 26+13=39
Exploring Operation: 26-13=13, Resulting Numbers: [1, 13]
Generated Node #0,1,1: 39:[1, 13] Operation: 26-13=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[1, 39], Operations: ['61/61=1', '26+13=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[61, 61, 26, 13], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [26, 13, 1]
Generated Node #0,1: 39:[26, 13, 1] Operation: 61/61=1
Moving to Node #0,1
Current State: 39:[26, 13, 1], Operations: ['61/61=1']
Exploring Operation: 26+13=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 39:[1, 39] Operation: 26+13=39
Moving to Node #0,1,0
Current State: 39:[1, 39], Operations: ['61/61=1', '26+13=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
4,
6,
81,
9
] | 31 | [
"4+81=85",
"6*9=54",
"85-54=31"
] | Current State: 31:[4, 6, 81, 9], Operations: []
Exploring Operation: 4+81=85, Resulting Numbers: [6, 9, 85]
Generated Node #2: [6, 9, 85] from Operation: 4+81=85
Current State: 31:[6, 9, 85], Operations: ['4+81=85']
Exploring Operation: 6*9=54, Resulting Numbers: [85, 54]
Generated Node #3: [85, 54] from Operation: 6*9=54
Current State: 31:[85, 54], Operations: ['4+81=85', '6*9=54']
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 6, 81, 9], Operations: []
Exploring Operation: 4*6=24, Resulting Numbers: [81, 9, 24]
Generated Node #0,0: 31:[81, 9, 24] Operation: 4*6=24
Exploring Operation: 81/9=9, Resulting Numbers: [4, 6, 9]
Generated Node #0,1: 31:[4, 6, 9] Operation: 81/9=9
Exploring Operation: 4*9=36, Resulting Numbers: [6, 81, 36]
Generated Node #0,2: 31:[6, 81, 36] Operation: 4*9=36
Exploring Operation: 4+6=10, Resulting Numbers: [81, 9, 10]
Generated Node #0,3: 31:[81, 9, 10] Operation: 4+6=10
Moving to Node #0,1
Current State: 31:[4, 6, 9], Operations: ['81/9=9']
Exploring Operation: 4*6=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 31:[9, 24] Operation: 4*6=24
Exploring Operation: 4*9=36, Resulting Numbers: [6, 36]
Generated Node #0,1,1: 31:[6, 36] Operation: 4*9=36
Exploring Operation: 4+6=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 31:[9, 10] Operation: 4+6=10
Exploring Operation: 4+9=13, Resulting Numbers: [6, 13]
Generated Node #0,1,3: 31:[6, 13] Operation: 4+9=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[9, 24], Operations: ['81/9=9', '4*6=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[6, 36], Operations: ['81/9=9', '4*9=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[9, 10], Operations: ['81/9=9', '4+6=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[6, 13], Operations: ['81/9=9', '4+9=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 31:[81, 9, 24], Operations: ['4*6=24']
Exploring Operation: 9+24=33, Resulting Numbers: [81, 33]
Generated Node #0,0,0: 31:[81, 33] Operation: 9+24=33
Exploring Operation: 81/9=9, Resulting Numbers: [24, 9]
Generated Node #0,0,1: 31:[24, 9] Operation: 81/9=9
Exploring Operation: 81-24=57, Resulting Numbers: [9, 57]
Generated Node #0,0,2: 31:[9, 57] Operation: 81-24=57
Exploring Operation: 81-9=72, Resulting Numbers: [24, 72]
Generated Node #0,0,3: 31:[24, 72] Operation: 81-9=72
Moving to Node #0,2
Current State: 31:[6, 81, 36], Operations: ['4*9=36']
Exploring Operation: 36-6=30, Resulting Numbers: [81, 30]
Generated Node #0,2,0: 31:[81, 30] Operation: 36-6=30
Exploring Operation: 81-36=45, Resulting Numbers: [6, 45]
Generated Node #0,2,1: 31:[6, 45] Operation: 81-36=45
Exploring Operation: 6+81=87, Resulting Numbers: [36, 87]
Generated Node #0,2,2: 31:[36, 87] Operation: 6+81=87
Exploring Operation: 81-6=75, Resulting Numbers: [36, 75]
Generated Node #0,2,3: 31:[36, 75] Operation: 81-6=75
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[6, 45], Operations: ['4*9=36', '81-36=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,31 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[36, 75], Operations: ['4*9=36', '81-6=75']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,31 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[81, 30], Operations: ['4*9=36', '36-6=30']
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,31 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[36, 87], Operations: ['4*9=36', '6+81=87']
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,31 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 31:[81, 9, 10], Operations: ['4+6=10']
Exploring Operation: 9+10=19, Resulting Numbers: [81, 19]
Generated Node #0,3,0: 31:[81, 19] Operation: 9+10=19
Exploring Operation: 81/9=9, Resulting Numbers: [10, 9]
Generated Node #0,3,1: 31:[10, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [10, 72]
Generated Node #0,3,2: 31:[10, 72] Operation: 81-9=72
Exploring Operation: 81-10=71, Resulting Numbers: [9, 71]
Generated Node #0,3,3: 31:[9, 71] Operation: 81-10=71
Moving to Node #0,0,1
Current State: 31:[24, 9], Operations: ['4*6=24', '81/9=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[10, 9], Operations: ['4+6=10', '81/9=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[24, 72], Operations: ['4*6=24', '81-9=72']
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,31 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[9, 57], Operations: ['4*6=24', '81-24=57']
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[81, 33], Operations: ['4*6=24', '9+24=33']
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,31 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,31 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[81, 19], Operations: ['4+6=10', '9+10=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,31 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[10, 72], Operations: ['4+6=10', '81-9=72']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[9, 71], Operations: ['4+6=10', '81-10=71']
Exploring Operation: 9*71=639, Resulting Numbers: [639]
639,31 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
32,
50,
68
] | 67 | [
"36-32=4",
"68/4=17",
"50+17=67"
] | Current State: 67:[36, 32, 50, 68], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [50, 68, 4]
Generated Node #2: [50, 68, 4] from Operation: 36-32=4
Current State: 67:[50, 68, 4], Operations: ['36-32=4']
Exploring Operation: 68/4=17, Resulting Numbers: [50, 17]
Generated Node #3: [50, 17] from Operation: 68/4=17
Current State: 67:[50, 17], Operations: ['36-32=4', '68/4=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[36, 32, 50, 68], Operations: []
Exploring Operation: 32+50=82, Resulting Numbers: [36, 68, 82]
Generated Node #0,0: 67:[36, 68, 82] Operation: 32+50=82
Exploring Operation: 36+32=68, Resulting Numbers: [50, 68, 68]
Generated Node #0,1: 67:[50, 68, 68] Operation: 36+32=68
Moving to Node #0,1
Current State: 67:[50, 68, 68], Operations: ['36+32=68']
Exploring Operation: 68-50=18, Resulting Numbers: [68, 18]
Generated Node #0,1,0: 67:[68, 18] Operation: 68-50=18
Exploring Operation: 68-50=18, Resulting Numbers: [68, 18]
Generated Node #0,1,1: 67:[68, 18] Operation: 68-50=18
Moving to Node #0,0
Current State: 67:[36, 68, 82], Operations: ['32+50=82']
Exploring Operation: 82-36=46, Resulting Numbers: [68, 46]
Generated Node #0,0,0: 67:[68, 46] Operation: 82-36=46
Exploring Operation: 68-36=32, Resulting Numbers: [82, 32]
Generated Node #0,0,1: 67:[82, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[68, 46], Operations: ['32+50=82', '82-36=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[82, 32], Operations: ['32+50=82', '68-36=32']
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 67:[68, 18], Operations: ['36+32=68', '68-50=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[68, 18], Operations: ['36+32=68', '68-50=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
33,
52,
60
] | 37 | [
"60-52=8",
"8/2=4",
"33+4=37"
] | Current State: 37:[2, 33, 52, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [2, 33, 8]
Generated Node #2: [2, 33, 8] from Operation: 60-52=8
Current State: 37:[2, 33, 8], Operations: ['60-52=8']
Exploring Operation: 8/2=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 8/2=4
Current State: 37:[33, 4], Operations: ['60-52=8', '8/2=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 33, 52, 60], Operations: []
Exploring Operation: 2+33=35, Resulting Numbers: [52, 60, 35]
Generated Node #0,0: 37:[52, 60, 35] Operation: 2+33=35
Exploring Operation: 60/2=30, Resulting Numbers: [33, 52, 30]
Generated Node #0,1: 37:[33, 52, 30] Operation: 60/2=30
Exploring Operation: 52/2=26, Resulting Numbers: [33, 60, 26]
Generated Node #0,2: 37:[33, 60, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [33, 60, 50]
Generated Node #0,3: 37:[33, 60, 50] Operation: 52-2=50
Moving to Node #0,1
Current State: 37:[33, 52, 30], Operations: ['60/2=30']
Exploring Operation: 52-30=22, Resulting Numbers: [33, 22]
Generated Node #0,1,0: 37:[33, 22] Operation: 52-30=22
Exploring Operation: 33+30=63, Resulting Numbers: [52, 63]
Generated Node #0,1,1: 37:[52, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [52, 3]
Generated Node #0,1,2: 37:[52, 3] Operation: 33-30=3
Exploring Operation: 52-33=19, Resulting Numbers: [30, 19]
Generated Node #0,1,3: 37:[30, 19] Operation: 52-33=19
Moving to Node #0,2
Current State: 37:[33, 60, 26], Operations: ['52/2=26']
Exploring Operation: 60-33=27, Resulting Numbers: [26, 27]
Generated Node #0,2,0: 37:[26, 27] Operation: 60-33=27
Exploring Operation: 33-26=7, Resulting Numbers: [60, 7]
Generated Node #0,2,1: 37:[60, 7] Operation: 33-26=7
Exploring Operation: 60-26=34, Resulting Numbers: [33, 34]
Generated Node #0,2,2: 37:[33, 34] Operation: 60-26=34
Exploring Operation: 33+26=59, Resulting Numbers: [60, 59]
Generated Node #0,2,3: 37:[60, 59] Operation: 33+26=59
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[33, 34], Operations: ['52/2=26', '60-26=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[26, 27], Operations: ['52/2=26', '60-33=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,37 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[60, 59], Operations: ['52/2=26', '33+26=59']
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,37 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[60, 7], Operations: ['52/2=26', '33-26=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 37:[33, 60, 50], Operations: ['52-2=50']
Exploring Operation: 60-50=10, Resulting Numbers: [33, 10]
Generated Node #0,3,0: 37:[33, 10] Operation: 60-50=10
Exploring Operation: 50-33=17, Resulting Numbers: [60, 17]
Generated Node #0,3,1: 37:[60, 17] Operation: 50-33=17
Exploring Operation: 60-33=27, Resulting Numbers: [50, 27]
Generated Node #0,3,2: 37:[50, 27] Operation: 60-33=27
Exploring Operation: 33+60=93, Resulting Numbers: [50, 93]
Generated Node #0,3,3: 37:[50, 93] Operation: 33+60=93
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[50, 27], Operations: ['52-2=50', '60-33=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,37 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[33, 10], Operations: ['52-2=50', '60-50=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,37 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[60, 17], Operations: ['52-2=50', '50-33=17']
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,37 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[50, 93], Operations: ['52-2=50', '33+60=93']
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 50+93=143, Resulting Numbers: [143]
143,37 unequal: No Solution
Exploring Operation: 50*93=4650, Resulting Numbers: [4650]
4650,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 37:[52, 60, 35], Operations: ['2+33=35']
Exploring Operation: 52+35=87, Resulting Numbers: [60, 87]
Generated Node #0,0,0: 37:[60, 87] Operation: 52+35=87
Exploring Operation: 52-35=17, Resulting Numbers: [60, 17]
Generated Node #0,0,1: 37:[60, 17] Operation: 52-35=17
Exploring Operation: 60-52=8, Resulting Numbers: [35, 8]
Generated Node #0,0,2: 37:[35, 8] Operation: 60-52=8
Exploring Operation: 60-35=25, Resulting Numbers: [52, 25]
Generated Node #0,0,3: 37:[52, 25] Operation: 60-35=25
Moving to Node #0,1,0
Current State: 37:[33, 22], Operations: ['60/2=30', '52-30=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,37 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[30, 19], Operations: ['60/2=30', '52-33=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[52, 25], Operations: ['2+33=35', '60-35=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,37 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[35, 8], Operations: ['2+33=35', '60-52=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[52, 63], Operations: ['60/2=30', '33+30=63']
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,37 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[60, 17], Operations: ['2+33=35', '52-35=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,37 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[52, 3], Operations: ['60/2=30', '33-30=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,37 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[60, 87], Operations: ['2+33=35', '52+35=87']
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,37 unequal: No Solution
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,37 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
40,
68,
84
] | 73 | [
"39+40=79",
"68+84=152",
"152-79=73"
] | Current State: 73:[39, 40, 68, 84], Operations: []
Exploring Operation: 39+40=79, Resulting Numbers: [68, 84, 79]
Generated Node #2: [68, 84, 79] from Operation: 39+40=79
Current State: 73:[68, 84, 79], Operations: ['39+40=79']
Exploring Operation: 68+84=152, Resulting Numbers: [79, 152]
Generated Node #3: [79, 152] from Operation: 68+84=152
Current State: 73:[79, 152], Operations: ['39+40=79', '68+84=152']
Exploring Operation: 152-79=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[39, 40, 68, 84], Operations: []
Exploring Operation: 39+40=79, Resulting Numbers: [68, 84, 79]
Generated Node #0,0: 73:[68, 84, 79] Operation: 39+40=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[68, 84, 79], Operations: ['39+40=79']
Exploring Operation: 84-68=16, Resulting Numbers: [79, 16]
Generated Node #0,0,0: 73:[79, 16] Operation: 84-68=16
Moving to Node #0,0,0
Current State: 73:[79, 16], Operations: ['39+40=79', '84-68=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
37,
12,
93
] | 15 | [
"53+37=90",
"12+93=105",
"105-90=15"
] | Current State: 15:[53, 37, 12, 93], Operations: []
Exploring Operation: 53+37=90, Resulting Numbers: [12, 93, 90]
Generated Node #2: [12, 93, 90] from Operation: 53+37=90
Current State: 15:[12, 93, 90], Operations: ['53+37=90']
Exploring Operation: 12+93=105, Resulting Numbers: [90, 105]
Generated Node #3: [90, 105] from Operation: 12+93=105
Current State: 15:[90, 105], Operations: ['53+37=90', '12+93=105']
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[53, 37, 12, 93], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [37, 12, 40]
Generated Node #0,0: 15:[37, 12, 40] Operation: 93-53=40
Moving to Node #0,0
Current State: 15:[37, 12, 40], Operations: ['93-53=40']
Exploring Operation: 40-37=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 15:[12, 3] Operation: 40-37=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[12, 3], Operations: ['93-53=40', '40-37=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[53, 37, 12, 93], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [37, 12, 40]
Generated Node #0,0: 15:[37, 12, 40] Operation: 93-53=40
Moving to Node #0,0
Current State: 15:[37, 12, 40], Operations: ['93-53=40']
Exploring Operation: 40-37=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 15:[12, 3] Operation: 40-37=3
Moving to Node #0,0,0
Current State: 15:[12, 3], Operations: ['93-53=40', '40-37=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
12,
20,
5,
81
] | 84 | [
"20-12=8",
"81-5=76",
"8+76=84"
] | Current State: 84:[12, 20, 5, 81], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [5, 81, 8]
Generated Node #2: [5, 81, 8] from Operation: 20-12=8
Current State: 84:[5, 81, 8], Operations: ['20-12=8']
Exploring Operation: 81-5=76, Resulting Numbers: [8, 76]
Generated Node #3: [8, 76] from Operation: 81-5=76
Current State: 84:[8, 76], Operations: ['20-12=8', '81-5=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 20, 5, 81], Operations: []
Exploring Operation: 20-5=15, Resulting Numbers: [12, 81, 15]
Generated Node #0,0: 84:[12, 81, 15] Operation: 20-5=15
Exploring Operation: 12-5=7, Resulting Numbers: [20, 81, 7]
Generated Node #0,1: 84:[20, 81, 7] Operation: 12-5=7
Exploring Operation: 20/5=4, Resulting Numbers: [12, 81, 4]
Generated Node #0,2: 84:[12, 81, 4] Operation: 20/5=4
Exploring Operation: 5+81=86, Resulting Numbers: [12, 20, 86]
Generated Node #0,3: 84:[12, 20, 86] Operation: 5+81=86
Moving to Node #0,2
Current State: 84:[12, 81, 4], Operations: ['20/5=4']
Exploring Operation: 12-4=8, Resulting Numbers: [81, 8]
Generated Node #0,2,0: 84:[81, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [81, 3]
Generated Node #0,2,1: 84:[81, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [81, 16]
Generated Node #0,2,2: 84:[81, 16] Operation: 12+4=16
Exploring Operation: 81+4=85, Resulting Numbers: [12, 85]
Generated Node #0,2,3: 84:[12, 85] Operation: 81+4=85
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[12, 85], Operations: ['20/5=4', '81+4=85']
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,84 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[81, 3], Operations: ['20/5=4', '12/4=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[12, 20, 5, 81], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [12, 81, 4]
Generated Node #0,2: 84:[12, 81, 4] Operation: 20/5=4
Moving to Node #0,2
Current State: 84:[12, 81, 4], Operations: ['20/5=4']
Exploring Operation: 12/4=3, Resulting Numbers: [81, 3]
Generated Node #0,2,1: 84:[81, 3] Operation: 12/4=3
Moving to Node #0,2,1
Current State: 84:[81, 3], Operations: ['20/5=4', '12/4=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
15,
1,
69,
32
] | 51 | [
"15-1=14",
"69-32=37",
"14+37=51"
] | Current State: 51:[15, 1, 69, 32], Operations: []
Exploring Operation: 15-1=14, Resulting Numbers: [69, 32, 14]
Generated Node #2: [69, 32, 14] from Operation: 15-1=14
Current State: 51:[69, 32, 14], Operations: ['15-1=14']
Exploring Operation: 69-32=37, Resulting Numbers: [14, 37]
Generated Node #3: [14, 37] from Operation: 69-32=37
Current State: 51:[14, 37], Operations: ['15-1=14', '69-32=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[15, 1, 69, 32], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [1, 32, 54]
Generated Node #0,0: 51:[1, 32, 54] Operation: 69-15=54
Exploring Operation: 69-32=37, Resulting Numbers: [15, 1, 37]
Generated Node #0,1: 51:[15, 1, 37] Operation: 69-32=37
Moving to Node #0,1
Current State: 51:[15, 1, 37], Operations: ['69-32=37']
Exploring Operation: 37-15=22, Resulting Numbers: [1, 22]
Generated Node #0,1,0: 51:[1, 22] Operation: 37-15=22
Exploring Operation: 15+37=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 51:[1, 52] Operation: 15+37=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[1, 52], Operations: ['69-32=37', '15+37=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[15, 1, 69, 32], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [15, 1, 37]
Generated Node #0,1: 51:[15, 1, 37] Operation: 69-32=37
Moving to Node #0,1
Current State: 51:[15, 1, 37], Operations: ['69-32=37']
Exploring Operation: 15+37=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 51:[1, 52] Operation: 15+37=52
Moving to Node #0,1,1
Current State: 51:[1, 52], Operations: ['69-32=37', '15+37=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
69,
4,
36,
98
] | 38 | [
"98-69=29",
"36/4=9",
"29+9=38"
] | Current State: 38:[69, 4, 36, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [4, 36, 29]
Generated Node #2: [4, 36, 29] from Operation: 98-69=29
Current State: 38:[4, 36, 29], Operations: ['98-69=29']
Exploring Operation: 36/4=9, Resulting Numbers: [29, 9]
Generated Node #3: [29, 9] from Operation: 36/4=9
Current State: 38:[29, 9], Operations: ['98-69=29', '36/4=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[69, 4, 36, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [4, 36, 29]
Generated Node #0,0: 38:[4, 36, 29] Operation: 98-69=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[4, 36, 29], Operations: ['98-69=29']
Exploring Operation: 4+29=33, Resulting Numbers: [36, 33]
Generated Node #0,0,0: 38:[36, 33] Operation: 4+29=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[36, 33], Operations: ['98-69=29', '4+29=33']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
7,
22,
25
] | 27 | [
"12-7=5",
"25/5=5",
"22+5=27"
] | Current State: 27:[12, 7, 22, 25], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [22, 25, 5]
Generated Node #2: [22, 25, 5] from Operation: 12-7=5
Current State: 27:[22, 25, 5], Operations: ['12-7=5']
Exploring Operation: 25/5=5, Resulting Numbers: [22, 5]
Generated Node #3: [22, 5] from Operation: 25/5=5
Current State: 27:[22, 5], Operations: ['12-7=5', '25/5=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[12, 7, 22, 25], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [12, 7, 3]
Generated Node #0,0: 27:[12, 7, 3] Operation: 25-22=3
Exploring Operation: 22-12=10, Resulting Numbers: [7, 25, 10]
Generated Node #0,1: 27:[7, 25, 10] Operation: 22-12=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[12, 7, 3], Operations: ['25-22=3']
Exploring Operation: 12-3=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 27:[7, 9] Operation: 12-3=9
Exploring Operation: 12-7=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 27:[3, 5] Operation: 12-7=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[7, 9], Operations: ['25-22=3', '12-3=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[3, 5], Operations: ['25-22=3', '12-7=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[7, 25, 10], Operations: ['22-12=10']
Exploring Operation: 10-7=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 27:[25, 3] Operation: 10-7=3
Exploring Operation: 7+25=32, Resulting Numbers: [10, 32]
Generated Node #0,1,1: 27:[10, 32] Operation: 7+25=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[25, 3], Operations: ['22-12=10', '10-7=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[10, 32], Operations: ['22-12=10', '7+25=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
41,
15,
74
] | 51 | [
"49-41=8",
"74-15=59",
"59-8=51"
] | Current State: 51:[49, 41, 15, 74], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [15, 74, 8]
Generated Node #2: [15, 74, 8] from Operation: 49-41=8
Current State: 51:[15, 74, 8], Operations: ['49-41=8']
Exploring Operation: 74-15=59, Resulting Numbers: [8, 59]
Generated Node #3: [8, 59] from Operation: 74-15=59
Current State: 51:[8, 59], Operations: ['49-41=8', '74-15=59']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[49, 41, 15, 74], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [41, 15, 25]
Generated Node #0,0: 51:[41, 15, 25] Operation: 74-49=25
Exploring Operation: 41+15=56, Resulting Numbers: [49, 74, 56]
Generated Node #0,1: 51:[49, 74, 56] Operation: 41+15=56
Exploring Operation: 74-15=59, Resulting Numbers: [49, 41, 59]
Generated Node #0,2: 51:[49, 41, 59] Operation: 74-15=59
Exploring Operation: 49-41=8, Resulting Numbers: [15, 74, 8]
Generated Node #0,3: 51:[15, 74, 8] Operation: 49-41=8
Exploring Operation: 74-41=33, Resulting Numbers: [49, 15, 33]
Generated Node #0,4: 51:[49, 15, 33] Operation: 74-41=33
Moving to Node #0,0
Current State: 51:[41, 15, 25], Operations: ['74-49=25']
Exploring Operation: 41+25=66, Resulting Numbers: [15, 66]
Generated Node #0,0,0: 51:[15, 66] Operation: 41+25=66
Exploring Operation: 41-15=26, Resulting Numbers: [25, 26]
Generated Node #0,0,1: 51:[25, 26] Operation: 41-15=26
Exploring Operation: 41+15=56, Resulting Numbers: [25, 56]
Generated Node #0,0,2: 51:[25, 56] Operation: 41+15=56
Exploring Operation: 41-25=16, Resulting Numbers: [15, 16]
Generated Node #0,0,3: 51:[15, 16] Operation: 41-25=16
Exploring Operation: 25-15=10, Resulting Numbers: [41, 10]
Generated Node #0,0,4: 51:[41, 10] Operation: 25-15=10
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[15, 16], Operations: ['74-49=25', '41-25=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[25, 56], Operations: ['74-49=25', '41+15=56']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 25+56=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[15, 66], Operations: ['74-49=25', '41+25=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[49, 41, 15, 74], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [41, 15, 25]
Generated Node #0,0: 51:[41, 15, 25] Operation: 74-49=25
Moving to Node #0,0
Current State: 51:[41, 15, 25], Operations: ['74-49=25']
Exploring Operation: 41+25=66, Resulting Numbers: [15, 66]
Generated Node #0,0,0: 51:[15, 66] Operation: 41+25=66
Moving to Node #0,0,0
Current State: 51:[15, 66], Operations: ['74-49=25', '41+25=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
6,
2,
7,
55
] | 60 | [
"6*2=12",
"55-7=48",
"12+48=60"
] | Current State: 60:[6, 2, 7, 55], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [7, 55, 12]
Generated Node #2: [7, 55, 12] from Operation: 6*2=12
Current State: 60:[7, 55, 12], Operations: ['6*2=12']
Exploring Operation: 55-7=48, Resulting Numbers: [12, 48]
Generated Node #3: [12, 48] from Operation: 55-7=48
Current State: 60:[12, 48], Operations: ['6*2=12', '55-7=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[6, 2, 7, 55], Operations: []
Exploring Operation: 6+55=61, Resulting Numbers: [2, 7, 61]
Generated Node #0,0: 60:[2, 7, 61] Operation: 6+55=61
Exploring Operation: 7+55=62, Resulting Numbers: [6, 2, 62]
Generated Node #0,1: 60:[6, 2, 62] Operation: 7+55=62
Exploring Operation: 2+55=57, Resulting Numbers: [6, 7, 57]
Generated Node #0,2: 60:[6, 7, 57] Operation: 2+55=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 7, 61], Operations: ['6+55=61']
Exploring Operation: 2*7=14, Resulting Numbers: [61, 14]
Generated Node #0,0,0: 60:[61, 14] Operation: 2*7=14
Exploring Operation: 2+7=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 60:[61, 9] Operation: 2+7=9
Exploring Operation: 7-2=5, Resulting Numbers: [61, 5]
Generated Node #0,0,2: 60:[61, 5] Operation: 7-2=5
Moving to Node #0,0,2
Current State: 60:[61, 5], Operations: ['6+55=61', '7-2=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,60 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[61, 14], Operations: ['6+55=61', '2*7=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,60 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[61, 9], Operations: ['6+55=61', '2+7=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[6, 2, 62], Operations: ['7+55=62']
Exploring Operation: 6*2=12, Resulting Numbers: [62, 12]
Generated Node #0,1,0: 60:[62, 12] Operation: 6*2=12
Exploring Operation: 62-2=60, Resulting Numbers: [6, 60]
Generated Node #0,1,1: 60:[6, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [6, 31]
Generated Node #0,1,2: 60:[6, 31] Operation: 62/2=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[6, 60], Operations: ['7+55=62', '62-2=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[6, 31], Operations: ['7+55=62', '62/2=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,60 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[62, 12], Operations: ['7+55=62', '6*2=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,60 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[6, 7, 57], Operations: ['2+55=57']
Exploring Operation: 7-6=1, Resulting Numbers: [57, 1]
Generated Node #0,2,0: 60:[57, 1] Operation: 7-6=1
Exploring Operation: 6+57=63, Resulting Numbers: [7, 63]
Generated Node #0,2,1: 60:[7, 63] Operation: 6+57=63
Exploring Operation: 6+7=13, Resulting Numbers: [57, 13]
Generated Node #0,2,2: 60:[57, 13] Operation: 6+7=13
Moving to Node #0,2,0
Current State: 60:[57, 1], Operations: ['2+55=57', '7-6=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[7, 63], Operations: ['2+55=57', '6+57=63']
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[57, 13], Operations: ['2+55=57', '6+7=13']
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,60 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
46,
47,
98
] | 42 | [
"57+46=103",
"47+98=145",
"145-103=42"
] | Current State: 42:[57, 46, 47, 98], Operations: []
Exploring Operation: 57+46=103, Resulting Numbers: [47, 98, 103]
Generated Node #2: [47, 98, 103] from Operation: 57+46=103
Current State: 42:[47, 98, 103], Operations: ['57+46=103']
Exploring Operation: 47+98=145, Resulting Numbers: [103, 145]
Generated Node #3: [103, 145] from Operation: 47+98=145
Current State: 42:[103, 145], Operations: ['57+46=103', '47+98=145']
Exploring Operation: 145-103=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[57, 46, 47, 98], Operations: []
Exploring Operation: 98-57=41, Resulting Numbers: [46, 47, 41]
Generated Node #0,0: 42:[46, 47, 41] Operation: 98-57=41
Exploring Operation: 98-47=51, Resulting Numbers: [57, 46, 51]
Generated Node #0,1: 42:[57, 46, 51] Operation: 98-47=51
Moving to Node #0,0
Current State: 42:[46, 47, 41], Operations: ['98-57=41']
Exploring Operation: 47-41=6, Resulting Numbers: [46, 6]
Generated Node #0,0,0: 42:[46, 6] Operation: 47-41=6
Exploring Operation: 47-46=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 42:[41, 1] Operation: 47-46=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[41, 1], Operations: ['98-57=41', '47-46=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[57, 46, 47, 98], Operations: []
Exploring Operation: 98-57=41, Resulting Numbers: [46, 47, 41]
Generated Node #0,0: 42:[46, 47, 41] Operation: 98-57=41
Moving to Node #0,0
Current State: 42:[46, 47, 41], Operations: ['98-57=41']
Exploring Operation: 47-46=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 42:[41, 1] Operation: 47-46=1
Moving to Node #0,0,1
Current State: 42:[41, 1], Operations: ['98-57=41', '47-46=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
48,
48,
56,
5
] | 14 | [
"48/48=1",
"5-1=4",
"56/4=14"
] | Current State: 14:[48, 48, 56, 5], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [56, 5, 1]
Generated Node #2: [56, 5, 1] from Operation: 48/48=1
Current State: 14:[56, 5, 1], Operations: ['48/48=1']
Exploring Operation: 5-1=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 5-1=4
Current State: 14:[56, 4], Operations: ['48/48=1', '5-1=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[48, 48, 56, 5], Operations: []
Exploring Operation: 48-48=0, Resulting Numbers: [56, 5, 0]
Generated Node #0,0: 14:[56, 5, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [56, 5, 1]
Generated Node #0,1: 14:[56, 5, 1] Operation: 48/48=1
Exploring Operation: 56-48=8, Resulting Numbers: [48, 5, 8]
Generated Node #0,2: 14:[48, 5, 8] Operation: 56-48=8
Exploring Operation: 56-48=8, Resulting Numbers: [48, 5, 8]
Generated Node #0,3: 14:[48, 5, 8] Operation: 56-48=8
Moving to Node #0,2
Current State: 14:[48, 5, 8], Operations: ['56-48=8']
Exploring Operation: 48/8=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 14:[5, 6] Operation: 48/8=6
Exploring Operation: 48-8=40, Resulting Numbers: [5, 40]
Generated Node #0,2,1: 14:[5, 40] Operation: 48-8=40
Exploring Operation: 48-5=43, Resulting Numbers: [8, 43]
Generated Node #0,2,2: 14:[8, 43] Operation: 48-5=43
Exploring Operation: 5+8=13, Resulting Numbers: [48, 13]
Generated Node #0,2,3: 14:[48, 13] Operation: 5+8=13
Moving to Node #0,3
Current State: 14:[48, 5, 8], Operations: ['56-48=8']
Exploring Operation: 48/8=6, Resulting Numbers: [5, 6]
Generated Node #0,3,0: 14:[5, 6] Operation: 48/8=6
Exploring Operation: 5+8=13, Resulting Numbers: [48, 13]
Generated Node #0,3,1: 14:[48, 13] Operation: 5+8=13
Exploring Operation: 48-5=43, Resulting Numbers: [8, 43]
Generated Node #0,3,2: 14:[8, 43] Operation: 48-5=43
Exploring Operation: 48-8=40, Resulting Numbers: [5, 40]
Generated Node #0,3,3: 14:[5, 40] Operation: 48-8=40
Moving to Node #0,1
Current State: 14:[56, 5, 1], Operations: ['48/48=1']
Exploring Operation: 56-5=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 14:[1, 51] Operation: 56-5=51
Exploring Operation: 56-1=55, Resulting Numbers: [5, 55]
Generated Node #0,1,1: 14:[5, 55] Operation: 56-1=55
Exploring Operation: 56*1=56, Resulting Numbers: [5, 56]
Generated Node #0,1,2: 14:[5, 56] Operation: 56*1=56
Exploring Operation: 5+1=6, Resulting Numbers: [56, 6]
Generated Node #0,1,3: 14:[56, 6] Operation: 5+1=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[1, 51], Operations: ['48/48=1', '56-5=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[5, 55], Operations: ['48/48=1', '56-1=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,14 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[56, 6], Operations: ['48/48=1', '5+1=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,14 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[5, 56], Operations: ['48/48=1', '56*1=56']
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,14 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[56, 5, 0], Operations: ['48-48=0']
Exploring Operation: 56-5=51, Resulting Numbers: [0, 51]
Generated Node #0,0,0: 14:[0, 51] Operation: 56-5=51
Exploring Operation: 56*0=0, Resulting Numbers: [5, 0]
Generated Node #0,0,1: 14:[5, 0] Operation: 56*0=0
Exploring Operation: 56+0=56, Resulting Numbers: [5, 56]
Generated Node #0,0,2: 14:[5, 56] Operation: 56+0=56
Exploring Operation: 56-0=56, Resulting Numbers: [5, 56]
Generated Node #0,0,3: 14:[5, 56] Operation: 56-0=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[5, 0], Operations: ['48-48=0', '56*0=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[0, 51], Operations: ['48-48=0', '56-5=51']
Exploring Operation: 51-0=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 0*51=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 0+51=51, Resulting Numbers: [51]
51,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[5, 56], Operations: ['48-48=0', '56+0=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[5, 56], Operations: ['48-48=0', '56-0=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 14:[5, 6], Operations: ['56-48=8', '48/8=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[5, 6], Operations: ['56-48=8', '48/8=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[5, 40], Operations: ['56-48=8', '48-8=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[5, 40], Operations: ['56-48=8', '48-8=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,14 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[8, 43], Operations: ['56-48=8', '48-5=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,14 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[8, 43], Operations: ['56-48=8', '48-5=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[48, 13], Operations: ['56-48=8', '5+8=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[48, 13], Operations: ['56-48=8', '5+8=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,14 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
93,
67,
89,
69
] | 85 | [
"69-67=2",
"89*2=178",
"178-93=85"
] | Current State: 85:[93, 67, 89, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [93, 89, 2]
Generated Node #2: [93, 89, 2] from Operation: 69-67=2
Current State: 85:[93, 89, 2], Operations: ['69-67=2']
Exploring Operation: 89*2=178, Resulting Numbers: [93, 178]
Generated Node #3: [93, 178] from Operation: 89*2=178
Current State: 85:[93, 178], Operations: ['69-67=2', '89*2=178']
Exploring Operation: 178-93=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[93, 67, 89, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [93, 89, 2]
Generated Node #0,0: 85:[93, 89, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[93, 89, 2], Operations: ['69-67=2']
Exploring Operation: 93-89=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 85:[2, 4] Operation: 93-89=4
Moving to Node #0,0,0
Current State: 85:[2, 4], Operations: ['69-67=2', '93-89=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
21,
23,
67
] | 61 | [
"71-67=4",
"21*4=84",
"84-23=61"
] | Current State: 61:[71, 21, 23, 67], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [21, 23, 4]
Generated Node #2: [21, 23, 4] from Operation: 71-67=4
Current State: 61:[21, 23, 4], Operations: ['71-67=4']
Exploring Operation: 21*4=84, Resulting Numbers: [23, 84]
Generated Node #3: [23, 84] from Operation: 21*4=84
Current State: 61:[23, 84], Operations: ['71-67=4', '21*4=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[71, 21, 23, 67], Operations: []
Exploring Operation: 21+23=44, Resulting Numbers: [71, 67, 44]
Generated Node #0,0: 61:[71, 67, 44] Operation: 21+23=44
Moving to Node #0,0
Current State: 61:[71, 67, 44], Operations: ['21+23=44']
Exploring Operation: 71-44=27, Resulting Numbers: [67, 27]
Generated Node #0,0,0: 61:[67, 27] Operation: 71-44=27
Moving to Node #0,0,0
Current State: 61:[67, 27], Operations: ['21+23=44', '71-44=27']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
26,
70,
61
] | 63 | [
"33-26=7",
"70-61=9",
"7*9=63"
] | Current State: 63:[33, 26, 70, 61], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [70, 61, 7]
Generated Node #2: [70, 61, 7] from Operation: 33-26=7
Current State: 63:[70, 61, 7], Operations: ['33-26=7']
Exploring Operation: 70-61=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 70-61=9
Current State: 63:[7, 9], Operations: ['33-26=7', '70-61=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[33, 26, 70, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [33, 26, 9]
Generated Node #0,0: 63:[33, 26, 9] Operation: 70-61=9
Exploring Operation: 61-33=28, Resulting Numbers: [26, 70, 28]
Generated Node #0,1: 63:[26, 70, 28] Operation: 61-33=28
Exploring Operation: 33+26=59, Resulting Numbers: [70, 61, 59]
Generated Node #0,2: 63:[70, 61, 59] Operation: 33+26=59
Exploring Operation: 33-26=7, Resulting Numbers: [70, 61, 7]
Generated Node #0,3: 63:[70, 61, 7] Operation: 33-26=7
Exploring Operation: 70-33=37, Resulting Numbers: [26, 61, 37]
Generated Node #0,4: 63:[26, 61, 37] Operation: 70-33=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[70, 61, 7], Operations: ['33-26=7']
Exploring Operation: 61+7=68, Resulting Numbers: [70, 68]
Generated Node #0,3,0: 63:[70, 68] Operation: 61+7=68
Exploring Operation: 70-61=9, Resulting Numbers: [7, 9]
Generated Node #0,3,1: 63:[7, 9] Operation: 70-61=9
Exploring Operation: 70/7=10, Resulting Numbers: [61, 10]
Generated Node #0,3,2: 63:[61, 10] Operation: 70/7=10
Exploring Operation: 70+7=77, Resulting Numbers: [61, 77]
Generated Node #0,3,3: 63:[61, 77] Operation: 70+7=77
Exploring Operation: 70-7=63, Resulting Numbers: [61, 63]
Generated Node #0,3,4: 63:[61, 63] Operation: 70-7=63
Moving to Node #0,3,1
Current State: 63:[7, 9], Operations: ['33-26=7', '70-61=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[33, 26, 70, 61], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [70, 61, 7]
Generated Node #0,3: 63:[70, 61, 7] Operation: 33-26=7
Moving to Node #0,3
Current State: 63:[70, 61, 7], Operations: ['33-26=7']
Exploring Operation: 70-61=9, Resulting Numbers: [7, 9]
Generated Node #0,3,1: 63:[7, 9] Operation: 70-61=9
Moving to Node #0,3,1
Current State: 63:[7, 9], Operations: ['33-26=7', '70-61=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
27,
50,
5,
98
] | 70 | [
"50-27=23",
"98-5=93",
"93-23=70"
] | Current State: 70:[27, 50, 5, 98], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [5, 98, 23]
Generated Node #2: [5, 98, 23] from Operation: 50-27=23
Current State: 70:[5, 98, 23], Operations: ['50-27=23']
Exploring Operation: 98-5=93, Resulting Numbers: [23, 93]
Generated Node #3: [23, 93] from Operation: 98-5=93
Current State: 70:[23, 93], Operations: ['50-27=23', '98-5=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[27, 50, 5, 98], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [5, 98, 23]
Generated Node #0,0: 70:[5, 98, 23] Operation: 50-27=23
Exploring Operation: 98-27=71, Resulting Numbers: [50, 5, 71]
Generated Node #0,1: 70:[50, 5, 71] Operation: 98-27=71
Exploring Operation: 50/5=10, Resulting Numbers: [27, 98, 10]
Generated Node #0,2: 70:[27, 98, 10] Operation: 50/5=10
Exploring Operation: 98-50=48, Resulting Numbers: [27, 5, 48]
Generated Node #0,3: 70:[27, 5, 48] Operation: 98-50=48
Exploring Operation: 27+50=77, Resulting Numbers: [5, 98, 77]
Generated Node #0,4: 70:[5, 98, 77] Operation: 27+50=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[50, 5, 71], Operations: ['98-27=71']
Exploring Operation: 50-5=45, Resulting Numbers: [71, 45]
Generated Node #0,1,0: 70:[71, 45] Operation: 50-5=45
Exploring Operation: 50+5=55, Resulting Numbers: [71, 55]
Generated Node #0,1,1: 70:[71, 55] Operation: 50+5=55
Exploring Operation: 71-5=66, Resulting Numbers: [50, 66]
Generated Node #0,1,2: 70:[50, 66] Operation: 71-5=66
Exploring Operation: 50/5=10, Resulting Numbers: [71, 10]
Generated Node #0,1,3: 70:[71, 10] Operation: 50/5=10
Exploring Operation: 71-50=21, Resulting Numbers: [5, 21]
Generated Node #0,1,4: 70:[5, 21] Operation: 71-50=21
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[71, 10], Operations: ['98-27=71', '50/5=10']
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,70 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[5, 21], Operations: ['98-27=71', '71-50=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[71, 45], Operations: ['98-27=71', '50-5=45']
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,70 unequal: No Solution
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,70 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[71, 55], Operations: ['98-27=71', '50+5=55']
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,70 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[50, 66], Operations: ['98-27=71', '71-5=66']
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,70 unequal: No Solution
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,70 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[27, 5, 48], Operations: ['98-50=48']
Exploring Operation: 27-5=22, Resulting Numbers: [48, 22]
Generated Node #0,3,0: 70:[48, 22] Operation: 27-5=22
Exploring Operation: 48-27=21, Resulting Numbers: [5, 21]
Generated Node #0,3,1: 70:[5, 21] Operation: 48-27=21
Exploring Operation: 48-5=43, Resulting Numbers: [27, 43]
Generated Node #0,3,2: 70:[27, 43] Operation: 48-5=43
Exploring Operation: 27+5=32, Resulting Numbers: [48, 32]
Generated Node #0,3,3: 70:[48, 32] Operation: 27+5=32
Exploring Operation: 27+48=75, Resulting Numbers: [5, 75]
Generated Node #0,3,4: 70:[5, 75] Operation: 27+48=75
Moving to Node #0,3,4
Current State: 70:[5, 75], Operations: ['98-50=48', '27+48=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[27, 50, 5, 98], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [27, 5, 48]
Generated Node #0,3: 70:[27, 5, 48] Operation: 98-50=48
Moving to Node #0,3
Current State: 70:[27, 5, 48], Operations: ['98-50=48']
Exploring Operation: 27+48=75, Resulting Numbers: [5, 75]
Generated Node #0,3,4: 70:[5, 75] Operation: 27+48=75
Moving to Node #0,3,4
Current State: 70:[5, 75], Operations: ['98-50=48', '27+48=75']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
58,
81,
78,
74
] | 92 | [
"81-58=23",
"78-74=4",
"23*4=92"
] | Current State: 92:[58, 81, 78, 74], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [78, 74, 23]
Generated Node #2: [78, 74, 23] from Operation: 81-58=23
Current State: 92:[78, 74, 23], Operations: ['81-58=23']
Exploring Operation: 78-74=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 78-74=4
Current State: 92:[23, 4], Operations: ['81-58=23', '78-74=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[58, 81, 78, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [58, 81, 4]
Generated Node #0,0: 92:[58, 81, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 92:[58, 81, 4], Operations: ['78-74=4']
Exploring Operation: 81-58=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 92:[4, 23] Operation: 81-58=23
Moving to Node #0,0,0
Current State: 92:[4, 23], Operations: ['78-74=4', '81-58=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[58, 81, 78, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [58, 81, 4]
Generated Node #0,0: 92:[58, 81, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 92:[58, 81, 4], Operations: ['78-74=4']
Exploring Operation: 81-58=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 92:[4, 23] Operation: 81-58=23
Moving to Node #0,0,0
Current State: 92:[4, 23], Operations: ['78-74=4', '81-58=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
44,
33,
36,
72
] | 22 | [
"44-33=11",
"72/36=2",
"11*2=22"
] | Current State: 22:[44, 33, 36, 72], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [36, 72, 11]
Generated Node #2: [36, 72, 11] from Operation: 44-33=11
Current State: 22:[36, 72, 11], Operations: ['44-33=11']
Exploring Operation: 72/36=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 72/36=2
Current State: 22:[11, 2], Operations: ['44-33=11', '72/36=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 33, 36, 72], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [33, 36, 28]
Generated Node #0,0: 22:[33, 36, 28] Operation: 72-44=28
Moving to Node #0,0
Current State: 22:[33, 36, 28], Operations: ['72-44=28']
Exploring Operation: 36-33=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 22:[28, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[28, 3], Operations: ['72-44=28', '36-33=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
61,
45,
3,
59
] | 17 | [
"61-59=2",
"45/3=15",
"2+15=17"
] | Current State: 17:[61, 45, 3, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [45, 3, 2]
Generated Node #2: [45, 3, 2] from Operation: 61-59=2
Current State: 17:[45, 3, 2], Operations: ['61-59=2']
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 45/3=15
Current State: 17:[2, 15], Operations: ['61-59=2', '45/3=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[61, 45, 3, 59], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [61, 3, 14]
Generated Node #0,0: 17:[61, 3, 14] Operation: 59-45=14
Exploring Operation: 61-45=16, Resulting Numbers: [3, 59, 16]
Generated Node #0,1: 17:[3, 59, 16] Operation: 61-45=16
Exploring Operation: 61-59=2, Resulting Numbers: [45, 3, 2]
Generated Node #0,2: 17:[45, 3, 2] Operation: 61-59=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[3, 59, 16], Operations: ['61-45=16']
Exploring Operation: 59-16=43, Resulting Numbers: [3, 43]
Generated Node #0,1,0: 17:[3, 43] Operation: 59-16=43
Exploring Operation: 59-3=56, Resulting Numbers: [16, 56]
Generated Node #0,1,1: 17:[16, 56] Operation: 59-3=56
Exploring Operation: 3+16=19, Resulting Numbers: [59, 19]
Generated Node #0,1,2: 17:[59, 19] Operation: 3+16=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[3, 43], Operations: ['61-45=16', '59-16=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[16, 56], Operations: ['61-45=16', '59-3=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,17 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[59, 19], Operations: ['61-45=16', '3+16=19']
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[45, 3, 2], Operations: ['61-59=2']
Exploring Operation: 45-3=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 17:[2, 42] Operation: 45-3=42
Exploring Operation: 3*2=6, Resulting Numbers: [45, 6]
Generated Node #0,2,1: 17:[45, 6] Operation: 3*2=6
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #0,2,2: 17:[2, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[2, 15], Operations: ['61-59=2', '45/3=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[61, 45, 3, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [45, 3, 2]
Generated Node #0,2: 17:[45, 3, 2] Operation: 61-59=2
Moving to Node #0,2
Current State: 17:[45, 3, 2], Operations: ['61-59=2']
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #0,2,2: 17:[2, 15] Operation: 45/3=15
Moving to Node #0,2,2
Current State: 17:[2, 15], Operations: ['61-59=2', '45/3=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
78,
70,
72,
76
] | 59 | [
"76-70=6",
"78/6=13",
"72-13=59"
] | Current State: 59:[78, 70, 72, 76], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [78, 72, 6]
Generated Node #2: [78, 72, 6] from Operation: 76-70=6
Current State: 59:[78, 72, 6], Operations: ['76-70=6']
Exploring Operation: 78/6=13, Resulting Numbers: [72, 13]
Generated Node #3: [72, 13] from Operation: 78/6=13
Current State: 59:[72, 13], Operations: ['76-70=6', '78/6=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[78, 70, 72, 76], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [72, 76, 8]
Generated Node #0,0: 59:[72, 76, 8] Operation: 78-70=8
Exploring Operation: 78-76=2, Resulting Numbers: [70, 72, 2]
Generated Node #0,1: 59:[70, 72, 2] Operation: 78-76=2
Exploring Operation: 78-72=6, Resulting Numbers: [70, 76, 6]
Generated Node #0,2: 59:[70, 76, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 76, 8], Operations: ['78-70=8']
Exploring Operation: 76-8=68, Resulting Numbers: [72, 68]
Generated Node #0,0,0: 59:[72, 68] Operation: 76-8=68
Exploring Operation: 72-8=64, Resulting Numbers: [76, 64]
Generated Node #0,0,1: 59:[76, 64] Operation: 72-8=64
Exploring Operation: 72+8=80, Resulting Numbers: [76, 80]
Generated Node #0,0,2: 59:[76, 80] Operation: 72+8=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[72, 68], Operations: ['78-70=8', '76-8=68']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,59 unequal: No Solution
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[76, 64], Operations: ['78-70=8', '72-8=64']
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,59 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[76, 80], Operations: ['78-70=8', '72+8=80']
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,59 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[70, 72, 2], Operations: ['78-76=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70, 70]
Generated Node #0,1,0: 59:[70, 70] Operation: 72-2=70
Exploring Operation: 70+2=72, Resulting Numbers: [72, 72]
Generated Node #0,1,1: 59:[72, 72] Operation: 70+2=72
Exploring Operation: 70-2=68, Resulting Numbers: [72, 68]
Generated Node #0,1,2: 59:[72, 68] Operation: 70-2=68
Moving to Node #0,1,0
Current State: 59:[70, 70], Operations: ['78-76=2', '72-2=70']
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[72, 68], Operations: ['78-76=2', '70-2=68']
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,59 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[72, 72], Operations: ['78-76=2', '70+2=72']
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[70, 76, 6], Operations: ['78-72=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70, 70]
Generated Node #0,2,0: 59:[70, 70] Operation: 76-6=70
Exploring Operation: 70+6=76, Resulting Numbers: [76, 76]
Generated Node #0,2,1: 59:[76, 76] Operation: 70+6=76
Exploring Operation: 70-6=64, Resulting Numbers: [76, 64]
Generated Node #0,2,2: 59:[76, 64] Operation: 70-6=64
Moving to Node #0,2,0
Current State: 59:[70, 70], Operations: ['78-72=6', '76-6=70']
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[76, 64], Operations: ['78-72=6', '70-6=64']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,59 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[76, 76], Operations: ['78-72=6', '70+6=76']
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
86,
70,
85,
50
] | 88 | [
"85-50=35",
"70/35=2",
"86+2=88"
] | Current State: 88:[86, 70, 85, 50], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [86, 70, 35]
Generated Node #2: [86, 70, 35] from Operation: 85-50=35
Current State: 88:[86, 70, 35], Operations: ['85-50=35']
Exploring Operation: 70/35=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 70/35=2
Current State: 88:[86, 2], Operations: ['85-50=35', '70/35=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[86, 70, 85, 50], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [85, 50, 16]
Generated Node #0,0: 88:[85, 50, 16] Operation: 86-70=16
Exploring Operation: 70-50=20, Resulting Numbers: [86, 85, 20]
Generated Node #0,1: 88:[86, 85, 20] Operation: 70-50=20
Exploring Operation: 86-85=1, Resulting Numbers: [70, 50, 1]
Generated Node #0,2: 88:[70, 50, 1] Operation: 86-85=1
Exploring Operation: 85-70=15, Resulting Numbers: [86, 50, 15]
Generated Node #0,3: 88:[86, 50, 15] Operation: 85-70=15
Moving to Node #0,1
Current State: 88:[86, 85, 20], Operations: ['70-50=20']
Exploring Operation: 86-85=1, Resulting Numbers: [20, 1]
Generated Node #0,1,0: 88:[20, 1] Operation: 86-85=1
Exploring Operation: 85+20=105, Resulting Numbers: [86, 105]
Generated Node #0,1,1: 88:[86, 105] Operation: 85+20=105
Exploring Operation: 85-20=65, Resulting Numbers: [86, 65]
Generated Node #0,1,2: 88:[86, 65] Operation: 85-20=65
Exploring Operation: 86+20=106, Resulting Numbers: [85, 106]
Generated Node #0,1,3: 88:[85, 106] Operation: 86+20=106
Moving to Node #0,3
Current State: 88:[86, 50, 15], Operations: ['85-70=15']
Exploring Operation: 86-50=36, Resulting Numbers: [15, 36]
Generated Node #0,3,0: 88:[15, 36] Operation: 86-50=36
Exploring Operation: 50-15=35, Resulting Numbers: [86, 35]
Generated Node #0,3,1: 88:[86, 35] Operation: 50-15=35
Exploring Operation: 86-15=71, Resulting Numbers: [50, 71]
Generated Node #0,3,2: 88:[50, 71] Operation: 86-15=71
Exploring Operation: 86+15=101, Resulting Numbers: [50, 101]
Generated Node #0,3,3: 88:[50, 101] Operation: 86+15=101
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[86, 35], Operations: ['85-70=15', '50-15=35']
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,88 unequal: No Solution
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,88 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[15, 36], Operations: ['85-70=15', '86-50=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,88 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[50, 101], Operations: ['85-70=15', '86+15=101']
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[50, 71], Operations: ['85-70=15', '86-15=71']
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,88 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,88 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[85, 50, 16], Operations: ['86-70=16']
Exploring Operation: 50-16=34, Resulting Numbers: [85, 34]
Generated Node #0,0,0: 88:[85, 34] Operation: 50-16=34
Exploring Operation: 85-16=69, Resulting Numbers: [50, 69]
Generated Node #0,0,1: 88:[50, 69] Operation: 85-16=69
Exploring Operation: 85-50=35, Resulting Numbers: [16, 35]
Generated Node #0,0,2: 88:[16, 35] Operation: 85-50=35
Exploring Operation: 85+16=101, Resulting Numbers: [50, 101]
Generated Node #0,0,3: 88:[50, 101] Operation: 85+16=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[85, 34], Operations: ['86-70=16', '50-16=34']
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[16, 35], Operations: ['86-70=16', '85-50=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,88 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[50, 101], Operations: ['86-70=16', '85+16=101']
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,88 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[50, 69], Operations: ['86-70=16', '85-16=69']
Exploring Operation: 50+69=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 50*69=3450, Resulting Numbers: [3450]
3450,88 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[70, 50, 1], Operations: ['86-85=1']
Exploring Operation: 50-1=49, Resulting Numbers: [70, 49]
Generated Node #0,2,0: 88:[70, 49] Operation: 50-1=49
Exploring Operation: 70+1=71, Resulting Numbers: [50, 71]
Generated Node #0,2,1: 88:[50, 71] Operation: 70+1=71
Exploring Operation: 70*1=70, Resulting Numbers: [50, 70]
Generated Node #0,2,2: 88:[50, 70] Operation: 70*1=70
Exploring Operation: 70-50=20, Resulting Numbers: [1, 20]
Generated Node #0,2,3: 88:[1, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[1, 20], Operations: ['86-85=1', '70-50=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[70, 49], Operations: ['86-85=1', '50-1=49']
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,88 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[50, 71], Operations: ['86-85=1', '70+1=71']
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,88 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,88 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[50, 70], Operations: ['86-85=1', '70*1=70']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 50+70=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 50*70=3500, Resulting Numbers: [3500]
3500,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 88:[20, 1], Operations: ['70-50=20', '86-85=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[86, 105], Operations: ['70-50=20', '85+20=105']
Exploring Operation: 86*105=9030, Resulting Numbers: [9030]
9030,88 unequal: No Solution
Exploring Operation: 105-86=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 86+105=191, Resulting Numbers: [191]
191,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[85, 106], Operations: ['70-50=20', '86+20=106']
Exploring Operation: 85+106=191, Resulting Numbers: [191]
191,88 unequal: No Solution
Exploring Operation: 85*106=9010, Resulting Numbers: [9010]
9010,88 unequal: No Solution
Exploring Operation: 106-85=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[86, 65], Operations: ['70-50=20', '85-20=65']
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Exploring Operation: 86*65=5590, Resulting Numbers: [5590]
5590,88 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
10,
26,
52
] | 32 | [
"11*10=110",
"26+52=78",
"110-78=32"
] | Current State: 32:[11, 10, 26, 52], Operations: []
Exploring Operation: 11*10=110, Resulting Numbers: [26, 52, 110]
Generated Node #2: [26, 52, 110] from Operation: 11*10=110
Current State: 32:[26, 52, 110], Operations: ['11*10=110']
Exploring Operation: 26+52=78, Resulting Numbers: [110, 78]
Generated Node #3: [110, 78] from Operation: 26+52=78
Current State: 32:[110, 78], Operations: ['11*10=110', '26+52=78']
Exploring Operation: 110-78=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[11, 10, 26, 52], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [11, 10, 2]
Generated Node #0,0: 32:[11, 10, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [11, 10, 26]
Generated Node #0,1: 32:[11, 10, 26] Operation: 52-26=26
Exploring Operation: 52-11=41, Resulting Numbers: [10, 26, 41]
Generated Node #0,2: 32:[10, 26, 41] Operation: 52-11=41
Moving to Node #0,0
Current State: 32:[11, 10, 2], Operations: ['52/26=2']
Exploring Operation: 11-10=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 32:[2, 1] Operation: 11-10=1
Exploring Operation: 10-2=8, Resulting Numbers: [11, 8]
Generated Node #0,0,1: 32:[11, 8] Operation: 10-2=8
Exploring Operation: 11-2=9, Resulting Numbers: [10, 9]
Generated Node #0,0,2: 32:[10, 9] Operation: 11-2=9
Moving to Node #0,1
Current State: 32:[11, 10, 26], Operations: ['52-26=26']
Exploring Operation: 11-10=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 32:[26, 1] Operation: 11-10=1
Exploring Operation: 26-11=15, Resulting Numbers: [10, 15]
Generated Node #0,1,1: 32:[10, 15] Operation: 26-11=15
Exploring Operation: 26-10=16, Resulting Numbers: [11, 16]
Generated Node #0,1,2: 32:[11, 16] Operation: 26-10=16
Moving to Node #0,2
Current State: 32:[10, 26, 41], Operations: ['52-11=41']
Exploring Operation: 26-10=16, Resulting Numbers: [41, 16]
Generated Node #0,2,0: 32:[41, 16] Operation: 26-10=16
Exploring Operation: 41-26=15, Resulting Numbers: [10, 15]
Generated Node #0,2,1: 32:[10, 15] Operation: 41-26=15
Exploring Operation: 41-10=31, Resulting Numbers: [26, 31]
Generated Node #0,2,2: 32:[26, 31] Operation: 41-10=31
Moving to Node #0,0,0
Current State: 32:[2, 1], Operations: ['52/26=2', '11-10=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[10, 9], Operations: ['52/26=2', '11-2=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[10, 15], Operations: ['52-11=41', '41-26=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[11, 8], Operations: ['52/26=2', '10-2=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[11, 16], Operations: ['52-26=26', '26-10=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,32 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[10, 15], Operations: ['52-26=26', '26-11=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[26, 1], Operations: ['52-26=26', '11-10=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[26, 31], Operations: ['52-11=41', '41-10=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[41, 16], Operations: ['52-11=41', '26-10=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,32 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
20,
71,
94,
24
] | 19 | [
"71-20=51",
"94-24=70",
"70-51=19"
] | Current State: 19:[20, 71, 94, 24], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [94, 24, 51]
Generated Node #2: [94, 24, 51] from Operation: 71-20=51
Current State: 19:[94, 24, 51], Operations: ['71-20=51']
Exploring Operation: 94-24=70, Resulting Numbers: [51, 70]
Generated Node #3: [51, 70] from Operation: 94-24=70
Current State: 19:[51, 70], Operations: ['71-20=51', '94-24=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[20, 71, 94, 24], Operations: []
Exploring Operation: 94-24=70, Resulting Numbers: [20, 71, 70]
Generated Node #0,0: 19:[20, 71, 70] Operation: 94-24=70
Exploring Operation: 94-71=23, Resulting Numbers: [20, 24, 23]
Generated Node #0,1: 19:[20, 24, 23] Operation: 94-71=23
Exploring Operation: 71-24=47, Resulting Numbers: [20, 94, 47]
Generated Node #0,2: 19:[20, 94, 47] Operation: 71-24=47
Exploring Operation: 71-20=51, Resulting Numbers: [94, 24, 51]
Generated Node #0,3: 19:[94, 24, 51] Operation: 71-20=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[20, 24, 23], Operations: ['94-71=23']
Exploring Operation: 23-20=3, Resulting Numbers: [24, 3]
Generated Node #0,1,0: 19:[24, 3] Operation: 23-20=3
Exploring Operation: 24-20=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 19:[23, 4] Operation: 24-20=4
Exploring Operation: 24-23=1, Resulting Numbers: [20, 1]
Generated Node #0,1,2: 19:[20, 1] Operation: 24-23=1
Exploring Operation: 20+24=44, Resulting Numbers: [23, 44]
Generated Node #0,1,3: 19:[23, 44] Operation: 20+24=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[23, 4], Operations: ['94-71=23', '24-20=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[20, 71, 94, 24], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [20, 24, 23]
Generated Node #0,1: 19:[20, 24, 23] Operation: 94-71=23
Moving to Node #0,1
Current State: 19:[20, 24, 23], Operations: ['94-71=23']
Exploring Operation: 24-20=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 19:[23, 4] Operation: 24-20=4
Moving to Node #0,1,1
Current State: 19:[23, 4], Operations: ['94-71=23', '24-20=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
42,
80,
36,
22
] | 12 | [
"42*22=924",
"36+924=960",
"960/80=12"
] | Current State: 12:[42, 80, 36, 22], Operations: []
Exploring Operation: 42*22=924, Resulting Numbers: [80, 36, 924]
Generated Node #2: [80, 36, 924] from Operation: 42*22=924
Current State: 12:[80, 36, 924], Operations: ['42*22=924']
Exploring Operation: 36+924=960, Resulting Numbers: [80, 960]
Generated Node #3: [80, 960] from Operation: 36+924=960
Current State: 12:[80, 960], Operations: ['42*22=924', '36+924=960']
Exploring Operation: 960/80=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[42, 80, 36, 22], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [42, 22, 44]
Generated Node #0,0: 12:[42, 22, 44] Operation: 80-36=44
Exploring Operation: 80-42=38, Resulting Numbers: [36, 22, 38]
Generated Node #0,1: 12:[36, 22, 38] Operation: 80-42=38
Exploring Operation: 42-36=6, Resulting Numbers: [80, 22, 6]
Generated Node #0,2: 12:[80, 22, 6] Operation: 42-36=6
Exploring Operation: 80-22=58, Resulting Numbers: [42, 36, 58]
Generated Node #0,3: 12:[42, 36, 58] Operation: 80-22=58
Exploring Operation: 42-22=20, Resulting Numbers: [80, 36, 20]
Generated Node #0,4: 12:[80, 36, 20] Operation: 42-22=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[36, 22, 38], Operations: ['80-42=38']
Exploring Operation: 38-36=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 12:[22, 2] Operation: 38-36=2
Exploring Operation: 38-22=16, Resulting Numbers: [36, 16]
Generated Node #0,1,1: 12:[36, 16] Operation: 38-22=16
Exploring Operation: 36+22=58, Resulting Numbers: [38, 58]
Generated Node #0,1,2: 12:[38, 58] Operation: 36+22=58
Exploring Operation: 36-22=14, Resulting Numbers: [38, 14]
Generated Node #0,1,3: 12:[38, 14] Operation: 36-22=14
Exploring Operation: 36+38=74, Resulting Numbers: [22, 74]
Generated Node #0,1,4: 12:[22, 74] Operation: 36+38=74
Moving to Node #0,1,0
Current State: 12:[22, 2], Operations: ['80-42=38', '38-36=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[38, 14], Operations: ['80-42=38', '36-22=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,12 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[36, 16], Operations: ['80-42=38', '38-22=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,12 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[38, 58], Operations: ['80-42=38', '36+22=58']
Exploring Operation: 38*58=2204, Resulting Numbers: [2204]
2204,12 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 38+58=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[22, 74], Operations: ['80-42=38', '36+38=74']
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,12 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[42, 22, 44], Operations: ['80-36=44']
Exploring Operation: 44-22=22, Resulting Numbers: [42, 22]
Generated Node #0,0,0: 12:[42, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [42, 2]
Generated Node #0,0,1: 12:[42, 2] Operation: 44/22=2
Exploring Operation: 42+22=64, Resulting Numbers: [44, 64]
Generated Node #0,0,2: 12:[44, 64] Operation: 42+22=64
Exploring Operation: 42-22=20, Resulting Numbers: [44, 20]
Generated Node #0,0,3: 12:[44, 20] Operation: 42-22=20
Exploring Operation: 44-42=2, Resulting Numbers: [22, 2]
Generated Node #0,0,4: 12:[22, 2] Operation: 44-42=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 12:[22, 2], Operations: ['80-36=44', '44-42=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[42, 2], Operations: ['80-36=44', '44/22=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,12 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[42, 22], Operations: ['80-36=44', '44-22=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,12 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[44, 20], Operations: ['80-36=44', '42-22=20']
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,12 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[44, 64], Operations: ['80-36=44', '42+22=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,12 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[80, 22, 6], Operations: ['42-36=6']
Exploring Operation: 22-6=16, Resulting Numbers: [80, 16]
Generated Node #0,2,0: 12:[80, 16] Operation: 22-6=16
Exploring Operation: 80-6=74, Resulting Numbers: [22, 74]
Generated Node #0,2,1: 12:[22, 74] Operation: 80-6=74
Exploring Operation: 22+6=28, Resulting Numbers: [80, 28]
Generated Node #0,2,2: 12:[80, 28] Operation: 22+6=28
Exploring Operation: 80-22=58, Resulting Numbers: [6, 58]
Generated Node #0,2,3: 12:[6, 58] Operation: 80-22=58
Exploring Operation: 80+6=86, Resulting Numbers: [22, 86]
Generated Node #0,2,4: 12:[22, 86] Operation: 80+6=86
Moving to Node #0,2,3
Current State: 12:[6, 58], Operations: ['42-36=6', '80-22=58']
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,12 unequal: No Solution
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[22, 74], Operations: ['42-36=6', '80-6=74']
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,12 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[80, 16], Operations: ['42-36=6', '22-6=16']
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,12 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[80, 28], Operations: ['42-36=6', '22+6=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,12 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[22, 86], Operations: ['42-36=6', '80+6=86']
Exploring Operation: 22*86=1892, Resulting Numbers: [1892]
1892,12 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[42, 36, 58], Operations: ['80-22=58']
Exploring Operation: 58-42=16, Resulting Numbers: [36, 16]
Generated Node #0,3,0: 12:[36, 16] Operation: 58-42=16
Exploring Operation: 42-36=6, Resulting Numbers: [58, 6]
Generated Node #0,3,1: 12:[58, 6] Operation: 42-36=6
Exploring Operation: 42+36=78, Resulting Numbers: [58, 78]
Generated Node #0,3,2: 12:[58, 78] Operation: 42+36=78
Exploring Operation: 42+58=100, Resulting Numbers: [36, 100]
Generated Node #0,3,3: 12:[36, 100] Operation: 42+58=100
Exploring Operation: 58-36=22, Resulting Numbers: [42, 22]
Generated Node #0,3,4: 12:[42, 22] Operation: 58-36=22
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[36, 16], Operations: ['80-22=58', '58-42=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,12 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 12:[42, 22], Operations: ['80-22=58', '58-36=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,12 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[58, 6], Operations: ['80-22=58', '42-36=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,12 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[58, 78], Operations: ['80-22=58', '42+36=78']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 58+78=136, Resulting Numbers: [136]
136,12 unequal: No Solution
Exploring Operation: 58*78=4524, Resulting Numbers: [4524]
4524,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[36, 100], Operations: ['80-22=58', '42+58=100']
Exploring Operation: 36*100=3600, Resulting Numbers: [3600]
3600,12 unequal: No Solution
Exploring Operation: 100-36=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 36+100=136, Resulting Numbers: [136]
136,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[80, 36, 20], Operations: ['42-22=20']
Exploring Operation: 80+36=116, Resulting Numbers: [20, 116]
Generated Node #0,4,0: 12:[20, 116] Operation: 80+36=116
Exploring Operation: 80-36=44, Resulting Numbers: [20, 44]
Generated Node #0,4,1: 12:[20, 44] Operation: 80-36=44
Exploring Operation: 80-20=60, Resulting Numbers: [36, 60]
Generated Node #0,4,2: 12:[36, 60] Operation: 80-20=60
Exploring Operation: 36-20=16, Resulting Numbers: [80, 16]
Generated Node #0,4,3: 12:[80, 16] Operation: 36-20=16
Exploring Operation: 80/20=4, Resulting Numbers: [36, 4]
Generated Node #0,4,4: 12:[36, 4] Operation: 80/20=4
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 12:[36, 4], Operations: ['42-22=20', '80/20=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 12:[20, 44], Operations: ['42-22=20', '80-36=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,12 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 12:[36, 60], Operations: ['42-22=20', '80-20=60']
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,12 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 12:[80, 16], Operations: ['42-22=20', '36-20=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,12 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 12:[20, 116], Operations: ['42-22=20', '80+36=116']
Exploring Operation: 116-20=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 20*116=2320, Resulting Numbers: [2320]
2320,12 unequal: No Solution
Exploring Operation: 20+116=136, Resulting Numbers: [136]
136,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
67,
36,
90
] | 25 | [
"84+67=151",
"36+90=126",
"151-126=25"
] | Current State: 25:[84, 67, 36, 90], Operations: []
Exploring Operation: 84+67=151, Resulting Numbers: [36, 90, 151]
Generated Node #2: [36, 90, 151] from Operation: 84+67=151
Current State: 25:[36, 90, 151], Operations: ['84+67=151']
Exploring Operation: 36+90=126, Resulting Numbers: [151, 126]
Generated Node #3: [151, 126] from Operation: 36+90=126
Current State: 25:[151, 126], Operations: ['84+67=151', '36+90=126']
Exploring Operation: 151-126=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[84, 67, 36, 90], Operations: []
Exploring Operation: 90-67=23, Resulting Numbers: [84, 36, 23]
Generated Node #0,0: 25:[84, 36, 23] Operation: 90-67=23
Exploring Operation: 84-67=17, Resulting Numbers: [36, 90, 17]
Generated Node #0,1: 25:[36, 90, 17] Operation: 84-67=17
Exploring Operation: 90-84=6, Resulting Numbers: [67, 36, 6]
Generated Node #0,2: 25:[67, 36, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[67, 36, 6], Operations: ['90-84=6']
Exploring Operation: 67-36=31, Resulting Numbers: [6, 31]
Generated Node #0,2,0: 25:[6, 31] Operation: 67-36=31
Exploring Operation: 67-6=61, Resulting Numbers: [36, 61]
Generated Node #0,2,1: 25:[36, 61] Operation: 67-6=61
Exploring Operation: 36/6=6, Resulting Numbers: [67, 6]
Generated Node #0,2,2: 25:[67, 6] Operation: 36/6=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[6, 31], Operations: ['90-84=6', '67-36=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,25 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[84, 67, 36, 90], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [67, 36, 6]
Generated Node #0,2: 25:[67, 36, 6] Operation: 90-84=6
Moving to Node #0,2
Current State: 25:[67, 36, 6], Operations: ['90-84=6']
Exploring Operation: 67-36=31, Resulting Numbers: [6, 31]
Generated Node #0,2,0: 25:[6, 31] Operation: 67-36=31
Moving to Node #0,2,0
Current State: 25:[6, 31], Operations: ['90-84=6', '67-36=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
63,
37,
83,
15
] | 94 | [
"63-37=26",
"83-15=68",
"26+68=94"
] | Current State: 94:[63, 37, 83, 15], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [83, 15, 26]
Generated Node #2: [83, 15, 26] from Operation: 63-37=26
Current State: 94:[83, 15, 26], Operations: ['63-37=26']
Exploring Operation: 83-15=68, Resulting Numbers: [26, 68]
Generated Node #3: [26, 68] from Operation: 83-15=68
Current State: 94:[26, 68], Operations: ['63-37=26', '83-15=68']
Exploring Operation: 26+68=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[63, 37, 83, 15], Operations: []
Exploring Operation: 63+37=100, Resulting Numbers: [83, 15, 100]
Generated Node #0,0: 94:[83, 15, 100] Operation: 63+37=100
Exploring Operation: 63-15=48, Resulting Numbers: [37, 83, 48]
Generated Node #0,1: 94:[37, 83, 48] Operation: 63-15=48
Exploring Operation: 83-37=46, Resulting Numbers: [63, 15, 46]
Generated Node #0,2: 94:[63, 15, 46] Operation: 83-37=46
Moving to Node #0,1
Current State: 94:[37, 83, 48], Operations: ['63-15=48']
Exploring Operation: 83-37=46, Resulting Numbers: [48, 46]
Generated Node #0,1,0: 94:[48, 46] Operation: 83-37=46
Exploring Operation: 48-37=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 94:[83, 11] Operation: 48-37=11
Exploring Operation: 37+48=85, Resulting Numbers: [83, 85]
Generated Node #0,1,2: 94:[83, 85] Operation: 37+48=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[48, 46], Operations: ['63-15=48', '83-37=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,94 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[63, 37, 83, 15], Operations: []
Exploring Operation: 63-15=48, Resulting Numbers: [37, 83, 48]
Generated Node #0,1: 94:[37, 83, 48] Operation: 63-15=48
Moving to Node #0,1
Current State: 94:[37, 83, 48], Operations: ['63-15=48']
Exploring Operation: 83-37=46, Resulting Numbers: [48, 46]
Generated Node #0,1,0: 94:[48, 46] Operation: 83-37=46
Moving to Node #0,1,0
Current State: 94:[48, 46], Operations: ['63-15=48', '83-37=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
88,
79,
11,
44
] | 83 | [
"88-44=44",
"44/11=4",
"79+4=83"
] | Current State: 83:[88, 79, 11, 44], Operations: []
Exploring Operation: 88-44=44, Resulting Numbers: [79, 11, 44]
Generated Node #2: [79, 11, 44] from Operation: 88-44=44
Current State: 83:[79, 11, 44], Operations: ['88-44=44']
Exploring Operation: 44/11=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 44/11=4
Current State: 83:[79, 4], Operations: ['88-44=44', '44/11=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[88, 79, 11, 44], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [79, 44, 77]
Generated Node #0,0: 83:[79, 44, 77] Operation: 88-11=77
Exploring Operation: 11+44=55, Resulting Numbers: [88, 79, 55]
Generated Node #0,1: 83:[88, 79, 55] Operation: 11+44=55
Moving to Node #0,1
Current State: 83:[88, 79, 55], Operations: ['11+44=55']
Exploring Operation: 79+55=134, Resulting Numbers: [88, 134]
Generated Node #0,1,0: 83:[88, 134] Operation: 79+55=134
Exploring Operation: 88-55=33, Resulting Numbers: [79, 33]
Generated Node #0,1,1: 83:[79, 33] Operation: 88-55=33
Moving to Node #0,0
Current State: 83:[79, 44, 77], Operations: ['88-11=77']
Exploring Operation: 79+44=123, Resulting Numbers: [77, 123]
Generated Node #0,0,0: 83:[77, 123] Operation: 79+44=123
Exploring Operation: 44+77=121, Resulting Numbers: [79, 121]
Generated Node #0,0,1: 83:[79, 121] Operation: 44+77=121
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[79, 121], Operations: ['88-11=77', '44+77=121']
Exploring Operation: 121-79=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 79+121=200, Resulting Numbers: [200]
200,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[77, 123], Operations: ['88-11=77', '79+44=123']
Exploring Operation: 123-77=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 77+123=200, Resulting Numbers: [200]
200,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 83:[79, 33], Operations: ['11+44=55', '88-55=33']
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[88, 134], Operations: ['11+44=55', '79+55=134']
Exploring Operation: 88+134=222, Resulting Numbers: [222]
222,83 unequal: No Solution
Exploring Operation: 134-88=46, Resulting Numbers: [46]
46,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
63,
6,
56
] | 49 | [
"13-6=7",
"63-56=7",
"7*7=49"
] | Current State: 49:[13, 63, 6, 56], Operations: []
Exploring Operation: 13-6=7, Resulting Numbers: [63, 56, 7]
Generated Node #2: [63, 56, 7] from Operation: 13-6=7
Current State: 49:[63, 56, 7], Operations: ['13-6=7']
Exploring Operation: 63-56=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 63-56=7
Current State: 49:[7, 7], Operations: ['13-6=7', '63-56=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[13, 63, 6, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [13, 6, 7]
Generated Node #0,0: 49:[13, 6, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[13, 6, 7], Operations: ['63-56=7']
Exploring Operation: 13-6=7, Resulting Numbers: [7, 7]
Generated Node #0,0,0: 49:[7, 7] Operation: 13-6=7
Moving to Node #0,0,0
Current State: 49:[7, 7], Operations: ['63-56=7', '13-6=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[13, 63, 6, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [13, 6, 7]
Generated Node #0,0: 49:[13, 6, 7] Operation: 63-56=7
Moving to Node #0,0
Current State: 49:[13, 6, 7], Operations: ['63-56=7']
Exploring Operation: 13-6=7, Resulting Numbers: [7, 7]
Generated Node #0,0,0: 49:[7, 7] Operation: 13-6=7
Moving to Node #0,0,0
Current State: 49:[7, 7], Operations: ['63-56=7', '13-6=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
72,
47,
23
] | 79 | [
"72-63=9",
"47+23=70",
"9+70=79"
] | Current State: 79:[63, 72, 47, 23], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [47, 23, 9]
Generated Node #2: [47, 23, 9] from Operation: 72-63=9
Current State: 79:[47, 23, 9], Operations: ['72-63=9']
Exploring Operation: 47+23=70, Resulting Numbers: [9, 70]
Generated Node #3: [9, 70] from Operation: 47+23=70
Current State: 79:[9, 70], Operations: ['72-63=9', '47+23=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[63, 72, 47, 23], Operations: []
Exploring Operation: 63+23=86, Resulting Numbers: [72, 47, 86]
Generated Node #0,0: 79:[72, 47, 86] Operation: 63+23=86
Exploring Operation: 47+23=70, Resulting Numbers: [63, 72, 70]
Generated Node #0,1: 79:[63, 72, 70] Operation: 47+23=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[63, 72, 70], Operations: ['47+23=70']
Exploring Operation: 63+72=135, Resulting Numbers: [70, 135]
Generated Node #0,1,0: 79:[70, 135] Operation: 63+72=135
Exploring Operation: 63+70=133, Resulting Numbers: [72, 133]
Generated Node #0,1,1: 79:[72, 133] Operation: 63+70=133
Moving to Node #0,1,1
Current State: 79:[72, 133], Operations: ['47+23=70', '63+70=133']
Exploring Operation: 72+133=205, Resulting Numbers: [205]
205,79 unequal: No Solution
Exploring Operation: 133-72=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[70, 135], Operations: ['47+23=70', '63+72=135']
Exploring Operation: 135-70=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 70+135=205, Resulting Numbers: [205]
205,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[72, 47, 86], Operations: ['63+23=86']
Exploring Operation: 86-47=39, Resulting Numbers: [72, 39]
Generated Node #0,0,0: 79:[72, 39] Operation: 86-47=39
Exploring Operation: 72+47=119, Resulting Numbers: [86, 119]
Generated Node #0,0,1: 79:[86, 119] Operation: 72+47=119
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[72, 39], Operations: ['63+23=86', '86-47=39']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[86, 119], Operations: ['63+23=86', '72+47=119']
Exploring Operation: 119-86=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 86+119=205, Resulting Numbers: [205]
205,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
86,
46,
82
] | 94 | [
"46+82=128",
"128/16=8",
"86+8=94"
] | Current State: 94:[16, 86, 46, 82], Operations: []
Exploring Operation: 46+82=128, Resulting Numbers: [16, 86, 128]
Generated Node #2: [16, 86, 128] from Operation: 46+82=128
Current State: 94:[16, 86, 128], Operations: ['46+82=128']
Exploring Operation: 128/16=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 128/16=8
Current State: 94:[86, 8], Operations: ['46+82=128', '128/16=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[16, 86, 46, 82], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [86, 46, 66]
Generated Node #0,0: 94:[86, 46, 66] Operation: 82-16=66
Exploring Operation: 16+82=98, Resulting Numbers: [86, 46, 98]
Generated Node #0,1: 94:[86, 46, 98] Operation: 16+82=98
Exploring Operation: 86-82=4, Resulting Numbers: [16, 46, 4]
Generated Node #0,2: 94:[16, 46, 4] Operation: 86-82=4
Exploring Operation: 16+86=102, Resulting Numbers: [46, 82, 102]
Generated Node #0,3: 94:[46, 82, 102] Operation: 16+86=102
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[86, 46, 98], Operations: ['16+82=98']
Exploring Operation: 86-46=40, Resulting Numbers: [98, 40]
Generated Node #0,1,0: 94:[98, 40] Operation: 86-46=40
Exploring Operation: 98-46=52, Resulting Numbers: [86, 52]
Generated Node #0,1,1: 94:[86, 52] Operation: 98-46=52
Exploring Operation: 98-86=12, Resulting Numbers: [46, 12]
Generated Node #0,1,2: 94:[46, 12] Operation: 98-86=12
Exploring Operation: 86+46=132, Resulting Numbers: [98, 132]
Generated Node #0,1,3: 94:[98, 132] Operation: 86+46=132
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[98, 40], Operations: ['16+82=98', '86-46=40']
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[46, 12], Operations: ['16+82=98', '98-86=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[86, 52], Operations: ['16+82=98', '98-46=52']
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,94 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[98, 132], Operations: ['16+82=98', '86+46=132']
Exploring Operation: 98+132=230, Resulting Numbers: [230]
230,94 unequal: No Solution
Exploring Operation: 132-98=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 98*132=12936, Resulting Numbers: [12936]
12936,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[16, 46, 4], Operations: ['86-82=4']
Exploring Operation: 16/4=4, Resulting Numbers: [46, 4]
Generated Node #0,2,0: 94:[46, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [46, 12]
Generated Node #0,2,1: 94:[46, 12] Operation: 16-4=12
Exploring Operation: 16+46=62, Resulting Numbers: [4, 62]
Generated Node #0,2,2: 94:[4, 62] Operation: 16+46=62
Exploring Operation: 46+4=50, Resulting Numbers: [16, 50]
Generated Node #0,2,3: 94:[16, 50] Operation: 46+4=50
Moving to Node #0,2,0
Current State: 94:[46, 4], Operations: ['86-82=4', '16/4=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[46, 12], Operations: ['86-82=4', '16-4=12']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[16, 50], Operations: ['86-82=4', '46+4=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,94 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[4, 62], Operations: ['86-82=4', '16+46=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,94 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[46, 82, 102], Operations: ['16+86=102']
Exploring Operation: 102-46=56, Resulting Numbers: [82, 56]
Generated Node #0,3,0: 94:[82, 56] Operation: 102-46=56
Exploring Operation: 82-46=36, Resulting Numbers: [102, 36]
Generated Node #0,3,1: 94:[102, 36] Operation: 82-46=36
Exploring Operation: 46+82=128, Resulting Numbers: [102, 128]
Generated Node #0,3,2: 94:[102, 128] Operation: 46+82=128
Exploring Operation: 102-82=20, Resulting Numbers: [46, 20]
Generated Node #0,3,3: 94:[46, 20] Operation: 102-82=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[102, 36], Operations: ['16+86=102', '82-46=36']
Exploring Operation: 102-36=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 102+36=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 102*36=3672, Resulting Numbers: [3672]
3672,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[46, 20], Operations: ['16+86=102', '102-82=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[82, 56], Operations: ['16+86=102', '102-46=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[102, 128], Operations: ['16+86=102', '46+82=128']
Exploring Operation: 102*128=13056, Resulting Numbers: [13056]
13056,94 unequal: No Solution
Exploring Operation: 128-102=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 102+128=230, Resulting Numbers: [230]
230,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[86, 46, 66], Operations: ['82-16=66']
Exploring Operation: 46+66=112, Resulting Numbers: [86, 112]
Generated Node #0,0,0: 94:[86, 112] Operation: 46+66=112
Exploring Operation: 86-46=40, Resulting Numbers: [66, 40]
Generated Node #0,0,1: 94:[66, 40] Operation: 86-46=40
Exploring Operation: 86-66=20, Resulting Numbers: [46, 20]
Generated Node #0,0,2: 94:[46, 20] Operation: 86-66=20
Exploring Operation: 66-46=20, Resulting Numbers: [86, 20]
Generated Node #0,0,3: 94:[86, 20] Operation: 66-46=20
Moving to Node #0,0,2
Current State: 94:[46, 20], Operations: ['82-16=66', '86-66=20']
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,94 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[66, 40], Operations: ['82-16=66', '86-46=40']
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,94 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[86, 112], Operations: ['82-16=66', '46+66=112']
Exploring Operation: 86+112=198, Resulting Numbers: [198]
198,94 unequal: No Solution
Exploring Operation: 86*112=9632, Resulting Numbers: [9632]
9632,94 unequal: No Solution
Exploring Operation: 112-86=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[86, 20], Operations: ['82-16=66', '66-46=20']
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
53,
52,
40
] | 10 | [
"53-40=13",
"52/13=4",
"40/4=10"
] | Current State: 10:[40, 53, 52, 40], Operations: []
Exploring Operation: 53-40=13, Resulting Numbers: [52, 13]
Generated Node #2: [52, 13] from Operation: 53-40=13
Current State: 10:[52, 13], Operations: ['53-40=13']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,10 equal: Goal Reached
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[40, 53, 52, 40], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [40, 40, 1]
Generated Node #0,0: 10:[40, 40, 1] Operation: 53-52=1
Exploring Operation: 52-40=12, Resulting Numbers: [53, 40, 12]
Generated Node #0,1: 10:[53, 40, 12] Operation: 52-40=12
Exploring Operation: 53-40=13, Resulting Numbers: [52, 40, 13]
Generated Node #0,2: 10:[52, 40, 13] Operation: 53-40=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[40, 40, 1], Operations: ['53-52=1']
Exploring Operation: 40-1=39, Resulting Numbers: [40, 39]
Generated Node #0,0,0: 10:[40, 39] Operation: 40-1=39
Exploring Operation: 40-40=0, Resulting Numbers: [1, 0]
Generated Node #0,0,1: 10:[1, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [1, 1]
Generated Node #0,0,2: 10:[1, 1] Operation: 40/40=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[1, 1], Operations: ['53-52=1', '40/40=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[1, 0], Operations: ['53-52=1', '40-40=0']
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[40, 39], Operations: ['53-52=1', '40-1=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,10 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[53, 40, 12], Operations: ['52-40=12']
Exploring Operation: 53-12=41, Resulting Numbers: [40, 41]
Generated Node #0,1,0: 10:[40, 41] Operation: 53-12=41
Exploring Operation: 53-40=13, Resulting Numbers: [12, 13]
Generated Node #0,1,1: 10:[12, 13] Operation: 53-40=13
Exploring Operation: 40-12=28, Resulting Numbers: [53, 28]
Generated Node #0,1,2: 10:[53, 28] Operation: 40-12=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[12, 13], Operations: ['52-40=12', '53-40=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,10 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[40, 41], Operations: ['52-40=12', '53-12=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,10 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[53, 28], Operations: ['52-40=12', '40-12=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,10 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[52, 40, 13], Operations: ['53-40=13']
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #0,2,0: 10:[40, 4] Operation: 52/13=4
Exploring Operation: 52-40=12, Resulting Numbers: [13, 12]
Generated Node #0,2,1: 10:[13, 12] Operation: 52-40=12
Exploring Operation: 52-13=39, Resulting Numbers: [40, 39]
Generated Node #0,2,2: 10:[40, 39] Operation: 52-13=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[13, 12], Operations: ['53-40=13', '52-40=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,10 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[40, 4], Operations: ['53-40=13', '52/13=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[40, 53, 52, 40], Operations: []
Exploring Operation: 53-40=13, Resulting Numbers: [52, 40, 13]
Generated Node #0,2: 10:[52, 40, 13] Operation: 53-40=13
Moving to Node #0,2
Current State: 10:[52, 40, 13], Operations: ['53-40=13']
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #0,2,0: 10:[40, 4] Operation: 52/13=4
Moving to Node #0,2,0
Current State: 10:[40, 4], Operations: ['53-40=13', '52/13=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | sum_heuristic |
[
75,
90,
15,
82
] | 81 | [
"90-75=15",
"15/15=1",
"82-1=81"
] | Current State: 81:[75, 90, 15, 82], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [15, 82, 15]
Generated Node #2: [15, 82, 15] from Operation: 90-75=15
Current State: 81:[15, 82, 15], Operations: ['90-75=15']
Exploring Operation: 15/15=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 15/15=1
Current State: 81:[82, 1], Operations: ['90-75=15', '15/15=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[75, 90, 15, 82], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [90, 82, 5]
Generated Node #0,0: 81:[90, 82, 5] Operation: 75/15=5
Exploring Operation: 90/15=6, Resulting Numbers: [75, 82, 6]
Generated Node #0,1: 81:[75, 82, 6] Operation: 90/15=6
Moving to Node #0,1
Current State: 81:[75, 82, 6], Operations: ['90/15=6']
Exploring Operation: 82-75=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 81:[6, 7] Operation: 82-75=7
Exploring Operation: 75+6=81, Resulting Numbers: [82, 81]
Generated Node #0,1,1: 81:[82, 81] Operation: 75+6=81
Moving to Node #0,0
Current State: 81:[90, 82, 5], Operations: ['75/15=5']
Exploring Operation: 90-5=85, Resulting Numbers: [82, 85]
Generated Node #0,0,0: 81:[82, 85] Operation: 90-5=85
Exploring Operation: 90-82=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 81:[5, 8] Operation: 90-82=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[5, 8], Operations: ['75/15=5', '90-82=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[82, 85], Operations: ['75/15=5', '90-5=85']
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 81:[82, 81], Operations: ['90/15=6', '75+6=81']
Exploring Operation: 82+81=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[6, 7], Operations: ['90/15=6', '82-75=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
99,
20,
77
] | 23 | [
"99-25=74",
"20+77=97",
"97-74=23"
] | Current State: 23:[25, 99, 20, 77], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [20, 77, 74]
Generated Node #2: [20, 77, 74] from Operation: 99-25=74
Current State: 23:[20, 77, 74], Operations: ['99-25=74']
Exploring Operation: 20+77=97, Resulting Numbers: [74, 97]
Generated Node #3: [74, 97] from Operation: 20+77=97
Current State: 23:[74, 97], Operations: ['99-25=74', '20+77=97']
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[25, 99, 20, 77], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [25, 20, 22]
Generated Node #0,0: 23:[25, 20, 22] Operation: 99-77=22
Exploring Operation: 99-25=74, Resulting Numbers: [20, 77, 74]
Generated Node #0,1: 23:[20, 77, 74] Operation: 99-25=74
Exploring Operation: 77-25=52, Resulting Numbers: [99, 20, 52]
Generated Node #0,2: 23:[99, 20, 52] Operation: 77-25=52
Moving to Node #0,0
Current State: 23:[25, 20, 22], Operations: ['99-77=22']
Exploring Operation: 25+20=45, Resulting Numbers: [22, 45]
Generated Node #0,0,0: 23:[22, 45] Operation: 25+20=45
Exploring Operation: 20+22=42, Resulting Numbers: [25, 42]
Generated Node #0,0,1: 23:[25, 42] Operation: 20+22=42
Exploring Operation: 25-20=5, Resulting Numbers: [22, 5]
Generated Node #0,0,2: 23:[22, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[22, 5], Operations: ['99-77=22', '25-20=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,23 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[25, 42], Operations: ['99-77=22', '20+22=42']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,23 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[22, 45], Operations: ['99-77=22', '25+20=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,23 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[25, 99, 20, 77], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [25, 20, 22]
Generated Node #0,0: 23:[25, 20, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 23:[25, 20, 22], Operations: ['99-77=22']
Exploring Operation: 25+20=45, Resulting Numbers: [22, 45]
Generated Node #0,0,0: 23:[22, 45] Operation: 25+20=45
Moving to Node #0,0,0
Current State: 23:[22, 45], Operations: ['99-77=22', '25+20=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
62,
44,
57,
85
] | 36 | [
"62+44=106",
"57+85=142",
"142-106=36"
] | Current State: 36:[62, 44, 57, 85], Operations: []
Exploring Operation: 62+44=106, Resulting Numbers: [57, 85, 106]
Generated Node #2: [57, 85, 106] from Operation: 62+44=106
Current State: 36:[57, 85, 106], Operations: ['62+44=106']
Exploring Operation: 57+85=142, Resulting Numbers: [106, 142]
Generated Node #3: [106, 142] from Operation: 57+85=142
Current State: 36:[106, 142], Operations: ['62+44=106', '57+85=142']
Exploring Operation: 142-106=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[62, 44, 57, 85], Operations: []
Exploring Operation: 85-57=28, Resulting Numbers: [62, 44, 28]
Generated Node #0,0: 36:[62, 44, 28] Operation: 85-57=28
Exploring Operation: 85-62=23, Resulting Numbers: [44, 57, 23]
Generated Node #0,1: 36:[44, 57, 23] Operation: 85-62=23
Exploring Operation: 85-44=41, Resulting Numbers: [62, 57, 41]
Generated Node #0,2: 36:[62, 57, 41] Operation: 85-44=41
Exploring Operation: 62-44=18, Resulting Numbers: [57, 85, 18]
Generated Node #0,3: 36:[57, 85, 18] Operation: 62-44=18
Exploring Operation: 62-57=5, Resulting Numbers: [44, 85, 5]
Generated Node #0,4: 36:[44, 85, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 36:[44, 57, 23], Operations: ['85-62=23']
Exploring Operation: 44-23=21, Resulting Numbers: [57, 21]
Generated Node #0,1,0: 36:[57, 21] Operation: 44-23=21
Exploring Operation: 57-44=13, Resulting Numbers: [23, 13]
Generated Node #0,1,1: 36:[23, 13] Operation: 57-44=13
Exploring Operation: 44+23=67, Resulting Numbers: [57, 67]
Generated Node #0,1,2: 36:[57, 67] Operation: 44+23=67
Exploring Operation: 57-23=34, Resulting Numbers: [44, 34]
Generated Node #0,1,3: 36:[44, 34] Operation: 57-23=34
Exploring Operation: 57+23=80, Resulting Numbers: [44, 80]
Generated Node #0,1,4: 36:[44, 80] Operation: 57+23=80
Moving to Node #0,0
Current State: 36:[62, 44, 28], Operations: ['85-57=28']
Exploring Operation: 44-28=16, Resulting Numbers: [62, 16]
Generated Node #0,0,0: 36:[62, 16] Operation: 44-28=16
Exploring Operation: 62-28=34, Resulting Numbers: [44, 34]
Generated Node #0,0,1: 36:[44, 34] Operation: 62-28=34
Exploring Operation: 62-44=18, Resulting Numbers: [28, 18]
Generated Node #0,0,2: 36:[28, 18] Operation: 62-44=18
Exploring Operation: 44+28=72, Resulting Numbers: [62, 72]
Generated Node #0,0,3: 36:[62, 72] Operation: 44+28=72
Exploring Operation: 62+28=90, Resulting Numbers: [44, 90]
Generated Node #0,0,4: 36:[44, 90] Operation: 62+28=90
Moving to Node #0,2
Current State: 36:[62, 57, 41], Operations: ['85-44=41']
Exploring Operation: 57-41=16, Resulting Numbers: [62, 16]
Generated Node #0,2,0: 36:[62, 16] Operation: 57-41=16
Exploring Operation: 62-57=5, Resulting Numbers: [41, 5]
Generated Node #0,2,1: 36:[41, 5] Operation: 62-57=5
Exploring Operation: 62-41=21, Resulting Numbers: [57, 21]
Generated Node #0,2,2: 36:[57, 21] Operation: 62-41=21
Exploring Operation: 62+57=119, Resulting Numbers: [41, 119]
Generated Node #0,2,3: 36:[41, 119] Operation: 62+57=119
Exploring Operation: 62+41=103, Resulting Numbers: [57, 103]
Generated Node #0,2,4: 36:[57, 103] Operation: 62+41=103
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[41, 5], Operations: ['85-44=41', '62-57=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,36 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[62, 44, 57, 85], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [62, 57, 41]
Generated Node #0,2: 36:[62, 57, 41] Operation: 85-44=41
Moving to Node #0,2
Current State: 36:[62, 57, 41], Operations: ['85-44=41']
Exploring Operation: 62-57=5, Resulting Numbers: [41, 5]
Generated Node #0,2,1: 36:[41, 5] Operation: 62-57=5
Moving to Node #0,2,1
Current State: 36:[41, 5], Operations: ['85-44=41', '62-57=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
55,
41,
3,
67
] | 91 | [
"41+67=108",
"108/3=36",
"55+36=91"
] | Current State: 91:[55, 41, 3, 67], Operations: []
Exploring Operation: 41+67=108, Resulting Numbers: [55, 3, 108]
Generated Node #2: [55, 3, 108] from Operation: 41+67=108
Current State: 91:[55, 3, 108], Operations: ['41+67=108']
Exploring Operation: 108/3=36, Resulting Numbers: [55, 36]
Generated Node #3: [55, 36] from Operation: 108/3=36
Current State: 91:[55, 36], Operations: ['41+67=108', '108/3=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[55, 41, 3, 67], Operations: []
Exploring Operation: 55+41=96, Resulting Numbers: [3, 67, 96]
Generated Node #0,0: 91:[3, 67, 96] Operation: 55+41=96
Exploring Operation: 67-55=12, Resulting Numbers: [41, 3, 12]
Generated Node #0,1: 91:[41, 3, 12] Operation: 67-55=12
Exploring Operation: 55-41=14, Resulting Numbers: [3, 67, 14]
Generated Node #0,2: 91:[3, 67, 14] Operation: 55-41=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[3, 67, 14], Operations: ['55-41=14']
Exploring Operation: 14-3=11, Resulting Numbers: [67, 11]
Generated Node #0,2,0: 91:[67, 11] Operation: 14-3=11
Exploring Operation: 67+14=81, Resulting Numbers: [3, 81]
Generated Node #0,2,1: 91:[3, 81] Operation: 67+14=81
Exploring Operation: 3+67=70, Resulting Numbers: [14, 70]
Generated Node #0,2,2: 91:[14, 70] Operation: 3+67=70
Moving to Node #0,2,1
Current State: 91:[3, 81], Operations: ['55-41=14', '67+14=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[14, 70], Operations: ['55-41=14', '3+67=70']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[67, 11], Operations: ['55-41=14', '14-3=11']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[3, 67, 96], Operations: ['55+41=96']
Exploring Operation: 3+67=70, Resulting Numbers: [96, 70]
Generated Node #0,0,0: 91:[96, 70] Operation: 3+67=70
Exploring Operation: 96-67=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 91:[3, 29] Operation: 96-67=29
Exploring Operation: 96-3=93, Resulting Numbers: [67, 93]
Generated Node #0,0,2: 91:[67, 93] Operation: 96-3=93
Moving to Node #0,0,1
Current State: 91:[3, 29], Operations: ['55+41=96', '96-67=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[96, 70], Operations: ['55+41=96', '3+67=70']
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[67, 93], Operations: ['55+41=96', '96-3=93']
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,91 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[41, 3, 12], Operations: ['67-55=12']
Exploring Operation: 3+12=15, Resulting Numbers: [41, 15]
Generated Node #0,1,0: 91:[41, 15] Operation: 3+12=15
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 91:[3, 29] Operation: 41-12=29
Exploring Operation: 41-3=38, Resulting Numbers: [12, 38]
Generated Node #0,1,2: 91:[12, 38] Operation: 41-3=38
Moving to Node #0,1,1
Current State: 91:[3, 29], Operations: ['67-55=12', '41-12=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[12, 38], Operations: ['67-55=12', '41-3=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,91 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[41, 15], Operations: ['67-55=12', '3+12=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
16,
81,
66,
79
] | 79 | [
"81-16=65",
"66-65=1",
"79*1=79"
] | Current State: 79:[16, 81, 66, 79], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [66, 79, 65]
Generated Node #2: [66, 79, 65] from Operation: 81-16=65
Current State: 79:[66, 79, 65], Operations: ['81-16=65']
Exploring Operation: 66-65=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 66-65=1
Current State: 79:[79, 1], Operations: ['81-16=65', '66-65=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[16, 81, 66, 79], Operations: []
Exploring Operation: 16+81=97, Resulting Numbers: [66, 79, 97]
Generated Node #0,0: 79:[66, 79, 97] Operation: 16+81=97
Exploring Operation: 16+66=82, Resulting Numbers: [81, 79, 82]
Generated Node #0,1: 79:[81, 79, 82] Operation: 16+66=82
Exploring Operation: 66-16=50, Resulting Numbers: [81, 79, 50]
Generated Node #0,2: 79:[81, 79, 50] Operation: 66-16=50
Exploring Operation: 81-16=65, Resulting Numbers: [66, 79, 65]
Generated Node #0,3: 79:[66, 79, 65] Operation: 81-16=65
Moving to Node #0,1
Current State: 79:[81, 79, 82], Operations: ['16+66=82']
Exploring Operation: 81-79=2, Resulting Numbers: [82, 2]
Generated Node #0,1,0: 79:[82, 2] Operation: 81-79=2
Exploring Operation: 82-79=3, Resulting Numbers: [81, 3]
Generated Node #0,1,1: 79:[81, 3] Operation: 82-79=3
Exploring Operation: 81+79=160, Resulting Numbers: [82, 160]
Generated Node #0,1,2: 79:[82, 160] Operation: 81+79=160
Exploring Operation: 82-81=1, Resulting Numbers: [79, 1]
Generated Node #0,1,3: 79:[79, 1] Operation: 82-81=1
Moving to Node #0,3
Current State: 79:[66, 79, 65], Operations: ['81-16=65']
Exploring Operation: 79+65=144, Resulting Numbers: [66, 144]
Generated Node #0,3,0: 79:[66, 144] Operation: 79+65=144
Exploring Operation: 79-65=14, Resulting Numbers: [66, 14]
Generated Node #0,3,1: 79:[66, 14] Operation: 79-65=14
Exploring Operation: 66+65=131, Resulting Numbers: [79, 131]
Generated Node #0,3,2: 79:[79, 131] Operation: 66+65=131
Exploring Operation: 66-65=1, Resulting Numbers: [79, 1]
Generated Node #0,3,3: 79:[79, 1] Operation: 66-65=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[79, 131], Operations: ['81-16=65', '66+65=131']
Exploring Operation: 79+131=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 131-79=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 79*131=10349, Resulting Numbers: [10349]
10349,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[66, 144], Operations: ['81-16=65', '79+65=144']
Exploring Operation: 66*144=9504, Resulting Numbers: [9504]
9504,79 unequal: No Solution
Exploring Operation: 144-66=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 66+144=210, Resulting Numbers: [210]
210,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[66, 14], Operations: ['81-16=65', '79-65=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[79, 1], Operations: ['81-16=65', '66-65=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[16, 81, 66, 79], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [66, 79, 65]
Generated Node #0,3: 79:[66, 79, 65] Operation: 81-16=65
Moving to Node #0,3
Current State: 79:[66, 79, 65], Operations: ['81-16=65']
Exploring Operation: 66-65=1, Resulting Numbers: [79, 1]
Generated Node #0,3,3: 79:[79, 1] Operation: 66-65=1
Moving to Node #0,3,3
Current State: 79:[79, 1], Operations: ['81-16=65', '66-65=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | sum_heuristic |
[
79,
13,
1,
27
] | 33 | [
"79-1=78",
"78/13=6",
"27+6=33"
] | Current State: 33:[79, 13, 1, 27], Operations: []
Exploring Operation: 79-1=78, Resulting Numbers: [13, 27, 78]
Generated Node #2: [13, 27, 78] from Operation: 79-1=78
Current State: 33:[13, 27, 78], Operations: ['79-1=78']
Exploring Operation: 78/13=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 78/13=6
Current State: 33:[27, 6], Operations: ['79-1=78', '78/13=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[79, 13, 1, 27], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [13, 1, 52]
Generated Node #0,0: 33:[13, 1, 52] Operation: 79-27=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[13, 1, 52], Operations: ['79-27=52']
Exploring Operation: 52/13=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 33:[1, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 33:[1, 4], Operations: ['79-27=52', '52/13=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
78,
30,
74
] | 66 | [
"78-74=4",
"9*4=36",
"30+36=66"
] | Current State: 66:[9, 78, 30, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [9, 30, 4]
Generated Node #2: [9, 30, 4] from Operation: 78-74=4
Current State: 66:[9, 30, 4], Operations: ['78-74=4']
Exploring Operation: 9*4=36, Resulting Numbers: [30, 36]
Generated Node #3: [30, 36] from Operation: 9*4=36
Current State: 66:[30, 36], Operations: ['78-74=4', '9*4=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[9, 78, 30, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [9, 30, 4]
Generated Node #0,0: 66:[9, 30, 4] Operation: 78-74=4
Exploring Operation: 78-30=48, Resulting Numbers: [9, 74, 48]
Generated Node #0,1: 66:[9, 74, 48] Operation: 78-30=48
Exploring Operation: 74-9=65, Resulting Numbers: [78, 30, 65]
Generated Node #0,2: 66:[78, 30, 65] Operation: 74-9=65
Exploring Operation: 78-9=69, Resulting Numbers: [30, 74, 69]
Generated Node #0,3: 66:[30, 74, 69] Operation: 78-9=69
Exploring Operation: 30-9=21, Resulting Numbers: [78, 74, 21]
Generated Node #0,4: 66:[78, 74, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[9, 30, 4], Operations: ['78-74=4']
Exploring Operation: 9*4=36, Resulting Numbers: [30, 36]
Generated Node #0,0,0: 66:[30, 36] Operation: 9*4=36
Exploring Operation: 9+4=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 66:[30, 13] Operation: 9+4=13
Exploring Operation: 30+4=34, Resulting Numbers: [9, 34]
Generated Node #0,0,2: 66:[9, 34] Operation: 30+4=34
Exploring Operation: 9-4=5, Resulting Numbers: [30, 5]
Generated Node #0,0,3: 66:[30, 5] Operation: 9-4=5
Exploring Operation: 30-9=21, Resulting Numbers: [4, 21]
Generated Node #0,0,4: 66:[4, 21] Operation: 30-9=21
Moving to Node #0,0,4
Current State: 66:[4, 21], Operations: ['78-74=4', '30-9=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[9, 34], Operations: ['78-74=4', '30+4=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[30, 5], Operations: ['78-74=4', '9-4=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[30, 13], Operations: ['78-74=4', '9+4=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,66 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[30, 36], Operations: ['78-74=4', '9*4=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,66 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[9, 78, 30, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [9, 30, 4]
Generated Node #0,0: 66:[9, 30, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 66:[9, 30, 4], Operations: ['78-74=4']
Exploring Operation: 9*4=36, Resulting Numbers: [30, 36]
Generated Node #0,0,0: 66:[30, 36] Operation: 9*4=36
Moving to Node #0,0,0
Current State: 66:[30, 36], Operations: ['78-74=4', '9*4=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | sum_heuristic |
[
3,
24,
41,
27
] | 30 | [
"41-24=17",
"27-17=10",
"3*10=30"
] | Current State: 30:[3, 24, 41, 27], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [3, 27, 17]
Generated Node #2: [3, 27, 17] from Operation: 41-24=17
Current State: 30:[3, 27, 17], Operations: ['41-24=17']
Exploring Operation: 27-17=10, Resulting Numbers: [3, 10]
Generated Node #3: [3, 10] from Operation: 27-17=10
Current State: 30:[3, 10], Operations: ['41-24=17', '27-17=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[3, 24, 41, 27], Operations: []
Exploring Operation: 3+24=27, Resulting Numbers: [41, 27, 27]
Generated Node #0,0: 30:[41, 27, 27] Operation: 3+24=27
Exploring Operation: 24/3=8, Resulting Numbers: [41, 27, 8]
Generated Node #0,1: 30:[41, 27, 8] Operation: 24/3=8
Exploring Operation: 27-24=3, Resulting Numbers: [3, 41, 3]
Generated Node #0,2: 30:[3, 41, 3] Operation: 27-24=3
Exploring Operation: 41-27=14, Resulting Numbers: [3, 24, 14]
Generated Node #0,3: 30:[3, 24, 14] Operation: 41-27=14
Exploring Operation: 41-24=17, Resulting Numbers: [3, 27, 17]
Generated Node #0,4: 30:[3, 27, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[3, 27, 17], Operations: ['41-24=17']
Exploring Operation: 27/3=9, Resulting Numbers: [17, 9]
Generated Node #0,4,0: 30:[17, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [17, 24]
Generated Node #0,4,1: 30:[17, 24] Operation: 27-3=24
Exploring Operation: 17-3=14, Resulting Numbers: [27, 14]
Generated Node #0,4,2: 30:[27, 14] Operation: 17-3=14
Exploring Operation: 3+27=30, Resulting Numbers: [17, 30]
Generated Node #0,4,3: 30:[17, 30] Operation: 3+27=30
Exploring Operation: 27-17=10, Resulting Numbers: [3, 10]
Generated Node #0,4,4: 30:[3, 10] Operation: 27-17=10
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 30:[3, 10], Operations: ['41-24=17', '27-17=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[3, 24, 41, 27], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [3, 27, 17]
Generated Node #0,4: 30:[3, 27, 17] Operation: 41-24=17
Moving to Node #0,4
Current State: 30:[3, 27, 17], Operations: ['41-24=17']
Exploring Operation: 27-17=10, Resulting Numbers: [3, 10]
Generated Node #0,4,4: 30:[3, 10] Operation: 27-17=10
Moving to Node #0,4,4
Current State: 30:[3, 10], Operations: ['41-24=17', '27-17=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
5,
67,
80,
12
] | 47 | [
"5*12=60",
"80-67=13",
"60-13=47"
] | Current State: 47:[5, 67, 80, 12], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [67, 80, 60]
Generated Node #2: [67, 80, 60] from Operation: 5*12=60
Current State: 47:[67, 80, 60], Operations: ['5*12=60']
Exploring Operation: 80-67=13, Resulting Numbers: [60, 13]
Generated Node #3: [60, 13] from Operation: 80-67=13
Current State: 47:[60, 13], Operations: ['5*12=60', '80-67=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 67, 80, 12], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [80, 12, 62]
Generated Node #0,0: 47:[80, 12, 62] Operation: 67-5=62
Exploring Operation: 5*12=60, Resulting Numbers: [67, 80, 60]
Generated Node #0,1: 47:[67, 80, 60] Operation: 5*12=60
Exploring Operation: 67-12=55, Resulting Numbers: [5, 80, 55]
Generated Node #0,2: 47:[5, 80, 55] Operation: 67-12=55
Exploring Operation: 80-5=75, Resulting Numbers: [67, 12, 75]
Generated Node #0,3: 47:[67, 12, 75] Operation: 80-5=75
Exploring Operation: 5+12=17, Resulting Numbers: [67, 80, 17]
Generated Node #0,4: 47:[67, 80, 17] Operation: 5+12=17
Moving to Node #0,1
Current State: 47:[67, 80, 60], Operations: ['5*12=60']
Exploring Operation: 67+80=147, Resulting Numbers: [60, 147]
Generated Node #0,1,0: 47:[60, 147] Operation: 67+80=147
Exploring Operation: 80-60=20, Resulting Numbers: [67, 20]
Generated Node #0,1,1: 47:[67, 20] Operation: 80-60=20
Exploring Operation: 67+60=127, Resulting Numbers: [80, 127]
Generated Node #0,1,2: 47:[80, 127] Operation: 67+60=127
Exploring Operation: 80-67=13, Resulting Numbers: [60, 13]
Generated Node #0,1,3: 47:[60, 13] Operation: 80-67=13
Exploring Operation: 67-60=7, Resulting Numbers: [80, 7]
Generated Node #0,1,4: 47:[80, 7] Operation: 67-60=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[67, 20], Operations: ['5*12=60', '80-60=20']
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,47 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[5, 67, 80, 12], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [67, 80, 60]
Generated Node #0,1: 47:[67, 80, 60] Operation: 5*12=60
Moving to Node #0,1
Current State: 47:[67, 80, 60], Operations: ['5*12=60']
Exploring Operation: 80-60=20, Resulting Numbers: [67, 20]
Generated Node #0,1,1: 47:[67, 20] Operation: 80-60=20
Moving to Node #0,1,1
Current State: 47:[67, 20], Operations: ['5*12=60', '80-60=20']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
5,
41,
36,
44
] | 57 | [
"36+44=80",
"80/5=16",
"41+16=57"
] | Current State: 57:[5, 41, 36, 44], Operations: []
Exploring Operation: 36+44=80, Resulting Numbers: [5, 41, 80]
Generated Node #2: [5, 41, 80] from Operation: 36+44=80
Current State: 57:[5, 41, 80], Operations: ['36+44=80']
Exploring Operation: 80/5=16, Resulting Numbers: [41, 16]
Generated Node #3: [41, 16] from Operation: 80/5=16
Current State: 57:[41, 16], Operations: ['36+44=80', '80/5=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[5, 41, 36, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [5, 36, 3]
Generated Node #0,0: 57:[5, 36, 3] Operation: 44-41=3
Exploring Operation: 41-36=5, Resulting Numbers: [5, 44, 5]
Generated Node #0,1: 57:[5, 44, 5] Operation: 41-36=5
Exploring Operation: 44-36=8, Resulting Numbers: [5, 41, 8]
Generated Node #0,2: 57:[5, 41, 8] Operation: 44-36=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[5, 44, 5], Operations: ['41-36=5']
Exploring Operation: 5/5=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 57:[44, 1] Operation: 5/5=1
Exploring Operation: 5+44=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 57:[5, 49] Operation: 5+44=49
Exploring Operation: 44+5=49, Resulting Numbers: [5, 49]
Generated Node #0,1,2: 57:[5, 49] Operation: 44+5=49
Moving to Node #0,1,1
Current State: 57:[5, 49], Operations: ['41-36=5', '5+44=49']
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,57 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[5, 49], Operations: ['41-36=5', '44+5=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[44, 1], Operations: ['41-36=5', '5/5=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[5, 36, 3], Operations: ['44-41=3']
Exploring Operation: 36-5=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 57:[3, 31] Operation: 36-5=31
Exploring Operation: 36/3=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 57:[5, 12] Operation: 36/3=12
Exploring Operation: 5+36=41, Resulting Numbers: [3, 41]
Generated Node #0,0,2: 57:[3, 41] Operation: 5+36=41
Moving to Node #0,0,1
Current State: 57:[5, 12], Operations: ['44-41=3', '36/3=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[3, 31], Operations: ['44-41=3', '36-5=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[3, 41], Operations: ['44-41=3', '5+36=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[5, 41, 8], Operations: ['44-36=8']
Exploring Operation: 8-5=3, Resulting Numbers: [41, 3]
Generated Node #0,2,0: 57:[41, 3] Operation: 8-5=3
Exploring Operation: 41+8=49, Resulting Numbers: [5, 49]
Generated Node #0,2,1: 57:[5, 49] Operation: 41+8=49
Exploring Operation: 5+41=46, Resulting Numbers: [8, 46]
Generated Node #0,2,2: 57:[8, 46] Operation: 5+41=46
Moving to Node #0,2,1
Current State: 57:[5, 49], Operations: ['44-36=8', '41+8=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,57 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[41, 3], Operations: ['44-36=8', '8-5=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[8, 46], Operations: ['44-36=8', '5+41=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
34,
13,
78
] | 34 | [
"64+13=77",
"78-77=1",
"34*1=34"
] | Current State: 34:[64, 34, 13, 78], Operations: []
Exploring Operation: 64+13=77, Resulting Numbers: [34, 78, 77]
Generated Node #2: [34, 78, 77] from Operation: 64+13=77
Current State: 34:[34, 78, 77], Operations: ['64+13=77']
Exploring Operation: 78-77=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 78-77=1
Current State: 34:[34, 1], Operations: ['64+13=77', '78-77=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[64, 34, 13, 78], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [34, 13, 14]
Generated Node #0,0: 34:[34, 13, 14] Operation: 78-64=14
Exploring Operation: 78/13=6, Resulting Numbers: [64, 34, 6]
Generated Node #0,1: 34:[64, 34, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 34:[34, 13, 14], Operations: ['78-64=14']
Exploring Operation: 34-13=21, Resulting Numbers: [14, 21]
Generated Node #0,0,0: 34:[14, 21] Operation: 34-13=21
Exploring Operation: 14-13=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 34:[34, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[34, 1], Operations: ['78-64=14', '14-13=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[64, 34, 13, 78], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [34, 13, 14]
Generated Node #0,0: 34:[34, 13, 14] Operation: 78-64=14
Moving to Node #0,0
Current State: 34:[34, 13, 14], Operations: ['78-64=14']
Exploring Operation: 14-13=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 34:[34, 1] Operation: 14-13=1
Moving to Node #0,0,1
Current State: 34:[34, 1], Operations: ['78-64=14', '14-13=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
34,
59,
46,
3
] | 45 | [
"34+59=93",
"46*3=138",
"138-93=45"
] | Current State: 45:[34, 59, 46, 3], Operations: []
Exploring Operation: 34+59=93, Resulting Numbers: [46, 3, 93]
Generated Node #2: [46, 3, 93] from Operation: 34+59=93
Current State: 45:[46, 3, 93], Operations: ['34+59=93']
Exploring Operation: 46*3=138, Resulting Numbers: [93, 138]
Generated Node #3: [93, 138] from Operation: 46*3=138
Current State: 45:[93, 138], Operations: ['34+59=93', '46*3=138']
Exploring Operation: 138-93=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[34, 59, 46, 3], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [59, 46, 37]
Generated Node #0,0: 45:[59, 46, 37] Operation: 34+3=37
Exploring Operation: 59-34=25, Resulting Numbers: [46, 3, 25]
Generated Node #0,1: 45:[46, 3, 25] Operation: 59-34=25
Exploring Operation: 46-34=12, Resulting Numbers: [59, 3, 12]
Generated Node #0,2: 45:[59, 3, 12] Operation: 46-34=12
Exploring Operation: 59-46=13, Resulting Numbers: [34, 3, 13]
Generated Node #0,3: 45:[34, 3, 13] Operation: 59-46=13
Moving to Node #0,1
Current State: 45:[46, 3, 25], Operations: ['59-34=25']
Exploring Operation: 46-25=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 45:[3, 21] Operation: 46-25=21
Exploring Operation: 25-3=22, Resulting Numbers: [46, 22]
Generated Node #0,1,1: 45:[46, 22] Operation: 25-3=22
Exploring Operation: 46-3=43, Resulting Numbers: [25, 43]
Generated Node #0,1,2: 45:[25, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [25, 49]
Generated Node #0,1,3: 45:[25, 49] Operation: 46+3=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[3, 21], Operations: ['59-34=25', '46-25=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[46, 22], Operations: ['59-34=25', '25-3=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,45 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[25, 43], Operations: ['59-34=25', '46-3=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[25, 49], Operations: ['59-34=25', '46+3=49']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,45 unequal: No Solution
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 45:[34, 3, 13], Operations: ['59-46=13']
Exploring Operation: 34+3=37, Resulting Numbers: [13, 37]
Generated Node #0,3,0: 45:[13, 37] Operation: 34+3=37
Exploring Operation: 34-13=21, Resulting Numbers: [3, 21]
Generated Node #0,3,1: 45:[3, 21] Operation: 34-13=21
Exploring Operation: 3+13=16, Resulting Numbers: [34, 16]
Generated Node #0,3,2: 45:[34, 16] Operation: 3+13=16
Exploring Operation: 34+13=47, Resulting Numbers: [3, 47]
Generated Node #0,3,3: 45:[3, 47] Operation: 34+13=47
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[3, 47], Operations: ['59-46=13', '34+13=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[3, 21], Operations: ['59-46=13', '34-13=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[13, 37], Operations: ['59-46=13', '34+3=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,45 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[34, 16], Operations: ['59-46=13', '3+13=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,45 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[59, 3, 12], Operations: ['46-34=12']
Exploring Operation: 12-3=9, Resulting Numbers: [59, 9]
Generated Node #0,2,0: 45:[59, 9] Operation: 12-3=9
Exploring Operation: 59-3=56, Resulting Numbers: [12, 56]
Generated Node #0,2,1: 45:[12, 56] Operation: 59-3=56
Exploring Operation: 3+12=15, Resulting Numbers: [59, 15]
Generated Node #0,2,2: 45:[59, 15] Operation: 3+12=15
Exploring Operation: 59-12=47, Resulting Numbers: [3, 47]
Generated Node #0,2,3: 45:[3, 47] Operation: 59-12=47
Moving to Node #0,0
Current State: 45:[59, 46, 37], Operations: ['34+3=37']
Exploring Operation: 59+37=96, Resulting Numbers: [46, 96]
Generated Node #0,0,0: 45:[46, 96] Operation: 59+37=96
Exploring Operation: 59-46=13, Resulting Numbers: [37, 13]
Generated Node #0,0,1: 45:[37, 13] Operation: 59-46=13
Exploring Operation: 46-37=9, Resulting Numbers: [59, 9]
Generated Node #0,0,2: 45:[59, 9] Operation: 46-37=9
Exploring Operation: 59-37=22, Resulting Numbers: [46, 22]
Generated Node #0,0,3: 45:[46, 22] Operation: 59-37=22
Moving to Node #0,2,3
Current State: 45:[3, 47], Operations: ['46-34=12', '59-12=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[46, 22], Operations: ['34+3=37', '59-37=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[37, 13], Operations: ['34+3=37', '59-46=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[12, 56], Operations: ['46-34=12', '59-3=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,45 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[59, 9], Operations: ['34+3=37', '46-37=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,45 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[59, 9], Operations: ['46-34=12', '12-3=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[59, 15], Operations: ['46-34=12', '3+12=15']
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,45 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[46, 96], Operations: ['34+3=37', '59+37=96']
Exploring Operation: 46*96=4416, Resulting Numbers: [4416]
4416,45 unequal: No Solution
Exploring Operation: 46+96=142, Resulting Numbers: [142]
142,45 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
4,
50,
99
] | 36 | [
"50-39=11",
"4*99=396",
"396/11=36"
] | Current State: 36:[39, 4, 50, 99], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [4, 99, 11]
Generated Node #2: [4, 99, 11] from Operation: 50-39=11
Current State: 36:[4, 99, 11], Operations: ['50-39=11']
Exploring Operation: 4*99=396, Resulting Numbers: [11, 396]
Generated Node #3: [11, 396] from Operation: 4*99=396
Current State: 36:[11, 396], Operations: ['50-39=11', '4*99=396']
Exploring Operation: 396/11=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[39, 4, 50, 99], Operations: []
Exploring Operation: 99-50=49, Resulting Numbers: [39, 4, 49]
Generated Node #0,0: 36:[39, 4, 49] Operation: 99-50=49
Exploring Operation: 99-39=60, Resulting Numbers: [4, 50, 60]
Generated Node #0,1: 36:[4, 50, 60] Operation: 99-39=60
Moving to Node #0,0
Current State: 36:[39, 4, 49], Operations: ['99-50=49']
Exploring Operation: 49-4=45, Resulting Numbers: [39, 45]
Generated Node #0,0,0: 36:[39, 45] Operation: 49-4=45
Exploring Operation: 49-39=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 36:[4, 10] Operation: 49-39=10
Moving to Node #0,1
Current State: 36:[4, 50, 60], Operations: ['99-39=60']
Exploring Operation: 60/4=15, Resulting Numbers: [50, 15]
Generated Node #0,1,0: 36:[50, 15] Operation: 60/4=15
Exploring Operation: 60-50=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 36:[4, 10] Operation: 60-50=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[4, 10], Operations: ['99-39=60', '60-50=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[50, 15], Operations: ['99-39=60', '60/4=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 36:[4, 10], Operations: ['99-50=49', '49-39=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[39, 45], Operations: ['99-50=49', '49-4=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
55,
82,
58
] | 59 | [
"28+55=83",
"82-58=24",
"83-24=59"
] | Current State: 59:[28, 55, 82, 58], Operations: []
Exploring Operation: 28+55=83, Resulting Numbers: [82, 58, 83]
Generated Node #2: [82, 58, 83] from Operation: 28+55=83
Current State: 59:[82, 58, 83], Operations: ['28+55=83']
Exploring Operation: 82-58=24, Resulting Numbers: [83, 24]
Generated Node #3: [83, 24] from Operation: 82-58=24
Current State: 59:[83, 24], Operations: ['28+55=83', '82-58=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[28, 55, 82, 58], Operations: []
Exploring Operation: 28+58=86, Resulting Numbers: [55, 82, 86]
Generated Node #0,0: 59:[55, 82, 86] Operation: 28+58=86
Exploring Operation: 82-28=54, Resulting Numbers: [55, 58, 54]
Generated Node #0,1: 59:[55, 58, 54] Operation: 82-28=54
Exploring Operation: 28+55=83, Resulting Numbers: [82, 58, 83]
Generated Node #0,2: 59:[82, 58, 83] Operation: 28+55=83
Exploring Operation: 55-28=27, Resulting Numbers: [82, 58, 27]
Generated Node #0,3: 59:[82, 58, 27] Operation: 55-28=27
Moving to Node #0,1
Current State: 59:[55, 58, 54], Operations: ['82-28=54']
Exploring Operation: 55+58=113, Resulting Numbers: [54, 113]
Generated Node #0,1,0: 59:[54, 113] Operation: 55+58=113
Exploring Operation: 55-54=1, Resulting Numbers: [58, 1]
Generated Node #0,1,1: 59:[58, 1] Operation: 55-54=1
Exploring Operation: 58+54=112, Resulting Numbers: [55, 112]
Generated Node #0,1,2: 59:[55, 112] Operation: 58+54=112
Exploring Operation: 55+54=109, Resulting Numbers: [58, 109]
Generated Node #0,1,3: 59:[58, 109] Operation: 55+54=109
Moving to Node #0,2
Current State: 59:[82, 58, 83], Operations: ['28+55=83']
Exploring Operation: 83-82=1, Resulting Numbers: [58, 1]
Generated Node #0,2,0: 59:[58, 1] Operation: 83-82=1
Exploring Operation: 82-58=24, Resulting Numbers: [83, 24]
Generated Node #0,2,1: 59:[83, 24] Operation: 82-58=24
Exploring Operation: 82+58=140, Resulting Numbers: [83, 140]
Generated Node #0,2,2: 59:[83, 140] Operation: 82+58=140
Exploring Operation: 83-58=25, Resulting Numbers: [82, 25]
Generated Node #0,2,3: 59:[82, 25] Operation: 83-58=25
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[82, 25], Operations: ['28+55=83', '83-58=25']
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,59 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[58, 1], Operations: ['28+55=83', '83-82=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[28, 55, 82, 58], Operations: []
Exploring Operation: 28+55=83, Resulting Numbers: [82, 58, 83]
Generated Node #0,2: 59:[82, 58, 83] Operation: 28+55=83
Moving to Node #0,2
Current State: 59:[82, 58, 83], Operations: ['28+55=83']
Exploring Operation: 83-82=1, Resulting Numbers: [58, 1]
Generated Node #0,2,0: 59:[58, 1] Operation: 83-82=1
Moving to Node #0,2,0
Current State: 59:[58, 1], Operations: ['28+55=83', '83-82=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
40,
4,
70,
83
] | 23 | [
"40-4=36",
"83-70=13",
"36-13=23"
] | Current State: 23:[40, 4, 70, 83], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [70, 83, 36]
Generated Node #2: [70, 83, 36] from Operation: 40-4=36
Current State: 23:[70, 83, 36], Operations: ['40-4=36']
Exploring Operation: 83-70=13, Resulting Numbers: [36, 13]
Generated Node #3: [36, 13] from Operation: 83-70=13
Current State: 23:[36, 13], Operations: ['40-4=36', '83-70=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[40, 4, 70, 83], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [70, 83, 36]
Generated Node #0,0: 23:[70, 83, 36] Operation: 40-4=36
Exploring Operation: 83-70=13, Resulting Numbers: [40, 4, 13]
Generated Node #0,1: 23:[40, 4, 13] Operation: 83-70=13
Exploring Operation: 83-40=43, Resulting Numbers: [4, 70, 43]
Generated Node #0,2: 23:[4, 70, 43] Operation: 83-40=43
Exploring Operation: 70-40=30, Resulting Numbers: [4, 83, 30]
Generated Node #0,3: 23:[4, 83, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[40, 4, 13], Operations: ['83-70=13']
Exploring Operation: 4+13=17, Resulting Numbers: [40, 17]
Generated Node #0,1,0: 23:[40, 17] Operation: 4+13=17
Exploring Operation: 40-13=27, Resulting Numbers: [4, 27]
Generated Node #0,1,1: 23:[4, 27] Operation: 40-13=27
Exploring Operation: 40/4=10, Resulting Numbers: [13, 10]
Generated Node #0,1,2: 23:[13, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [13, 36]
Generated Node #0,1,3: 23:[13, 36] Operation: 40-4=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[40, 17], Operations: ['83-70=13', '4+13=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[40, 4, 70, 83], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [40, 4, 13]
Generated Node #0,1: 23:[40, 4, 13] Operation: 83-70=13
Moving to Node #0,1
Current State: 23:[40, 4, 13], Operations: ['83-70=13']
Exploring Operation: 4+13=17, Resulting Numbers: [40, 17]
Generated Node #0,1,0: 23:[40, 17] Operation: 4+13=17
Moving to Node #0,1,0
Current State: 23:[40, 17], Operations: ['83-70=13', '4+13=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
68,
9,
34,
42
] | 60 | [
"68*9=612",
"612/34=18",
"42+18=60"
] | Current State: 60:[68, 9, 34, 42], Operations: []
Exploring Operation: 68*9=612, Resulting Numbers: [34, 42, 612]
Generated Node #2: [34, 42, 612] from Operation: 68*9=612
Current State: 60:[34, 42, 612], Operations: ['68*9=612']
Exploring Operation: 612/34=18, Resulting Numbers: [42, 18]
Generated Node #3: [42, 18] from Operation: 612/34=18
Current State: 60:[42, 18], Operations: ['68*9=612', '612/34=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[68, 9, 34, 42], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [9, 42, 2]
Generated Node #0,0: 60:[9, 42, 2] Operation: 68/34=2
Exploring Operation: 42-9=33, Resulting Numbers: [68, 34, 33]
Generated Node #0,1: 60:[68, 34, 33] Operation: 42-9=33
Exploring Operation: 42-34=8, Resulting Numbers: [68, 9, 8]
Generated Node #0,2: 60:[68, 9, 8] Operation: 42-34=8
Exploring Operation: 68-42=26, Resulting Numbers: [9, 34, 26]
Generated Node #0,3: 60:[9, 34, 26] Operation: 68-42=26
Moving to Node #0,3
Current State: 60:[9, 34, 26], Operations: ['68-42=26']
Exploring Operation: 34-26=8, Resulting Numbers: [9, 8]
Generated Node #0,3,0: 60:[9, 8] Operation: 34-26=8
Exploring Operation: 26-9=17, Resulting Numbers: [34, 17]
Generated Node #0,3,1: 60:[34, 17] Operation: 26-9=17
Exploring Operation: 34-9=25, Resulting Numbers: [26, 25]
Generated Node #0,3,2: 60:[26, 25] Operation: 34-9=25
Exploring Operation: 34+26=60, Resulting Numbers: [9, 60]
Generated Node #0,3,3: 60:[9, 60] Operation: 34+26=60
Moving to Node #0,2
Current State: 60:[68, 9, 8], Operations: ['42-34=8']
Exploring Operation: 9+8=17, Resulting Numbers: [68, 17]
Generated Node #0,2,0: 60:[68, 17] Operation: 9+8=17
Exploring Operation: 68-9=59, Resulting Numbers: [8, 59]
Generated Node #0,2,1: 60:[8, 59] Operation: 68-9=59
Exploring Operation: 68-8=60, Resulting Numbers: [9, 60]
Generated Node #0,2,2: 60:[9, 60] Operation: 68-8=60
Exploring Operation: 9-8=1, Resulting Numbers: [68, 1]
Generated Node #0,2,3: 60:[68, 1] Operation: 9-8=1
Moving to Node #0,0
Current State: 60:[9, 42, 2], Operations: ['68/34=2']
Exploring Operation: 42-9=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 60:[2, 33] Operation: 42-9=33
Exploring Operation: 42/2=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 60:[9, 21] Operation: 42/2=21
Exploring Operation: 42-2=40, Resulting Numbers: [9, 40]
Generated Node #0,0,2: 60:[9, 40] Operation: 42-2=40
Exploring Operation: 9+42=51, Resulting Numbers: [2, 51]
Generated Node #0,0,3: 60:[2, 51] Operation: 9+42=51
Moving to Node #0,1
Current State: 60:[68, 34, 33], Operations: ['42-9=33']
Exploring Operation: 68-34=34, Resulting Numbers: [33, 34]
Generated Node #0,1,0: 60:[33, 34] Operation: 68-34=34
Exploring Operation: 34-33=1, Resulting Numbers: [68, 1]
Generated Node #0,1,1: 60:[68, 1] Operation: 34-33=1
Exploring Operation: 68-33=35, Resulting Numbers: [34, 35]
Generated Node #0,1,2: 60:[34, 35] Operation: 68-33=35
Exploring Operation: 68/34=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 60:[33, 2] Operation: 68/34=2
Moving to Node #0,3,3
Current State: 60:[9, 60], Operations: ['68-42=26', '34+26=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,60 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[9, 60], Operations: ['42-34=8', '68-8=60']
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,60 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[9, 21], Operations: ['68/34=2', '42/2=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[8, 59], Operations: ['42-34=8', '68-9=59']
Exploring Operation: 8+59=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 8*59=472, Resulting Numbers: [472]
472,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[33, 2], Operations: ['42-9=33', '68/34=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[9, 8], Operations: ['68-42=26', '34-26=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[2, 33], Operations: ['68/34=2', '42-9=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[34, 17], Operations: ['68-42=26', '26-9=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,60 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[33, 34], Operations: ['42-9=33', '68-34=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[68, 1], Operations: ['42-34=8', '9-8=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[34, 35], Operations: ['42-9=33', '68-33=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[2, 51], Operations: ['68/34=2', '9+42=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[68, 1], Operations: ['42-9=33', '34-33=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[26, 25], Operations: ['68-42=26', '34-9=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[68, 17], Operations: ['42-34=8', '9+8=17']
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,60 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[9, 40], Operations: ['68/34=2', '42-2=40']
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,60 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,60 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
52,
7,
88
] | 22 | [
"52+88=140",
"140/7=20",
"42-20=22"
] | Current State: 22:[42, 52, 7, 88], Operations: []
Exploring Operation: 52+88=140, Resulting Numbers: [42, 7, 140]
Generated Node #2: [42, 7, 140] from Operation: 52+88=140
Current State: 22:[42, 7, 140], Operations: ['52+88=140']
Exploring Operation: 140/7=20, Resulting Numbers: [42, 20]
Generated Node #3: [42, 20] from Operation: 140/7=20
Current State: 22:[42, 20], Operations: ['52+88=140', '140/7=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[42, 52, 7, 88], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [42, 7, 36]
Generated Node #0,0: 22:[42, 7, 36] Operation: 88-52=36
Exploring Operation: 52-42=10, Resulting Numbers: [7, 88, 10]
Generated Node #0,1: 22:[7, 88, 10] Operation: 52-42=10
Exploring Operation: 88-42=46, Resulting Numbers: [52, 7, 46]
Generated Node #0,2: 22:[52, 7, 46] Operation: 88-42=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[42, 7, 36], Operations: ['88-52=36']
Exploring Operation: 42-36=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 22:[7, 6] Operation: 42-36=6
Exploring Operation: 42/7=6, Resulting Numbers: [36, 6]
Generated Node #0,0,1: 22:[36, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [36, 35]
Generated Node #0,0,2: 22:[36, 35] Operation: 42-7=35
Moving to Node #0,0,0
Current State: 22:[7, 6], Operations: ['88-52=36', '42-36=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[36, 6], Operations: ['88-52=36', '42/7=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[36, 35], Operations: ['88-52=36', '42-7=35']
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,22 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[52, 7, 46], Operations: ['88-42=46']
Exploring Operation: 52-46=6, Resulting Numbers: [7, 6]
Generated Node #0,2,0: 22:[7, 6] Operation: 52-46=6
Exploring Operation: 52-7=45, Resulting Numbers: [46, 45]
Generated Node #0,2,1: 22:[46, 45] Operation: 52-7=45
Exploring Operation: 46-7=39, Resulting Numbers: [52, 39]
Generated Node #0,2,2: 22:[52, 39] Operation: 46-7=39
Moving to Node #0,2,0
Current State: 22:[7, 6], Operations: ['88-42=46', '52-46=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[46, 45], Operations: ['88-42=46', '52-7=45']
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,22 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[52, 39], Operations: ['88-42=46', '46-7=39']
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,22 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[7, 88, 10], Operations: ['52-42=10']
Exploring Operation: 88-7=81, Resulting Numbers: [10, 81]
Generated Node #0,1,0: 22:[10, 81] Operation: 88-7=81
Exploring Operation: 88-10=78, Resulting Numbers: [7, 78]
Generated Node #0,1,1: 22:[7, 78] Operation: 88-10=78
Exploring Operation: 10-7=3, Resulting Numbers: [88, 3]
Generated Node #0,1,2: 22:[88, 3] Operation: 10-7=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[10, 81], Operations: ['52-42=10', '88-7=81']
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,22 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,22 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[7, 78], Operations: ['52-42=10', '88-10=78']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,22 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[88, 3], Operations: ['52-42=10', '10-7=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,22 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,22 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
21,
6,
11
] | 100 | [
"4+6=10",
"21-11=10",
"10*10=100"
] | Current State: 100:[4, 21, 6, 11], Operations: []
Exploring Operation: 4+6=10, Resulting Numbers: [21, 11, 10]
Generated Node #2: [21, 11, 10] from Operation: 4+6=10
Current State: 100:[21, 11, 10], Operations: ['4+6=10']
Exploring Operation: 21-11=10, Resulting Numbers: [10, 10]
Generated Node #3: [10, 10] from Operation: 21-11=10
Current State: 100:[10, 10], Operations: ['4+6=10', '21-11=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[4, 21, 6, 11], Operations: []
Exploring Operation: 21-11=10, Resulting Numbers: [4, 6, 10]
Generated Node #0,0: 100:[4, 6, 10] Operation: 21-11=10
Exploring Operation: 4+21=25, Resulting Numbers: [6, 11, 25]
Generated Node #0,1: 100:[6, 11, 25] Operation: 4+21=25
Exploring Operation: 11-6=5, Resulting Numbers: [4, 21, 5]
Generated Node #0,2: 100:[4, 21, 5] Operation: 11-6=5
Exploring Operation: 4+6=10, Resulting Numbers: [21, 11, 10]
Generated Node #0,3: 100:[21, 11, 10] Operation: 4+6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[4, 6, 10], Operations: ['21-11=10']
Exploring Operation: 4+6=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 100:[10, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [10, 2]
Generated Node #0,0,1: 100:[10, 2] Operation: 6-4=2
Exploring Operation: 10-6=4, Resulting Numbers: [4, 4]
Generated Node #0,0,2: 100:[4, 4] Operation: 10-6=4
Exploring Operation: 4*6=24, Resulting Numbers: [10, 24]
Generated Node #0,0,3: 100:[10, 24] Operation: 4*6=24
Moving to Node #0,0,0
Current State: 100:[10, 10], Operations: ['21-11=10', '4+6=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[4, 21, 6, 11], Operations: []
Exploring Operation: 21-11=10, Resulting Numbers: [4, 6, 10]
Generated Node #0,0: 100:[4, 6, 10] Operation: 21-11=10
Moving to Node #0,0
Current State: 100:[4, 6, 10], Operations: ['21-11=10']
Exploring Operation: 4+6=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 100:[10, 10] Operation: 4+6=10
Moving to Node #0,0,0
Current State: 100:[10, 10], Operations: ['21-11=10', '4+6=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
90,
77,
17,
29
] | 33 | [
"90-77=13",
"17+29=46",
"46-13=33"
] | Current State: 33:[90, 77, 17, 29], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [17, 29, 13]
Generated Node #2: [17, 29, 13] from Operation: 90-77=13
Current State: 33:[17, 29, 13], Operations: ['90-77=13']
Exploring Operation: 17+29=46, Resulting Numbers: [13, 46]
Generated Node #3: [13, 46] from Operation: 17+29=46
Current State: 33:[13, 46], Operations: ['90-77=13', '17+29=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[90, 77, 17, 29], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [17, 29, 13]
Generated Node #0,0: 33:[17, 29, 13] Operation: 90-77=13
Exploring Operation: 90-29=61, Resulting Numbers: [77, 17, 61]
Generated Node #0,1: 33:[77, 17, 61] Operation: 90-29=61
Moving to Node #0,0
Current State: 33:[17, 29, 13], Operations: ['90-77=13']
Exploring Operation: 17-13=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 33:[29, 4] Operation: 17-13=4
Exploring Operation: 29-17=12, Resulting Numbers: [13, 12]
Generated Node #0,0,1: 33:[13, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[13, 12], Operations: ['90-77=13', '29-17=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[29, 4], Operations: ['90-77=13', '17-13=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[90, 77, 17, 29], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [17, 29, 13]
Generated Node #0,0: 33:[17, 29, 13] Operation: 90-77=13
Moving to Node #0,0
Current State: 33:[17, 29, 13], Operations: ['90-77=13']
Exploring Operation: 17-13=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 33:[29, 4] Operation: 17-13=4
Moving to Node #0,0,0
Current State: 33:[29, 4], Operations: ['90-77=13', '17-13=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
84,
54,
75,
57
] | 77 | [
"84-57=27",
"54/27=2",
"75+2=77"
] | Current State: 77:[84, 54, 75, 57], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [54, 75, 27]
Generated Node #2: [54, 75, 27] from Operation: 84-57=27
Current State: 77:[54, 75, 27], Operations: ['84-57=27']
Exploring Operation: 54/27=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 54/27=2
Current State: 77:[75, 2], Operations: ['84-57=27', '54/27=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[84, 54, 75, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [84, 75, 3]
Generated Node #0,0: 77:[84, 75, 3] Operation: 57-54=3
Exploring Operation: 75-57=18, Resulting Numbers: [84, 54, 18]
Generated Node #0,1: 77:[84, 54, 18] Operation: 75-57=18
Exploring Operation: 75-54=21, Resulting Numbers: [84, 57, 21]
Generated Node #0,2: 77:[84, 57, 21] Operation: 75-54=21
Moving to Node #0,0
Current State: 77:[84, 75, 3], Operations: ['57-54=3']
Exploring Operation: 75+3=78, Resulting Numbers: [84, 78]
Generated Node #0,0,0: 77:[84, 78] Operation: 75+3=78
Exploring Operation: 84-3=81, Resulting Numbers: [75, 81]
Generated Node #0,0,1: 77:[75, 81] Operation: 84-3=81
Exploring Operation: 84-75=9, Resulting Numbers: [3, 9]
Generated Node #0,0,2: 77:[3, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[75, 81], Operations: ['57-54=3', '84-3=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,77 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[3, 9], Operations: ['57-54=3', '84-75=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[84, 78], Operations: ['57-54=3', '75+3=78']
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,77 unequal: No Solution
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,77 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[84, 54, 18], Operations: ['75-57=18']
Exploring Operation: 54/18=3, Resulting Numbers: [84, 3]
Generated Node #0,1,0: 77:[84, 3] Operation: 54/18=3
Exploring Operation: 84-54=30, Resulting Numbers: [18, 30]
Generated Node #0,1,1: 77:[18, 30] Operation: 84-54=30
Exploring Operation: 54+18=72, Resulting Numbers: [84, 72]
Generated Node #0,1,2: 77:[84, 72] Operation: 54+18=72
Moving to Node #0,2
Current State: 77:[84, 57, 21], Operations: ['75-54=21']
Exploring Operation: 84/21=4, Resulting Numbers: [57, 4]
Generated Node #0,2,0: 77:[57, 4] Operation: 84/21=4
Exploring Operation: 57+21=78, Resulting Numbers: [84, 78]
Generated Node #0,2,1: 77:[84, 78] Operation: 57+21=78
Exploring Operation: 84-57=27, Resulting Numbers: [21, 27]
Generated Node #0,2,2: 77:[21, 27] Operation: 84-57=27
Moving to Node #0,2,1
Current State: 77:[84, 78], Operations: ['75-54=21', '57+21=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,77 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,77 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[84, 3], Operations: ['75-57=18', '54/18=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[84, 72], Operations: ['75-57=18', '54+18=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,77 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[57, 4], Operations: ['75-54=21', '84/21=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,77 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[21, 27], Operations: ['75-54=21', '84-57=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,77 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[18, 30], Operations: ['75-57=18', '84-54=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,77 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
6,
11,
82
] | 65 | [
"95-82=13",
"11-6=5",
"13*5=65"
] | Current State: 65:[95, 6, 11, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [6, 11, 13]
Generated Node #2: [6, 11, 13] from Operation: 95-82=13
Current State: 65:[6, 11, 13], Operations: ['95-82=13']
Exploring Operation: 11-6=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 11-6=5
Current State: 65:[13, 5], Operations: ['95-82=13', '11-6=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[95, 6, 11, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [6, 11, 13]
Generated Node #0,0: 65:[6, 11, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[6, 11, 13], Operations: ['95-82=13']
Exploring Operation: 11-6=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 65:[13, 5] Operation: 11-6=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[13, 5], Operations: ['95-82=13', '11-6=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[95, 6, 11, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [6, 11, 13]
Generated Node #0,0: 65:[6, 11, 13] Operation: 95-82=13
Moving to Node #0,0
Current State: 65:[6, 11, 13], Operations: ['95-82=13']
Exploring Operation: 11-6=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 65:[13, 5] Operation: 11-6=5
Moving to Node #0,0,0
Current State: 65:[13, 5], Operations: ['95-82=13', '11-6=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
5,
20,
95,
92
] | 69 | [
"20+95=115",
"115/5=23",
"92-23=69"
] | Current State: 69:[5, 20, 95, 92], Operations: []
Exploring Operation: 20+95=115, Resulting Numbers: [5, 92, 115]
Generated Node #2: [5, 92, 115] from Operation: 20+95=115
Current State: 69:[5, 92, 115], Operations: ['20+95=115']
Exploring Operation: 115/5=23, Resulting Numbers: [92, 23]
Generated Node #3: [92, 23] from Operation: 115/5=23
Current State: 69:[92, 23], Operations: ['20+95=115', '115/5=23']
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[5, 20, 95, 92], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [5, 20, 3]
Generated Node #0,0: 69:[5, 20, 3] Operation: 95-92=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[5, 20, 3], Operations: ['95-92=3']
Exploring Operation: 20/5=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 69:[3, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 69:[3, 4], Operations: ['95-92=3', '20/5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
68,
17,
18
] | 65 | [
"32+68=100",
"17+18=35",
"100-35=65"
] | Current State: 65:[32, 68, 17, 18], Operations: []
Exploring Operation: 32+68=100, Resulting Numbers: [17, 18, 100]
Generated Node #2: [17, 18, 100] from Operation: 32+68=100
Current State: 65:[17, 18, 100], Operations: ['32+68=100']
Exploring Operation: 17+18=35, Resulting Numbers: [100, 35]
Generated Node #3: [100, 35] from Operation: 17+18=35
Current State: 65:[100, 35], Operations: ['32+68=100', '17+18=35']
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[32, 68, 17, 18], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [68, 17, 14]
Generated Node #0,0: 65:[68, 17, 14] Operation: 32-18=14
Exploring Operation: 32+18=50, Resulting Numbers: [68, 17, 50]
Generated Node #0,1: 65:[68, 17, 50] Operation: 32+18=50
Exploring Operation: 32-17=15, Resulting Numbers: [68, 18, 15]
Generated Node #0,2: 65:[68, 18, 15] Operation: 32-17=15
Exploring Operation: 32+17=49, Resulting Numbers: [68, 18, 49]
Generated Node #0,3: 65:[68, 18, 49] Operation: 32+17=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[68, 17, 14], Operations: ['32-18=14']
Exploring Operation: 17-14=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 65:[68, 3] Operation: 17-14=3
Exploring Operation: 68/17=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 65:[14, 4] Operation: 68/17=4
Exploring Operation: 68-17=51, Resulting Numbers: [14, 51]
Generated Node #0,0,2: 65:[14, 51] Operation: 68-17=51
Exploring Operation: 68-14=54, Resulting Numbers: [17, 54]
Generated Node #0,0,3: 65:[17, 54] Operation: 68-14=54
Moving to Node #0,0,1
Current State: 65:[14, 4], Operations: ['32-18=14', '68/17=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[68, 3], Operations: ['32-18=14', '17-14=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[32, 68, 17, 18], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [68, 17, 14]
Generated Node #0,0: 65:[68, 17, 14] Operation: 32-18=14
Moving to Node #0,0
Current State: 65:[68, 17, 14], Operations: ['32-18=14']
Exploring Operation: 17-14=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 65:[68, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 65:[68, 3], Operations: ['32-18=14', '17-14=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
1,
79,
83,
41
] | 81 | [
"83-1=82",
"82/41=2",
"79+2=81"
] | Current State: 81:[1, 79, 83, 41], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [79, 41, 82]
Generated Node #2: [79, 41, 82] from Operation: 83-1=82
Current State: 81:[79, 41, 82], Operations: ['83-1=82']
Exploring Operation: 82/41=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 82/41=2
Current State: 81:[79, 2], Operations: ['83-1=82', '82/41=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[1, 79, 83, 41], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [79, 41, 82]
Generated Node #0,0: 81:[79, 41, 82] Operation: 83-1=82
Exploring Operation: 1+79=80, Resulting Numbers: [83, 41, 80]
Generated Node #0,1: 81:[83, 41, 80] Operation: 1+79=80
Exploring Operation: 41-1=40, Resulting Numbers: [79, 83, 40]
Generated Node #0,2: 81:[79, 83, 40] Operation: 41-1=40
Exploring Operation: 79-41=38, Resulting Numbers: [1, 83, 38]
Generated Node #0,3: 81:[1, 83, 38] Operation: 79-41=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[1, 83, 38], Operations: ['79-41=38']
Exploring Operation: 83/1=83, Resulting Numbers: [38, 83]
Generated Node #0,3,0: 81:[38, 83] Operation: 83/1=83
Exploring Operation: 83-1=82, Resulting Numbers: [38, 82]
Generated Node #0,3,1: 81:[38, 82] Operation: 83-1=82
Exploring Operation: 38-1=37, Resulting Numbers: [83, 37]
Generated Node #0,3,2: 81:[83, 37] Operation: 38-1=37
Exploring Operation: 1*83=83, Resulting Numbers: [38, 83]
Generated Node #0,3,3: 81:[38, 83] Operation: 1*83=83
Moving to Node #0,3,1
Current State: 81:[38, 82], Operations: ['79-41=38', '83-1=82']
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,81 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[83, 37], Operations: ['79-41=38', '38-1=37']
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,81 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[38, 83], Operations: ['79-41=38', '1*83=83']
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,81 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[38, 83], Operations: ['79-41=38', '83/1=83']
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,81 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[79, 41, 82], Operations: ['83-1=82']
Exploring Operation: 82/41=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 82/41=2
Exploring Operation: 79-41=38, Resulting Numbers: [82, 38]
Generated Node #0,0,1: 81:[82, 38] Operation: 79-41=38
Exploring Operation: 82-41=41, Resulting Numbers: [79, 41]
Generated Node #0,0,2: 81:[79, 41] Operation: 82-41=41
Exploring Operation: 82-79=3, Resulting Numbers: [41, 3]
Generated Node #0,0,3: 81:[41, 3] Operation: 82-79=3
Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['83-1=82', '82/41=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[1, 79, 83, 41], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [79, 41, 82]
Generated Node #0,0: 81:[79, 41, 82] Operation: 83-1=82
Moving to Node #0,0
Current State: 81:[79, 41, 82], Operations: ['83-1=82']
Exploring Operation: 82/41=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 82/41=2
Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['83-1=82', '82/41=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
30,
56,
93,
10
] | 17 | [
"30+56=86",
"93+10=103",
"103-86=17"
] | Current State: 17:[30, 56, 93, 10], Operations: []
Exploring Operation: 30+56=86, Resulting Numbers: [93, 10, 86]
Generated Node #2: [93, 10, 86] from Operation: 30+56=86
Current State: 17:[93, 10, 86], Operations: ['30+56=86']
Exploring Operation: 93+10=103, Resulting Numbers: [86, 103]
Generated Node #3: [86, 103] from Operation: 93+10=103
Current State: 17:[86, 103], Operations: ['30+56=86', '93+10=103']
Exploring Operation: 103-86=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[30, 56, 93, 10], Operations: []
Exploring Operation: 30-10=20, Resulting Numbers: [56, 93, 20]
Generated Node #0,0: 17:[56, 93, 20] Operation: 30-10=20
Exploring Operation: 93-30=63, Resulting Numbers: [56, 10, 63]
Generated Node #0,1: 17:[56, 10, 63] Operation: 93-30=63
Exploring Operation: 56-30=26, Resulting Numbers: [93, 10, 26]
Generated Node #0,2: 17:[93, 10, 26] Operation: 56-30=26
Exploring Operation: 93-56=37, Resulting Numbers: [30, 10, 37]
Generated Node #0,3: 17:[30, 10, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[30, 10, 37], Operations: ['93-56=37']
Exploring Operation: 30-10=20, Resulting Numbers: [37, 20]
Generated Node #0,3,0: 17:[37, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [37, 3]
Generated Node #0,3,1: 17:[37, 3] Operation: 30/10=3
Exploring Operation: 37-10=27, Resulting Numbers: [30, 27]
Generated Node #0,3,2: 17:[30, 27] Operation: 37-10=27
Exploring Operation: 37-30=7, Resulting Numbers: [10, 7]
Generated Node #0,3,3: 17:[10, 7] Operation: 37-30=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[10, 7], Operations: ['93-56=37', '37-30=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[30, 56, 93, 10], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [30, 10, 37]
Generated Node #0,3: 17:[30, 10, 37] Operation: 93-56=37
Moving to Node #0,3
Current State: 17:[30, 10, 37], Operations: ['93-56=37']
Exploring Operation: 37-30=7, Resulting Numbers: [10, 7]
Generated Node #0,3,3: 17:[10, 7] Operation: 37-30=7
Moving to Node #0,3,3
Current State: 17:[10, 7], Operations: ['93-56=37', '37-30=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
2,
27,
98,
81
] | 22 | [
"27+98=125",
"125-81=44",
"44/2=22"
] | Current State: 22:[2, 27, 98, 81], Operations: []
Exploring Operation: 27+98=125, Resulting Numbers: [2, 81, 125]
Generated Node #2: [2, 81, 125] from Operation: 27+98=125
Current State: 22:[2, 81, 125], Operations: ['27+98=125']
Exploring Operation: 125-81=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 125-81=44
Current State: 22:[2, 44], Operations: ['27+98=125', '125-81=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 27, 98, 81], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [27, 81, 49]
Generated Node #0,0: 22:[27, 81, 49] Operation: 98/2=49
Exploring Operation: 81/27=3, Resulting Numbers: [2, 98, 3]
Generated Node #0,1: 22:[2, 98, 3] Operation: 81/27=3
Exploring Operation: 98-81=17, Resulting Numbers: [2, 27, 17]
Generated Node #0,2: 22:[2, 27, 17] Operation: 98-81=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[2, 27, 17], Operations: ['98-81=17']
Exploring Operation: 27-2=25, Resulting Numbers: [17, 25]
Generated Node #0,2,0: 22:[17, 25] Operation: 27-2=25
Exploring Operation: 27-17=10, Resulting Numbers: [2, 10]
Generated Node #0,2,1: 22:[2, 10] Operation: 27-17=10
Exploring Operation: 2+17=19, Resulting Numbers: [27, 19]
Generated Node #0,2,2: 22:[27, 19] Operation: 2+17=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[2, 10], Operations: ['98-81=17', '27-17=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[17, 25], Operations: ['98-81=17', '27-2=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,22 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[27, 19], Operations: ['98-81=17', '2+17=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,22 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 98, 3], Operations: ['81/27=3']
Exploring Operation: 98-3=95, Resulting Numbers: [2, 95]
Generated Node #0,1,0: 22:[2, 95] Operation: 98-3=95
Exploring Operation: 98-2=96, Resulting Numbers: [3, 96]
Generated Node #0,1,1: 22:[3, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 22:[3, 49] Operation: 98/2=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[3, 49], Operations: ['81/27=3', '98/2=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,22 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[2, 95], Operations: ['81/27=3', '98-3=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,22 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[3, 96], Operations: ['81/27=3', '98-2=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,22 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[27, 81, 49], Operations: ['98/2=49']
Exploring Operation: 81/27=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 22:[49, 3] Operation: 81/27=3
Exploring Operation: 81-49=32, Resulting Numbers: [27, 32]
Generated Node #0,0,1: 22:[27, 32] Operation: 81-49=32
Exploring Operation: 81-27=54, Resulting Numbers: [49, 54]
Generated Node #0,0,2: 22:[49, 54] Operation: 81-27=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[27, 32], Operations: ['98/2=49', '81-49=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,22 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[49, 3], Operations: ['98/2=49', '81/27=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,22 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[49, 54], Operations: ['98/2=49', '81-27=54']
Exploring Operation: 49*54=2646, Resulting Numbers: [2646]
2646,22 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
61,
14,
5,
15
] | 28 | [
"61-14=47",
"5*15=75",
"75-47=28"
] | Current State: 28:[61, 14, 5, 15], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [5, 15, 47]
Generated Node #2: [5, 15, 47] from Operation: 61-14=47
Current State: 28:[5, 15, 47], Operations: ['61-14=47']
Exploring Operation: 5*15=75, Resulting Numbers: [47, 75]
Generated Node #3: [47, 75] from Operation: 5*15=75
Current State: 28:[47, 75], Operations: ['61-14=47', '5*15=75']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[61, 14, 5, 15], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [5, 15, 47]
Generated Node #0,0: 28:[5, 15, 47] Operation: 61-14=47
Exploring Operation: 61-15=46, Resulting Numbers: [14, 5, 46]
Generated Node #0,1: 28:[14, 5, 46] Operation: 61-15=46
Exploring Operation: 14+15=29, Resulting Numbers: [61, 5, 29]
Generated Node #0,2: 28:[61, 5, 29] Operation: 14+15=29
Exploring Operation: 61-5=56, Resulting Numbers: [14, 15, 56]
Generated Node #0,3: 28:[14, 15, 56] Operation: 61-5=56
Exploring Operation: 15/5=3, Resulting Numbers: [61, 14, 3]
Generated Node #0,4: 28:[61, 14, 3] Operation: 15/5=3
Moving to Node #0,1
Current State: 28:[14, 5, 46], Operations: ['61-15=46']
Exploring Operation: 46-5=41, Resulting Numbers: [14, 41]
Generated Node #0,1,0: 28:[14, 41] Operation: 46-5=41
Exploring Operation: 14+5=19, Resulting Numbers: [46, 19]
Generated Node #0,1,1: 28:[46, 19] Operation: 14+5=19
Exploring Operation: 46-14=32, Resulting Numbers: [5, 32]
Generated Node #0,1,2: 28:[5, 32] Operation: 46-14=32
Exploring Operation: 14-5=9, Resulting Numbers: [46, 9]
Generated Node #0,1,3: 28:[46, 9] Operation: 14-5=9
Exploring Operation: 5+46=51, Resulting Numbers: [14, 51]
Generated Node #0,1,4: 28:[14, 51] Operation: 5+46=51
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[5, 32], Operations: ['61-15=46', '46-14=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[14, 41], Operations: ['61-15=46', '46-5=41']
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,28 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[46, 9], Operations: ['61-15=46', '14-5=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[46, 19], Operations: ['61-15=46', '14+5=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,28 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[14, 51], Operations: ['61-15=46', '5+46=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,28 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[5, 15, 47], Operations: ['61-14=47']
Exploring Operation: 5+15=20, Resulting Numbers: [47, 20]
Generated Node #0,0,0: 28:[47, 20] Operation: 5+15=20
Exploring Operation: 47-15=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 28:[5, 32] Operation: 47-15=32
Exploring Operation: 47-5=42, Resulting Numbers: [15, 42]
Generated Node #0,0,2: 28:[15, 42] Operation: 47-5=42
Exploring Operation: 15-5=10, Resulting Numbers: [47, 10]
Generated Node #0,0,3: 28:[47, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [47, 3]
Generated Node #0,0,4: 28:[47, 3] Operation: 15/5=3
Moving to Node #0,3
Current State: 28:[14, 15, 56], Operations: ['61-5=56']
Exploring Operation: 56/14=4, Resulting Numbers: [15, 4]
Generated Node #0,3,0: 28:[15, 4] Operation: 56/14=4
Exploring Operation: 14+15=29, Resulting Numbers: [56, 29]
Generated Node #0,3,1: 28:[56, 29] Operation: 14+15=29
Exploring Operation: 56-14=42, Resulting Numbers: [15, 42]
Generated Node #0,3,2: 28:[15, 42] Operation: 56-14=42
Exploring Operation: 15-14=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 28:[56, 1] Operation: 15-14=1
Exploring Operation: 56-15=41, Resulting Numbers: [14, 41]
Generated Node #0,3,4: 28:[14, 41] Operation: 56-15=41
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[15, 4], Operations: ['61-5=56', '56/14=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[14, 41], Operations: ['61-5=56', '56-15=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[15, 42], Operations: ['61-5=56', '56-14=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[56, 29], Operations: ['61-5=56', '14+15=29']
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[56, 1], Operations: ['61-5=56', '15-14=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 28:[61, 14, 3], Operations: ['15/5=3']
Exploring Operation: 14+3=17, Resulting Numbers: [61, 17]
Generated Node #0,4,0: 28:[61, 17] Operation: 14+3=17
Exploring Operation: 61-3=58, Resulting Numbers: [14, 58]
Generated Node #0,4,1: 28:[14, 58] Operation: 61-3=58
Exploring Operation: 14-3=11, Resulting Numbers: [61, 11]
Generated Node #0,4,2: 28:[61, 11] Operation: 14-3=11
Exploring Operation: 61-14=47, Resulting Numbers: [3, 47]
Generated Node #0,4,3: 28:[3, 47] Operation: 61-14=47
Exploring Operation: 61+3=64, Resulting Numbers: [14, 64]
Generated Node #0,4,4: 28:[14, 64] Operation: 61+3=64
Moving to Node #0,2
Current State: 28:[61, 5, 29], Operations: ['14+15=29']
Exploring Operation: 5+29=34, Resulting Numbers: [61, 34]
Generated Node #0,2,0: 28:[61, 34] Operation: 5+29=34
Exploring Operation: 29-5=24, Resulting Numbers: [61, 24]
Generated Node #0,2,1: 28:[61, 24] Operation: 29-5=24
Exploring Operation: 61+5=66, Resulting Numbers: [29, 66]
Generated Node #0,2,2: 28:[29, 66] Operation: 61+5=66
Exploring Operation: 61-5=56, Resulting Numbers: [29, 56]
Generated Node #0,2,3: 28:[29, 56] Operation: 61-5=56
Exploring Operation: 61-29=32, Resulting Numbers: [5, 32]
Generated Node #0,2,4: 28:[5, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[5, 32], Operations: ['14+15=29', '61-29=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[29, 56], Operations: ['14+15=29', '61-5=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,28 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[61, 24], Operations: ['14+15=29', '29-5=24']
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[61, 34], Operations: ['14+15=29', '5+29=34']
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,28 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[29, 66], Operations: ['14+15=29', '61+5=66']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,28 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 28:[5, 32], Operations: ['61-14=47', '47-15=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[15, 42], Operations: ['61-14=47', '47-5=42']
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,28 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[47, 3], Operations: ['61-14=47', '15/5=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[3, 47], Operations: ['15/5=3', '61-14=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,28 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[47, 10], Operations: ['61-14=47', '15-5=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,28 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[47, 20], Operations: ['61-14=47', '5+15=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,28 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[14, 58], Operations: ['15/5=3', '61-3=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,28 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[14, 64], Operations: ['15/5=3', '61+3=64']
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,28 unequal: No Solution
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[61, 17], Operations: ['15/5=3', '14+3=17']
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[61, 11], Operations: ['15/5=3', '14-3=11']
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,28 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,28 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
50,
45,
70
] | 23 | [
"45/15=3",
"70-50=20",
"3+20=23"
] | Current State: 23:[15, 50, 45, 70], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [50, 70, 3]
Generated Node #2: [50, 70, 3] from Operation: 45/15=3
Current State: 23:[50, 70, 3], Operations: ['45/15=3']
Exploring Operation: 70-50=20, Resulting Numbers: [3, 20]
Generated Node #3: [3, 20] from Operation: 70-50=20
Current State: 23:[3, 20], Operations: ['45/15=3', '70-50=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[15, 50, 45, 70], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [15, 45, 20]
Generated Node #0,0: 23:[15, 45, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[15, 45, 20], Operations: ['70-50=20']
Exploring Operation: 45-15=30, Resulting Numbers: [20, 30]
Generated Node #0,0,0: 23:[20, 30] Operation: 45-15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[20, 30], Operations: ['70-50=20', '45-15=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
90,
8,
14
] | 34 | [
"90+14=104",
"104/8=13",
"47-13=34"
] | Current State: 34:[47, 90, 8, 14], Operations: []
Exploring Operation: 90+14=104, Resulting Numbers: [47, 8, 104]
Generated Node #2: [47, 8, 104] from Operation: 90+14=104
Current State: 34:[47, 8, 104], Operations: ['90+14=104']
Exploring Operation: 104/8=13, Resulting Numbers: [47, 13]
Generated Node #3: [47, 13] from Operation: 104/8=13
Current State: 34:[47, 13], Operations: ['90+14=104', '104/8=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[47, 90, 8, 14], Operations: []
Exploring Operation: 90-14=76, Resulting Numbers: [47, 8, 76]
Generated Node #0,0: 34:[47, 8, 76] Operation: 90-14=76
Exploring Operation: 47-14=33, Resulting Numbers: [90, 8, 33]
Generated Node #0,1: 34:[90, 8, 33] Operation: 47-14=33
Exploring Operation: 90-47=43, Resulting Numbers: [8, 14, 43]
Generated Node #0,2: 34:[8, 14, 43] Operation: 90-47=43
Exploring Operation: 47-8=39, Resulting Numbers: [90, 14, 39]
Generated Node #0,3: 34:[90, 14, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[8, 14, 43], Operations: ['90-47=43']
Exploring Operation: 43-8=35, Resulting Numbers: [14, 35]
Generated Node #0,2,0: 34:[14, 35] Operation: 43-8=35
Exploring Operation: 43-14=29, Resulting Numbers: [8, 29]
Generated Node #0,2,1: 34:[8, 29] Operation: 43-14=29
Exploring Operation: 8+14=22, Resulting Numbers: [43, 22]
Generated Node #0,2,2: 34:[43, 22] Operation: 8+14=22
Exploring Operation: 14-8=6, Resulting Numbers: [43, 6]
Generated Node #0,2,3: 34:[43, 6] Operation: 14-8=6
Moving to Node #0,2,0
Current State: 34:[14, 35], Operations: ['90-47=43', '43-8=35']
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,34 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[8, 29], Operations: ['90-47=43', '43-14=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[43, 6], Operations: ['90-47=43', '14-8=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,34 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[43, 22], Operations: ['90-47=43', '8+14=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[47, 8, 76], Operations: ['90-14=76']
Exploring Operation: 47+8=55, Resulting Numbers: [76, 55]
Generated Node #0,0,0: 34:[76, 55] Operation: 47+8=55
Exploring Operation: 76-47=29, Resulting Numbers: [8, 29]
Generated Node #0,0,1: 34:[8, 29] Operation: 76-47=29
Exploring Operation: 76-8=68, Resulting Numbers: [47, 68]
Generated Node #0,0,2: 34:[47, 68] Operation: 76-8=68
Exploring Operation: 47-8=39, Resulting Numbers: [76, 39]
Generated Node #0,0,3: 34:[76, 39] Operation: 47-8=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[8, 29], Operations: ['90-14=76', '76-47=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,34 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[47, 68], Operations: ['90-14=76', '76-8=68']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 47*68=3196, Resulting Numbers: [3196]
3196,34 unequal: No Solution
Exploring Operation: 47+68=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[76, 39], Operations: ['90-14=76', '47-8=39']
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,34 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[76, 55], Operations: ['90-14=76', '47+8=55']
Exploring Operation: 76*55=4180, Resulting Numbers: [4180]
4180,34 unequal: No Solution
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,34 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[90, 8, 33], Operations: ['47-14=33']
Exploring Operation: 90-33=57, Resulting Numbers: [8, 57]
Generated Node #0,1,0: 34:[8, 57] Operation: 90-33=57
Exploring Operation: 8+33=41, Resulting Numbers: [90, 41]
Generated Node #0,1,1: 34:[90, 41] Operation: 8+33=41
Exploring Operation: 33-8=25, Resulting Numbers: [90, 25]
Generated Node #0,1,2: 34:[90, 25] Operation: 33-8=25
Exploring Operation: 90-8=82, Resulting Numbers: [33, 82]
Generated Node #0,1,3: 34:[33, 82] Operation: 90-8=82
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[8, 57], Operations: ['47-14=33', '90-33=57']
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[33, 82], Operations: ['47-14=33', '90-8=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,34 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[90, 41], Operations: ['47-14=33', '8+33=41']
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,34 unequal: No Solution
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[90, 25], Operations: ['47-14=33', '33-8=25']
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,34 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,34 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[90, 14, 39], Operations: ['47-8=39']
Exploring Operation: 90-39=51, Resulting Numbers: [14, 51]
Generated Node #0,3,0: 34:[14, 51] Operation: 90-39=51
Exploring Operation: 39-14=25, Resulting Numbers: [90, 25]
Generated Node #0,3,1: 34:[90, 25] Operation: 39-14=25
Exploring Operation: 90-14=76, Resulting Numbers: [39, 76]
Generated Node #0,3,2: 34:[39, 76] Operation: 90-14=76
Exploring Operation: 90+14=104, Resulting Numbers: [39, 104]
Generated Node #0,3,3: 34:[39, 104] Operation: 90+14=104
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[14, 51], Operations: ['47-8=39', '90-39=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,34 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[39, 76], Operations: ['47-8=39', '90-14=76']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,34 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[90, 25], Operations: ['47-8=39', '39-14=25']
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,34 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[39, 104], Operations: ['47-8=39', '90+14=104']
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 39*104=4056, Resulting Numbers: [4056]
4056,34 unequal: No Solution
Exploring Operation: 39+104=143, Resulting Numbers: [143]
143,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
73,
5,
87
] | 89 | [
"83-73=10",
"10/5=2",
"87+2=89"
] | Current State: 89:[83, 73, 5, 87], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [5, 87, 10]
Generated Node #2: [5, 87, 10] from Operation: 83-73=10
Current State: 89:[5, 87, 10], Operations: ['83-73=10']
Exploring Operation: 10/5=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 10/5=2
Current State: 89:[87, 2], Operations: ['83-73=10', '10/5=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[83, 73, 5, 87], Operations: []
Exploring Operation: 5+87=92, Resulting Numbers: [83, 73, 92]
Generated Node #0,0: 89:[83, 73, 92] Operation: 5+87=92
Exploring Operation: 83-5=78, Resulting Numbers: [73, 87, 78]
Generated Node #0,1: 89:[73, 87, 78] Operation: 83-5=78
Exploring Operation: 83+5=88, Resulting Numbers: [73, 87, 88]
Generated Node #0,2: 89:[73, 87, 88] Operation: 83+5=88
Exploring Operation: 73+5=78, Resulting Numbers: [83, 87, 78]
Generated Node #0,3: 89:[83, 87, 78] Operation: 73+5=78
Moving to Node #0,2
Current State: 89:[73, 87, 88], Operations: ['83+5=88']
Exploring Operation: 73+87=160, Resulting Numbers: [88, 160]
Generated Node #0,2,0: 89:[88, 160] Operation: 73+87=160
Exploring Operation: 87-73=14, Resulting Numbers: [88, 14]
Generated Node #0,2,1: 89:[88, 14] Operation: 87-73=14
Exploring Operation: 73+88=161, Resulting Numbers: [87, 161]
Generated Node #0,2,2: 89:[87, 161] Operation: 73+88=161
Exploring Operation: 88-73=15, Resulting Numbers: [87, 15]
Generated Node #0,2,3: 89:[87, 15] Operation: 88-73=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[88, 160], Operations: ['83+5=88', '73+87=160']
Exploring Operation: 160-88=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 88*160=14080, Resulting Numbers: [14080]
14080,89 unequal: No Solution
Exploring Operation: 88+160=248, Resulting Numbers: [248]
248,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[87, 161], Operations: ['83+5=88', '73+88=161']
Exploring Operation: 161-87=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 87*161=14007, Resulting Numbers: [14007]
14007,89 unequal: No Solution
Exploring Operation: 87+161=248, Resulting Numbers: [248]
248,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[88, 14], Operations: ['83+5=88', '87-73=14']
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[87, 15], Operations: ['83+5=88', '88-73=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[83, 87, 78], Operations: ['73+5=78']
Exploring Operation: 83-78=5, Resulting Numbers: [87, 5]
Generated Node #0,3,0: 89:[87, 5] Operation: 83-78=5
Exploring Operation: 87+78=165, Resulting Numbers: [83, 165]
Generated Node #0,3,1: 89:[83, 165] Operation: 87+78=165
Exploring Operation: 83+78=161, Resulting Numbers: [87, 161]
Generated Node #0,3,2: 89:[87, 161] Operation: 83+78=161
Exploring Operation: 87-78=9, Resulting Numbers: [83, 9]
Generated Node #0,3,3: 89:[83, 9] Operation: 87-78=9
Moving to Node #0,0
Current State: 89:[83, 73, 92], Operations: ['5+87=92']
Exploring Operation: 83-73=10, Resulting Numbers: [92, 10]
Generated Node #0,0,0: 89:[92, 10] Operation: 83-73=10
Exploring Operation: 73+92=165, Resulting Numbers: [83, 165]
Generated Node #0,0,1: 89:[83, 165] Operation: 73+92=165
Exploring Operation: 83+73=156, Resulting Numbers: [92, 156]
Generated Node #0,0,2: 89:[92, 156] Operation: 83+73=156
Exploring Operation: 92-73=19, Resulting Numbers: [83, 19]
Generated Node #0,0,3: 89:[83, 19] Operation: 92-73=19
Moving to Node #0,1
Current State: 89:[73, 87, 78], Operations: ['83-5=78']
Exploring Operation: 78-73=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 89:[87, 5] Operation: 78-73=5
Exploring Operation: 87-73=14, Resulting Numbers: [78, 14]
Generated Node #0,1,1: 89:[78, 14] Operation: 87-73=14
Exploring Operation: 73+78=151, Resulting Numbers: [87, 151]
Generated Node #0,1,2: 89:[87, 151] Operation: 73+78=151
Exploring Operation: 73+87=160, Resulting Numbers: [78, 160]
Generated Node #0,1,3: 89:[78, 160] Operation: 73+87=160
Moving to Node #0,1,2
Current State: 89:[87, 151], Operations: ['83-5=78', '73+78=151']
Exploring Operation: 151-87=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 87*151=13137, Resulting Numbers: [13137]
13137,89 unequal: No Solution
Exploring Operation: 87+151=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[92, 156], Operations: ['5+87=92', '83+73=156']
Exploring Operation: 156-92=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 92*156=14352, Resulting Numbers: [14352]
14352,89 unequal: No Solution
Exploring Operation: 92+156=248, Resulting Numbers: [248]
248,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[87, 161], Operations: ['73+5=78', '83+78=161']
Exploring Operation: 87*161=14007, Resulting Numbers: [14007]
14007,89 unequal: No Solution
Exploring Operation: 87+161=248, Resulting Numbers: [248]
248,89 unequal: No Solution
Exploring Operation: 161-87=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[83, 19], Operations: ['5+87=92', '92-73=19']
Exploring Operation: 83*19=1577, Resulting Numbers: [1577]
1577,89 unequal: No Solution
Exploring Operation: 83+19=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[92, 10], Operations: ['5+87=92', '83-73=10']
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,89 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[83, 165], Operations: ['73+5=78', '87+78=165']
Exploring Operation: 83+165=248, Resulting Numbers: [248]
248,89 unequal: No Solution
Exploring Operation: 83*165=13695, Resulting Numbers: [13695]
13695,89 unequal: No Solution
Exploring Operation: 165-83=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[78, 160], Operations: ['83-5=78', '73+87=160']
Exploring Operation: 160-78=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 78+160=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Exploring Operation: 78*160=12480, Resulting Numbers: [12480]
12480,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[83, 165], Operations: ['5+87=92', '73+92=165']
Exploring Operation: 83*165=13695, Resulting Numbers: [13695]
13695,89 unequal: No Solution
Exploring Operation: 83+165=248, Resulting Numbers: [248]
248,89 unequal: No Solution
Exploring Operation: 165-83=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[87, 5], Operations: ['83-5=78', '78-73=5']
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,89 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[87, 5], Operations: ['73+5=78', '83-78=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,89 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[83, 9], Operations: ['73+5=78', '87-78=9']
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,89 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,89 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[78, 14], Operations: ['83-5=78', '87-73=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,89 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,89 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
90,
93,
48,
8
] | 10 | [
"93-48=45",
"90/45=2",
"8+2=10"
] | Current State: 10:[90, 93, 48, 8], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [90, 8, 45]
Generated Node #2: [90, 8, 45] from Operation: 93-48=45
Current State: 10:[90, 8, 45], Operations: ['93-48=45']
Exploring Operation: 90/45=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 90/45=2
Current State: 10:[8, 2], Operations: ['93-48=45', '90/45=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[90, 93, 48, 8], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [48, 8, 3]
Generated Node #0,0: 10:[48, 8, 3] Operation: 93-90=3
Exploring Operation: 90-48=42, Resulting Numbers: [93, 8, 42]
Generated Node #0,1: 10:[93, 8, 42] Operation: 90-48=42
Moving to Node #0,0
Current State: 10:[48, 8, 3], Operations: ['93-90=3']
Exploring Operation: 48/3=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 10:[8, 16] Operation: 48/3=16
Exploring Operation: 48/8=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 10:[3, 6] Operation: 48/8=6
Moving to Node #0,1
Current State: 10:[93, 8, 42], Operations: ['90-48=42']
Exploring Operation: 93-42=51, Resulting Numbers: [8, 51]
Generated Node #0,1,0: 10:[8, 51] Operation: 93-42=51
Exploring Operation: 93-8=85, Resulting Numbers: [42, 85]
Generated Node #0,1,1: 10:[42, 85] Operation: 93-8=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[8, 51], Operations: ['90-48=42', '93-42=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[42, 85], Operations: ['90-48=42', '93-8=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 10:[3, 6], Operations: ['93-90=3', '48/8=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[8, 16], Operations: ['93-90=3', '48/3=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
44,
32,
2
] | 27 | [
"44-1=43",
"32/2=16",
"43-16=27"
] | Current State: 27:[1, 44, 32, 2], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [32, 2, 43]
Generated Node #2: [32, 2, 43] from Operation: 44-1=43
Current State: 27:[32, 2, 43], Operations: ['44-1=43']
Exploring Operation: 32/2=16, Resulting Numbers: [43, 16]
Generated Node #3: [43, 16] from Operation: 32/2=16
Current State: 27:[43, 16], Operations: ['44-1=43', '32/2=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 44, 32, 2], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [1, 2, 12]
Generated Node #0,0: 27:[1, 2, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[1, 2, 12], Operations: ['44-32=12']
Exploring Operation: 1+2=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 27:[12, 3] Operation: 1+2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[12, 3], Operations: ['44-32=12', '1+2=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
82,
98,
6
] | 94 | [
"98-96=2",
"6*2=12",
"82+12=94"
] | Current State: 94:[96, 82, 98, 6], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [82, 6, 2]
Generated Node #2: [82, 6, 2] from Operation: 98-96=2
Current State: 94:[82, 6, 2], Operations: ['98-96=2']
Exploring Operation: 6*2=12, Resulting Numbers: [82, 12]
Generated Node #3: [82, 12] from Operation: 6*2=12
Current State: 94:[82, 12], Operations: ['98-96=2', '6*2=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[96, 82, 98, 6], Operations: []
Exploring Operation: 82+6=88, Resulting Numbers: [96, 98, 88]
Generated Node #0,0: 94:[96, 98, 88] Operation: 82+6=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[96, 98, 88], Operations: ['82+6=88']
Exploring Operation: 98-96=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 94:[88, 2] Operation: 98-96=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[88, 2], Operations: ['82+6=88', '98-96=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
24,
7,
6
] | 32 | [
"6/6=1",
"24+7=31",
"1+31=32"
] | Current State: 32:[6, 24, 7, 6], Operations: []
Exploring Operation: 6/6=1, Resulting Numbers: [24, 7, 1]
Generated Node #2: [24, 7, 1] from Operation: 6/6=1
Current State: 32:[24, 7, 1], Operations: ['6/6=1']
Exploring Operation: 24+7=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 24+7=31
Current State: 32:[1, 31], Operations: ['6/6=1', '24+7=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[6, 24, 7, 6], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [6, 7, 4]
Generated Node #0,0: 32:[6, 7, 4] Operation: 24/6=4
Exploring Operation: 6+24=30, Resulting Numbers: [7, 6, 30]
Generated Node #0,1: 32:[7, 6, 30] Operation: 6+24=30
Exploring Operation: 24/6=4, Resulting Numbers: [7, 6, 4]
Generated Node #0,2: 32:[7, 6, 4] Operation: 24/6=4
Moving to Node #0,0
Current State: 32:[6, 7, 4], Operations: ['24/6=4']
Exploring Operation: 6-4=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 32:[7, 2] Operation: 6-4=2
Exploring Operation: 6+7=13, Resulting Numbers: [4, 13]
Generated Node #0,0,1: 32:[4, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [4, 1]
Generated Node #0,0,2: 32:[4, 1] Operation: 7-6=1
Moving to Node #0,2
Current State: 32:[7, 6, 4], Operations: ['24/6=4']
Exploring Operation: 6-4=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 32:[7, 2] Operation: 6-4=2
Exploring Operation: 7+6=13, Resulting Numbers: [4, 13]
Generated Node #0,2,1: 32:[4, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [4, 1]
Generated Node #0,2,2: 32:[4, 1] Operation: 7-6=1
Moving to Node #0,1
Current State: 32:[7, 6, 30], Operations: ['6+24=30']
Exploring Operation: 30/6=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 32:[7, 5] Operation: 30/6=5
Exploring Operation: 7+6=13, Resulting Numbers: [30, 13]
Generated Node #0,1,1: 32:[30, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [30, 1]
Generated Node #0,1,2: 32:[30, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[7, 5], Operations: ['6+24=30', '30/6=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[30, 1], Operations: ['6+24=30', '7-6=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[30, 13], Operations: ['6+24=30', '7+6=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,32 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 32:[7, 2], Operations: ['24/6=4', '6-4=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[4, 1], Operations: ['24/6=4', '7-6=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[4, 1], Operations: ['24/6=4', '7-6=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[7, 2], Operations: ['24/6=4', '6-4=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[4, 13], Operations: ['24/6=4', '7+6=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[4, 13], Operations: ['24/6=4', '6+7=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
4,
2,
53
] | 25 | [
"56/4=14",
"2*14=28",
"53-28=25"
] | Current State: 25:[56, 4, 2, 53], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [2, 53, 14]
Generated Node #2: [2, 53, 14] from Operation: 56/4=14
Current State: 25:[2, 53, 14], Operations: ['56/4=14']
Exploring Operation: 2*14=28, Resulting Numbers: [53, 28]
Generated Node #3: [53, 28] from Operation: 2*14=28
Current State: 25:[53, 28], Operations: ['56/4=14', '2*14=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[56, 4, 2, 53], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [4, 53, 28]
Generated Node #0,0: 25:[4, 53, 28] Operation: 56/2=28
Exploring Operation: 56-4=52, Resulting Numbers: [2, 53, 52]
Generated Node #0,1: 25:[2, 53, 52] Operation: 56-4=52
Exploring Operation: 56-53=3, Resulting Numbers: [4, 2, 3]
Generated Node #0,2: 25:[4, 2, 3] Operation: 56-53=3
Exploring Operation: 56-2=54, Resulting Numbers: [4, 53, 54]
Generated Node #0,3: 25:[4, 53, 54] Operation: 56-2=54
Exploring Operation: 56/4=14, Resulting Numbers: [2, 53, 14]
Generated Node #0,4: 25:[2, 53, 14] Operation: 56/4=14
Moving to Node #0,2
Current State: 25:[4, 2, 3], Operations: ['56-53=3']
Exploring Operation: 2*3=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 25:[4, 6] Operation: 2*3=6
Exploring Operation: 2+3=5, Resulting Numbers: [4, 5]
Generated Node #0,2,1: 25:[4, 5] Operation: 2+3=5
Exploring Operation: 4*2=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 25:[3, 8] Operation: 4*2=8
Exploring Operation: 4+2=6, Resulting Numbers: [3, 6]
Generated Node #0,2,3: 25:[3, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,2,4: 25:[3, 2] Operation: 4-2=2
Moving to Node #0,0
Current State: 25:[4, 53, 28], Operations: ['56/2=28']
Exploring Operation: 28-4=24, Resulting Numbers: [53, 24]
Generated Node #0,0,0: 25:[53, 24] Operation: 28-4=24
Exploring Operation: 53-4=49, Resulting Numbers: [28, 49]
Generated Node #0,0,1: 25:[28, 49] Operation: 53-4=49
Exploring Operation: 53-28=25, Resulting Numbers: [4, 25]
Generated Node #0,0,2: 25:[4, 25] Operation: 53-28=25
Exploring Operation: 4+53=57, Resulting Numbers: [28, 57]
Generated Node #0,0,3: 25:[28, 57] Operation: 4+53=57
Exploring Operation: 28/4=7, Resulting Numbers: [53, 7]
Generated Node #0,0,4: 25:[53, 7] Operation: 28/4=7
Moving to Node #0,4
Current State: 25:[2, 53, 14], Operations: ['56/4=14']
Exploring Operation: 2*14=28, Resulting Numbers: [53, 28]
Generated Node #0,4,0: 25:[53, 28] Operation: 2*14=28
Exploring Operation: 53-14=39, Resulting Numbers: [2, 39]
Generated Node #0,4,1: 25:[2, 39] Operation: 53-14=39
Exploring Operation: 14/2=7, Resulting Numbers: [53, 7]
Generated Node #0,4,2: 25:[53, 7] Operation: 14/2=7
Exploring Operation: 53-2=51, Resulting Numbers: [14, 51]
Generated Node #0,4,3: 25:[14, 51] Operation: 53-2=51
Exploring Operation: 14-2=12, Resulting Numbers: [53, 12]
Generated Node #0,4,4: 25:[53, 12] Operation: 14-2=12
Moving to Node #0,1
Current State: 25:[2, 53, 52], Operations: ['56-4=52']
Exploring Operation: 53-52=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 25:[2, 1] Operation: 53-52=1
Exploring Operation: 52/2=26, Resulting Numbers: [53, 26]
Generated Node #0,1,1: 25:[53, 26] Operation: 52/2=26
Exploring Operation: 2+53=55, Resulting Numbers: [52, 55]
Generated Node #0,1,2: 25:[52, 55] Operation: 2+53=55
Exploring Operation: 52-2=50, Resulting Numbers: [53, 50]
Generated Node #0,1,3: 25:[53, 50] Operation: 52-2=50
Exploring Operation: 53-2=51, Resulting Numbers: [52, 51]
Generated Node #0,1,4: 25:[52, 51] Operation: 53-2=51
Moving to Node #0,3
Current State: 25:[4, 53, 54], Operations: ['56-2=54']
Exploring Operation: 4+54=58, Resulting Numbers: [53, 58]
Generated Node #0,3,0: 25:[53, 58] Operation: 4+54=58
Exploring Operation: 54-53=1, Resulting Numbers: [4, 1]
Generated Node #0,3,1: 25:[4, 1] Operation: 54-53=1
Exploring Operation: 4+53=57, Resulting Numbers: [54, 57]
Generated Node #0,3,2: 25:[54, 57] Operation: 4+53=57
Exploring Operation: 54-4=50, Resulting Numbers: [53, 50]
Generated Node #0,3,3: 25:[53, 50] Operation: 54-4=50
Exploring Operation: 53-4=49, Resulting Numbers: [54, 49]
Generated Node #0,3,4: 25:[54, 49] Operation: 53-4=49
Moving to Node #0,2,1
Current State: 25:[4, 5], Operations: ['56-53=3', '2+3=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[4, 25], Operations: ['56/2=28', '53-28=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[4, 6], Operations: ['56-53=3', '2*3=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[3, 6], Operations: ['56-53=3', '4+2=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[3, 2], Operations: ['56-53=3', '4-2=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[4, 1], Operations: ['56-2=54', '54-53=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[3, 8], Operations: ['56-53=3', '4*2=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[2, 1], Operations: ['56-4=52', '53-52=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[2, 39], Operations: ['56/4=14', '53-14=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[28, 49], Operations: ['56/2=28', '53-4=49']
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,25 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[53, 26], Operations: ['56-4=52', '52/2=26']
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[53, 24], Operations: ['56/2=28', '28-4=24']
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,25 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[53, 7], Operations: ['56/4=14', '14/2=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[53, 7], Operations: ['56/2=28', '28/4=7']
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,25 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[53, 28], Operations: ['56/4=14', '2*14=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,25 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[56, 4, 2, 53], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [2, 53, 14]
Generated Node #0,4: 25:[2, 53, 14] Operation: 56/4=14
Moving to Node #0,4
Current State: 25:[2, 53, 14], Operations: ['56/4=14']
Exploring Operation: 2*14=28, Resulting Numbers: [53, 28]
Generated Node #0,4,0: 25:[53, 28] Operation: 2*14=28
Moving to Node #0,4,0
Current State: 25:[53, 28], Operations: ['56/4=14', '2*14=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
71,
69,
7,
98
] | 42 | [
"71-69=2",
"98/2=49",
"49-7=42"
] | Current State: 42:[71, 69, 7, 98], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [7, 98, 2]
Generated Node #2: [7, 98, 2] from Operation: 71-69=2
Current State: 42:[7, 98, 2], Operations: ['71-69=2']
Exploring Operation: 98/2=49, Resulting Numbers: [7, 49]
Generated Node #3: [7, 49] from Operation: 98/2=49
Current State: 42:[7, 49], Operations: ['71-69=2', '98/2=49']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[71, 69, 7, 98], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [69, 7, 27]
Generated Node #0,0: 42:[69, 7, 27] Operation: 98-71=27
Moving to Node #0,0
Current State: 42:[69, 7, 27], Operations: ['98-71=27']
Exploring Operation: 69-27=42, Resulting Numbers: [7, 42]
Generated Node #0,0,0: 42:[7, 42] Operation: 69-27=42
Moving to Node #0,0,0
Current State: 42:[7, 42], Operations: ['98-71=27', '69-27=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,42 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
47,
66,
49
] | 10 | [
"66-61=5",
"49-47=2",
"5*2=10"
] | Current State: 10:[61, 47, 66, 49], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [47, 49, 5]
Generated Node #2: [47, 49, 5] from Operation: 66-61=5
Current State: 10:[47, 49, 5], Operations: ['66-61=5']
Exploring Operation: 49-47=2, Resulting Numbers: [5, 2]
Generated Node #3: [5, 2] from Operation: 49-47=2
Current State: 10:[5, 2], Operations: ['66-61=5', '49-47=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[61, 47, 66, 49], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [66, 49, 14]
Generated Node #0,0: 10:[66, 49, 14] Operation: 61-47=14
Exploring Operation: 61-49=12, Resulting Numbers: [47, 66, 12]
Generated Node #0,1: 10:[47, 66, 12] Operation: 61-49=12
Exploring Operation: 66-61=5, Resulting Numbers: [47, 49, 5]
Generated Node #0,2: 10:[47, 49, 5] Operation: 66-61=5
Exploring Operation: 66-49=17, Resulting Numbers: [61, 47, 17]
Generated Node #0,3: 10:[61, 47, 17] Operation: 66-49=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[47, 49, 5], Operations: ['66-61=5']
Exploring Operation: 47+5=52, Resulting Numbers: [49, 52]
Generated Node #0,2,0: 10:[49, 52] Operation: 47+5=52
Exploring Operation: 49-47=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 10:[5, 2] Operation: 49-47=2
Exploring Operation: 49-5=44, Resulting Numbers: [47, 44]
Generated Node #0,2,2: 10:[47, 44] Operation: 49-5=44
Exploring Operation: 47-5=42, Resulting Numbers: [49, 42]
Generated Node #0,2,3: 10:[49, 42] Operation: 47-5=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[5, 2], Operations: ['66-61=5', '49-47=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[61, 47, 66, 49], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [47, 49, 5]
Generated Node #0,2: 10:[47, 49, 5] Operation: 66-61=5
Moving to Node #0,2
Current State: 10:[47, 49, 5], Operations: ['66-61=5']
Exploring Operation: 49-47=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 10:[5, 2] Operation: 49-47=2
Moving to Node #0,2,1
Current State: 10:[5, 2], Operations: ['66-61=5', '49-47=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
51,
75,
4,
53
] | 37 | [
"75-53=22",
"4*22=88",
"88-51=37"
] | Current State: 37:[51, 75, 4, 53], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [51, 4, 22]
Generated Node #2: [51, 4, 22] from Operation: 75-53=22
Current State: 37:[51, 4, 22], Operations: ['75-53=22']
Exploring Operation: 4*22=88, Resulting Numbers: [51, 88]
Generated Node #3: [51, 88] from Operation: 4*22=88
Current State: 37:[51, 88], Operations: ['75-53=22', '4*22=88']
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[51, 75, 4, 53], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [4, 53, 24]
Generated Node #0,0: 37:[4, 53, 24] Operation: 75-51=24
Exploring Operation: 51-4=47, Resulting Numbers: [75, 53, 47]
Generated Node #0,1: 37:[75, 53, 47] Operation: 51-4=47
Exploring Operation: 75-53=22, Resulting Numbers: [51, 4, 22]
Generated Node #0,2: 37:[51, 4, 22] Operation: 75-53=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[4, 53, 24], Operations: ['75-51=24']
Exploring Operation: 4+24=28, Resulting Numbers: [53, 28]
Generated Node #0,0,0: 37:[53, 28] Operation: 4+24=28
Exploring Operation: 53-4=49, Resulting Numbers: [24, 49]
Generated Node #0,0,1: 37:[24, 49] Operation: 53-4=49
Exploring Operation: 4+53=57, Resulting Numbers: [24, 57]
Generated Node #0,0,2: 37:[24, 57] Operation: 4+53=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[53, 28], Operations: ['75-51=24', '4+24=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[24, 49], Operations: ['75-51=24', '53-4=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,37 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[24, 57], Operations: ['75-51=24', '4+53=57']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[51, 4, 22], Operations: ['75-53=22']
Exploring Operation: 51+4=55, Resulting Numbers: [22, 55]
Generated Node #0,2,0: 37:[22, 55] Operation: 51+4=55
Exploring Operation: 4+22=26, Resulting Numbers: [51, 26]
Generated Node #0,2,1: 37:[51, 26] Operation: 4+22=26
Exploring Operation: 51-4=47, Resulting Numbers: [22, 47]
Generated Node #0,2,2: 37:[22, 47] Operation: 51-4=47
Moving to Node #0,2,1
Current State: 37:[51, 26], Operations: ['75-53=22', '4+22=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,37 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[22, 47], Operations: ['75-53=22', '51-4=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,37 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[22, 55], Operations: ['75-53=22', '51+4=55']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[75, 53, 47], Operations: ['51-4=47']
Exploring Operation: 75-47=28, Resulting Numbers: [53, 28]
Generated Node #0,1,0: 37:[53, 28] Operation: 75-47=28
Exploring Operation: 53-47=6, Resulting Numbers: [75, 6]
Generated Node #0,1,1: 37:[75, 6] Operation: 53-47=6
Exploring Operation: 75-53=22, Resulting Numbers: [47, 22]
Generated Node #0,1,2: 37:[47, 22] Operation: 75-53=22
Moving to Node #0,1,0
Current State: 37:[53, 28], Operations: ['51-4=47', '75-47=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,37 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[47, 22], Operations: ['51-4=47', '75-53=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[75, 6], Operations: ['51-4=47', '53-47=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,37 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
99,
91,
6,
6
] | 42 | [
"99-91=8",
"6*8=48",
"48-6=42"
] | Current State: 42:[99, 91, 6, 6], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [6, 6, 8]
Generated Node #2: [6, 6, 8] from Operation: 99-91=8
Current State: 42:[6, 6, 8], Operations: ['99-91=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,42 equal: Goal Reached
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[99, 91, 6, 6], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [91, 6, 93]
Generated Node #0,0: 42:[91, 6, 93] Operation: 99-6=93
Exploring Operation: 99-6=93, Resulting Numbers: [91, 6, 93]
Generated Node #0,1: 42:[91, 6, 93] Operation: 99-6=93
Exploring Operation: 99-91=8, Resulting Numbers: [6, 6, 8]
Generated Node #0,2: 42:[6, 6, 8] Operation: 99-91=8
Exploring Operation: 91-6=85, Resulting Numbers: [99, 6, 85]
Generated Node #0,3: 42:[99, 6, 85] Operation: 91-6=85
Moving to Node #0,2
Current State: 42:[6, 6, 8], Operations: ['99-91=8']
Exploring Operation: 6+8=14, Resulting Numbers: [6, 14]
Generated Node #0,2,0: 42:[6, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 42:[6, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [6, 14]
Generated Node #0,2,2: 42:[6, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [6, 2]
Generated Node #0,2,3: 42:[6, 2] Operation: 8-6=2
Moving to Node #0,1
Current State: 42:[91, 6, 93], Operations: ['99-6=93']
Exploring Operation: 91+6=97, Resulting Numbers: [93, 97]
Generated Node #0,1,0: 42:[93, 97] Operation: 91+6=97
Exploring Operation: 93-6=87, Resulting Numbers: [91, 87]
Generated Node #0,1,1: 42:[91, 87] Operation: 93-6=87
Exploring Operation: 93-91=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 42:[6, 2] Operation: 93-91=2
Exploring Operation: 91-6=85, Resulting Numbers: [93, 85]
Generated Node #0,1,3: 42:[93, 85] Operation: 91-6=85
Moving to Node #0,0
Current State: 42:[91, 6, 93], Operations: ['99-6=93']
Exploring Operation: 93-91=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 42:[6, 2] Operation: 93-91=2
Exploring Operation: 91-6=85, Resulting Numbers: [93, 85]
Generated Node #0,0,1: 42:[93, 85] Operation: 91-6=85
Exploring Operation: 91+6=97, Resulting Numbers: [93, 97]
Generated Node #0,0,2: 42:[93, 97] Operation: 91+6=97
Exploring Operation: 93-6=87, Resulting Numbers: [91, 87]
Generated Node #0,0,3: 42:[91, 87] Operation: 93-6=87
Moving to Node #0,3
Current State: 42:[99, 6, 85], Operations: ['91-6=85']
Exploring Operation: 99-6=93, Resulting Numbers: [85, 93]
Generated Node #0,3,0: 42:[85, 93] Operation: 99-6=93
Exploring Operation: 99+6=105, Resulting Numbers: [85, 105]
Generated Node #0,3,1: 42:[85, 105] Operation: 99+6=105
Exploring Operation: 99-85=14, Resulting Numbers: [6, 14]
Generated Node #0,3,2: 42:[6, 14] Operation: 99-85=14
Exploring Operation: 85-6=79, Resulting Numbers: [99, 79]
Generated Node #0,3,3: 42:[99, 79] Operation: 85-6=79
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[6, 14], Operations: ['91-6=85', '99-85=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[85, 93], Operations: ['91-6=85', '99-6=93']
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[99, 79], Operations: ['91-6=85', '85-6=79']
Exploring Operation: 99+79=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 99*79=7821, Resulting Numbers: [7821]
7821,42 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[85, 105], Operations: ['91-6=85', '99+6=105']
Exploring Operation: 85*105=8925, Resulting Numbers: [8925]
8925,42 unequal: No Solution
Exploring Operation: 85+105=190, Resulting Numbers: [190]
190,42 unequal: No Solution
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 42:[6, 14], Operations: ['99-91=8', '6+8=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[6, 14], Operations: ['99-91=8', '6+8=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[6, 2], Operations: ['99-91=8', '8-6=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[6, 2], Operations: ['99-6=93', '93-91=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[6, 2], Operations: ['99-91=8', '8-6=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[6, 2], Operations: ['99-6=93', '93-91=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[93, 85], Operations: ['99-6=93', '91-6=85']
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 93*85=7905, Resulting Numbers: [7905]
7905,42 unequal: No Solution
Exploring Operation: 93+85=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[91, 87], Operations: ['99-6=93', '93-6=87']
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[93, 85], Operations: ['99-6=93', '91-6=85']
Exploring Operation: 93*85=7905, Resulting Numbers: [7905]
7905,42 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 93+85=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[91, 87], Operations: ['99-6=93', '93-6=87']
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[93, 97], Operations: ['99-6=93', '91+6=97']
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,42 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[93, 97], Operations: ['99-6=93', '91+6=97']
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,42 unequal: No Solution
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,42 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,42 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
49,
50,
3
] | 31 | [
"34-3=31",
"50-49=1",
"31*1=31"
] | Current State: 31:[34, 49, 50, 3], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [49, 50, 31]
Generated Node #2: [49, 50, 31] from Operation: 34-3=31
Current State: 31:[49, 50, 31], Operations: ['34-3=31']
Exploring Operation: 50-49=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 50-49=1
Current State: 31:[31, 1], Operations: ['34-3=31', '50-49=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[34, 49, 50, 3], Operations: []
Exploring Operation: 49-3=46, Resulting Numbers: [34, 50, 46]
Generated Node #0,0: 31:[34, 50, 46] Operation: 49-3=46
Exploring Operation: 50-3=47, Resulting Numbers: [34, 49, 47]
Generated Node #0,1: 31:[34, 49, 47] Operation: 50-3=47
Exploring Operation: 49+3=52, Resulting Numbers: [34, 50, 52]
Generated Node #0,2: 31:[34, 50, 52] Operation: 49+3=52
Exploring Operation: 34+3=37, Resulting Numbers: [49, 50, 37]
Generated Node #0,3: 31:[49, 50, 37] Operation: 34+3=37
Exploring Operation: 34-3=31, Resulting Numbers: [49, 50, 31]
Generated Node #0,4: 31:[49, 50, 31] Operation: 34-3=31
Moving to Node #0,0
Current State: 31:[34, 50, 46], Operations: ['49-3=46']
Exploring Operation: 34+50=84, Resulting Numbers: [46, 84]
Generated Node #0,0,0: 31:[46, 84] Operation: 34+50=84
Exploring Operation: 50-46=4, Resulting Numbers: [34, 4]
Generated Node #0,0,1: 31:[34, 4] Operation: 50-46=4
Exploring Operation: 46-34=12, Resulting Numbers: [50, 12]
Generated Node #0,0,2: 31:[50, 12] Operation: 46-34=12
Exploring Operation: 34+46=80, Resulting Numbers: [50, 80]
Generated Node #0,0,3: 31:[50, 80] Operation: 34+46=80
Exploring Operation: 50-34=16, Resulting Numbers: [46, 16]
Generated Node #0,0,4: 31:[46, 16] Operation: 50-34=16
Moving to Node #0,4
Current State: 31:[49, 50, 31], Operations: ['34-3=31']
Exploring Operation: 50-49=1, Resulting Numbers: [31, 1]
Generated Node #0,4,0: 31:[31, 1] Operation: 50-49=1
Exploring Operation: 49+31=80, Resulting Numbers: [50, 80]
Generated Node #0,4,1: 31:[50, 80] Operation: 49+31=80
Exploring Operation: 49+50=99, Resulting Numbers: [31, 99]
Generated Node #0,4,2: 31:[31, 99] Operation: 49+50=99
Exploring Operation: 49-31=18, Resulting Numbers: [50, 18]
Generated Node #0,4,3: 31:[50, 18] Operation: 49-31=18
Exploring Operation: 50-31=19, Resulting Numbers: [49, 19]
Generated Node #0,4,4: 31:[49, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[31, 1], Operations: ['34-3=31', '50-49=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[34, 49, 50, 3], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [49, 50, 31]
Generated Node #0,4: 31:[49, 50, 31] Operation: 34-3=31
Moving to Node #0,4
Current State: 31:[49, 50, 31], Operations: ['34-3=31']
Exploring Operation: 50-49=1, Resulting Numbers: [31, 1]
Generated Node #0,4,0: 31:[31, 1] Operation: 50-49=1
Moving to Node #0,4,0
Current State: 31:[31, 1], Operations: ['34-3=31', '50-49=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
40,
28,
22,
7
] | 72 | [
"40-22=18",
"28/7=4",
"18*4=72"
] | Current State: 72:[40, 28, 22, 7], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [28, 7, 18]
Generated Node #2: [28, 7, 18] from Operation: 40-22=18
Current State: 72:[28, 7, 18], Operations: ['40-22=18']
Exploring Operation: 28/7=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 28/7=4
Current State: 72:[18, 4], Operations: ['40-22=18', '28/7=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[40, 28, 22, 7], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [28, 7, 18]
Generated Node #0,0: 72:[28, 7, 18] Operation: 40-22=18
Exploring Operation: 40-28=12, Resulting Numbers: [22, 7, 12]
Generated Node #0,1: 72:[22, 7, 12] Operation: 40-28=12
Moving to Node #0,1
Current State: 72:[22, 7, 12], Operations: ['40-28=12']
Exploring Operation: 22-12=10, Resulting Numbers: [7, 10]
Generated Node #0,1,0: 72:[7, 10] Operation: 22-12=10
Exploring Operation: 22-7=15, Resulting Numbers: [12, 15]
Generated Node #0,1,1: 72:[12, 15] Operation: 22-7=15
Moving to Node #0,0
Current State: 72:[28, 7, 18], Operations: ['40-22=18']
Exploring Operation: 28/7=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [18, 35]
Generated Node #0,0,1: 72:[18, 35] Operation: 28+7=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['40-22=18', '28/7=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[40, 28, 22, 7], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [28, 7, 18]
Generated Node #0,0: 72:[28, 7, 18] Operation: 40-22=18
Moving to Node #0,0
Current State: 72:[28, 7, 18], Operations: ['40-22=18']
Exploring Operation: 28/7=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['40-22=18', '28/7=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
3,
66,
42,
42
] | 23 | [
"66/3=22",
"42/42=1",
"22+1=23"
] | Current State: 23:[3, 66, 42, 42], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [42, 42, 22]
Generated Node #2: [42, 42, 22] from Operation: 66/3=22
Current State: 23:[42, 42, 22], Operations: ['66/3=22']
Exploring Operation: 42/42=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 42/42=1
Current State: 23:[22, 1], Operations: ['66/3=22', '42/42=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[3, 66, 42, 42], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [3, 42, 24]
Generated Node #0,0: 23:[3, 42, 24] Operation: 66-42=24
Exploring Operation: 66-42=24, Resulting Numbers: [3, 42, 24]
Generated Node #0,1: 23:[3, 42, 24] Operation: 66-42=24
Exploring Operation: 42/3=14, Resulting Numbers: [66, 42, 14]
Generated Node #0,2: 23:[66, 42, 14] Operation: 42/3=14
Exploring Operation: 66/3=22, Resulting Numbers: [42, 42, 22]
Generated Node #0,3: 23:[42, 42, 22] Operation: 66/3=22
Moving to Node #0,3
Current State: 23:[42, 42, 22], Operations: ['66/3=22']
Exploring Operation: 42-22=20, Resulting Numbers: [42, 20]
Generated Node #0,3,0: 23:[42, 20] Operation: 42-22=20
Exploring Operation: 42/42=1, Resulting Numbers: [22, 1]
Generated Node #0,3,1: 23:[22, 1] Operation: 42/42=1
Exploring Operation: 42-22=20, Resulting Numbers: [42, 20]
Generated Node #0,3,2: 23:[42, 20] Operation: 42-22=20
Exploring Operation: 42-42=0, Resulting Numbers: [22, 0]
Generated Node #0,3,3: 23:[22, 0] Operation: 42-42=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[42, 20], Operations: ['66/3=22', '42-22=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,23 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[42, 20], Operations: ['66/3=22', '42-22=20']
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,23 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[22, 1], Operations: ['66/3=22', '42/42=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[3, 66, 42, 42], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [42, 42, 22]
Generated Node #0,3: 23:[42, 42, 22] Operation: 66/3=22
Moving to Node #0,3
Current State: 23:[42, 42, 22], Operations: ['66/3=22']
Exploring Operation: 42/42=1, Resulting Numbers: [22, 1]
Generated Node #0,3,1: 23:[22, 1] Operation: 42/42=1
Moving to Node #0,3,1
Current State: 23:[22, 1], Operations: ['66/3=22', '42/42=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
86,
12,
1,
41
] | 34 | [
"86-12=74",
"41-1=40",
"74-40=34"
] | Current State: 34:[86, 12, 1, 41], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [1, 41, 74]
Generated Node #2: [1, 41, 74] from Operation: 86-12=74
Current State: 34:[1, 41, 74], Operations: ['86-12=74']
Exploring Operation: 41-1=40, Resulting Numbers: [74, 40]
Generated Node #3: [74, 40] from Operation: 41-1=40
Current State: 34:[74, 40], Operations: ['86-12=74', '41-1=40']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[86, 12, 1, 41], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [86, 41, 13]
Generated Node #0,0: 34:[86, 41, 13] Operation: 12+1=13
Exploring Operation: 86-1=85, Resulting Numbers: [12, 41, 85]
Generated Node #0,1: 34:[12, 41, 85] Operation: 86-1=85
Exploring Operation: 86-12=74, Resulting Numbers: [1, 41, 74]
Generated Node #0,2: 34:[1, 41, 74] Operation: 86-12=74
Exploring Operation: 41-12=29, Resulting Numbers: [86, 1, 29]
Generated Node #0,3: 34:[86, 1, 29] Operation: 41-12=29
Exploring Operation: 86-41=45, Resulting Numbers: [12, 1, 45]
Generated Node #0,4: 34:[12, 1, 45] Operation: 86-41=45
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[12, 1, 45], Operations: ['86-41=45']
Exploring Operation: 45-12=33, Resulting Numbers: [1, 33]
Generated Node #0,4,0: 34:[1, 33] Operation: 45-12=33
Exploring Operation: 12+1=13, Resulting Numbers: [45, 13]
Generated Node #0,4,1: 34:[45, 13] Operation: 12+1=13
Exploring Operation: 12/1=12, Resulting Numbers: [45, 12]
Generated Node #0,4,2: 34:[45, 12] Operation: 12/1=12
Exploring Operation: 12*1=12, Resulting Numbers: [45, 12]
Generated Node #0,4,3: 34:[45, 12] Operation: 12*1=12
Exploring Operation: 45-1=44, Resulting Numbers: [12, 44]
Generated Node #0,4,4: 34:[12, 44] Operation: 45-1=44
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 34:[1, 33], Operations: ['86-41=45', '45-12=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[86, 12, 1, 41], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [12, 1, 45]
Generated Node #0,4: 34:[12, 1, 45] Operation: 86-41=45
Moving to Node #0,4
Current State: 34:[12, 1, 45], Operations: ['86-41=45']
Exploring Operation: 45-12=33, Resulting Numbers: [1, 33]
Generated Node #0,4,0: 34:[1, 33] Operation: 45-12=33
Moving to Node #0,4,0
Current State: 34:[1, 33], Operations: ['86-41=45', '45-12=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
26,
60,
82,
87
] | 82 | [
"26+60=86",
"87-86=1",
"82*1=82"
] | Current State: 82:[26, 60, 82, 87], Operations: []
Exploring Operation: 26+60=86, Resulting Numbers: [82, 87, 86]
Generated Node #2: [82, 87, 86] from Operation: 26+60=86
Current State: 82:[82, 87, 86], Operations: ['26+60=86']
Exploring Operation: 87-86=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 87-86=1
Current State: 82:[82, 1], Operations: ['26+60=86', '87-86=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[26, 60, 82, 87], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [82, 87, 34]
Generated Node #0,0: 82:[82, 87, 34] Operation: 60-26=34
Exploring Operation: 26+60=86, Resulting Numbers: [82, 87, 86]
Generated Node #0,1: 82:[82, 87, 86] Operation: 26+60=86
Exploring Operation: 82-26=56, Resulting Numbers: [60, 87, 56]
Generated Node #0,2: 82:[60, 87, 56] Operation: 82-26=56
Exploring Operation: 87-82=5, Resulting Numbers: [26, 60, 5]
Generated Node #0,3: 82:[26, 60, 5] Operation: 87-82=5
Exploring Operation: 87-60=27, Resulting Numbers: [26, 82, 27]
Generated Node #0,4: 82:[26, 82, 27] Operation: 87-60=27
Moving to Node #0,1
Current State: 82:[82, 87, 86], Operations: ['26+60=86']
Exploring Operation: 87-82=5, Resulting Numbers: [86, 5]
Generated Node #0,1,0: 82:[86, 5] Operation: 87-82=5
Exploring Operation: 82+87=169, Resulting Numbers: [86, 169]
Generated Node #0,1,1: 82:[86, 169] Operation: 82+87=169
Exploring Operation: 87-86=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 82:[82, 1] Operation: 87-86=1
Exploring Operation: 82+86=168, Resulting Numbers: [87, 168]
Generated Node #0,1,3: 82:[87, 168] Operation: 82+86=168
Exploring Operation: 86-82=4, Resulting Numbers: [87, 4]
Generated Node #0,1,4: 82:[87, 4] Operation: 86-82=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[82, 1], Operations: ['26+60=86', '87-86=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[26, 60, 82, 87], Operations: []
Exploring Operation: 26+60=86, Resulting Numbers: [82, 87, 86]
Generated Node #0,1: 82:[82, 87, 86] Operation: 26+60=86
Moving to Node #0,1
Current State: 82:[82, 87, 86], Operations: ['26+60=86']
Exploring Operation: 87-86=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 82:[82, 1] Operation: 87-86=1
Moving to Node #0,1,2
Current State: 82:[82, 1], Operations: ['26+60=86', '87-86=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
2,
24,
58,
8
] | 64 | [
"2*24=48",
"48/8=6",
"58+6=64"
] | Current State: 64:[2, 24, 58, 8], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [58, 8, 48]
Generated Node #2: [58, 8, 48] from Operation: 2*24=48
Current State: 64:[58, 8, 48], Operations: ['2*24=48']
Exploring Operation: 48/8=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 48/8=6
Current State: 64:[58, 6], Operations: ['2*24=48', '48/8=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 24, 58, 8], Operations: []
Exploring Operation: 24+8=32, Resulting Numbers: [2, 58, 32]
Generated Node #0,0: 64:[2, 58, 32] Operation: 24+8=32
Exploring Operation: 58-24=34, Resulting Numbers: [2, 8, 34]
Generated Node #0,1: 64:[2, 8, 34] Operation: 58-24=34
Exploring Operation: 24-8=16, Resulting Numbers: [2, 58, 16]
Generated Node #0,2: 64:[2, 58, 16] Operation: 24-8=16
Moving to Node #0,1
Current State: 64:[2, 8, 34], Operations: ['58-24=34']
Exploring Operation: 34-2=32, Resulting Numbers: [8, 32]
Generated Node #0,1,0: 64:[8, 32] Operation: 34-2=32
Exploring Operation: 2*8=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 64:[34, 16] Operation: 2*8=16
Exploring Operation: 34/2=17, Resulting Numbers: [8, 17]
Generated Node #0,1,2: 64:[8, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[8, 32], Operations: ['58-24=34', '34-2=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[8, 17], Operations: ['58-24=34', '34/2=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,64 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[34, 16], Operations: ['58-24=34', '2*8=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 64:[2, 58, 32], Operations: ['24+8=32']
Exploring Operation: 2+58=60, Resulting Numbers: [32, 60]
Generated Node #0,0,0: 64:[32, 60] Operation: 2+58=60
Exploring Operation: 58/2=29, Resulting Numbers: [32, 29]
Generated Node #0,0,1: 64:[32, 29] Operation: 58/2=29
Exploring Operation: 2*32=64, Resulting Numbers: [58, 64]
Generated Node #0,0,2: 64:[58, 64] Operation: 2*32=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[32, 29], Operations: ['24+8=32', '58/2=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,64 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[32, 60], Operations: ['24+8=32', '2+58=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[58, 64], Operations: ['24+8=32', '2*32=64']
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,64 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[2, 58, 16], Operations: ['24-8=16']
Exploring Operation: 58/2=29, Resulting Numbers: [16, 29]
Generated Node #0,2,0: 64:[16, 29] Operation: 58/2=29
Exploring Operation: 2*16=32, Resulting Numbers: [58, 32]
Generated Node #0,2,1: 64:[58, 32] Operation: 2*16=32
Exploring Operation: 2+58=60, Resulting Numbers: [16, 60]
Generated Node #0,2,2: 64:[16, 60] Operation: 2+58=60
Moving to Node #0,2,0
Current State: 64:[16, 29], Operations: ['24-8=16', '58/2=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,64 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[16, 60], Operations: ['24-8=16', '2+58=60']
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[58, 32], Operations: ['24-8=16', '2*16=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,64 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,64 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
59,
12,
25
] | 22 | [
"68-59=9",
"25-12=13",
"9+13=22"
] | Current State: 22:[68, 59, 12, 25], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [12, 25, 9]
Generated Node #2: [12, 25, 9] from Operation: 68-59=9
Current State: 22:[12, 25, 9], Operations: ['68-59=9']
Exploring Operation: 25-12=13, Resulting Numbers: [9, 13]
Generated Node #3: [9, 13] from Operation: 25-12=13
Current State: 22:[9, 13], Operations: ['68-59=9', '25-12=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[68, 59, 12, 25], Operations: []
Exploring Operation: 59-25=34, Resulting Numbers: [68, 12, 34]
Generated Node #0,0: 22:[68, 12, 34] Operation: 59-25=34
Exploring Operation: 68-12=56, Resulting Numbers: [59, 25, 56]
Generated Node #0,1: 22:[59, 25, 56] Operation: 68-12=56
Exploring Operation: 68-25=43, Resulting Numbers: [59, 12, 43]
Generated Node #0,2: 22:[59, 12, 43] Operation: 68-25=43
Exploring Operation: 59-12=47, Resulting Numbers: [68, 25, 47]
Generated Node #0,3: 22:[68, 25, 47] Operation: 59-12=47
Exploring Operation: 68-59=9, Resulting Numbers: [12, 25, 9]
Generated Node #0,4: 22:[12, 25, 9] Operation: 68-59=9
Moving to Node #0,4
Current State: 22:[12, 25, 9], Operations: ['68-59=9']
Exploring Operation: 25-12=13, Resulting Numbers: [9, 13]
Generated Node #0,4,0: 22:[9, 13] Operation: 25-12=13
Exploring Operation: 25+9=34, Resulting Numbers: [12, 34]
Generated Node #0,4,1: 22:[12, 34] Operation: 25+9=34
Exploring Operation: 12+9=21, Resulting Numbers: [25, 21]
Generated Node #0,4,2: 22:[25, 21] Operation: 12+9=21
Exploring Operation: 12-9=3, Resulting Numbers: [25, 3]
Generated Node #0,4,3: 22:[25, 3] Operation: 12-9=3
Exploring Operation: 25-9=16, Resulting Numbers: [12, 16]
Generated Node #0,4,4: 22:[12, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 22:[9, 13], Operations: ['68-59=9', '25-12=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[68, 59, 12, 25], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [12, 25, 9]
Generated Node #0,4: 22:[12, 25, 9] Operation: 68-59=9
Moving to Node #0,4
Current State: 22:[12, 25, 9], Operations: ['68-59=9']
Exploring Operation: 25-12=13, Resulting Numbers: [9, 13]
Generated Node #0,4,0: 22:[9, 13] Operation: 25-12=13
Moving to Node #0,4,0
Current State: 22:[9, 13], Operations: ['68-59=9', '25-12=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
63,
20,
87,
47
] | 65 | [
"87-47=40",
"40/20=2",
"63+2=65"
] | Current State: 65:[63, 20, 87, 47], Operations: []
Exploring Operation: 87-47=40, Resulting Numbers: [63, 20, 40]
Generated Node #2: [63, 20, 40] from Operation: 87-47=40
Current State: 65:[63, 20, 40], Operations: ['87-47=40']
Exploring Operation: 40/20=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 40/20=2
Current State: 65:[63, 2], Operations: ['87-47=40', '40/20=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[63, 20, 87, 47], Operations: []
Exploring Operation: 20+47=67, Resulting Numbers: [63, 87, 67]
Generated Node #0,0: 65:[63, 87, 67] Operation: 20+47=67
Exploring Operation: 87-20=67, Resulting Numbers: [63, 47, 67]
Generated Node #0,1: 65:[63, 47, 67] Operation: 87-20=67
Exploring Operation: 63-47=16, Resulting Numbers: [20, 87, 16]
Generated Node #0,2: 65:[20, 87, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[63, 47, 67], Operations: ['87-20=67']
Exploring Operation: 67-63=4, Resulting Numbers: [47, 4]
Generated Node #0,1,0: 65:[47, 4] Operation: 67-63=4
Exploring Operation: 63-47=16, Resulting Numbers: [67, 16]
Generated Node #0,1,1: 65:[67, 16] Operation: 63-47=16
Exploring Operation: 67-47=20, Resulting Numbers: [63, 20]
Generated Node #0,1,2: 65:[63, 20] Operation: 67-47=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[67, 16], Operations: ['87-20=67', '63-47=16']
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,65 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[63, 20], Operations: ['87-20=67', '67-47=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,65 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[47, 4], Operations: ['87-20=67', '67-63=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,65 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[63, 87, 67], Operations: ['20+47=67']
Exploring Operation: 87-67=20, Resulting Numbers: [63, 20]
Generated Node #0,0,0: 65:[63, 20] Operation: 87-67=20
Exploring Operation: 67-63=4, Resulting Numbers: [87, 4]
Generated Node #0,0,1: 65:[87, 4] Operation: 67-63=4
Exploring Operation: 87-63=24, Resulting Numbers: [67, 24]
Generated Node #0,0,2: 65:[67, 24] Operation: 87-63=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[63, 20], Operations: ['20+47=67', '87-67=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,65 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[67, 24], Operations: ['20+47=67', '87-63=24']
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,65 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,65 unequal: No Solution
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[87, 4], Operations: ['20+47=67', '67-63=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,65 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[20, 87, 16], Operations: ['63-47=16']
Exploring Operation: 20-16=4, Resulting Numbers: [87, 4]
Generated Node #0,2,0: 65:[87, 4] Operation: 20-16=4
Exploring Operation: 87-16=71, Resulting Numbers: [20, 71]
Generated Node #0,2,1: 65:[20, 71] Operation: 87-16=71
Exploring Operation: 87-20=67, Resulting Numbers: [16, 67]
Generated Node #0,2,2: 65:[16, 67] Operation: 87-20=67
Moving to Node #0,2,2
Current State: 65:[16, 67], Operations: ['63-47=16', '87-20=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[20, 71], Operations: ['63-47=16', '87-16=71']
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 20*71=1420, Resulting Numbers: [1420]
1420,65 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[87, 4], Operations: ['63-47=16', '20-16=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
28,
9,
83
] | 23 | [
"28/7=4",
"9+83=92",
"92/4=23"
] | Current State: 23:[7, 28, 9, 83], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [9, 83, 4]
Generated Node #2: [9, 83, 4] from Operation: 28/7=4
Current State: 23:[9, 83, 4], Operations: ['28/7=4']
Exploring Operation: 9+83=92, Resulting Numbers: [4, 92]
Generated Node #3: [4, 92] from Operation: 9+83=92
Current State: 23:[4, 92], Operations: ['28/7=4', '9+83=92']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[7, 28, 9, 83], Operations: []
Exploring Operation: 7+9=16, Resulting Numbers: [28, 83, 16]
Generated Node #0,0: 23:[28, 83, 16] Operation: 7+9=16
Exploring Operation: 83-28=55, Resulting Numbers: [7, 9, 55]
Generated Node #0,1: 23:[7, 9, 55] Operation: 83-28=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[7, 9, 55], Operations: ['83-28=55']
Exploring Operation: 55-7=48, Resulting Numbers: [9, 48]
Generated Node #0,1,0: 23:[9, 48] Operation: 55-7=48
Exploring Operation: 7+9=16, Resulting Numbers: [55, 16]
Generated Node #0,1,1: 23:[55, 16] Operation: 7+9=16
Moving to Node #0,1,0
Current State: 23:[9, 48], Operations: ['83-28=55', '55-7=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[55, 16], Operations: ['83-28=55', '7+9=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[28, 83, 16], Operations: ['7+9=16']
Exploring Operation: 83-28=55, Resulting Numbers: [16, 55]
Generated Node #0,0,0: 23:[16, 55] Operation: 83-28=55
Exploring Operation: 83-16=67, Resulting Numbers: [28, 67]
Generated Node #0,0,1: 23:[28, 67] Operation: 83-16=67
Moving to Node #0,0,0
Current State: 23:[16, 55], Operations: ['7+9=16', '83-28=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[28, 67], Operations: ['7+9=16', '83-16=67']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
49,
7,
21
] | 78 | [
"32+49=81",
"21/7=3",
"81-3=78"
] | Current State: 78:[32, 49, 7, 21], Operations: []
Exploring Operation: 32+49=81, Resulting Numbers: [7, 21, 81]
Generated Node #2: [7, 21, 81] from Operation: 32+49=81
Current State: 78:[7, 21, 81], Operations: ['32+49=81']
Exploring Operation: 21/7=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 21/7=3
Current State: 78:[81, 3], Operations: ['32+49=81', '21/7=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[32, 49, 7, 21], Operations: []
Exploring Operation: 32+49=81, Resulting Numbers: [7, 21, 81]
Generated Node #0,0: 78:[7, 21, 81] Operation: 32+49=81
Moving to Node #0,0
Current State: 78:[7, 21, 81], Operations: ['32+49=81']
Exploring Operation: 21/7=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 21/7=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['32+49=81', '21/7=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[32, 49, 7, 21], Operations: []
Exploring Operation: 32+49=81, Resulting Numbers: [7, 21, 81]
Generated Node #0,0: 78:[7, 21, 81] Operation: 32+49=81
Moving to Node #0,0
Current State: 78:[7, 21, 81], Operations: ['32+49=81']
Exploring Operation: 21/7=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 21/7=3
Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['32+49=81', '21/7=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
57,
55,
8,
83
] | 37 | [
"57+55=112",
"83-8=75",
"112-75=37"
] | Current State: 37:[57, 55, 8, 83], Operations: []
Exploring Operation: 57+55=112, Resulting Numbers: [8, 83, 112]
Generated Node #2: [8, 83, 112] from Operation: 57+55=112
Current State: 37:[8, 83, 112], Operations: ['57+55=112']
Exploring Operation: 83-8=75, Resulting Numbers: [112, 75]
Generated Node #3: [112, 75] from Operation: 83-8=75
Current State: 37:[112, 75], Operations: ['57+55=112', '83-8=75']
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[57, 55, 8, 83], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [55, 8, 26]
Generated Node #0,0: 37:[55, 8, 26] Operation: 83-57=26
Exploring Operation: 83-55=28, Resulting Numbers: [57, 8, 28]
Generated Node #0,1: 37:[57, 8, 28] Operation: 83-55=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[55, 8, 26], Operations: ['83-57=26']
Exploring Operation: 55-8=47, Resulting Numbers: [26, 47]
Generated Node #0,0,0: 37:[26, 47] Operation: 55-8=47
Exploring Operation: 8+26=34, Resulting Numbers: [55, 34]
Generated Node #0,0,1: 37:[55, 34] Operation: 8+26=34
Moving to Node #0,0,0
Current State: 37:[26, 47], Operations: ['83-57=26', '55-8=47']
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[55, 34], Operations: ['83-57=26', '8+26=34']
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[57, 8, 28], Operations: ['83-55=28']
Exploring Operation: 8+28=36, Resulting Numbers: [57, 36]
Generated Node #0,1,0: 37:[57, 36] Operation: 8+28=36
Exploring Operation: 57-8=49, Resulting Numbers: [28, 49]
Generated Node #0,1,1: 37:[28, 49] Operation: 57-8=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[57, 36], Operations: ['83-55=28', '8+28=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[28, 49], Operations: ['83-55=28', '57-8=49']
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
79,
88,
2
] | 79 | [
"86+79=165",
"88-2=86",
"165-86=79"
] | Current State: 79:[86, 79, 88, 2], Operations: []
Exploring Operation: 86+79=165, Resulting Numbers: [88, 2, 165]
Generated Node #2: [88, 2, 165] from Operation: 86+79=165
Current State: 79:[88, 2, 165], Operations: ['86+79=165']
Exploring Operation: 88-2=86, Resulting Numbers: [165, 86]
Generated Node #3: [165, 86] from Operation: 88-2=86
Current State: 79:[165, 86], Operations: ['86+79=165', '88-2=86']
Exploring Operation: 165-86=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[86, 79, 88, 2], Operations: []
Exploring Operation: 79+2=81, Resulting Numbers: [86, 88, 81]
Generated Node #0,0: 79:[86, 88, 81] Operation: 79+2=81
Exploring Operation: 88-2=86, Resulting Numbers: [86, 79, 86]
Generated Node #0,1: 79:[86, 79, 86] Operation: 88-2=86
Exploring Operation: 79-2=77, Resulting Numbers: [86, 88, 77]
Generated Node #0,2: 79:[86, 88, 77] Operation: 79-2=77
Exploring Operation: 86+2=88, Resulting Numbers: [79, 88, 88]
Generated Node #0,3: 79:[79, 88, 88] Operation: 86+2=88
Exploring Operation: 86-2=84, Resulting Numbers: [79, 88, 84]
Generated Node #0,4: 79:[79, 88, 84] Operation: 86-2=84
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[86, 79, 86], Operations: ['88-2=86']
Exploring Operation: 86-79=7, Resulting Numbers: [86, 7]
Generated Node #0,1,0: 79:[86, 7] Operation: 86-79=7
Exploring Operation: 86-86=0, Resulting Numbers: [79, 0]
Generated Node #0,1,1: 79:[79, 0] Operation: 86-86=0
Exploring Operation: 86+79=165, Resulting Numbers: [86, 165]
Generated Node #0,1,2: 79:[86, 165] Operation: 86+79=165
Exploring Operation: 86-79=7, Resulting Numbers: [86, 7]
Generated Node #0,1,3: 79:[86, 7] Operation: 86-79=7
Exploring Operation: 86/86=1, Resulting Numbers: [79, 1]
Generated Node #0,1,4: 79:[79, 1] Operation: 86/86=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[79, 1], Operations: ['88-2=86', '86/86=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[86, 79, 88, 2], Operations: []
Exploring Operation: 88-2=86, Resulting Numbers: [86, 79, 86]
Generated Node #0,1: 79:[86, 79, 86] Operation: 88-2=86
Moving to Node #0,1
Current State: 79:[86, 79, 86], Operations: ['88-2=86']
Exploring Operation: 86/86=1, Resulting Numbers: [79, 1]
Generated Node #0,1,4: 79:[79, 1] Operation: 86/86=1
Moving to Node #0,1,4
Current State: 79:[79, 1], Operations: ['88-2=86', '86/86=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
35,
63,
64,
7
] | 42 | [
"35+7=42",
"64-63=1",
"42*1=42"
] | Current State: 42:[35, 63, 64, 7], Operations: []
Exploring Operation: 35+7=42, Resulting Numbers: [63, 64, 42]
Generated Node #2: [63, 64, 42] from Operation: 35+7=42
Current State: 42:[63, 64, 42], Operations: ['35+7=42']
Exploring Operation: 64-63=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 64-63=1
Current State: 42:[42, 1], Operations: ['35+7=42', '64-63=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[35, 63, 64, 7], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [63, 7, 29]
Generated Node #0,0: 42:[63, 7, 29] Operation: 64-35=29
Exploring Operation: 63-35=28, Resulting Numbers: [64, 7, 28]
Generated Node #0,1: 42:[64, 7, 28] Operation: 63-35=28
Exploring Operation: 64-63=1, Resulting Numbers: [35, 7, 1]
Generated Node #0,2: 42:[35, 7, 1] Operation: 64-63=1
Moving to Node #0,2
Current State: 42:[35, 7, 1], Operations: ['64-63=1']
Exploring Operation: 35+7=42, Resulting Numbers: [1, 42]
Generated Node #0,2,0: 42:[1, 42] Operation: 35+7=42
Exploring Operation: 35+1=36, Resulting Numbers: [7, 36]
Generated Node #0,2,1: 42:[7, 36] Operation: 35+1=36
Exploring Operation: 35/7=5, Resulting Numbers: [1, 5]
Generated Node #0,2,2: 42:[1, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[1, 42], Operations: ['64-63=1', '35+7=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[35, 63, 64, 7], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [35, 7, 1]
Generated Node #0,2: 42:[35, 7, 1] Operation: 64-63=1
Moving to Node #0,2
Current State: 42:[35, 7, 1], Operations: ['64-63=1']
Exploring Operation: 35+7=42, Resulting Numbers: [1, 42]
Generated Node #0,2,0: 42:[1, 42] Operation: 35+7=42
Moving to Node #0,2,0
Current State: 42:[1, 42], Operations: ['64-63=1', '35+7=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
46,
50,
94,
14
] | 16 | [
"46+50=96",
"94-14=80",
"96-80=16"
] | Current State: 16:[46, 50, 94, 14], Operations: []
Exploring Operation: 46+50=96, Resulting Numbers: [94, 14, 96]
Generated Node #2: [94, 14, 96] from Operation: 46+50=96
Current State: 16:[94, 14, 96], Operations: ['46+50=96']
Exploring Operation: 94-14=80, Resulting Numbers: [96, 80]
Generated Node #3: [96, 80] from Operation: 94-14=80
Current State: 16:[96, 80], Operations: ['46+50=96', '94-14=80']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[46, 50, 94, 14], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [50, 14, 48]
Generated Node #0,0: 16:[50, 14, 48] Operation: 94-46=48
Exploring Operation: 94-50=44, Resulting Numbers: [46, 14, 44]
Generated Node #0,1: 16:[46, 14, 44] Operation: 94-50=44
Moving to Node #0,1
Current State: 16:[46, 14, 44], Operations: ['94-50=44']
Exploring Operation: 46-14=32, Resulting Numbers: [44, 32]
Generated Node #0,1,0: 16:[44, 32] Operation: 46-14=32
Exploring Operation: 46-44=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 16:[14, 2] Operation: 46-44=2
Moving to Node #0,0
Current State: 16:[50, 14, 48], Operations: ['94-46=48']
Exploring Operation: 50-48=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 16:[14, 2] Operation: 50-48=2
Exploring Operation: 50-14=36, Resulting Numbers: [48, 36]
Generated Node #0,0,1: 16:[48, 36] Operation: 50-14=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[14, 2], Operations: ['94-46=48', '50-48=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[46, 50, 94, 14], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [50, 14, 48]
Generated Node #0,0: 16:[50, 14, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 16:[50, 14, 48], Operations: ['94-46=48']
Exploring Operation: 50-48=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 16:[14, 2] Operation: 50-48=2
Moving to Node #0,0,0
Current State: 16:[14, 2], Operations: ['94-46=48', '50-48=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
55,
71,
89,
34
] | 39 | [
"71-55=16",
"89-34=55",
"55-16=39"
] | Current State: 39:[55, 71, 89, 34], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [89, 34, 16]
Generated Node #2: [89, 34, 16] from Operation: 71-55=16
Current State: 39:[89, 34, 16], Operations: ['71-55=16']
Exploring Operation: 89-34=55, Resulting Numbers: [16, 55]
Generated Node #3: [16, 55] from Operation: 89-34=55
Current State: 39:[16, 55], Operations: ['71-55=16', '89-34=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[55, 71, 89, 34], Operations: []
Exploring Operation: 89-34=55, Resulting Numbers: [55, 71, 55]
Generated Node #0,0: 39:[55, 71, 55] Operation: 89-34=55
Exploring Operation: 71-55=16, Resulting Numbers: [89, 34, 16]
Generated Node #0,1: 39:[89, 34, 16] Operation: 71-55=16
Exploring Operation: 89-71=18, Resulting Numbers: [55, 34, 18]
Generated Node #0,2: 39:[55, 34, 18] Operation: 89-71=18
Exploring Operation: 89-55=34, Resulting Numbers: [71, 34, 34]
Generated Node #0,3: 39:[71, 34, 34] Operation: 89-55=34
Exploring Operation: 71-34=37, Resulting Numbers: [55, 89, 37]
Generated Node #0,4: 39:[55, 89, 37] Operation: 71-34=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[55, 34, 18], Operations: ['89-71=18']
Exploring Operation: 34+18=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 39:[55, 52] Operation: 34+18=52
Exploring Operation: 34-18=16, Resulting Numbers: [55, 16]
Generated Node #0,2,1: 39:[55, 16] Operation: 34-18=16
Exploring Operation: 55-18=37, Resulting Numbers: [34, 37]
Generated Node #0,2,2: 39:[34, 37] Operation: 55-18=37
Exploring Operation: 55+18=73, Resulting Numbers: [34, 73]
Generated Node #0,2,3: 39:[34, 73] Operation: 55+18=73
Exploring Operation: 55-34=21, Resulting Numbers: [18, 21]
Generated Node #0,2,4: 39:[18, 21] Operation: 55-34=21
Moving to Node #0,2,2
Current State: 39:[34, 37], Operations: ['89-71=18', '55-18=37']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,39 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[18, 21], Operations: ['89-71=18', '55-34=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,39 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[55, 71, 89, 34], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [55, 34, 18]
Generated Node #0,2: 39:[55, 34, 18] Operation: 89-71=18
Moving to Node #0,2
Current State: 39:[55, 34, 18], Operations: ['89-71=18']
Exploring Operation: 55-34=21, Resulting Numbers: [18, 21]
Generated Node #0,2,4: 39:[18, 21] Operation: 55-34=21
Moving to Node #0,2,4
Current State: 39:[18, 21], Operations: ['89-71=18', '55-34=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
85,
56,
21,
60
] | 75 | [
"56*60=3360",
"3360/21=160",
"160-85=75"
] | Current State: 75:[85, 56, 21, 60], Operations: []
Exploring Operation: 56*60=3360, Resulting Numbers: [85, 21, 3360]
Generated Node #2: [85, 21, 3360] from Operation: 56*60=3360
Current State: 75:[85, 21, 3360], Operations: ['56*60=3360']
Exploring Operation: 3360/21=160, Resulting Numbers: [85, 160]
Generated Node #3: [85, 160] from Operation: 3360/21=160
Current State: 75:[85, 160], Operations: ['56*60=3360', '3360/21=160']
Exploring Operation: 160-85=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[85, 56, 21, 60], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [85, 21, 4]
Generated Node #0,0: 75:[85, 21, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[85, 21, 4], Operations: ['60-56=4']
Exploring Operation: 85-4=81, Resulting Numbers: [21, 81]
Generated Node #0,0,0: 75:[21, 81] Operation: 85-4=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[21, 81], Operations: ['60-56=4', '85-4=81']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
47,
19,
60
] | 13 | [
"75-47=28",
"60-19=41",
"41-28=13"
] | Current State: 13:[75, 47, 19, 60], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [19, 60, 28]
Generated Node #2: [19, 60, 28] from Operation: 75-47=28
Current State: 13:[19, 60, 28], Operations: ['75-47=28']
Exploring Operation: 60-19=41, Resulting Numbers: [28, 41]
Generated Node #3: [28, 41] from Operation: 60-19=41
Current State: 13:[28, 41], Operations: ['75-47=28', '60-19=41']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[75, 47, 19, 60], Operations: []
Exploring Operation: 60-47=13, Resulting Numbers: [75, 19, 13]
Generated Node #0,0: 13:[75, 19, 13] Operation: 60-47=13
Exploring Operation: 75-19=56, Resulting Numbers: [47, 60, 56]
Generated Node #0,1: 13:[47, 60, 56] Operation: 75-19=56
Exploring Operation: 75-47=28, Resulting Numbers: [19, 60, 28]
Generated Node #0,2: 13:[19, 60, 28] Operation: 75-47=28
Exploring Operation: 75-60=15, Resulting Numbers: [47, 19, 15]
Generated Node #0,3: 13:[47, 19, 15] Operation: 75-60=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[47, 19, 15], Operations: ['75-60=15']
Exploring Operation: 47-15=32, Resulting Numbers: [19, 32]
Generated Node #0,3,0: 13:[19, 32] Operation: 47-15=32
Exploring Operation: 47+19=66, Resulting Numbers: [15, 66]
Generated Node #0,3,1: 13:[15, 66] Operation: 47+19=66
Exploring Operation: 47-19=28, Resulting Numbers: [15, 28]
Generated Node #0,3,2: 13:[15, 28] Operation: 47-19=28
Exploring Operation: 19-15=4, Resulting Numbers: [47, 4]
Generated Node #0,3,3: 13:[47, 4] Operation: 19-15=4
Moving to Node #0,3,2
Current State: 13:[15, 28], Operations: ['75-60=15', '47-19=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[75, 47, 19, 60], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [47, 19, 15]
Generated Node #0,3: 13:[47, 19, 15] Operation: 75-60=15
Moving to Node #0,3
Current State: 13:[47, 19, 15], Operations: ['75-60=15']
Exploring Operation: 47-19=28, Resulting Numbers: [15, 28]
Generated Node #0,3,2: 13:[15, 28] Operation: 47-19=28
Moving to Node #0,3,2
Current State: 13:[15, 28], Operations: ['75-60=15', '47-19=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
63,
39,
44,
42
] | 21 | [
"63+42=105",
"44-39=5",
"105/5=21"
] | Current State: 21:[63, 39, 44, 42], Operations: []
Exploring Operation: 63+42=105, Resulting Numbers: [39, 44, 105]
Generated Node #2: [39, 44, 105] from Operation: 63+42=105
Current State: 21:[39, 44, 105], Operations: ['63+42=105']
Exploring Operation: 44-39=5, Resulting Numbers: [105, 5]
Generated Node #3: [105, 5] from Operation: 44-39=5
Current State: 21:[105, 5], Operations: ['63+42=105', '44-39=5']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[63, 39, 44, 42], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [39, 44, 21]
Generated Node #0,0: 21:[39, 44, 21] Operation: 63-42=21
Exploring Operation: 63-44=19, Resulting Numbers: [39, 42, 19]
Generated Node #0,1: 21:[39, 42, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[39, 44, 21], Operations: ['63-42=21']
Exploring Operation: 44-21=23, Resulting Numbers: [39, 23]
Generated Node #0,0,0: 21:[39, 23] Operation: 44-21=23
Exploring Operation: 44-39=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 21:[21, 5] Operation: 44-39=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[21, 5], Operations: ['63-42=21', '44-39=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[39, 23], Operations: ['63-42=21', '44-21=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[39, 42, 19], Operations: ['63-44=19']
Exploring Operation: 42-19=23, Resulting Numbers: [39, 23]
Generated Node #0,1,0: 21:[39, 23] Operation: 42-19=23
Exploring Operation: 42-39=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 21:[19, 3] Operation: 42-39=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[19, 3], Operations: ['63-44=19', '42-39=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[39, 23], Operations: ['63-44=19', '42-19=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
70,
68,
72
] | 14 | [
"70-60=10",
"68+72=140",
"140/10=14"
] | Current State: 14:[60, 70, 68, 72], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [68, 72, 10]
Generated Node #2: [68, 72, 10] from Operation: 70-60=10
Current State: 14:[68, 72, 10], Operations: ['70-60=10']
Exploring Operation: 68+72=140, Resulting Numbers: [10, 140]
Generated Node #3: [10, 140] from Operation: 68+72=140
Current State: 14:[10, 140], Operations: ['70-60=10', '68+72=140']
Exploring Operation: 140/10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[60, 70, 68, 72], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [60, 68, 2]
Generated Node #0,0: 14:[60, 68, 2] Operation: 72-70=2
Exploring Operation: 70-68=2, Resulting Numbers: [60, 72, 2]
Generated Node #0,1: 14:[60, 72, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[60, 68, 2], Operations: ['72-70=2']
Exploring Operation: 68/2=34, Resulting Numbers: [60, 34]
Generated Node #0,0,0: 14:[60, 34] Operation: 68/2=34
Exploring Operation: 68-60=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 14:[2, 8] Operation: 68-60=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[2, 8], Operations: ['72-70=2', '68-60=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[60, 34], Operations: ['72-70=2', '68/2=34']
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[60, 72, 2], Operations: ['70-68=2']
Exploring Operation: 72/2=36, Resulting Numbers: [60, 36]
Generated Node #0,1,0: 14:[60, 36] Operation: 72/2=36
Exploring Operation: 72-60=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 14:[2, 12] Operation: 72-60=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[2, 12], Operations: ['70-68=2', '72-60=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[60, 70, 68, 72], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [60, 72, 2]
Generated Node #0,1: 14:[60, 72, 2] Operation: 70-68=2
Moving to Node #0,1
Current State: 14:[60, 72, 2], Operations: ['70-68=2']
Exploring Operation: 72-60=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 14:[2, 12] Operation: 72-60=12
Moving to Node #0,1,1
Current State: 14:[2, 12], Operations: ['70-68=2', '72-60=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
95,
90,
84,
60
] | 85 | [
"90-84=6",
"60/6=10",
"95-10=85"
] | Current State: 85:[95, 90, 84, 60], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [95, 60, 6]
Generated Node #2: [95, 60, 6] from Operation: 90-84=6
Current State: 85:[95, 60, 6], Operations: ['90-84=6']
Exploring Operation: 60/6=10, Resulting Numbers: [95, 10]
Generated Node #3: [95, 10] from Operation: 60/6=10
Current State: 85:[95, 10], Operations: ['90-84=6', '60/6=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[95, 90, 84, 60], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [90, 84, 35]
Generated Node #0,0: 85:[90, 84, 35] Operation: 95-60=35
Exploring Operation: 84-60=24, Resulting Numbers: [95, 90, 24]
Generated Node #0,1: 85:[95, 90, 24] Operation: 84-60=24
Moving to Node #0,1
Current State: 85:[95, 90, 24], Operations: ['84-60=24']
Exploring Operation: 95-24=71, Resulting Numbers: [90, 71]
Generated Node #0,1,0: 85:[90, 71] Operation: 95-24=71
Exploring Operation: 95-90=5, Resulting Numbers: [24, 5]
Generated Node #0,1,1: 85:[24, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 85:[90, 84, 35], Operations: ['95-60=35']
Exploring Operation: 90-84=6, Resulting Numbers: [35, 6]
Generated Node #0,0,0: 85:[35, 6] Operation: 90-84=6
Exploring Operation: 90-35=55, Resulting Numbers: [84, 55]
Generated Node #0,0,1: 85:[84, 55] Operation: 90-35=55
Moving to Node #0,1,1
Current State: 85:[24, 5], Operations: ['84-60=24', '95-90=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[35, 6], Operations: ['95-60=35', '90-84=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[90, 71], Operations: ['84-60=24', '95-24=71']
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,85 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[84, 55], Operations: ['95-60=35', '90-35=55']
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
56,
91,
28
] | 77 | [
"84+56=140",
"91-28=63",
"140-63=77"
] | Current State: 77:[84, 56, 91, 28], Operations: []
Exploring Operation: 84+56=140, Resulting Numbers: [91, 28, 140]
Generated Node #2: [91, 28, 140] from Operation: 84+56=140
Current State: 77:[91, 28, 140], Operations: ['84+56=140']
Exploring Operation: 91-28=63, Resulting Numbers: [140, 63]
Generated Node #3: [140, 63] from Operation: 91-28=63
Current State: 77:[140, 63], Operations: ['84+56=140', '91-28=63']
Exploring Operation: 140-63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[84, 56, 91, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [84, 91, 2]
Generated Node #0,0: 77:[84, 91, 2] Operation: 56/28=2
Exploring Operation: 56+28=84, Resulting Numbers: [84, 91, 84]
Generated Node #0,1: 77:[84, 91, 84] Operation: 56+28=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[84, 91, 2], Operations: ['56/28=2']
Exploring Operation: 84-2=82, Resulting Numbers: [91, 82]
Generated Node #0,0,0: 77:[91, 82] Operation: 84-2=82
Exploring Operation: 91-84=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 77:[2, 7] Operation: 91-84=7
Moving to Node #0,0,1
Current State: 77:[2, 7], Operations: ['56/28=2', '91-84=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[91, 82], Operations: ['56/28=2', '84-2=82']
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,77 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[84, 91, 84], Operations: ['56+28=84']
Exploring Operation: 91-84=7, Resulting Numbers: [84, 7]
Generated Node #0,1,0: 77:[84, 7] Operation: 91-84=7
Exploring Operation: 91-84=7, Resulting Numbers: [84, 7]
Generated Node #0,1,1: 77:[84, 7] Operation: 91-84=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[84, 7], Operations: ['56+28=84', '91-84=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[84, 56, 91, 28], Operations: []
Exploring Operation: 56+28=84, Resulting Numbers: [84, 91, 84]
Generated Node #0,1: 77:[84, 91, 84] Operation: 56+28=84
Moving to Node #0,1
Current State: 77:[84, 91, 84], Operations: ['56+28=84']
Exploring Operation: 91-84=7, Resulting Numbers: [84, 7]
Generated Node #0,1,0: 77:[84, 7] Operation: 91-84=7
Moving to Node #0,1,0
Current State: 77:[84, 7], Operations: ['56+28=84', '91-84=7']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
38,
71,
99,
52
] | 49 | [
"71-38=33",
"99/33=3",
"52-3=49"
] | Current State: 49:[38, 71, 99, 52], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [99, 52, 33]
Generated Node #2: [99, 52, 33] from Operation: 71-38=33
Current State: 49:[99, 52, 33], Operations: ['71-38=33']
Exploring Operation: 99/33=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 99/33=3
Current State: 49:[52, 3], Operations: ['71-38=33', '99/33=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[38, 71, 99, 52], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [38, 52, 28]
Generated Node #0,0: 49:[38, 52, 28] Operation: 99-71=28
Exploring Operation: 99-52=47, Resulting Numbers: [38, 71, 47]
Generated Node #0,1: 49:[38, 71, 47] Operation: 99-52=47
Exploring Operation: 71-38=33, Resulting Numbers: [99, 52, 33]
Generated Node #0,2: 49:[99, 52, 33] Operation: 71-38=33
Exploring Operation: 99-38=61, Resulting Numbers: [71, 52, 61]
Generated Node #0,3: 49:[71, 52, 61] Operation: 99-38=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[38, 52, 28], Operations: ['99-71=28']
Exploring Operation: 52-28=24, Resulting Numbers: [38, 24]
Generated Node #0,0,0: 49:[38, 24] Operation: 52-28=24
Exploring Operation: 52-38=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 49:[28, 14] Operation: 52-38=14
Exploring Operation: 38+28=66, Resulting Numbers: [52, 66]
Generated Node #0,0,2: 49:[52, 66] Operation: 38+28=66
Exploring Operation: 38-28=10, Resulting Numbers: [52, 10]
Generated Node #0,0,3: 49:[52, 10] Operation: 38-28=10
Moving to Node #0,0,3
Current State: 49:[52, 10], Operations: ['99-71=28', '38-28=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,49 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[52, 66], Operations: ['99-71=28', '38+28=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,49 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[28, 14], Operations: ['99-71=28', '52-38=14']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,49 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[38, 24], Operations: ['99-71=28', '52-28=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[38, 71, 47], Operations: ['99-52=47']
Exploring Operation: 71-47=24, Resulting Numbers: [38, 24]
Generated Node #0,1,0: 49:[38, 24] Operation: 71-47=24
Exploring Operation: 71-38=33, Resulting Numbers: [47, 33]
Generated Node #0,1,1: 49:[47, 33] Operation: 71-38=33
Exploring Operation: 47-38=9, Resulting Numbers: [71, 9]
Generated Node #0,1,2: 49:[71, 9] Operation: 47-38=9
Exploring Operation: 38+47=85, Resulting Numbers: [71, 85]
Generated Node #0,1,3: 49:[71, 85] Operation: 38+47=85
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[47, 33], Operations: ['99-52=47', '71-38=33']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,49 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[71, 9], Operations: ['99-52=47', '47-38=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,49 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[38, 24], Operations: ['99-52=47', '71-47=24']
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,49 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[71, 85], Operations: ['99-52=47', '38+47=85']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 71+85=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Exploring Operation: 71*85=6035, Resulting Numbers: [6035]
6035,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[71, 52, 61], Operations: ['99-38=61']
Exploring Operation: 61-52=9, Resulting Numbers: [71, 9]
Generated Node #0,3,0: 49:[71, 9] Operation: 61-52=9
Exploring Operation: 71-61=10, Resulting Numbers: [52, 10]
Generated Node #0,3,1: 49:[52, 10] Operation: 71-61=10
Exploring Operation: 71+52=123, Resulting Numbers: [61, 123]
Generated Node #0,3,2: 49:[61, 123] Operation: 71+52=123
Exploring Operation: 71-52=19, Resulting Numbers: [61, 19]
Generated Node #0,3,3: 49:[61, 19] Operation: 71-52=19
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[52, 10], Operations: ['99-38=61', '71-61=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,49 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[71, 9], Operations: ['99-38=61', '61-52=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,49 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[61, 19], Operations: ['99-38=61', '71-52=19']
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,49 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,49 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[61, 123], Operations: ['99-38=61', '71+52=123']
Exploring Operation: 123-61=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 61+123=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 61*123=7503, Resulting Numbers: [7503]
7503,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[99, 52, 33], Operations: ['71-38=33']
Exploring Operation: 52-33=19, Resulting Numbers: [99, 19]
Generated Node #0,2,0: 49:[99, 19] Operation: 52-33=19
Exploring Operation: 99-33=66, Resulting Numbers: [52, 66]
Generated Node #0,2,1: 49:[52, 66] Operation: 99-33=66
Exploring Operation: 99/33=3, Resulting Numbers: [52, 3]
Generated Node #0,2,2: 49:[52, 3] Operation: 99/33=3
Exploring Operation: 99-52=47, Resulting Numbers: [33, 47]
Generated Node #0,2,3: 49:[33, 47] Operation: 99-52=47
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[52, 3], Operations: ['71-38=33', '99/33=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[38, 71, 99, 52], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [99, 52, 33]
Generated Node #0,2: 49:[99, 52, 33] Operation: 71-38=33
Moving to Node #0,2
Current State: 49:[99, 52, 33], Operations: ['71-38=33']
Exploring Operation: 99/33=3, Resulting Numbers: [52, 3]
Generated Node #0,2,2: 49:[52, 3] Operation: 99/33=3
Moving to Node #0,2,2
Current State: 49:[52, 3], Operations: ['71-38=33', '99/33=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
44,
10,
8,
24
] | 56 | [
"10-8=2",
"24/2=12",
"44+12=56"
] | Current State: 56:[44, 10, 8, 24], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [44, 24, 2]
Generated Node #2: [44, 24, 2] from Operation: 10-8=2
Current State: 56:[44, 24, 2], Operations: ['10-8=2']
Exploring Operation: 24/2=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 24/2=12
Current State: 56:[44, 12], Operations: ['10-8=2', '24/2=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[44, 10, 8, 24], Operations: []
Exploring Operation: 44+10=54, Resulting Numbers: [8, 24, 54]
Generated Node #0,0: 56:[8, 24, 54] Operation: 44+10=54
Exploring Operation: 44-24=20, Resulting Numbers: [10, 8, 20]
Generated Node #0,1: 56:[10, 8, 20] Operation: 44-24=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[8, 24, 54], Operations: ['44+10=54']
Exploring Operation: 24/8=3, Resulting Numbers: [54, 3]
Generated Node #0,0,0: 56:[54, 3] Operation: 24/8=3
Exploring Operation: 54-24=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 56:[8, 30] Operation: 54-24=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[8, 30], Operations: ['44+10=54', '54-24=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[54, 3], Operations: ['44+10=54', '24/8=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[10, 8, 20], Operations: ['44-24=20']
Exploring Operation: 10+20=30, Resulting Numbers: [8, 30]
Generated Node #0,1,0: 56:[8, 30] Operation: 10+20=30
Exploring Operation: 20/10=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 56:[8, 2] Operation: 20/10=2
Moving to Node #0,1,1
Current State: 56:[8, 2], Operations: ['44-24=20', '20/10=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[8, 30], Operations: ['44-24=20', '10+20=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
55,
79,
1
] | 57 | [
"55-34=21",
"79-1=78",
"78-21=57"
] | Current State: 57:[34, 55, 79, 1], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [79, 1, 21]
Generated Node #2: [79, 1, 21] from Operation: 55-34=21
Current State: 57:[79, 1, 21], Operations: ['55-34=21']
Exploring Operation: 79-1=78, Resulting Numbers: [21, 78]
Generated Node #3: [21, 78] from Operation: 79-1=78
Current State: 57:[21, 78], Operations: ['55-34=21', '79-1=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[34, 55, 79, 1], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [55, 1, 45]
Generated Node #0,0: 57:[55, 1, 45] Operation: 79-34=45
Exploring Operation: 79-55=24, Resulting Numbers: [34, 1, 24]
Generated Node #0,1: 57:[34, 1, 24] Operation: 79-55=24
Moving to Node #0,0
Current State: 57:[55, 1, 45], Operations: ['79-34=45']
Exploring Operation: 55-45=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 57:[1, 10] Operation: 55-45=10
Exploring Operation: 55+1=56, Resulting Numbers: [45, 56]
Generated Node #0,0,1: 57:[45, 56] Operation: 55+1=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[1, 10], Operations: ['79-34=45', '55-45=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[45, 56], Operations: ['79-34=45', '55+1=56']
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[34, 1, 24], Operations: ['79-55=24']
Exploring Operation: 34+24=58, Resulting Numbers: [1, 58]
Generated Node #0,1,0: 57:[1, 58] Operation: 34+24=58
Exploring Operation: 34-24=10, Resulting Numbers: [1, 10]
Generated Node #0,1,1: 57:[1, 10] Operation: 34-24=10
Moving to Node #0,1,0
Current State: 57:[1, 58], Operations: ['79-55=24', '34+24=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[34, 55, 79, 1], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [34, 1, 24]
Generated Node #0,1: 57:[34, 1, 24] Operation: 79-55=24
Moving to Node #0,1
Current State: 57:[34, 1, 24], Operations: ['79-55=24']
Exploring Operation: 34+24=58, Resulting Numbers: [1, 58]
Generated Node #0,1,0: 57:[1, 58] Operation: 34+24=58
Moving to Node #0,1,0
Current State: 57:[1, 58], Operations: ['79-55=24', '34+24=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.