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 |
|---|---|---|---|---|---|---|---|---|
[
2,
27,
16,
61
] | 96 | [
"16/2=8",
"27+61=88",
"8+88=96"
] | Current State: 96:[2, 27, 16, 61], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [27, 61, 8]
Generated Node #2: [27, 61, 8] from Operation: 16/2=8
Current State: 96:[27, 61, 8], Operations: ['16/2=8']
Exploring Operation: 27+61=88, Resulting Numbers: [8, 88]
Generated Node #3: [8, 88] from Operation: 27+61=88
Current State: 96:[8, 88], Operations: ['16/2=8', '27+61=88']
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 27, 16, 61], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [2, 16, 34]
Generated Node #0,0: 96:[2, 16, 34] Operation: 61-27=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[2, 16, 34], Operations: ['61-27=34']
Exploring Operation: 34-2=32, Resulting Numbers: [16, 32]
Generated Node #0,0,0: 96:[16, 32] Operation: 34-2=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[16, 32], Operations: ['61-27=34', '34-2=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,96 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 |
[
73,
36,
94,
5
] | 10 | [
"73+36=109",
"94+5=99",
"109-99=10"
] | Current State: 10:[73, 36, 94, 5], Operations: []
Exploring Operation: 73+36=109, Resulting Numbers: [94, 5, 109]
Generated Node #2: [94, 5, 109] from Operation: 73+36=109
Current State: 10:[94, 5, 109], Operations: ['73+36=109']
Exploring Operation: 94+5=99, Resulting Numbers: [109, 99]
Generated Node #3: [109, 99] from Operation: 94+5=99
Current State: 10:[109, 99], Operations: ['73+36=109', '94+5=99']
Exploring Operation: 109-99=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[73, 36, 94, 5], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [73, 94, 31]
Generated Node #0,0: 10:[73, 94, 31] Operation: 36-5=31
Exploring Operation: 94-36=58, Resulting Numbers: [73, 5, 58]
Generated Node #0,1: 10:[73, 5, 58] Operation: 94-36=58
Exploring Operation: 94-73=21, Resulting Numbers: [36, 5, 21]
Generated Node #0,2: 10:[36, 5, 21] Operation: 94-73=21
Exploring Operation: 73-5=68, Resulting Numbers: [36, 94, 68]
Generated Node #0,3: 10:[36, 94, 68] Operation: 73-5=68
Exploring Operation: 73-36=37, Resulting Numbers: [94, 5, 37]
Generated Node #0,4: 10:[94, 5, 37] Operation: 73-36=37
Moving to Node #0,2
Current State: 10:[36, 5, 21], Operations: ['94-73=21']
Exploring Operation: 5+21=26, Resulting Numbers: [36, 26]
Generated Node #0,2,0: 10:[36, 26] Operation: 5+21=26
Exploring Operation: 36-5=31, Resulting Numbers: [21, 31]
Generated Node #0,2,1: 10:[21, 31] Operation: 36-5=31
Exploring Operation: 36+5=41, Resulting Numbers: [21, 41]
Generated Node #0,2,2: 10:[21, 41] Operation: 36+5=41
Exploring Operation: 21-5=16, Resulting Numbers: [36, 16]
Generated Node #0,2,3: 10:[36, 16] Operation: 21-5=16
Exploring Operation: 36-21=15, Resulting Numbers: [5, 15]
Generated Node #0,2,4: 10:[5, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 10:[5, 15], Operations: ['94-73=21', '36-21=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[73, 36, 94, 5], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [36, 5, 21]
Generated Node #0,2: 10:[36, 5, 21] Operation: 94-73=21
Moving to Node #0,2
Current State: 10:[36, 5, 21], Operations: ['94-73=21']
Exploring Operation: 36-21=15, Resulting Numbers: [5, 15]
Generated Node #0,2,4: 10:[5, 15] Operation: 36-21=15
Moving to Node #0,2,4
Current State: 10:[5, 15], Operations: ['94-73=21', '36-21=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
44,
82,
28,
50
] | 11 | [
"82-28=54",
"54-50=4",
"44/4=11"
] | Current State: 11:[44, 82, 28, 50], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [44, 50, 54]
Generated Node #2: [44, 50, 54] from Operation: 82-28=54
Current State: 11:[44, 50, 54], Operations: ['82-28=54']
Exploring Operation: 54-50=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 54-50=4
Current State: 11:[44, 4], Operations: ['82-28=54', '54-50=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[44, 82, 28, 50], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [44, 28, 32]
Generated Node #0,0: 11:[44, 28, 32] Operation: 82-50=32
Exploring Operation: 82-44=38, Resulting Numbers: [28, 50, 38]
Generated Node #0,1: 11:[28, 50, 38] Operation: 82-44=38
Exploring Operation: 50-44=6, Resulting Numbers: [82, 28, 6]
Generated Node #0,2: 11:[82, 28, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[44, 28, 32], Operations: ['82-50=32']
Exploring Operation: 44-28=16, Resulting Numbers: [32, 16]
Generated Node #0,0,0: 11:[32, 16] Operation: 44-28=16
Exploring Operation: 44-32=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 11:[28, 12] Operation: 44-32=12
Exploring Operation: 32-28=4, Resulting Numbers: [44, 4]
Generated Node #0,0,2: 11:[44, 4] Operation: 32-28=4
Moving to Node #0,0,1
Current State: 11:[28, 12], Operations: ['82-50=32', '44-32=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[32, 16], Operations: ['82-50=32', '44-28=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[44, 4], Operations: ['82-50=32', '32-28=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[44, 82, 28, 50], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [44, 28, 32]
Generated Node #0,0: 11:[44, 28, 32] Operation: 82-50=32
Moving to Node #0,0
Current State: 11:[44, 28, 32], Operations: ['82-50=32']
Exploring Operation: 32-28=4, Resulting Numbers: [44, 4]
Generated Node #0,0,2: 11:[44, 4] Operation: 32-28=4
Moving to Node #0,0,2
Current State: 11:[44, 4], Operations: ['82-50=32', '32-28=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
61,
89,
64,
51
] | 64 | [
"64-61=3",
"51*3=153",
"153-89=64"
] | Current State: 64:[61, 89, 64, 51], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [89, 51, 3]
Generated Node #2: [89, 51, 3] from Operation: 64-61=3
Current State: 64:[89, 51, 3], Operations: ['64-61=3']
Exploring Operation: 51*3=153, Resulting Numbers: [89, 153]
Generated Node #3: [89, 153] from Operation: 51*3=153
Current State: 64:[89, 153], Operations: ['64-61=3', '51*3=153']
Exploring Operation: 153-89=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[61, 89, 64, 51], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [64, 51, 28]
Generated Node #0,0: 64:[64, 51, 28] Operation: 89-61=28
Exploring Operation: 89-51=38, Resulting Numbers: [61, 64, 38]
Generated Node #0,1: 64:[61, 64, 38] Operation: 89-51=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[61, 64, 38], Operations: ['89-51=38']
Exploring Operation: 61-38=23, Resulting Numbers: [64, 23]
Generated Node #0,1,0: 64:[64, 23] Operation: 61-38=23
Exploring Operation: 64-61=3, Resulting Numbers: [38, 3]
Generated Node #0,1,1: 64:[38, 3] Operation: 64-61=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[64, 23], Operations: ['89-51=38', '61-38=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,64 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: 64:[38, 3], Operations: ['89-51=38', '64-61=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,64 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: 64:[64, 51, 28], Operations: ['89-61=28']
Exploring Operation: 64-51=13, Resulting Numbers: [28, 13]
Generated Node #0,0,0: 64:[28, 13] Operation: 64-51=13
Exploring Operation: 51-28=23, Resulting Numbers: [64, 23]
Generated Node #0,0,1: 64:[64, 23] Operation: 51-28=23
Moving to Node #0,0,0
Current State: 64:[28, 13], Operations: ['89-61=28', '64-51=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[64, 23], Operations: ['89-61=28', '51-28=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,64 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 |
[
23,
47,
66,
93
] | 64 | [
"93-47=46",
"46/23=2",
"66-2=64"
] | Current State: 64:[23, 47, 66, 93], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [23, 66, 46]
Generated Node #2: [23, 66, 46] from Operation: 93-47=46
Current State: 64:[23, 66, 46], Operations: ['93-47=46']
Exploring Operation: 46/23=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 46/23=2
Current State: 64:[66, 2], Operations: ['93-47=46', '46/23=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[23, 47, 66, 93], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [23, 47, 27]
Generated Node #0,0: 64:[23, 47, 27] Operation: 93-66=27
Exploring Operation: 23+47=70, Resulting Numbers: [66, 93, 70]
Generated Node #0,1: 64:[66, 93, 70] Operation: 23+47=70
Exploring Operation: 93-23=70, Resulting Numbers: [47, 66, 70]
Generated Node #0,2: 64:[47, 66, 70] Operation: 93-23=70
Exploring Operation: 93-47=46, Resulting Numbers: [23, 66, 46]
Generated Node #0,3: 64:[23, 66, 46] Operation: 93-47=46
Moving to Node #0,2
Current State: 64:[47, 66, 70], Operations: ['93-23=70']
Exploring Operation: 70-47=23, Resulting Numbers: [66, 23]
Generated Node #0,2,0: 64:[66, 23] Operation: 70-47=23
Exploring Operation: 70-66=4, Resulting Numbers: [47, 4]
Generated Node #0,2,1: 64:[47, 4] Operation: 70-66=4
Exploring Operation: 47+66=113, Resulting Numbers: [70, 113]
Generated Node #0,2,2: 64:[70, 113] Operation: 47+66=113
Exploring Operation: 66-47=19, Resulting Numbers: [70, 19]
Generated Node #0,2,3: 64:[70, 19] Operation: 66-47=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[66, 23], Operations: ['93-23=70', '70-47=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,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,2,3
Current State: 64:[70, 19], Operations: ['93-23=70', '66-47=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,64 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,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,2,1
Current State: 64:[47, 4], Operations: ['93-23=70', '70-66=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,64 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,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,2,2
Current State: 64:[70, 113], Operations: ['93-23=70', '47+66=113']
Exploring Operation: 113-70=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 70+113=183, Resulting Numbers: [183]
183,64 unequal: No Solution
Exploring Operation: 70*113=7910, Resulting Numbers: [7910]
7910,64 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: 64:[23, 66, 46], Operations: ['93-47=46']
Exploring Operation: 46/23=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 64:[66, 2] Operation: 46/23=2
Exploring Operation: 23+46=69, Resulting Numbers: [66, 69]
Generated Node #0,3,1: 64:[66, 69] Operation: 23+46=69
Exploring Operation: 66-46=20, Resulting Numbers: [23, 20]
Generated Node #0,3,2: 64:[23, 20] Operation: 66-46=20
Exploring Operation: 46-23=23, Resulting Numbers: [66, 23]
Generated Node #0,3,3: 64:[66, 23] Operation: 46-23=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[66, 2], Operations: ['93-47=46', '46/23=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[23, 47, 66, 93], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [23, 66, 46]
Generated Node #0,3: 64:[23, 66, 46] Operation: 93-47=46
Moving to Node #0,3
Current State: 64:[23, 66, 46], Operations: ['93-47=46']
Exploring Operation: 46/23=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 64:[66, 2] Operation: 46/23=2
Moving to Node #0,3,0
Current State: 64:[66, 2], Operations: ['93-47=46', '46/23=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
47,
4,
7,
52
] | 44 | [
"52/4=13",
"7*13=91",
"91-47=44"
] | Current State: 44:[47, 4, 7, 52], Operations: []
Exploring Operation: 52/4=13, Resulting Numbers: [47, 7, 13]
Generated Node #2: [47, 7, 13] from Operation: 52/4=13
Current State: 44:[47, 7, 13], Operations: ['52/4=13']
Exploring Operation: 7*13=91, Resulting Numbers: [47, 91]
Generated Node #3: [47, 91] from Operation: 7*13=91
Current State: 44:[47, 91], Operations: ['52/4=13', '7*13=91']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[47, 4, 7, 52], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [4, 7, 5]
Generated Node #0,0: 44:[4, 7, 5] Operation: 52-47=5
Exploring Operation: 52/4=13, Resulting Numbers: [47, 7, 13]
Generated Node #0,1: 44:[47, 7, 13] Operation: 52/4=13
Exploring Operation: 52-7=45, Resulting Numbers: [47, 4, 45]
Generated Node #0,2: 44:[47, 4, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[4, 7, 5], Operations: ['52-47=5']
Exploring Operation: 7+5=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 44:[4, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 44:[4, 2] Operation: 7-5=2
Exploring Operation: 4+7=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 44:[5, 11] Operation: 4+7=11
Moving to Node #0,0,1
Current State: 44:[4, 2], Operations: ['52-47=5', '7-5=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[4, 12], Operations: ['52-47=5', '7+5=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[5, 11], Operations: ['52-47=5', '4+7=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,44 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: 44:[47, 4, 45], Operations: ['52-7=45']
Exploring Operation: 47-4=43, Resulting Numbers: [45, 43]
Generated Node #0,2,0: 44:[45, 43] Operation: 47-4=43
Exploring Operation: 47-45=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 44:[4, 2] Operation: 47-45=2
Exploring Operation: 45-4=41, Resulting Numbers: [47, 41]
Generated Node #0,2,2: 44:[47, 41] Operation: 45-4=41
Moving to Node #0,2,1
Current State: 44:[4, 2], Operations: ['52-7=45', '47-45=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[45, 43], Operations: ['52-7=45', '47-4=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[47, 41], Operations: ['52-7=45', '45-4=41']
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 47*41=1927, Resulting Numbers: [1927]
1927,44 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: 44:[47, 7, 13], Operations: ['52/4=13']
Exploring Operation: 47-7=40, Resulting Numbers: [13, 40]
Generated Node #0,1,0: 44:[13, 40] Operation: 47-7=40
Exploring Operation: 13-7=6, Resulting Numbers: [47, 6]
Generated Node #0,1,1: 44:[47, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [47, 20]
Generated Node #0,1,2: 44:[47, 20] Operation: 7+13=20
Moving to Node #0,1,1
Current State: 44:[47, 6], Operations: ['52/4=13', '13-7=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[47, 20], Operations: ['52/4=13', '7+13=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,44 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[13, 40], Operations: ['52/4=13', '47-7=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,44 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 |
[
28,
3,
14,
53
] | 16 | [
"3+53=56",
"56/28=2",
"14+2=16"
] | Current State: 16:[28, 3, 14, 53], Operations: []
Exploring Operation: 3+53=56, Resulting Numbers: [28, 14, 56]
Generated Node #2: [28, 14, 56] from Operation: 3+53=56
Current State: 16:[28, 14, 56], Operations: ['3+53=56']
Exploring Operation: 56/28=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 56/28=2
Current State: 16:[14, 2], Operations: ['3+53=56', '56/28=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[28, 3, 14, 53], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [28, 3, 39]
Generated Node #0,0: 16:[28, 3, 39] Operation: 53-14=39
Exploring Operation: 28/14=2, Resulting Numbers: [3, 53, 2]
Generated Node #0,1: 16:[3, 53, 2] Operation: 28/14=2
Exploring Operation: 28-3=25, Resulting Numbers: [14, 53, 25]
Generated Node #0,2: 16:[14, 53, 25] Operation: 28-3=25
Exploring Operation: 28-14=14, Resulting Numbers: [3, 53, 14]
Generated Node #0,3: 16:[3, 53, 14] Operation: 28-14=14
Exploring Operation: 53-28=25, Resulting Numbers: [3, 14, 25]
Generated Node #0,4: 16:[3, 14, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[3, 14, 25], Operations: ['53-28=25']
Exploring Operation: 14-3=11, Resulting Numbers: [25, 11]
Generated Node #0,4,0: 16:[25, 11] Operation: 14-3=11
Exploring Operation: 25-3=22, Resulting Numbers: [14, 22]
Generated Node #0,4,1: 16:[14, 22] Operation: 25-3=22
Exploring Operation: 3+14=17, Resulting Numbers: [25, 17]
Generated Node #0,4,2: 16:[25, 17] Operation: 3+14=17
Exploring Operation: 25-14=11, Resulting Numbers: [3, 11]
Generated Node #0,4,3: 16:[3, 11] Operation: 25-14=11
Exploring Operation: 3+25=28, Resulting Numbers: [14, 28]
Generated Node #0,4,4: 16:[14, 28] Operation: 3+25=28
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 16:[3, 11], Operations: ['53-28=25', '25-14=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,16 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: 16:[14, 22], Operations: ['53-28=25', '25-3=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,16 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,16 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: 16:[25, 17], Operations: ['53-28=25', '3+14=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,16 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: 16:[25, 11], Operations: ['53-28=25', '14-3=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,16 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,16 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,4
Current State: 16:[14, 28], Operations: ['53-28=25', '3+25=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,16 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,16 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: 16:[28, 3, 39], Operations: ['53-14=39']
Exploring Operation: 28-3=25, Resulting Numbers: [39, 25]
Generated Node #0,0,0: 16:[39, 25] Operation: 28-3=25
Exploring Operation: 28+3=31, Resulting Numbers: [39, 31]
Generated Node #0,0,1: 16:[39, 31] Operation: 28+3=31
Exploring Operation: 39/3=13, Resulting Numbers: [28, 13]
Generated Node #0,0,2: 16:[28, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [28, 36]
Generated Node #0,0,3: 16:[28, 36] Operation: 39-3=36
Exploring Operation: 39-28=11, Resulting Numbers: [3, 11]
Generated Node #0,0,4: 16:[3, 11] Operation: 39-28=11
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 16:[3, 11], Operations: ['53-14=39', '39-28=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,16 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: 16:[28, 13], Operations: ['53-14=39', '39/3=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,16 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,16 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: 16:[39, 25], Operations: ['53-14=39', '28-3=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,16 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: 16:[28, 36], Operations: ['53-14=39', '39-3=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,16 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,16 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: 16:[39, 31], Operations: ['53-14=39', '28+3=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,16 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: 16:[3, 53, 2], Operations: ['28/14=2']
Exploring Operation: 53-2=51, Resulting Numbers: [3, 51]
Generated Node #0,1,0: 16:[3, 51] Operation: 53-2=51
Exploring Operation: 3+2=5, Resulting Numbers: [53, 5]
Generated Node #0,1,1: 16:[53, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [53, 6]
Generated Node #0,1,2: 16:[53, 6] Operation: 3*2=6
Exploring Operation: 53-3=50, Resulting Numbers: [2, 50]
Generated Node #0,1,3: 16:[2, 50] Operation: 53-3=50
Exploring Operation: 3-2=1, Resulting Numbers: [53, 1]
Generated Node #0,1,4: 16:[53, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[2, 50], Operations: ['28/14=2', '53-3=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,16 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: 16:[3, 51], Operations: ['28/14=2', '53-2=51']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,16 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,16 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: 16:[53, 5], Operations: ['28/14=2', '3+2=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,16 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,16 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: 16:[53, 1], Operations: ['28/14=2', '3-2=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,16 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: 16:[53, 6], Operations: ['28/14=2', '3*2=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,16 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: 16:[3, 53, 14], Operations: ['28-14=14']
Exploring Operation: 53-14=39, Resulting Numbers: [3, 39]
Generated Node #0,3,0: 16:[3, 39] Operation: 53-14=39
Exploring Operation: 3+14=17, Resulting Numbers: [53, 17]
Generated Node #0,3,1: 16:[53, 17] Operation: 3+14=17
Exploring Operation: 3+53=56, Resulting Numbers: [14, 56]
Generated Node #0,3,2: 16:[14, 56] Operation: 3+53=56
Exploring Operation: 14-3=11, Resulting Numbers: [53, 11]
Generated Node #0,3,3: 16:[53, 11] Operation: 14-3=11
Exploring Operation: 53-3=50, Resulting Numbers: [14, 50]
Generated Node #0,3,4: 16:[14, 50] Operation: 53-3=50
Moving to Node #0,3,0
Current State: 16:[3, 39], Operations: ['28-14=14', '53-14=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,16 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[14, 50], Operations: ['28-14=14', '53-3=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[53, 17], Operations: ['28-14=14', '3+14=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[53, 11], Operations: ['28-14=14', '14-3=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,16 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[14, 56], Operations: ['28-14=14', '3+53=56']
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,16 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: 16:[14, 53, 25], Operations: ['28-3=25']
Exploring Operation: 25-14=11, Resulting Numbers: [53, 11]
Generated Node #0,2,0: 16:[53, 11] Operation: 25-14=11
Exploring Operation: 53-25=28, Resulting Numbers: [14, 28]
Generated Node #0,2,1: 16:[14, 28] Operation: 53-25=28
Exploring Operation: 53-14=39, Resulting Numbers: [25, 39]
Generated Node #0,2,2: 16:[25, 39] Operation: 53-14=39
Exploring Operation: 14+53=67, Resulting Numbers: [25, 67]
Generated Node #0,2,3: 16:[25, 67] Operation: 14+53=67
Exploring Operation: 14+25=39, Resulting Numbers: [53, 39]
Generated Node #0,2,4: 16:[53, 39] Operation: 14+25=39
Moving to Node #0,2,1
Current State: 16:[14, 28], Operations: ['28-3=25', '53-25=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[25, 39], Operations: ['28-3=25', '53-14=39']
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[53, 11], Operations: ['28-3=25', '25-14=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[25, 67], Operations: ['28-3=25', '14+53=67']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,16 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[53, 39], Operations: ['28-3=25', '14+25=39']
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,16 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
20,
51,
42
] | 30 | [
"20/10=2",
"42/2=21",
"51-21=30"
] | Current State: 30:[10, 20, 51, 42], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [51, 42, 2]
Generated Node #2: [51, 42, 2] from Operation: 20/10=2
Current State: 30:[51, 42, 2], Operations: ['20/10=2']
Exploring Operation: 42/2=21, Resulting Numbers: [51, 21]
Generated Node #3: [51, 21] from Operation: 42/2=21
Current State: 30:[51, 21], Operations: ['20/10=2', '42/2=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 20, 51, 42], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [10, 20, 9]
Generated Node #0,0: 30:[10, 20, 9] Operation: 51-42=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[10, 20, 9], Operations: ['51-42=9']
Exploring Operation: 10+20=30, Resulting Numbers: [9, 30]
Generated Node #0,0,0: 30:[9, 30] Operation: 10+20=30
Moving to Node #0,0,0
Current State: 30:[9, 30], Operations: ['51-42=9', '10+20=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,30 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 |
[
27,
79,
15,
52
] | 39 | [
"27+79=106",
"15+52=67",
"106-67=39"
] | Current State: 39:[27, 79, 15, 52], Operations: []
Exploring Operation: 27+79=106, Resulting Numbers: [15, 52, 106]
Generated Node #2: [15, 52, 106] from Operation: 27+79=106
Current State: 39:[15, 52, 106], Operations: ['27+79=106']
Exploring Operation: 15+52=67, Resulting Numbers: [106, 67]
Generated Node #3: [106, 67] from Operation: 15+52=67
Current State: 39:[106, 67], Operations: ['27+79=106', '15+52=67']
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[27, 79, 15, 52], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [27, 15, 27]
Generated Node #0,0: 39:[27, 15, 27] Operation: 79-52=27
Moving to Node #0,0
Current State: 39:[27, 15, 27], Operations: ['79-52=27']
Exploring Operation: 27/27=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 39:[15, 1] Operation: 27/27=1
Moving to Node #0,0,0
Current State: 39:[15, 1], Operations: ['79-52=27', '27/27=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
38,
30,
56
] | 33 | [
"62-56=6",
"30/6=5",
"38-5=33"
] | Current State: 33:[62, 38, 30, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [38, 30, 6]
Generated Node #2: [38, 30, 6] from Operation: 62-56=6
Current State: 33:[38, 30, 6], Operations: ['62-56=6']
Exploring Operation: 30/6=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 30/6=5
Current State: 33:[38, 5], Operations: ['62-56=6', '30/6=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 38, 30, 56], Operations: []
Exploring Operation: 56-30=26, Resulting Numbers: [62, 38, 26]
Generated Node #0,0: 33:[62, 38, 26] Operation: 56-30=26
Exploring Operation: 62-56=6, Resulting Numbers: [38, 30, 6]
Generated Node #0,1: 33:[38, 30, 6] Operation: 62-56=6
Exploring Operation: 56-38=18, Resulting Numbers: [62, 30, 18]
Generated Node #0,2: 33:[62, 30, 18] Operation: 56-38=18
Exploring Operation: 62-30=32, Resulting Numbers: [38, 56, 32]
Generated Node #0,3: 33:[38, 56, 32] Operation: 62-30=32
Exploring Operation: 62-38=24, Resulting Numbers: [30, 56, 24]
Generated Node #0,4: 33:[30, 56, 24] Operation: 62-38=24
Moving to Node #0,1
Current State: 33:[38, 30, 6], Operations: ['62-56=6']
Exploring Operation: 38-6=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 33:[30, 32] Operation: 38-6=32
Exploring Operation: 38-30=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 33:[6, 8] Operation: 38-30=8
Exploring Operation: 30/6=5, Resulting Numbers: [38, 5]
Generated Node #0,1,2: 33:[38, 5] Operation: 30/6=5
Exploring Operation: 38+6=44, Resulting Numbers: [30, 44]
Generated Node #0,1,3: 33:[30, 44] Operation: 38+6=44
Exploring Operation: 30+6=36, Resulting Numbers: [38, 36]
Generated Node #0,1,4: 33:[38, 36] Operation: 30+6=36
Moving to Node #0,3
Current State: 33:[38, 56, 32], Operations: ['62-30=32']
Exploring Operation: 56+32=88, Resulting Numbers: [38, 88]
Generated Node #0,3,0: 33:[38, 88] Operation: 56+32=88
Exploring Operation: 38+32=70, Resulting Numbers: [56, 70]
Generated Node #0,3,1: 33:[56, 70] Operation: 38+32=70
Exploring Operation: 56-38=18, Resulting Numbers: [32, 18]
Generated Node #0,3,2: 33:[32, 18] Operation: 56-38=18
Exploring Operation: 38-32=6, Resulting Numbers: [56, 6]
Generated Node #0,3,3: 33:[56, 6] Operation: 38-32=6
Exploring Operation: 56-32=24, Resulting Numbers: [38, 24]
Generated Node #0,3,4: 33:[38, 24] Operation: 56-32=24
Moving to Node #0,4
Current State: 33:[30, 56, 24], Operations: ['62-38=24']
Exploring Operation: 30+24=54, Resulting Numbers: [56, 54]
Generated Node #0,4,0: 33:[56, 54] Operation: 30+24=54
Exploring Operation: 56+24=80, Resulting Numbers: [30, 80]
Generated Node #0,4,1: 33:[30, 80] Operation: 56+24=80
Exploring Operation: 30-24=6, Resulting Numbers: [56, 6]
Generated Node #0,4,2: 33:[56, 6] Operation: 30-24=6
Exploring Operation: 56-24=32, Resulting Numbers: [30, 32]
Generated Node #0,4,3: 33:[30, 32] Operation: 56-24=32
Exploring Operation: 56-30=26, Resulting Numbers: [24, 26]
Generated Node #0,4,4: 33:[24, 26] Operation: 56-30=26
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 33:[30, 32], Operations: ['62-38=24', '56-24=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,33 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,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,4,4
Current State: 33:[24, 26], Operations: ['62-38=24', '56-30=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,33 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,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,4,2
Current State: 33:[56, 6], Operations: ['62-38=24', '30-24=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,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,4,0
Current State: 33:[56, 54], Operations: ['62-38=24', '30+24=54']
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,33 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,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,4,1
Current State: 33:[30, 80], Operations: ['62-38=24', '56+24=80']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,33 unequal: No Solution
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,33 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: 33:[62, 30, 18], Operations: ['56-38=18']
Exploring Operation: 62-18=44, Resulting Numbers: [30, 44]
Generated Node #0,2,0: 33:[30, 44] Operation: 62-18=44
Exploring Operation: 62-30=32, Resulting Numbers: [18, 32]
Generated Node #0,2,1: 33:[18, 32] Operation: 62-30=32
Exploring Operation: 30-18=12, Resulting Numbers: [62, 12]
Generated Node #0,2,2: 33:[62, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [62, 48]
Generated Node #0,2,3: 33:[62, 48] Operation: 30+18=48
Exploring Operation: 62+18=80, Resulting Numbers: [30, 80]
Generated Node #0,2,4: 33:[30, 80] Operation: 62+18=80
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[18, 32], Operations: ['56-38=18', '62-30=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,33 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,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,2,0
Current State: 33:[30, 44], Operations: ['56-38=18', '62-18=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,33 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,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,2,2
Current State: 33:[62, 12], Operations: ['56-38=18', '30-18=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,33 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,33 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,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,2,3
Current State: 33:[62, 48], Operations: ['56-38=18', '30+18=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,33 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,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,2,4
Current State: 33:[30, 80], Operations: ['56-38=18', '62+18=80']
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,33 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: 33:[62, 38, 26], Operations: ['56-30=26']
Exploring Operation: 62+26=88, Resulting Numbers: [38, 88]
Generated Node #0,0,0: 33:[38, 88] Operation: 62+26=88
Exploring Operation: 62-26=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 33:[38, 36] Operation: 62-26=36
Exploring Operation: 38+26=64, Resulting Numbers: [62, 64]
Generated Node #0,0,2: 33:[62, 64] Operation: 38+26=64
Exploring Operation: 62-38=24, Resulting Numbers: [26, 24]
Generated Node #0,0,3: 33:[26, 24] Operation: 62-38=24
Exploring Operation: 38-26=12, Resulting Numbers: [62, 12]
Generated Node #0,0,4: 33:[62, 12] Operation: 38-26=12
Moving to Node #0,1,0
Current State: 33:[30, 32], Operations: ['62-56=6', '38-6=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[6, 8], Operations: ['62-56=6', '38-30=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[38, 5], Operations: ['62-56=6', '30/6=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[62, 38, 30, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [38, 30, 6]
Generated Node #0,1: 33:[38, 30, 6] Operation: 62-56=6
Moving to Node #0,1
Current State: 33:[38, 30, 6], Operations: ['62-56=6']
Exploring Operation: 30/6=5, Resulting Numbers: [38, 5]
Generated Node #0,1,2: 33:[38, 5] Operation: 30/6=5
Moving to Node #0,1,2
Current State: 33:[38, 5], Operations: ['62-56=6', '30/6=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
20,
44,
33,
72
] | 99 | [
"44-20=24",
"33*72=2376",
"2376/24=99"
] | Current State: 99:[20, 44, 33, 72], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [33, 72, 24]
Generated Node #2: [33, 72, 24] from Operation: 44-20=24
Current State: 99:[33, 72, 24], Operations: ['44-20=24']
Exploring Operation: 33*72=2376, Resulting Numbers: [24, 2376]
Generated Node #3: [24, 2376] from Operation: 33*72=2376
Current State: 99:[24, 2376], Operations: ['44-20=24', '33*72=2376']
Exploring Operation: 2376/24=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[20, 44, 33, 72], Operations: []
Exploring Operation: 20+72=92, Resulting Numbers: [44, 33, 92]
Generated Node #0,0: 99:[44, 33, 92] Operation: 20+72=92
Exploring Operation: 72-44=28, Resulting Numbers: [20, 33, 28]
Generated Node #0,1: 99:[20, 33, 28] Operation: 72-44=28
Moving to Node #0,1
Current State: 99:[20, 33, 28], Operations: ['72-44=28']
Exploring Operation: 33-20=13, Resulting Numbers: [28, 13]
Generated Node #0,1,0: 99:[28, 13] Operation: 33-20=13
Exploring Operation: 28-20=8, Resulting Numbers: [33, 8]
Generated Node #0,1,1: 99:[33, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[33, 8], Operations: ['72-44=28', '28-20=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,99 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: 99:[28, 13], Operations: ['72-44=28', '33-20=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,99 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: 99:[44, 33, 92], Operations: ['20+72=92']
Exploring Operation: 44-33=11, Resulting Numbers: [92, 11]
Generated Node #0,0,0: 99:[92, 11] Operation: 44-33=11
Exploring Operation: 92-44=48, Resulting Numbers: [33, 48]
Generated Node #0,0,1: 99:[33, 48] Operation: 92-44=48
Moving to Node #0,0,0
Current State: 99:[92, 11], Operations: ['20+72=92', '44-33=11']
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[33, 48], Operations: ['20+72=92', '92-44=48']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
83,
1,
25
] | 51 | [
"83-57=26",
"1*25=25",
"26+25=51"
] | Current State: 51:[57, 83, 1, 25], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [1, 25, 26]
Generated Node #2: [1, 25, 26] from Operation: 83-57=26
Current State: 51:[1, 25, 26], Operations: ['83-57=26']
Exploring Operation: 1*25=25, Resulting Numbers: [26, 25]
Generated Node #3: [26, 25] from Operation: 1*25=25
Current State: 51:[26, 25], Operations: ['83-57=26', '1*25=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[57, 83, 1, 25], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [57, 25, 82]
Generated Node #0,0: 51:[57, 25, 82] Operation: 83-1=82
Exploring Operation: 83-57=26, Resulting Numbers: [1, 25, 26]
Generated Node #0,1: 51:[1, 25, 26] Operation: 83-57=26
Exploring Operation: 83-25=58, Resulting Numbers: [57, 1, 58]
Generated Node #0,2: 51:[57, 1, 58] Operation: 83-25=58
Exploring Operation: 57-1=56, Resulting Numbers: [83, 25, 56]
Generated Node #0,3: 51:[83, 25, 56] Operation: 57-1=56
Moving to Node #0,2
Current State: 51:[57, 1, 58], Operations: ['83-25=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57, 57]
Generated Node #0,2,0: 51:[57, 57] Operation: 58-1=57
Exploring Operation: 57*1=57, Resulting Numbers: [58, 57]
Generated Node #0,2,1: 51:[58, 57] Operation: 57*1=57
Exploring Operation: 57-1=56, Resulting Numbers: [58, 56]
Generated Node #0,2,2: 51:[58, 56] Operation: 57-1=56
Exploring Operation: 58-57=1, Resulting Numbers: [1, 1]
Generated Node #0,2,3: 51:[1, 1] Operation: 58-57=1
Moving to Node #0,1
Current State: 51:[1, 25, 26], Operations: ['83-57=26']
Exploring Operation: 25+26=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 51:[1, 51] Operation: 25+26=51
Exploring Operation: 25-1=24, Resulting Numbers: [26, 24]
Generated Node #0,1,1: 51:[26, 24] Operation: 25-1=24
Exploring Operation: 26-1=25, Resulting Numbers: [25, 25]
Generated Node #0,1,2: 51:[25, 25] Operation: 26-1=25
Exploring Operation: 26-25=1, Resulting Numbers: [1, 1]
Generated Node #0,1,3: 51:[1, 1] Operation: 26-25=1
Moving to Node #0,3
Current State: 51:[83, 25, 56], Operations: ['57-1=56']
Exploring Operation: 83+25=108, Resulting Numbers: [56, 108]
Generated Node #0,3,0: 51:[56, 108] Operation: 83+25=108
Exploring Operation: 83-25=58, Resulting Numbers: [56, 58]
Generated Node #0,3,1: 51:[56, 58] Operation: 83-25=58
Exploring Operation: 56-25=31, Resulting Numbers: [83, 31]
Generated Node #0,3,2: 51:[83, 31] Operation: 56-25=31
Exploring Operation: 83-56=27, Resulting Numbers: [25, 27]
Generated Node #0,3,3: 51:[25, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 51:[57, 25, 82], Operations: ['83-1=82']
Exploring Operation: 57-25=32, Resulting Numbers: [82, 32]
Generated Node #0,0,0: 51:[82, 32] Operation: 57-25=32
Exploring Operation: 82-57=25, Resulting Numbers: [25, 25]
Generated Node #0,0,1: 51:[25, 25] Operation: 82-57=25
Exploring Operation: 82-25=57, Resulting Numbers: [57, 57]
Generated Node #0,0,2: 51:[57, 57] Operation: 82-25=57
Exploring Operation: 57+25=82, Resulting Numbers: [82, 82]
Generated Node #0,0,3: 51:[82, 82] Operation: 57+25=82
Moving to Node #0,1,0
Current State: 51:[1, 51], Operations: ['83-57=26', '25+26=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[57, 83, 1, 25], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [1, 25, 26]
Generated Node #0,1: 51:[1, 25, 26] Operation: 83-57=26
Moving to Node #0,1
Current State: 51:[1, 25, 26], Operations: ['83-57=26']
Exploring Operation: 25+26=51, Resulting Numbers: [1, 51]
Generated Node #0,1,0: 51:[1, 51] Operation: 25+26=51
Moving to Node #0,1,0
Current State: 51:[1, 51], Operations: ['83-57=26', '25+26=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
2,
50,
95,
9
] | 68 | [
"50+95=145",
"145-9=136",
"136/2=68"
] | Current State: 68:[2, 50, 95, 9], Operations: []
Exploring Operation: 50+95=145, Resulting Numbers: [2, 9, 145]
Generated Node #2: [2, 9, 145] from Operation: 50+95=145
Current State: 68:[2, 9, 145], Operations: ['50+95=145']
Exploring Operation: 145-9=136, Resulting Numbers: [2, 136]
Generated Node #3: [2, 136] from Operation: 145-9=136
Current State: 68:[2, 136], Operations: ['50+95=145', '145-9=136']
Exploring Operation: 136/2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 50, 95, 9], Operations: []
Exploring Operation: 50+9=59, Resulting Numbers: [2, 95, 59]
Generated Node #0,0: 68:[2, 95, 59] Operation: 50+9=59
Exploring Operation: 95-9=86, Resulting Numbers: [2, 50, 86]
Generated Node #0,1: 68:[2, 50, 86] Operation: 95-9=86
Exploring Operation: 95-50=45, Resulting Numbers: [2, 9, 45]
Generated Node #0,2: 68:[2, 9, 45] Operation: 95-50=45
Exploring Operation: 50-9=41, Resulting Numbers: [2, 95, 41]
Generated Node #0,3: 68:[2, 95, 41] Operation: 50-9=41
Moving to Node #0,2
Current State: 68:[2, 9, 45], Operations: ['95-50=45']
Exploring Operation: 9-2=7, Resulting Numbers: [45, 7]
Generated Node #0,2,0: 68:[45, 7] Operation: 9-2=7
Exploring Operation: 45-9=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 68:[2, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 68:[2, 5] Operation: 45/9=5
Exploring Operation: 2*9=18, Resulting Numbers: [45, 18]
Generated Node #0,2,3: 68:[45, 18] Operation: 2*9=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[2, 5], Operations: ['95-50=45', '45/9=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,68 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: 68:[2, 36], Operations: ['95-50=45', '45-9=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,68 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: 68:[45, 18], Operations: ['95-50=45', '2*9=18']
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,68 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,68 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: 68:[45, 7], Operations: ['95-50=45', '9-2=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,68 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,68 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: 68:[2, 95, 41], Operations: ['50-9=41']
Exploring Operation: 2+95=97, Resulting Numbers: [41, 97]
Generated Node #0,3,0: 68:[41, 97] Operation: 2+95=97
Exploring Operation: 41-2=39, Resulting Numbers: [95, 39]
Generated Node #0,3,1: 68:[95, 39] Operation: 41-2=39
Exploring Operation: 95-2=93, Resulting Numbers: [41, 93]
Generated Node #0,3,2: 68:[41, 93] Operation: 95-2=93
Exploring Operation: 95-41=54, Resulting Numbers: [2, 54]
Generated Node #0,3,3: 68:[2, 54] Operation: 95-41=54
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[2, 54], Operations: ['50-9=41', '95-41=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,68 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: 68:[95, 39], Operations: ['50-9=41', '41-2=39']
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,68 unequal: No Solution
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,68 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: 68:[41, 93], Operations: ['50-9=41', '95-2=93']
Exploring Operation: 41+93=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 41*93=3813, Resulting Numbers: [3813]
3813,68 unequal: No Solution
Exploring Operation: 93-41=52, Resulting Numbers: [52]
52,68 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: 68:[41, 97], Operations: ['50-9=41', '2+95=97']
Exploring Operation: 41+97=138, Resulting Numbers: [138]
138,68 unequal: No Solution
Exploring Operation: 41*97=3977, Resulting Numbers: [3977]
3977,68 unequal: No Solution
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,68 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: 68:[2, 50, 86], Operations: ['95-9=86']
Exploring Operation: 50-2=48, Resulting Numbers: [86, 48]
Generated Node #0,1,0: 68:[86, 48] Operation: 50-2=48
Exploring Operation: 86-50=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 68:[2, 36] Operation: 86-50=36
Exploring Operation: 50/2=25, Resulting Numbers: [86, 25]
Generated Node #0,1,2: 68:[86, 25] Operation: 50/2=25
Exploring Operation: 86/2=43, Resulting Numbers: [50, 43]
Generated Node #0,1,3: 68:[50, 43] Operation: 86/2=43
Moving to Node #0,0
Current State: 68:[2, 95, 59], Operations: ['50+9=59']
Exploring Operation: 2+59=61, Resulting Numbers: [95, 61]
Generated Node #0,0,0: 68:[95, 61] Operation: 2+59=61
Exploring Operation: 95-59=36, Resulting Numbers: [2, 36]
Generated Node #0,0,1: 68:[2, 36] Operation: 95-59=36
Exploring Operation: 95-2=93, Resulting Numbers: [59, 93]
Generated Node #0,0,2: 68:[59, 93] Operation: 95-2=93
Exploring Operation: 2+95=97, Resulting Numbers: [59, 97]
Generated Node #0,0,3: 68:[59, 97] Operation: 2+95=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[2, 36], Operations: ['50+9=59', '95-59=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,68 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: 68:[95, 61], Operations: ['50+9=59', '2+59=61']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 95+61=156, Resulting Numbers: [156]
156,68 unequal: No Solution
Exploring Operation: 95*61=5795, Resulting Numbers: [5795]
5795,68 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: 68:[59, 93], Operations: ['50+9=59', '95-2=93']
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 59*93=5487, Resulting Numbers: [5487]
5487,68 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,68 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: 68:[59, 97], Operations: ['50+9=59', '2+95=97']
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,68 unequal: No Solution
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,68 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: 68:[2, 36], Operations: ['95-9=86', '86-50=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[50, 43], Operations: ['95-9=86', '86/2=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,68 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[86, 25], Operations: ['95-9=86', '50/2=25']
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[86, 48], Operations: ['95-9=86', '50-2=48']
Exploring Operation: 86*48=4128, Resulting Numbers: [4128]
4128,68 unequal: No Solution
Exploring Operation: 86+48=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
22,
17,
14
] | 88 | [
"17-7=10",
"14-10=4",
"22*4=88"
] | Current State: 88:[7, 22, 17, 14], Operations: []
Exploring Operation: 17-7=10, Resulting Numbers: [22, 14, 10]
Generated Node #2: [22, 14, 10] from Operation: 17-7=10
Current State: 88:[22, 14, 10], Operations: ['17-7=10']
Exploring Operation: 14-10=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 14-10=4
Current State: 88:[22, 4], Operations: ['17-7=10', '14-10=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 22, 17, 14], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [7, 22, 3]
Generated Node #0,0: 88:[7, 22, 3] Operation: 17-14=3
Exploring Operation: 7+17=24, Resulting Numbers: [22, 14, 24]
Generated Node #0,1: 88:[22, 14, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [22, 14, 10]
Generated Node #0,2: 88:[22, 14, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[7, 22, 3], Operations: ['17-14=3']
Exploring Operation: 7+3=10, Resulting Numbers: [22, 10]
Generated Node #0,0,0: 88:[22, 10] Operation: 7+3=10
Exploring Operation: 7-3=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 88:[22, 4] Operation: 7-3=4
Exploring Operation: 7*3=21, Resulting Numbers: [22, 21]
Generated Node #0,0,2: 88:[22, 21] Operation: 7*3=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[22, 4], Operations: ['17-14=3', '7-3=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[7, 22, 17, 14], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [7, 22, 3]
Generated Node #0,0: 88:[7, 22, 3] Operation: 17-14=3
Moving to Node #0,0
Current State: 88:[7, 22, 3], Operations: ['17-14=3']
Exploring Operation: 7-3=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 88:[22, 4] Operation: 7-3=4
Moving to Node #0,0,1
Current State: 88:[22, 4], Operations: ['17-14=3', '7-3=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
71,
35,
44,
63
] | 64 | [
"44-35=9",
"63/9=7",
"71-7=64"
] | Current State: 64:[71, 35, 44, 63], Operations: []
Exploring Operation: 44-35=9, Resulting Numbers: [71, 63, 9]
Generated Node #2: [71, 63, 9] from Operation: 44-35=9
Current State: 64:[71, 63, 9], Operations: ['44-35=9']
Exploring Operation: 63/9=7, Resulting Numbers: [71, 7]
Generated Node #3: [71, 7] from Operation: 63/9=7
Current State: 64:[71, 7], Operations: ['44-35=9', '63/9=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[71, 35, 44, 63], Operations: []
Exploring Operation: 44-35=9, Resulting Numbers: [71, 63, 9]
Generated Node #0,0: 64:[71, 63, 9] Operation: 44-35=9
Exploring Operation: 71-44=27, Resulting Numbers: [35, 63, 27]
Generated Node #0,1: 64:[35, 63, 27] Operation: 71-44=27
Moving to Node #0,0
Current State: 64:[71, 63, 9], Operations: ['44-35=9']
Exploring Operation: 71-63=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 64:[9, 8] Operation: 71-63=8
Exploring Operation: 71-9=62, Resulting Numbers: [63, 62]
Generated Node #0,0,1: 64:[63, 62] Operation: 71-9=62
Moving to Node #0,1
Current State: 64:[35, 63, 27], Operations: ['71-44=27']
Exploring Operation: 35-27=8, Resulting Numbers: [63, 8]
Generated Node #0,1,0: 64:[63, 8] Operation: 35-27=8
Exploring Operation: 35+27=62, Resulting Numbers: [63, 62]
Generated Node #0,1,1: 64:[63, 62] Operation: 35+27=62
Moving to Node #0,0,0
Current State: 64:[9, 8], Operations: ['44-35=9', '71-63=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[63, 8], Operations: ['71-44=27', '35-27=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[63, 62], Operations: ['44-35=9', '71-9=62']
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[63, 62], Operations: ['71-44=27', '35+27=62']
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
69,
92,
52
] | 28 | [
"73-52=21",
"92*21=1932",
"1932/69=28"
] | Current State: 28:[73, 69, 92, 52], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [69, 92, 21]
Generated Node #2: [69, 92, 21] from Operation: 73-52=21
Current State: 28:[69, 92, 21], Operations: ['73-52=21']
Exploring Operation: 92*21=1932, Resulting Numbers: [69, 1932]
Generated Node #3: [69, 1932] from Operation: 92*21=1932
Current State: 28:[69, 1932], Operations: ['73-52=21', '92*21=1932']
Exploring Operation: 1932/69=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[73, 69, 92, 52], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [73, 52, 23]
Generated Node #0,0: 28:[73, 52, 23] Operation: 92-69=23
Exploring Operation: 73-69=4, Resulting Numbers: [92, 52, 4]
Generated Node #0,1: 28:[92, 52, 4] Operation: 73-69=4
Exploring Operation: 92-73=19, Resulting Numbers: [69, 52, 19]
Generated Node #0,2: 28:[69, 52, 19] Operation: 92-73=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[69, 52, 19], Operations: ['92-73=19']
Exploring Operation: 69-19=50, Resulting Numbers: [52, 50]
Generated Node #0,2,0: 28:[52, 50] Operation: 69-19=50
Exploring Operation: 69-52=17, Resulting Numbers: [19, 17]
Generated Node #0,2,1: 28:[19, 17] Operation: 69-52=17
Exploring Operation: 52-19=33, Resulting Numbers: [69, 33]
Generated Node #0,2,2: 28:[69, 33] Operation: 52-19=33
Moving to Node #0,2,1
Current State: 28:[19, 17], Operations: ['92-73=19', '69-52=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[52, 50], Operations: ['92-73=19', '69-19=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[69, 33], Operations: ['92-73=19', '52-19=33']
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,28 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,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,0
Current State: 28:[73, 52, 23], Operations: ['92-69=23']
Exploring Operation: 73-23=50, Resulting Numbers: [52, 50]
Generated Node #0,0,0: 28:[52, 50] Operation: 73-23=50
Exploring Operation: 52-23=29, Resulting Numbers: [73, 29]
Generated Node #0,0,1: 28:[73, 29] Operation: 52-23=29
Exploring Operation: 73-52=21, Resulting Numbers: [23, 21]
Generated Node #0,0,2: 28:[23, 21] Operation: 73-52=21
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[23, 21], Operations: ['92-69=23', '73-52=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,28 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,28 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: 28:[52, 50], Operations: ['92-69=23', '73-23=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,28 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: 28:[73, 29], Operations: ['92-69=23', '52-23=29']
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,28 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,28 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: 28:[92, 52, 4], Operations: ['73-69=4']
Exploring Operation: 52/4=13, Resulting Numbers: [92, 13]
Generated Node #0,1,0: 28:[92, 13] Operation: 52/4=13
Exploring Operation: 92-52=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 28:[4, 40] Operation: 92-52=40
Exploring Operation: 92/4=23, Resulting Numbers: [52, 23]
Generated Node #0,1,2: 28:[52, 23] Operation: 92/4=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[4, 40], Operations: ['73-69=4', '92-52=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,28 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: 28:[52, 23], Operations: ['73-69=4', '92/4=23']
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,28 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: 28:[92, 13], Operations: ['73-69=4', '52/4=13']
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,28 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 | mult_heuristic |
[
58,
40,
70,
60
] | 55 | [
"60-58=2",
"40+70=110",
"110/2=55"
] | Current State: 55:[58, 40, 70, 60], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [40, 70, 2]
Generated Node #2: [40, 70, 2] from Operation: 60-58=2
Current State: 55:[40, 70, 2], Operations: ['60-58=2']
Exploring Operation: 40+70=110, Resulting Numbers: [2, 110]
Generated Node #3: [2, 110] from Operation: 40+70=110
Current State: 55:[2, 110], Operations: ['60-58=2', '40+70=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[58, 40, 70, 60], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [40, 60, 12]
Generated Node #0,0: 55:[40, 60, 12] Operation: 70-58=12
Exploring Operation: 70-60=10, Resulting Numbers: [58, 40, 10]
Generated Node #0,1: 55:[58, 40, 10] Operation: 70-60=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[58, 40, 10], Operations: ['70-60=10']
Exploring Operation: 58-40=18, Resulting Numbers: [10, 18]
Generated Node #0,1,0: 55:[10, 18] Operation: 58-40=18
Exploring Operation: 40/10=4, Resulting Numbers: [58, 4]
Generated Node #0,1,1: 55:[58, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[58, 4], Operations: ['70-60=10', '40/10=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,55 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: 55:[10, 18], Operations: ['70-60=10', '58-40=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,55 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: 55:[40, 60, 12], Operations: ['70-58=12']
Exploring Operation: 60-40=20, Resulting Numbers: [12, 20]
Generated Node #0,0,0: 55:[12, 20] Operation: 60-40=20
Exploring Operation: 40+12=52, Resulting Numbers: [60, 52]
Generated Node #0,0,1: 55:[60, 52] Operation: 40+12=52
Moving to Node #0,0,1
Current State: 55:[60, 52], Operations: ['70-58=12', '40+12=52']
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,55 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[12, 20], Operations: ['70-58=12', '60-40=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,55 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 |
[
71,
1,
96,
65
] | 40 | [
"71*1=71",
"96-65=31",
"71-31=40"
] | Current State: 40:[71, 1, 96, 65], Operations: []
Exploring Operation: 71*1=71, Resulting Numbers: [96, 65, 71]
Generated Node #2: [96, 65, 71] from Operation: 71*1=71
Current State: 40:[96, 65, 71], Operations: ['71*1=71']
Exploring Operation: 96-65=31, Resulting Numbers: [71, 31]
Generated Node #3: [71, 31] from Operation: 96-65=31
Current State: 40:[71, 31], Operations: ['71*1=71', '96-65=31']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[71, 1, 96, 65], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [71, 1, 31]
Generated Node #0,0: 40:[71, 1, 31] Operation: 96-65=31
Exploring Operation: 96-71=25, Resulting Numbers: [1, 65, 25]
Generated Node #0,1: 40:[1, 65, 25] Operation: 96-71=25
Exploring Operation: 71-65=6, Resulting Numbers: [1, 96, 6]
Generated Node #0,2: 40:[1, 96, 6] Operation: 71-65=6
Moving to Node #0,1
Current State: 40:[1, 65, 25], Operations: ['96-71=25']
Exploring Operation: 65-1=64, Resulting Numbers: [25, 64]
Generated Node #0,1,0: 40:[25, 64] Operation: 65-1=64
Exploring Operation: 65-25=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 40:[1, 40] Operation: 65-25=40
Exploring Operation: 25-1=24, Resulting Numbers: [65, 24]
Generated Node #0,1,2: 40:[65, 24] Operation: 25-1=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[1, 40], Operations: ['96-71=25', '65-25=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[71, 1, 96, 65], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [1, 65, 25]
Generated Node #0,1: 40:[1, 65, 25] Operation: 96-71=25
Moving to Node #0,1
Current State: 40:[1, 65, 25], Operations: ['96-71=25']
Exploring Operation: 65-25=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 40:[1, 40] Operation: 65-25=40
Moving to Node #0,1,1
Current State: 40:[1, 40], Operations: ['96-71=25', '65-25=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
85,
31,
79,
55
] | 92 | [
"85+31=116",
"79-55=24",
"116-24=92"
] | Current State: 92:[85, 31, 79, 55], Operations: []
Exploring Operation: 85+31=116, Resulting Numbers: [79, 55, 116]
Generated Node #2: [79, 55, 116] from Operation: 85+31=116
Current State: 92:[79, 55, 116], Operations: ['85+31=116']
Exploring Operation: 79-55=24, Resulting Numbers: [116, 24]
Generated Node #3: [116, 24] from Operation: 79-55=24
Current State: 92:[116, 24], Operations: ['85+31=116', '79-55=24']
Exploring Operation: 116-24=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[85, 31, 79, 55], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [85, 31, 24]
Generated Node #0,0: 92:[85, 31, 24] Operation: 79-55=24
Moving to Node #0,0
Current State: 92:[85, 31, 24], Operations: ['79-55=24']
Exploring Operation: 85-31=54, Resulting Numbers: [24, 54]
Generated Node #0,0,0: 92:[24, 54] Operation: 85-31=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[24, 54], Operations: ['79-55=24', '85-31=54']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,92 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 |
[
68,
44,
12,
85
] | 97 | [
"68-44=24",
"85-12=73",
"24+73=97"
] | Current State: 97:[68, 44, 12, 85], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [12, 85, 24]
Generated Node #2: [12, 85, 24] from Operation: 68-44=24
Current State: 97:[12, 85, 24], Operations: ['68-44=24']
Exploring Operation: 85-12=73, Resulting Numbers: [24, 73]
Generated Node #3: [24, 73] from Operation: 85-12=73
Current State: 97:[24, 73], Operations: ['68-44=24', '85-12=73']
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[68, 44, 12, 85], Operations: []
Exploring Operation: 44+12=56, Resulting Numbers: [68, 85, 56]
Generated Node #0,0: 97:[68, 85, 56] Operation: 44+12=56
Exploring Operation: 12+85=97, Resulting Numbers: [68, 44, 97]
Generated Node #0,1: 97:[68, 44, 97] Operation: 12+85=97
Exploring Operation: 68+12=80, Resulting Numbers: [44, 85, 80]
Generated Node #0,2: 97:[44, 85, 80] Operation: 68+12=80
Moving to Node #0,0
Current State: 97:[68, 85, 56], Operations: ['44+12=56']
Exploring Operation: 68+85=153, Resulting Numbers: [56, 153]
Generated Node #0,0,0: 97:[56, 153] Operation: 68+85=153
Exploring Operation: 68+56=124, Resulting Numbers: [85, 124]
Generated Node #0,0,1: 97:[85, 124] Operation: 68+56=124
Exploring Operation: 85+56=141, Resulting Numbers: [68, 141]
Generated Node #0,0,2: 97:[68, 141] Operation: 85+56=141
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[85, 124], Operations: ['44+12=56', '68+56=124']
Exploring Operation: 85+124=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 85*124=10540, Resulting Numbers: [10540]
10540,97 unequal: No Solution
Exploring Operation: 124-85=39, Resulting Numbers: [39]
39,97 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: 97:[68, 141], Operations: ['44+12=56', '85+56=141']
Exploring Operation: 68*141=9588, Resulting Numbers: [9588]
9588,97 unequal: No Solution
Exploring Operation: 68+141=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 141-68=73, Resulting Numbers: [73]
73,97 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: 97:[56, 153], Operations: ['44+12=56', '68+85=153']
Exploring Operation: 56*153=8568, Resulting Numbers: [8568]
8568,97 unequal: No Solution
Exploring Operation: 153-56=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[68, 44, 12, 85], Operations: []
Exploring Operation: 44+12=56, Resulting Numbers: [68, 85, 56]
Generated Node #0,0: 97:[68, 85, 56] Operation: 44+12=56
Moving to Node #0,0
Current State: 97:[68, 85, 56], Operations: ['44+12=56']
Exploring Operation: 68+85=153, Resulting Numbers: [56, 153]
Generated Node #0,0,0: 97:[56, 153] Operation: 68+85=153
Moving to Node #0,0,0
Current State: 97:[56, 153], Operations: ['44+12=56', '68+85=153']
Exploring Operation: 153-56=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
54,
85,
16,
25
] | 91 | [
"25-16=9",
"54/9=6",
"85+6=91"
] | Current State: 91:[54, 85, 16, 25], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [54, 85, 9]
Generated Node #2: [54, 85, 9] from Operation: 25-16=9
Current State: 91:[54, 85, 9], Operations: ['25-16=9']
Exploring Operation: 54/9=6, Resulting Numbers: [85, 6]
Generated Node #3: [85, 6] from Operation: 54/9=6
Current State: 91:[85, 6], Operations: ['25-16=9', '54/9=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[54, 85, 16, 25], Operations: []
Exploring Operation: 54+16=70, Resulting Numbers: [85, 25, 70]
Generated Node #0,0: 91:[85, 25, 70] Operation: 54+16=70
Exploring Operation: 54+25=79, Resulting Numbers: [85, 16, 79]
Generated Node #0,1: 91:[85, 16, 79] Operation: 54+25=79
Exploring Operation: 54-25=29, Resulting Numbers: [85, 16, 29]
Generated Node #0,2: 91:[85, 16, 29] Operation: 54-25=29
Exploring Operation: 85-54=31, Resulting Numbers: [16, 25, 31]
Generated Node #0,3: 91:[16, 25, 31] Operation: 85-54=31
Exploring Operation: 54-16=38, Resulting Numbers: [85, 25, 38]
Generated Node #0,4: 91:[85, 25, 38] Operation: 54-16=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[85, 16, 79], Operations: ['54+25=79']
Exploring Operation: 16+79=95, Resulting Numbers: [85, 95]
Generated Node #0,1,0: 91:[85, 95] Operation: 16+79=95
Exploring Operation: 85-16=69, Resulting Numbers: [79, 69]
Generated Node #0,1,1: 91:[79, 69] Operation: 85-16=69
Exploring Operation: 79-16=63, Resulting Numbers: [85, 63]
Generated Node #0,1,2: 91:[85, 63] Operation: 79-16=63
Exploring Operation: 85-79=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 91:[16, 6] Operation: 85-79=6
Exploring Operation: 85+16=101, Resulting Numbers: [79, 101]
Generated Node #0,1,4: 91:[79, 101] Operation: 85+16=101
Moving to Node #0,1,3
Current State: 91:[16, 6], Operations: ['54+25=79', '85-79=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[85, 95], Operations: ['54+25=79', '16+79=95']
Exploring Operation: 85*95=8075, Resulting Numbers: [8075]
8075,91 unequal: No Solution
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 85+95=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[79, 101], Operations: ['54+25=79', '85+16=101']
Exploring Operation: 79+101=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 101-79=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 79*101=7979, Resulting Numbers: [7979]
7979,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[79, 69], Operations: ['54+25=79', '85-16=69']
Exploring Operation: 79*69=5451, Resulting Numbers: [5451]
5451,91 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 79+69=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[85, 63], Operations: ['54+25=79', '79-16=63']
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,91 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,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,2
Current State: 91:[85, 16, 29], Operations: ['54-25=29']
Exploring Operation: 85+29=114, Resulting Numbers: [16, 114]
Generated Node #0,2,0: 91:[16, 114] Operation: 85+29=114
Exploring Operation: 85-29=56, Resulting Numbers: [16, 56]
Generated Node #0,2,1: 91:[16, 56] Operation: 85-29=56
Exploring Operation: 85+16=101, Resulting Numbers: [29, 101]
Generated Node #0,2,2: 91:[29, 101] Operation: 85+16=101
Exploring Operation: 85-16=69, Resulting Numbers: [29, 69]
Generated Node #0,2,3: 91:[29, 69] Operation: 85-16=69
Exploring Operation: 29-16=13, Resulting Numbers: [85, 13]
Generated Node #0,2,4: 91:[85, 13] Operation: 29-16=13
Moving to Node #0,2,4
Current State: 91:[85, 13], Operations: ['54-25=29', '29-16=13']
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,91 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[29, 101], Operations: ['54-25=29', '85+16=101']
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,91 unequal: No Solution
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[16, 114], Operations: ['54-25=29', '85+29=114']
Exploring Operation: 16*114=1824, Resulting Numbers: [1824]
1824,91 unequal: No Solution
Exploring Operation: 16+114=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 114-16=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[16, 56], Operations: ['54-25=29', '85-29=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[29, 69], Operations: ['54-25=29', '85-16=69']
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,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,3
Current State: 91:[16, 25, 31], Operations: ['85-54=31']
Exploring Operation: 25-16=9, Resulting Numbers: [31, 9]
Generated Node #0,3,0: 91:[31, 9] Operation: 25-16=9
Exploring Operation: 25+31=56, Resulting Numbers: [16, 56]
Generated Node #0,3,1: 91:[16, 56] Operation: 25+31=56
Exploring Operation: 16+25=41, Resulting Numbers: [31, 41]
Generated Node #0,3,2: 91:[31, 41] Operation: 16+25=41
Exploring Operation: 31-25=6, Resulting Numbers: [16, 6]
Generated Node #0,3,3: 91:[16, 6] Operation: 31-25=6
Exploring Operation: 31-16=15, Resulting Numbers: [25, 15]
Generated Node #0,3,4: 91:[25, 15] Operation: 31-16=15
Moving to Node #0,3,3
Current State: 91:[16, 6], Operations: ['85-54=31', '31-25=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[25, 15], Operations: ['85-54=31', '31-16=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[31, 9], Operations: ['85-54=31', '25-16=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,91 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[16, 56], Operations: ['85-54=31', '25+31=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,91 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[31, 41], Operations: ['85-54=31', '16+25=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,91 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,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:[85, 25, 70], Operations: ['54+16=70']
Exploring Operation: 85-70=15, Resulting Numbers: [25, 15]
Generated Node #0,0,0: 91:[25, 15] Operation: 85-70=15
Exploring Operation: 70-25=45, Resulting Numbers: [85, 45]
Generated Node #0,0,1: 91:[85, 45] Operation: 70-25=45
Exploring Operation: 85+25=110, Resulting Numbers: [70, 110]
Generated Node #0,0,2: 91:[70, 110] Operation: 85+25=110
Exploring Operation: 25+70=95, Resulting Numbers: [85, 95]
Generated Node #0,0,3: 91:[85, 95] Operation: 25+70=95
Exploring Operation: 85-25=60, Resulting Numbers: [70, 60]
Generated Node #0,0,4: 91:[70, 60] Operation: 85-25=60
Moving to Node #0,0,3
Current State: 91:[85, 95], Operations: ['54+16=70', '25+70=95']
Exploring Operation: 85*95=8075, Resulting Numbers: [8075]
8075,91 unequal: No Solution
Exploring Operation: 85+95=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[25, 15], Operations: ['54+16=70', '85-70=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,91 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[85, 45], Operations: ['54+16=70', '70-25=45']
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,91 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[70, 110], Operations: ['54+16=70', '85+25=110']
Exploring Operation: 70+110=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 110-70=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 70*110=7700, Resulting Numbers: [7700]
7700,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[70, 60], Operations: ['54+16=70', '85-25=60']
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,91 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,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,4
Current State: 91:[85, 25, 38], Operations: ['54-16=38']
Exploring Operation: 85-38=47, Resulting Numbers: [25, 47]
Generated Node #0,4,0: 91:[25, 47] Operation: 85-38=47
Exploring Operation: 25+38=63, Resulting Numbers: [85, 63]
Generated Node #0,4,1: 91:[85, 63] Operation: 25+38=63
Exploring Operation: 85+25=110, Resulting Numbers: [38, 110]
Generated Node #0,4,2: 91:[38, 110] Operation: 85+25=110
Exploring Operation: 85+38=123, Resulting Numbers: [25, 123]
Generated Node #0,4,3: 91:[25, 123] Operation: 85+38=123
Exploring Operation: 38-25=13, Resulting Numbers: [85, 13]
Generated Node #0,4,4: 91:[85, 13] Operation: 38-25=13
Moving to Node #0,4,4
Current State: 91:[85, 13], Operations: ['54-16=38', '38-25=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,91 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[85, 63], Operations: ['54-16=38', '25+38=63']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,91 unequal: No Solution
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[38, 110], Operations: ['54-16=38', '85+25=110']
Exploring Operation: 110-38=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 38*110=4180, Resulting Numbers: [4180]
4180,91 unequal: No Solution
Exploring Operation: 38+110=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[25, 123], Operations: ['54-16=38', '85+38=123']
Exploring Operation: 123-25=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 25*123=3075, Resulting Numbers: [3075]
3075,91 unequal: No Solution
Exploring Operation: 25+123=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[25, 47], Operations: ['54-16=38', '85-38=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
11,
35,
3
] | 72 | [
"11+35=46",
"3*46=138",
"138-66=72"
] | Current State: 72:[66, 11, 35, 3], Operations: []
Exploring Operation: 11+35=46, Resulting Numbers: [66, 3, 46]
Generated Node #2: [66, 3, 46] from Operation: 11+35=46
Current State: 72:[66, 3, 46], Operations: ['11+35=46']
Exploring Operation: 3*46=138, Resulting Numbers: [66, 138]
Generated Node #3: [66, 138] from Operation: 3*46=138
Current State: 72:[66, 138], Operations: ['11+35=46', '3*46=138']
Exploring Operation: 138-66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[66, 11, 35, 3], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [11, 35, 22]
Generated Node #0,0: 72:[11, 35, 22] Operation: 66/3=22
Exploring Operation: 66/11=6, Resulting Numbers: [35, 3, 6]
Generated Node #0,1: 72:[35, 3, 6] Operation: 66/11=6
Moving to Node #0,1
Current State: 72:[35, 3, 6], Operations: ['66/11=6']
Exploring Operation: 3*6=18, Resulting Numbers: [35, 18]
Generated Node #0,1,0: 72:[35, 18] Operation: 3*6=18
Exploring Operation: 3+6=9, Resulting Numbers: [35, 9]
Generated Node #0,1,1: 72:[35, 9] Operation: 3+6=9
Moving to Node #0,0
Current State: 72:[11, 35, 22], Operations: ['66/3=22']
Exploring Operation: 35-11=24, Resulting Numbers: [22, 24]
Generated Node #0,0,0: 72:[22, 24] Operation: 35-11=24
Exploring Operation: 22/11=2, Resulting Numbers: [35, 2]
Generated Node #0,0,1: 72:[35, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[35, 2], Operations: ['66/3=22', '22/11=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,72 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: 72:[22, 24], Operations: ['66/3=22', '35-11=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,72 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: 72:[35, 18], Operations: ['66/11=6', '3*6=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[35, 9], Operations: ['66/11=6', '3+6=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
32,
84,
24
] | 40 | [
"52-32=20",
"84-24=60",
"60-20=40"
] | Current State: 40:[52, 32, 84, 24], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [84, 24, 20]
Generated Node #2: [84, 24, 20] from Operation: 52-32=20
Current State: 40:[84, 24, 20], Operations: ['52-32=20']
Exploring Operation: 84-24=60, Resulting Numbers: [20, 60]
Generated Node #3: [20, 60] from Operation: 84-24=60
Current State: 40:[20, 60], Operations: ['52-32=20', '84-24=60']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[52, 32, 84, 24], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [32, 24, 32]
Generated Node #0,0: 40:[32, 24, 32] Operation: 84-52=32
Exploring Operation: 52-32=20, Resulting Numbers: [84, 24, 20]
Generated Node #0,1: 40:[84, 24, 20] Operation: 52-32=20
Exploring Operation: 84-24=60, Resulting Numbers: [52, 32, 60]
Generated Node #0,2: 40:[52, 32, 60] Operation: 84-24=60
Exploring Operation: 84-32=52, Resulting Numbers: [52, 24, 52]
Generated Node #0,3: 40:[52, 24, 52] Operation: 84-32=52
Moving to Node #0,0
Current State: 40:[32, 24, 32], Operations: ['84-52=32']
Exploring Operation: 32-24=8, Resulting Numbers: [32, 8]
Generated Node #0,0,0: 40:[32, 8] Operation: 32-24=8
Exploring Operation: 32/32=1, Resulting Numbers: [24, 1]
Generated Node #0,0,1: 40:[24, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [24, 0]
Generated Node #0,0,2: 40:[24, 0] Operation: 32-32=0
Exploring Operation: 32-24=8, Resulting Numbers: [32, 8]
Generated Node #0,0,3: 40:[32, 8] Operation: 32-24=8
Moving to Node #0,3
Current State: 40:[52, 24, 52], Operations: ['84-32=52']
Exploring Operation: 52-24=28, Resulting Numbers: [52, 28]
Generated Node #0,3,0: 40:[52, 28] Operation: 52-24=28
Exploring Operation: 52-52=0, Resulting Numbers: [24, 0]
Generated Node #0,3,1: 40:[24, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [24, 1]
Generated Node #0,3,2: 40:[24, 1] Operation: 52/52=1
Exploring Operation: 52-24=28, Resulting Numbers: [52, 28]
Generated Node #0,3,3: 40:[52, 28] Operation: 52-24=28
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[24, 1], Operations: ['84-32=52', '52/52=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,40 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: 40:[24, 0], Operations: ['84-32=52', '52-52=0']
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,40 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: 40:[52, 28], Operations: ['84-32=52', '52-24=28']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,40 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,40 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: 40:[52, 28], Operations: ['84-32=52', '52-24=28']
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,40 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,40 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: 40:[52, 32, 60], Operations: ['84-24=60']
Exploring Operation: 60-52=8, Resulting Numbers: [32, 8]
Generated Node #0,2,0: 40:[32, 8] Operation: 60-52=8
Exploring Operation: 52-32=20, Resulting Numbers: [60, 20]
Generated Node #0,2,1: 40:[60, 20] Operation: 52-32=20
Exploring Operation: 52+32=84, Resulting Numbers: [60, 84]
Generated Node #0,2,2: 40:[60, 84] Operation: 52+32=84
Exploring Operation: 60-32=28, Resulting Numbers: [52, 28]
Generated Node #0,2,3: 40:[52, 28] Operation: 60-32=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[32, 8], Operations: ['84-24=60', '60-52=8']
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,40 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[52, 32, 84, 24], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [52, 32, 60]
Generated Node #0,2: 40:[52, 32, 60] Operation: 84-24=60
Moving to Node #0,2
Current State: 40:[52, 32, 60], Operations: ['84-24=60']
Exploring Operation: 60-52=8, Resulting Numbers: [32, 8]
Generated Node #0,2,0: 40:[32, 8] Operation: 60-52=8
Moving to Node #0,2,0
Current State: 40:[32, 8], Operations: ['84-24=60', '60-52=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
26,
11,
61,
39
] | 24 | [
"61-39=22",
"22/11=2",
"26-2=24"
] | Current State: 24:[26, 11, 61, 39], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [26, 11, 22]
Generated Node #2: [26, 11, 22] from Operation: 61-39=22
Current State: 24:[26, 11, 22], Operations: ['61-39=22']
Exploring Operation: 22/11=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 22/11=2
Current State: 24:[26, 2], Operations: ['61-39=22', '22/11=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[26, 11, 61, 39], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [11, 39, 35]
Generated Node #0,0: 24:[11, 39, 35] Operation: 61-26=35
Exploring Operation: 61-39=22, Resulting Numbers: [26, 11, 22]
Generated Node #0,1: 24:[26, 11, 22] Operation: 61-39=22
Moving to Node #0,1
Current State: 24:[26, 11, 22], Operations: ['61-39=22']
Exploring Operation: 22/11=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 24:[26, 2] Operation: 22/11=2
Exploring Operation: 26-22=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 24:[11, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[11, 4], Operations: ['61-39=22', '26-22=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,24 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: 24:[26, 2], Operations: ['61-39=22', '22/11=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[26, 11, 61, 39], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [26, 11, 22]
Generated Node #0,1: 24:[26, 11, 22] Operation: 61-39=22
Moving to Node #0,1
Current State: 24:[26, 11, 22], Operations: ['61-39=22']
Exploring Operation: 22/11=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 24:[26, 2] Operation: 22/11=2
Moving to Node #0,1,0
Current State: 24:[26, 2], Operations: ['61-39=22', '22/11=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
24,
12,
77,
2
] | 94 | [
"77-24=53",
"2*53=106",
"106-12=94"
] | Current State: 94:[24, 12, 77, 2], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [12, 2, 53]
Generated Node #2: [12, 2, 53] from Operation: 77-24=53
Current State: 94:[12, 2, 53], Operations: ['77-24=53']
Exploring Operation: 2*53=106, Resulting Numbers: [12, 106]
Generated Node #3: [12, 106] from Operation: 2*53=106
Current State: 94:[12, 106], Operations: ['77-24=53', '2*53=106']
Exploring Operation: 106-12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[24, 12, 77, 2], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [77, 2, 2]
Generated Node #0,0: 94:[77, 2, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [77, 2, 12]
Generated Node #0,1: 94:[77, 2, 12] Operation: 24-12=12
Exploring Operation: 24+77=101, Resulting Numbers: [12, 2, 101]
Generated Node #0,2: 94:[12, 2, 101] Operation: 24+77=101
Exploring Operation: 77-24=53, Resulting Numbers: [12, 2, 53]
Generated Node #0,3: 94:[12, 2, 53] Operation: 77-24=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[12, 2, 53], Operations: ['77-24=53']
Exploring Operation: 53-12=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 94:[2, 41] Operation: 53-12=41
Exploring Operation: 53-2=51, Resulting Numbers: [12, 51]
Generated Node #0,3,1: 94:[12, 51] Operation: 53-2=51
Exploring Operation: 12/2=6, Resulting Numbers: [53, 6]
Generated Node #0,3,2: 94:[53, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [53, 10]
Generated Node #0,3,3: 94:[53, 10] Operation: 12-2=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[2, 41], Operations: ['77-24=53', '53-12=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,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:[53, 6], Operations: ['77-24=53', '12/2=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,94 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,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,1
Current State: 94:[12, 51], Operations: ['77-24=53', '53-2=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,94 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,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:[53, 10], Operations: ['77-24=53', '12-2=10']
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,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:[77, 2, 2], Operations: ['24/12=2']
Exploring Operation: 2/2=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 94:[77, 1] Operation: 2/2=1
Exploring Operation: 77+2=79, Resulting Numbers: [2, 79]
Generated Node #0,0,1: 94:[2, 79] Operation: 77+2=79
Exploring Operation: 77-2=75, Resulting Numbers: [2, 75]
Generated Node #0,0,2: 94:[2, 75] Operation: 77-2=75
Exploring Operation: 77+2=79, Resulting Numbers: [2, 79]
Generated Node #0,0,3: 94:[2, 79] Operation: 77+2=79
Moving to Node #0,0,1
Current State: 94:[2, 79], Operations: ['24/12=2', '77+2=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[2, 79], Operations: ['24/12=2', '77+2=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[77, 1], Operations: ['24/12=2', '2/2=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[2, 75], Operations: ['24/12=2', '77-2=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,94 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,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,2
Current State: 94:[12, 2, 101], Operations: ['24+77=101']
Exploring Operation: 101-12=89, Resulting Numbers: [2, 89]
Generated Node #0,2,0: 94:[2, 89] Operation: 101-12=89
Exploring Operation: 12/2=6, Resulting Numbers: [101, 6]
Generated Node #0,2,1: 94:[101, 6] Operation: 12/2=6
Exploring Operation: 101-2=99, Resulting Numbers: [12, 99]
Generated Node #0,2,2: 94:[12, 99] Operation: 101-2=99
Exploring Operation: 12-2=10, Resulting Numbers: [101, 10]
Generated Node #0,2,3: 94:[101, 10] Operation: 12-2=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[2, 89], Operations: ['24+77=101', '101-12=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,94 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,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,2,1
Current State: 94:[101, 6], Operations: ['24+77=101', '12/2=6']
Exploring Operation: 101+6=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 101*6=606, Resulting Numbers: [606]
606,94 unequal: No Solution
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,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,2,2
Current State: 94:[12, 99], Operations: ['24+77=101', '101-2=99']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 12*99=1188, Resulting Numbers: [1188]
1188,94 unequal: No Solution
Exploring Operation: 12+99=111, Resulting Numbers: [111]
111,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,2,3
Current State: 94:[101, 10], Operations: ['24+77=101', '12-2=10']
Exploring Operation: 101*10=1010, Resulting Numbers: [1010]
1010,94 unequal: No Solution
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 101+10=111, Resulting Numbers: [111]
111,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,1
Current State: 94:[77, 2, 12], Operations: ['24-12=12']
Exploring Operation: 77+2=79, Resulting Numbers: [12, 79]
Generated Node #0,1,0: 94:[12, 79] Operation: 77+2=79
Exploring Operation: 77-12=65, Resulting Numbers: [2, 65]
Generated Node #0,1,1: 94:[2, 65] Operation: 77-12=65
Exploring Operation: 12/2=6, Resulting Numbers: [77, 6]
Generated Node #0,1,2: 94:[77, 6] Operation: 12/2=6
Exploring Operation: 77+12=89, Resulting Numbers: [2, 89]
Generated Node #0,1,3: 94:[2, 89] Operation: 77+12=89
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[2, 89], Operations: ['24-12=12', '77+12=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,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:[2, 65], Operations: ['24-12=12', '77-12=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,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:[77, 6], Operations: ['24-12=12', '12/2=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,94 unequal: No Solution
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,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,0
Current State: 94:[12, 79], Operations: ['24-12=12', '77+2=79']
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,94 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,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_4 | mult_heuristic |
[
75,
35,
64,
5
] | 36 | [
"75+64=139",
"35*5=175",
"175-139=36"
] | Current State: 36:[75, 35, 64, 5], Operations: []
Exploring Operation: 75+64=139, Resulting Numbers: [35, 5, 139]
Generated Node #2: [35, 5, 139] from Operation: 75+64=139
Current State: 36:[35, 5, 139], Operations: ['75+64=139']
Exploring Operation: 35*5=175, Resulting Numbers: [139, 175]
Generated Node #3: [139, 175] from Operation: 35*5=175
Current State: 36:[139, 175], Operations: ['75+64=139', '35*5=175']
Exploring Operation: 175-139=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[75, 35, 64, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [35, 64, 15]
Generated Node #0,0: 36:[35, 64, 15] Operation: 75/5=15
Exploring Operation: 75-35=40, Resulting Numbers: [64, 5, 40]
Generated Node #0,1: 36:[64, 5, 40] Operation: 75-35=40
Exploring Operation: 75-64=11, Resulting Numbers: [35, 5, 11]
Generated Node #0,2: 36:[35, 5, 11] Operation: 75-64=11
Moving to Node #0,2
Current State: 36:[35, 5, 11], Operations: ['75-64=11']
Exploring Operation: 11-5=6, Resulting Numbers: [35, 6]
Generated Node #0,2,0: 36:[35, 6] Operation: 11-5=6
Exploring Operation: 35/5=7, Resulting Numbers: [11, 7]
Generated Node #0,2,1: 36:[11, 7] Operation: 35/5=7
Exploring Operation: 5+11=16, Resulting Numbers: [35, 16]
Generated Node #0,2,2: 36:[35, 16] Operation: 5+11=16
Moving to Node #0,0
Current State: 36:[35, 64, 15], Operations: ['75/5=15']
Exploring Operation: 64-35=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 36:[15, 29] Operation: 64-35=29
Exploring Operation: 35-15=20, Resulting Numbers: [64, 20]
Generated Node #0,0,1: 36:[64, 20] Operation: 35-15=20
Exploring Operation: 64-15=49, Resulting Numbers: [35, 49]
Generated Node #0,0,2: 36:[35, 49] Operation: 64-15=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[15, 29], Operations: ['75/5=15', '64-35=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,36 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,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,0,2
Current State: 36:[35, 49], Operations: ['75/5=15', '64-15=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,36 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,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,0,1
Current State: 36:[64, 20], Operations: ['75/5=15', '35-15=20']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,36 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,36 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: 36:[64, 5, 40], Operations: ['75-35=40']
Exploring Operation: 64-40=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 36:[5, 24] Operation: 64-40=24
Exploring Operation: 40-5=35, Resulting Numbers: [64, 35]
Generated Node #0,1,1: 36:[64, 35] Operation: 40-5=35
Exploring Operation: 64-5=59, Resulting Numbers: [40, 59]
Generated Node #0,1,2: 36:[40, 59] Operation: 64-5=59
Moving to Node #0,2,0
Current State: 36:[35, 6], Operations: ['75-64=11', '11-5=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[11, 7], Operations: ['75-64=11', '35/5=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,36 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[35, 16], Operations: ['75-64=11', '5+11=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[5, 24], Operations: ['75-35=40', '64-40=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[40, 59], Operations: ['75-35=40', '64-5=59']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[64, 35], Operations: ['75-35=40', '40-5=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,36 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
85,
4,
10
] | 60 | [
"85-31=54",
"10-4=6",
"54+6=60"
] | Current State: 60:[31, 85, 4, 10], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [4, 10, 54]
Generated Node #2: [4, 10, 54] from Operation: 85-31=54
Current State: 60:[4, 10, 54], Operations: ['85-31=54']
Exploring Operation: 10-4=6, Resulting Numbers: [54, 6]
Generated Node #3: [54, 6] from Operation: 10-4=6
Current State: 60:[54, 6], Operations: ['85-31=54', '10-4=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[31, 85, 4, 10], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [31, 4, 75]
Generated Node #0,0: 60:[31, 4, 75] Operation: 85-10=75
Exploring Operation: 85-31=54, Resulting Numbers: [4, 10, 54]
Generated Node #0,1: 60:[4, 10, 54] Operation: 85-31=54
Exploring Operation: 85-4=81, Resulting Numbers: [31, 10, 81]
Generated Node #0,2: 60:[31, 10, 81] Operation: 85-4=81
Moving to Node #0,1
Current State: 60:[4, 10, 54], Operations: ['85-31=54']
Exploring Operation: 4+54=58, Resulting Numbers: [10, 58]
Generated Node #0,1,0: 60:[10, 58] Operation: 4+54=58
Exploring Operation: 10-4=6, Resulting Numbers: [54, 6]
Generated Node #0,1,1: 60:[54, 6] Operation: 10-4=6
Exploring Operation: 10+54=64, Resulting Numbers: [4, 64]
Generated Node #0,1,2: 60:[4, 64] Operation: 10+54=64
Moving to Node #0,0
Current State: 60:[31, 4, 75], Operations: ['85-10=75']
Exploring Operation: 31-4=27, Resulting Numbers: [75, 27]
Generated Node #0,0,0: 60:[75, 27] Operation: 31-4=27
Exploring Operation: 75-4=71, Resulting Numbers: [31, 71]
Generated Node #0,0,1: 60:[31, 71] Operation: 75-4=71
Exploring Operation: 75-31=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 60:[4, 44] Operation: 75-31=44
Moving to Node #0,2
Current State: 60:[31, 10, 81], Operations: ['85-4=81']
Exploring Operation: 31-10=21, Resulting Numbers: [81, 21]
Generated Node #0,2,0: 60:[81, 21] Operation: 31-10=21
Exploring Operation: 81-31=50, Resulting Numbers: [10, 50]
Generated Node #0,2,1: 60:[10, 50] Operation: 81-31=50
Exploring Operation: 81-10=71, Resulting Numbers: [31, 71]
Generated Node #0,2,2: 60:[31, 71] Operation: 81-10=71
Moving to Node #0,1,0
Current State: 60:[10, 58], Operations: ['85-31=54', '4+54=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,60 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[4, 64], Operations: ['85-31=54', '10+54=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[31, 85, 4, 10], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [4, 10, 54]
Generated Node #0,1: 60:[4, 10, 54] Operation: 85-31=54
Moving to Node #0,1
Current State: 60:[4, 10, 54], Operations: ['85-31=54']
Exploring Operation: 10+54=64, Resulting Numbers: [4, 64]
Generated Node #0,1,2: 60:[4, 64] Operation: 10+54=64
Moving to Node #0,1,2
Current State: 60:[4, 64], Operations: ['85-31=54', '10+54=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
11,
18,
48,
39
] | 75 | [
"18*48=864",
"864-39=825",
"825/11=75"
] | Current State: 75:[11, 18, 48, 39], Operations: []
Exploring Operation: 18*48=864, Resulting Numbers: [11, 39, 864]
Generated Node #2: [11, 39, 864] from Operation: 18*48=864
Current State: 75:[11, 39, 864], Operations: ['18*48=864']
Exploring Operation: 864-39=825, Resulting Numbers: [11, 825]
Generated Node #3: [11, 825] from Operation: 864-39=825
Current State: 75:[11, 825], Operations: ['18*48=864', '864-39=825']
Exploring Operation: 825/11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[11, 18, 48, 39], Operations: []
Exploring Operation: 48+39=87, Resulting Numbers: [11, 18, 87]
Generated Node #0,0: 75:[11, 18, 87] Operation: 48+39=87
Exploring Operation: 48-11=37, Resulting Numbers: [18, 39, 37]
Generated Node #0,1: 75:[18, 39, 37] Operation: 48-11=37
Exploring Operation: 18+48=66, Resulting Numbers: [11, 39, 66]
Generated Node #0,2: 75:[11, 39, 66] Operation: 18+48=66
Exploring Operation: 48-39=9, Resulting Numbers: [11, 18, 9]
Generated Node #0,3: 75:[11, 18, 9] Operation: 48-39=9
Exploring Operation: 48-18=30, Resulting Numbers: [11, 39, 30]
Generated Node #0,4: 75:[11, 39, 30] Operation: 48-18=30
Moving to Node #0,3
Current State: 75:[11, 18, 9], Operations: ['48-39=9']
Exploring Operation: 11-9=2, Resulting Numbers: [18, 2]
Generated Node #0,3,0: 75:[18, 2] Operation: 11-9=2
Exploring Operation: 18/9=2, Resulting Numbers: [11, 2]
Generated Node #0,3,1: 75:[11, 2] Operation: 18/9=2
Exploring Operation: 11+18=29, Resulting Numbers: [9, 29]
Generated Node #0,3,2: 75:[9, 29] Operation: 11+18=29
Exploring Operation: 18+9=27, Resulting Numbers: [11, 27]
Generated Node #0,3,3: 75:[11, 27] Operation: 18+9=27
Exploring Operation: 18-11=7, Resulting Numbers: [9, 7]
Generated Node #0,3,4: 75:[9, 7] Operation: 18-11=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[18, 2], Operations: ['48-39=9', '11-9=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,75 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: 75:[11, 2], Operations: ['48-39=9', '18/9=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,75 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: 75:[11, 27], Operations: ['48-39=9', '18+9=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,75 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: 75:[9, 7], Operations: ['48-39=9', '18-11=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,75 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: 75:[9, 29], Operations: ['48-39=9', '11+18=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,75 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,75 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: 75:[11, 18, 87], Operations: ['48+39=87']
Exploring Operation: 18-11=7, Resulting Numbers: [87, 7]
Generated Node #0,0,0: 75:[87, 7] Operation: 18-11=7
Exploring Operation: 11+87=98, Resulting Numbers: [18, 98]
Generated Node #0,0,1: 75:[18, 98] Operation: 11+87=98
Exploring Operation: 87-11=76, Resulting Numbers: [18, 76]
Generated Node #0,0,2: 75:[18, 76] Operation: 87-11=76
Exploring Operation: 87-18=69, Resulting Numbers: [11, 69]
Generated Node #0,0,3: 75:[11, 69] Operation: 87-18=69
Exploring Operation: 11+18=29, Resulting Numbers: [87, 29]
Generated Node #0,0,4: 75:[87, 29] Operation: 11+18=29
Moving to Node #0,4
Current State: 75:[11, 39, 30], Operations: ['48-18=30']
Exploring Operation: 11+39=50, Resulting Numbers: [30, 50]
Generated Node #0,4,0: 75:[30, 50] Operation: 11+39=50
Exploring Operation: 39+30=69, Resulting Numbers: [11, 69]
Generated Node #0,4,1: 75:[11, 69] Operation: 39+30=69
Exploring Operation: 30-11=19, Resulting Numbers: [39, 19]
Generated Node #0,4,2: 75:[39, 19] Operation: 30-11=19
Exploring Operation: 39-30=9, Resulting Numbers: [11, 9]
Generated Node #0,4,3: 75:[11, 9] Operation: 39-30=9
Exploring Operation: 39-11=28, Resulting Numbers: [30, 28]
Generated Node #0,4,4: 75:[30, 28] Operation: 39-11=28
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[11, 9], Operations: ['48-18=30', '39-30=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,75 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,4,4
Current State: 75:[30, 28], Operations: ['48-18=30', '39-11=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,75 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,75 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,4,1
Current State: 75:[11, 69], Operations: ['48-18=30', '39+30=69']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,75 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,4,2
Current State: 75:[39, 19], Operations: ['48-18=30', '30-11=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,75 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,4,0
Current State: 75:[30, 50], Operations: ['48-18=30', '11+39=50']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,75 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,75 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: 75:[11, 39, 66], Operations: ['18+48=66']
Exploring Operation: 11+66=77, Resulting Numbers: [39, 77]
Generated Node #0,2,0: 75:[39, 77] Operation: 11+66=77
Exploring Operation: 11+39=50, Resulting Numbers: [66, 50]
Generated Node #0,2,1: 75:[66, 50] Operation: 11+39=50
Exploring Operation: 66/11=6, Resulting Numbers: [39, 6]
Generated Node #0,2,2: 75:[39, 6] Operation: 66/11=6
Exploring Operation: 39-11=28, Resulting Numbers: [66, 28]
Generated Node #0,2,3: 75:[66, 28] Operation: 39-11=28
Exploring Operation: 66-39=27, Resulting Numbers: [11, 27]
Generated Node #0,2,4: 75:[11, 27] Operation: 66-39=27
Moving to Node #0,1
Current State: 75:[18, 39, 37], Operations: ['48-11=37']
Exploring Operation: 37-18=19, Resulting Numbers: [39, 19]
Generated Node #0,1,0: 75:[39, 19] Operation: 37-18=19
Exploring Operation: 39-37=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 75:[18, 2] Operation: 39-37=2
Exploring Operation: 39-18=21, Resulting Numbers: [37, 21]
Generated Node #0,1,2: 75:[37, 21] Operation: 39-18=21
Exploring Operation: 39+37=76, Resulting Numbers: [18, 76]
Generated Node #0,1,3: 75:[18, 76] Operation: 39+37=76
Exploring Operation: 18+39=57, Resulting Numbers: [37, 57]
Generated Node #0,1,4: 75:[37, 57] Operation: 18+39=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[18, 2], Operations: ['48-11=37', '39-37=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,75 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: 75:[18, 76], Operations: ['48-11=37', '39+37=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,75 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: 75:[37, 21], Operations: ['48-11=37', '39-18=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,75 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: 75:[39, 19], Operations: ['48-11=37', '37-18=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,75 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: 75:[37, 57], Operations: ['48-11=37', '18+39=57']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 75:[18, 76], Operations: ['48+39=87', '87-11=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,75 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[11, 27], Operations: ['18+48=66', '66-39=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[11, 69], Operations: ['48+39=87', '87-18=69']
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,75 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[66, 28], Operations: ['18+48=66', '39-11=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,75 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[87, 7], Operations: ['48+39=87', '18-11=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,75 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[39, 6], Operations: ['18+48=66', '66/11=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[39, 77], Operations: ['18+48=66', '11+66=77']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[87, 29], Operations: ['48+39=87', '11+18=29']
Exploring Operation: 87+29=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 87*29=2523, Resulting Numbers: [2523]
2523,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[18, 98], Operations: ['48+39=87', '11+87=98']
Exploring Operation: 18+98=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 18*98=1764, Resulting Numbers: [1764]
1764,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[66, 50], Operations: ['18+48=66', '11+39=50']
Exploring Operation: 66*50=3300, Resulting Numbers: [3300]
3300,75 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 66+50=116, Resulting Numbers: [116]
116,75 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
48,
6,
69
] | 71 | [
"69-48=21",
"6*21=126",
"126-55=71"
] | Current State: 71:[55, 48, 6, 69], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [55, 6, 21]
Generated Node #2: [55, 6, 21] from Operation: 69-48=21
Current State: 71:[55, 6, 21], Operations: ['69-48=21']
Exploring Operation: 6*21=126, Resulting Numbers: [55, 126]
Generated Node #3: [55, 126] from Operation: 6*21=126
Current State: 71:[55, 126], Operations: ['69-48=21', '6*21=126']
Exploring Operation: 126-55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[55, 48, 6, 69], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [48, 69, 49]
Generated Node #0,0: 71:[48, 69, 49] Operation: 55-6=49
Exploring Operation: 48+6=54, Resulting Numbers: [55, 69, 54]
Generated Node #0,1: 71:[55, 69, 54] Operation: 48+6=54
Exploring Operation: 55+6=61, Resulting Numbers: [48, 69, 61]
Generated Node #0,2: 71:[48, 69, 61] Operation: 55+6=61
Exploring Operation: 6+69=75, Resulting Numbers: [55, 48, 75]
Generated Node #0,3: 71:[55, 48, 75] Operation: 6+69=75
Moving to Node #0,1
Current State: 71:[55, 69, 54], Operations: ['48+6=54']
Exploring Operation: 55+54=109, Resulting Numbers: [69, 109]
Generated Node #0,1,0: 71:[69, 109] Operation: 55+54=109
Exploring Operation: 69+54=123, Resulting Numbers: [55, 123]
Generated Node #0,1,1: 71:[55, 123] Operation: 69+54=123
Exploring Operation: 55+69=124, Resulting Numbers: [54, 124]
Generated Node #0,1,2: 71:[54, 124] Operation: 55+69=124
Exploring Operation: 55-54=1, Resulting Numbers: [69, 1]
Generated Node #0,1,3: 71:[69, 1] Operation: 55-54=1
Moving to Node #0,2
Current State: 71:[48, 69, 61], Operations: ['55+6=61']
Exploring Operation: 48+69=117, Resulting Numbers: [61, 117]
Generated Node #0,2,0: 71:[61, 117] Operation: 48+69=117
Exploring Operation: 48+61=109, Resulting Numbers: [69, 109]
Generated Node #0,2,1: 71:[69, 109] Operation: 48+61=109
Exploring Operation: 61-48=13, Resulting Numbers: [69, 13]
Generated Node #0,2,2: 71:[69, 13] Operation: 61-48=13
Exploring Operation: 69-48=21, Resulting Numbers: [61, 21]
Generated Node #0,2,3: 71:[61, 21] Operation: 69-48=21
Moving to Node #0,3
Current State: 71:[55, 48, 75], Operations: ['6+69=75']
Exploring Operation: 55-48=7, Resulting Numbers: [75, 7]
Generated Node #0,3,0: 71:[75, 7] Operation: 55-48=7
Exploring Operation: 75-48=27, Resulting Numbers: [55, 27]
Generated Node #0,3,1: 71:[55, 27] Operation: 75-48=27
Exploring Operation: 55+48=103, Resulting Numbers: [75, 103]
Generated Node #0,3,2: 71:[75, 103] Operation: 55+48=103
Exploring Operation: 48+75=123, Resulting Numbers: [55, 123]
Generated Node #0,3,3: 71:[55, 123] Operation: 48+75=123
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[75, 103], Operations: ['6+69=75', '55+48=103']
Exploring Operation: 75+103=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 75*103=7725, Resulting Numbers: [7725]
7725,71 unequal: No Solution
Exploring Operation: 103-75=28, Resulting Numbers: [28]
28,71 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: 71:[55, 27], Operations: ['6+69=75', '75-48=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,71 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,71 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: 71:[75, 7], Operations: ['6+69=75', '55-48=7']
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,71 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,71 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: 71:[55, 123], Operations: ['6+69=75', '48+75=123']
Exploring Operation: 123-55=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 55*123=6765, Resulting Numbers: [6765]
6765,71 unequal: No Solution
Exploring Operation: 55+123=178, Resulting Numbers: [178]
178,71 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: 71:[48, 69, 49], Operations: ['55-6=49']
Exploring Operation: 48+69=117, Resulting Numbers: [49, 117]
Generated Node #0,0,0: 71:[49, 117] Operation: 48+69=117
Exploring Operation: 69-48=21, Resulting Numbers: [49, 21]
Generated Node #0,0,1: 71:[49, 21] Operation: 69-48=21
Exploring Operation: 48+49=97, Resulting Numbers: [69, 97]
Generated Node #0,0,2: 71:[69, 97] Operation: 48+49=97
Exploring Operation: 69+49=118, Resulting Numbers: [48, 118]
Generated Node #0,0,3: 71:[48, 118] Operation: 69+49=118
Moving to Node #0,0,2
Current State: 71:[69, 97], Operations: ['55-6=49', '48+49=97']
Exploring Operation: 69*97=6693, Resulting Numbers: [6693]
6693,71 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 69+97=166, Resulting Numbers: [166]
166,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[69, 109], Operations: ['48+6=54', '55+54=109']
Exploring Operation: 69*109=7521, Resulting Numbers: [7521]
7521,71 unequal: No Solution
Exploring Operation: 69+109=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 109-69=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[69, 109], Operations: ['55+6=61', '48+61=109']
Exploring Operation: 69+109=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 109-69=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 69*109=7521, Resulting Numbers: [7521]
7521,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[61, 117], Operations: ['55+6=61', '48+69=117']
Exploring Operation: 61*117=7137, Resulting Numbers: [7137]
7137,71 unequal: No Solution
Exploring Operation: 61+117=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 117-61=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[69, 13], Operations: ['55+6=61', '61-48=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,71 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[61, 21], Operations: ['55+6=61', '69-48=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,71 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[49, 117], Operations: ['55-6=49', '48+69=117']
Exploring Operation: 49+117=166, Resulting Numbers: [166]
166,71 unequal: No Solution
Exploring Operation: 117-49=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 49*117=5733, Resulting Numbers: [5733]
5733,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[55, 123], Operations: ['48+6=54', '69+54=123']
Exploring Operation: 123-55=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 55*123=6765, Resulting Numbers: [6765]
6765,71 unequal: No Solution
Exploring Operation: 55+123=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[54, 124], Operations: ['48+6=54', '55+69=124']
Exploring Operation: 124-54=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 54+124=178, Resulting Numbers: [178]
178,71 unequal: No Solution
Exploring Operation: 54*124=6696, Resulting Numbers: [6696]
6696,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[48, 118], Operations: ['55-6=49', '69+49=118']
Exploring Operation: 48+118=166, Resulting Numbers: [166]
166,71 unequal: No Solution
Exploring Operation: 48*118=5664, Resulting Numbers: [5664]
5664,71 unequal: No Solution
Exploring Operation: 118-48=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[49, 21], Operations: ['55-6=49', '69-48=21']
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,71 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[69, 1], Operations: ['48+6=54', '55-54=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
34,
93,
52
] | 32 | [
"39+34=73",
"93-52=41",
"73-41=32"
] | Current State: 32:[39, 34, 93, 52], Operations: []
Exploring Operation: 39+34=73, Resulting Numbers: [93, 52, 73]
Generated Node #2: [93, 52, 73] from Operation: 39+34=73
Current State: 32:[93, 52, 73], Operations: ['39+34=73']
Exploring Operation: 93-52=41, Resulting Numbers: [73, 41]
Generated Node #3: [73, 41] from Operation: 93-52=41
Current State: 32:[73, 41], Operations: ['39+34=73', '93-52=41']
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[39, 34, 93, 52], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [39, 34, 41]
Generated Node #0,0: 32:[39, 34, 41] Operation: 93-52=41
Moving to Node #0,0
Current State: 32:[39, 34, 41], Operations: ['93-52=41']
Exploring Operation: 41-39=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 32:[34, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[34, 2], Operations: ['93-52=41', '41-39=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[39, 34, 93, 52], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [39, 34, 41]
Generated Node #0,0: 32:[39, 34, 41] Operation: 93-52=41
Moving to Node #0,0
Current State: 32:[39, 34, 41], Operations: ['93-52=41']
Exploring Operation: 41-39=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 32:[34, 2] Operation: 41-39=2
Moving to Node #0,0,0
Current State: 32:[34, 2], Operations: ['93-52=41', '41-39=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
48,
5,
65,
46
] | 11 | [
"48-46=2",
"65/5=13",
"13-2=11"
] | Current State: 11:[48, 5, 65, 46], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [5, 65, 2]
Generated Node #2: [5, 65, 2] from Operation: 48-46=2
Current State: 11:[5, 65, 2], Operations: ['48-46=2']
Exploring Operation: 65/5=13, Resulting Numbers: [2, 13]
Generated Node #3: [2, 13] from Operation: 65/5=13
Current State: 11:[2, 13], Operations: ['48-46=2', '65/5=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[48, 5, 65, 46], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [48, 5, 19]
Generated Node #0,0: 11:[48, 5, 19] Operation: 65-46=19
Exploring Operation: 65-48=17, Resulting Numbers: [5, 46, 17]
Generated Node #0,1: 11:[5, 46, 17] Operation: 65-48=17
Moving to Node #0,1
Current State: 11:[5, 46, 17], Operations: ['65-48=17']
Exploring Operation: 46-5=41, Resulting Numbers: [17, 41]
Generated Node #0,1,0: 11:[17, 41] Operation: 46-5=41
Exploring Operation: 46-17=29, Resulting Numbers: [5, 29]
Generated Node #0,1,1: 11:[5, 29] Operation: 46-17=29
Moving to Node #0,0
Current State: 11:[48, 5, 19], Operations: ['65-46=19']
Exploring Operation: 48-19=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 11:[5, 29] Operation: 48-19=29
Exploring Operation: 48-5=43, Resulting Numbers: [19, 43]
Generated Node #0,0,1: 11:[19, 43] Operation: 48-5=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[5, 29], Operations: ['65-46=19', '48-19=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,11 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: 11:[19, 43], Operations: ['65-46=19', '48-5=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,11 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: 11:[5, 29], Operations: ['65-48=17', '46-17=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[17, 41], Operations: ['65-48=17', '46-5=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
38,
78,
80
] | 44 | [
"4+38=42",
"80-78=2",
"42+2=44"
] | Current State: 44:[4, 38, 78, 80], Operations: []
Exploring Operation: 4+38=42, Resulting Numbers: [78, 80, 42]
Generated Node #2: [78, 80, 42] from Operation: 4+38=42
Current State: 44:[78, 80, 42], Operations: ['4+38=42']
Exploring Operation: 80-78=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 80-78=2
Current State: 44:[42, 2], Operations: ['4+38=42', '80-78=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 38, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [4, 38, 2]
Generated Node #0,0: 44:[4, 38, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 44:[4, 38, 2], Operations: ['80-78=2']
Exploring Operation: 4+38=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 44:[2, 42] Operation: 4+38=42
Moving to Node #0,0,0
Current State: 44:[2, 42], Operations: ['80-78=2', '4+38=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[4, 38, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [4, 38, 2]
Generated Node #0,0: 44:[4, 38, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 44:[4, 38, 2], Operations: ['80-78=2']
Exploring Operation: 4+38=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 44:[2, 42] Operation: 4+38=42
Moving to Node #0,0,0
Current State: 44:[2, 42], Operations: ['80-78=2', '4+38=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
7,
23,
15,
76
] | 10 | [
"15+76=91",
"91/7=13",
"23-13=10"
] | Current State: 10:[7, 23, 15, 76], Operations: []
Exploring Operation: 15+76=91, Resulting Numbers: [7, 23, 91]
Generated Node #2: [7, 23, 91] from Operation: 15+76=91
Current State: 10:[7, 23, 91], Operations: ['15+76=91']
Exploring Operation: 91/7=13, Resulting Numbers: [23, 13]
Generated Node #3: [23, 13] from Operation: 91/7=13
Current State: 10:[23, 13], Operations: ['15+76=91', '91/7=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[7, 23, 15, 76], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [7, 23, 61]
Generated Node #0,0: 10:[7, 23, 61] Operation: 76-15=61
Exploring Operation: 76-23=53, Resulting Numbers: [7, 15, 53]
Generated Node #0,1: 10:[7, 15, 53] Operation: 76-23=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[7, 15, 53], Operations: ['76-23=53']
Exploring Operation: 53-15=38, Resulting Numbers: [7, 38]
Generated Node #0,1,0: 10:[7, 38] Operation: 53-15=38
Exploring Operation: 53-7=46, Resulting Numbers: [15, 46]
Generated Node #0,1,1: 10:[15, 46] Operation: 53-7=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[7, 38], Operations: ['76-23=53', '53-15=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,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,1
Current State: 10:[15, 46], Operations: ['76-23=53', '53-7=46']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,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,0
Current State: 10:[7, 23, 61], Operations: ['76-15=61']
Exploring Operation: 23-7=16, Resulting Numbers: [61, 16]
Generated Node #0,0,0: 10:[61, 16] Operation: 23-7=16
Exploring Operation: 61-23=38, Resulting Numbers: [7, 38]
Generated Node #0,0,1: 10:[7, 38] Operation: 61-23=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[7, 38], Operations: ['76-15=61', '61-23=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,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:[61, 16], Operations: ['76-15=61', '23-7=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
22,
11,
54
] | 88 | [
"22/11=2",
"54*2=108",
"108-20=88"
] | Current State: 88:[20, 22, 11, 54], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [20, 54, 2]
Generated Node #2: [20, 54, 2] from Operation: 22/11=2
Current State: 88:[20, 54, 2], Operations: ['22/11=2']
Exploring Operation: 54*2=108, Resulting Numbers: [20, 108]
Generated Node #3: [20, 108] from Operation: 54*2=108
Current State: 88:[20, 108], Operations: ['22/11=2', '54*2=108']
Exploring Operation: 108-20=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[20, 22, 11, 54], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [11, 54, 2]
Generated Node #0,0: 88:[11, 54, 2] Operation: 22-20=2
Exploring Operation: 54-11=43, Resulting Numbers: [20, 22, 43]
Generated Node #0,1: 88:[20, 22, 43] Operation: 54-11=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[20, 22, 43], Operations: ['54-11=43']
Exploring Operation: 43-20=23, Resulting Numbers: [22, 23]
Generated Node #0,1,0: 88:[22, 23] Operation: 43-20=23
Exploring Operation: 22-20=2, Resulting Numbers: [43, 2]
Generated Node #0,1,1: 88:[43, 2] Operation: 22-20=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[22, 23], Operations: ['54-11=43', '43-20=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,88 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: 88:[43, 2], Operations: ['54-11=43', '22-20=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,88 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: 88:[11, 54, 2], Operations: ['22-20=2']
Exploring Operation: 54/2=27, Resulting Numbers: [11, 27]
Generated Node #0,0,0: 88:[11, 27] Operation: 54/2=27
Exploring Operation: 54-11=43, Resulting Numbers: [2, 43]
Generated Node #0,0,1: 88:[2, 43] Operation: 54-11=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[2, 43], Operations: ['22-20=2', '54-11=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,88 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: 88:[11, 27], Operations: ['22-20=2', '54/2=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,88 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 |
[
6,
17,
14,
69
] | 71 | [
"17-14=3",
"6/3=2",
"69+2=71"
] | Current State: 71:[6, 17, 14, 69], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [6, 69, 3]
Generated Node #2: [6, 69, 3] from Operation: 17-14=3
Current State: 71:[6, 69, 3], Operations: ['17-14=3']
Exploring Operation: 6/3=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 6/3=2
Current State: 71:[69, 2], Operations: ['17-14=3', '6/3=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[6, 17, 14, 69], Operations: []
Exploring Operation: 6*17=102, Resulting Numbers: [14, 69, 102]
Generated Node #0,0: 71:[14, 69, 102] Operation: 6*17=102
Exploring Operation: 6*14=84, Resulting Numbers: [17, 69, 84]
Generated Node #0,1: 71:[17, 69, 84] Operation: 6*14=84
Moving to Node #0,1
Current State: 71:[17, 69, 84], Operations: ['6*14=84']
Exploring Operation: 17+69=86, Resulting Numbers: [84, 86]
Generated Node #0,1,0: 71:[84, 86] Operation: 17+69=86
Exploring Operation: 84-17=67, Resulting Numbers: [69, 67]
Generated Node #0,1,1: 71:[69, 67] Operation: 84-17=67
Moving to Node #0,0
Current State: 71:[14, 69, 102], Operations: ['6*17=102']
Exploring Operation: 102-14=88, Resulting Numbers: [69, 88]
Generated Node #0,0,0: 71:[69, 88] Operation: 102-14=88
Exploring Operation: 14+69=83, Resulting Numbers: [102, 83]
Generated Node #0,0,1: 71:[102, 83] Operation: 14+69=83
Moving to Node #0,1,1
Current State: 71:[69, 67], Operations: ['6*14=84', '84-17=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[69, 88], Operations: ['6*17=102', '102-14=88']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[84, 86], Operations: ['6*14=84', '17+69=86']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 84+86=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[102, 83], Operations: ['6*17=102', '14+69=83']
Exploring Operation: 102-83=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 102+83=185, Resulting Numbers: [185]
185,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
36,
68,
43
] | 14 | [
"68-43=25",
"2*25=50",
"50-36=14"
] | Current State: 14:[2, 36, 68, 43], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [2, 36, 25]
Generated Node #2: [2, 36, 25] from Operation: 68-43=25
Current State: 14:[2, 36, 25], Operations: ['68-43=25']
Exploring Operation: 2*25=50, Resulting Numbers: [36, 50]
Generated Node #3: [36, 50] from Operation: 2*25=50
Current State: 14:[36, 50], Operations: ['68-43=25', '2*25=50']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[2, 36, 68, 43], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [2, 68, 7]
Generated Node #0,0: 14:[2, 68, 7] Operation: 43-36=7
Exploring Operation: 68-43=25, Resulting Numbers: [2, 36, 25]
Generated Node #0,1: 14:[2, 36, 25] Operation: 68-43=25
Exploring Operation: 68-36=32, Resulting Numbers: [2, 43, 32]
Generated Node #0,2: 14:[2, 43, 32] Operation: 68-36=32
Exploring Operation: 68/2=34, Resulting Numbers: [36, 43, 34]
Generated Node #0,3: 14:[36, 43, 34] Operation: 68/2=34
Exploring Operation: 36/2=18, Resulting Numbers: [68, 43, 18]
Generated Node #0,4: 14:[68, 43, 18] Operation: 36/2=18
Moving to Node #0,1
Current State: 14:[2, 36, 25], Operations: ['68-43=25']
Exploring Operation: 36-2=34, Resulting Numbers: [25, 34]
Generated Node #0,1,0: 14:[25, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [25, 18]
Generated Node #0,1,1: 14:[25, 18] Operation: 36/2=18
Exploring Operation: 25-2=23, Resulting Numbers: [36, 23]
Generated Node #0,1,2: 14:[36, 23] Operation: 25-2=23
Exploring Operation: 2+36=38, Resulting Numbers: [25, 38]
Generated Node #0,1,3: 14:[25, 38] Operation: 2+36=38
Exploring Operation: 36-25=11, Resulting Numbers: [2, 11]
Generated Node #0,1,4: 14:[2, 11] Operation: 36-25=11
Moving to Node #0,2
Current State: 14:[2, 43, 32], Operations: ['68-36=32']
Exploring Operation: 43-2=41, Resulting Numbers: [32, 41]
Generated Node #0,2,0: 14:[32, 41] Operation: 43-2=41
Exploring Operation: 2+43=45, Resulting Numbers: [32, 45]
Generated Node #0,2,1: 14:[32, 45] Operation: 2+43=45
Exploring Operation: 43-32=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 14:[2, 11] Operation: 43-32=11
Exploring Operation: 32-2=30, Resulting Numbers: [43, 30]
Generated Node #0,2,3: 14:[43, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [43, 16]
Generated Node #0,2,4: 14:[43, 16] Operation: 32/2=16
Moving to Node #0,0
Current State: 14:[2, 68, 7], Operations: ['43-36=7']
Exploring Operation: 68-7=61, Resulting Numbers: [2, 61]
Generated Node #0,0,0: 14:[2, 61] Operation: 68-7=61
Exploring Operation: 2*7=14, Resulting Numbers: [68, 14]
Generated Node #0,0,1: 14:[68, 14] Operation: 2*7=14
Exploring Operation: 68-2=66, Resulting Numbers: [7, 66]
Generated Node #0,0,2: 14:[7, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [7, 34]
Generated Node #0,0,3: 14:[7, 34] Operation: 68/2=34
Exploring Operation: 2+68=70, Resulting Numbers: [7, 70]
Generated Node #0,0,4: 14:[7, 70] Operation: 2+68=70
Moving to Node #0,3
Current State: 14:[36, 43, 34], Operations: ['68/2=34']
Exploring Operation: 43-36=7, Resulting Numbers: [34, 7]
Generated Node #0,3,0: 14:[34, 7] Operation: 43-36=7
Exploring Operation: 36+43=79, Resulting Numbers: [34, 79]
Generated Node #0,3,1: 14:[34, 79] Operation: 36+43=79
Exploring Operation: 43-34=9, Resulting Numbers: [36, 9]
Generated Node #0,3,2: 14:[36, 9] Operation: 43-34=9
Exploring Operation: 36+34=70, Resulting Numbers: [43, 70]
Generated Node #0,3,3: 14:[43, 70] Operation: 36+34=70
Exploring Operation: 36-34=2, Resulting Numbers: [43, 2]
Generated Node #0,3,4: 14:[43, 2] Operation: 36-34=2
Moving to Node #0,4
Current State: 14:[68, 43, 18], Operations: ['36/2=18']
Exploring Operation: 68+43=111, Resulting Numbers: [18, 111]
Generated Node #0,4,0: 14:[18, 111] Operation: 68+43=111
Exploring Operation: 68-18=50, Resulting Numbers: [43, 50]
Generated Node #0,4,1: 14:[43, 50] Operation: 68-18=50
Exploring Operation: 68-43=25, Resulting Numbers: [18, 25]
Generated Node #0,4,2: 14:[18, 25] Operation: 68-43=25
Exploring Operation: 68+18=86, Resulting Numbers: [43, 86]
Generated Node #0,4,3: 14:[43, 86] Operation: 68+18=86
Exploring Operation: 43-18=25, Resulting Numbers: [68, 25]
Generated Node #0,4,4: 14:[68, 25] Operation: 43-18=25
Moving to Node #0,1,4
Current State: 14:[2, 11], Operations: ['68-43=25', '36-25=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[2, 11], Operations: ['68-36=32', '43-32=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[25, 18], Operations: ['68-43=25', '36/2=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,14 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,4,2
Current State: 14:[18, 25], Operations: ['36/2=18', '68-43=25']
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,14 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[7, 34], Operations: ['43-36=7', '68/2=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,14 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[34, 7], Operations: ['68/2=34', '43-36=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,14 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[36, 9], Operations: ['68/2=34', '43-34=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,14 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[43, 2], Operations: ['68/2=34', '36-34=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Moving to Node #0,2,4
Current State: 14:[43, 16], Operations: ['68-36=32', '32/2=16']
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[25, 34], Operations: ['68-43=25', '36-2=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,14 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[36, 23], Operations: ['68-43=25', '25-2=23']
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[25, 38], Operations: ['68-43=25', '2+36=38']
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,14 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[43, 30], Operations: ['68-36=32', '32-2=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,14 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[32, 41], Operations: ['68-36=32', '43-2=41']
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,14 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[2, 61], Operations: ['43-36=7', '68-7=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,14 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[32, 45], Operations: ['68-36=32', '2+43=45']
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,14 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[7, 66], Operations: ['43-36=7', '68-2=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,14 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[68, 14], Operations: ['43-36=7', '2*7=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[7, 70], Operations: ['43-36=7', '2+68=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,14 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Moving to Node #0,4,1
Current State: 14:[43, 50], Operations: ['36/2=18', '68-18=50']
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,14 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[68, 25], Operations: ['36/2=18', '43-18=25']
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,14 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[43, 70], Operations: ['68/2=34', '36+34=70']
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,14 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[34, 79], Operations: ['68/2=34', '36+43=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,14 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[18, 111], Operations: ['36/2=18', '68+43=111']
Exploring Operation: 18*111=1998, Resulting Numbers: [1998]
1998,14 unequal: No Solution
Exploring Operation: 111-18=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 18+111=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[43, 86], Operations: ['36/2=18', '68+18=86']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 43+86=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 43*86=3698, Resulting Numbers: [3698]
3698,14 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
87,
23,
28
] | 25 | [
"87+28=115",
"5*115=575",
"575/23=25"
] | Current State: 25:[5, 87, 23, 28], Operations: []
Exploring Operation: 87+28=115, Resulting Numbers: [5, 23, 115]
Generated Node #2: [5, 23, 115] from Operation: 87+28=115
Current State: 25:[5, 23, 115], Operations: ['87+28=115']
Exploring Operation: 5*115=575, Resulting Numbers: [23, 575]
Generated Node #3: [23, 575] from Operation: 5*115=575
Current State: 25:[23, 575], Operations: ['87+28=115', '5*115=575']
Exploring Operation: 575/23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[5, 87, 23, 28], Operations: []
Exploring Operation: 87-28=59, Resulting Numbers: [5, 23, 59]
Generated Node #0,0: 25:[5, 23, 59] Operation: 87-28=59
Exploring Operation: 87-23=64, Resulting Numbers: [5, 28, 64]
Generated Node #0,1: 25:[5, 28, 64] Operation: 87-23=64
Moving to Node #0,0
Current State: 25:[5, 23, 59], Operations: ['87-28=59']
Exploring Operation: 59-23=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 25:[5, 36] Operation: 59-23=36
Exploring Operation: 59-5=54, Resulting Numbers: [23, 54]
Generated Node #0,0,1: 25:[23, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[5, 36], Operations: ['87-28=59', '59-23=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,25 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: 25:[23, 54], Operations: ['87-28=59', '59-5=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,25 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: 25:[5, 28, 64], Operations: ['87-23=64']
Exploring Operation: 64-5=59, Resulting Numbers: [28, 59]
Generated Node #0,1,0: 25:[28, 59] Operation: 64-5=59
Exploring Operation: 64-28=36, Resulting Numbers: [5, 36]
Generated Node #0,1,1: 25:[5, 36] Operation: 64-28=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[5, 36], Operations: ['87-23=64', '64-28=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,25 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: 25:[28, 59], Operations: ['87-23=64', '64-5=59']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,25 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 |
[
47,
43,
17,
96
] | 75 | [
"47-43=4",
"96-17=79",
"79-4=75"
] | Current State: 75:[47, 43, 17, 96], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [17, 96, 4]
Generated Node #2: [17, 96, 4] from Operation: 47-43=4
Current State: 75:[17, 96, 4], Operations: ['47-43=4']
Exploring Operation: 96-17=79, Resulting Numbers: [4, 79]
Generated Node #3: [4, 79] from Operation: 96-17=79
Current State: 75:[4, 79], Operations: ['47-43=4', '96-17=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[47, 43, 17, 96], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [43, 96, 30]
Generated Node #0,0: 75:[43, 96, 30] Operation: 47-17=30
Exploring Operation: 47-43=4, Resulting Numbers: [17, 96, 4]
Generated Node #0,1: 75:[17, 96, 4] Operation: 47-43=4
Exploring Operation: 47+43=90, Resulting Numbers: [17, 96, 90]
Generated Node #0,2: 75:[17, 96, 90] Operation: 47+43=90
Moving to Node #0,1
Current State: 75:[17, 96, 4], Operations: ['47-43=4']
Exploring Operation: 96-17=79, Resulting Numbers: [4, 79]
Generated Node #0,1,0: 75:[4, 79] Operation: 96-17=79
Exploring Operation: 96/4=24, Resulting Numbers: [17, 24]
Generated Node #0,1,1: 75:[17, 24] Operation: 96/4=24
Exploring Operation: 96-4=92, Resulting Numbers: [17, 92]
Generated Node #0,1,2: 75:[17, 92] Operation: 96-4=92
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[17, 24], Operations: ['47-43=4', '96/4=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,75 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,75 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: 75:[4, 79], Operations: ['47-43=4', '96-17=79']
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,75 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[47, 43, 17, 96], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [17, 96, 4]
Generated Node #0,1: 75:[17, 96, 4] Operation: 47-43=4
Moving to Node #0,1
Current State: 75:[17, 96, 4], Operations: ['47-43=4']
Exploring Operation: 96-17=79, Resulting Numbers: [4, 79]
Generated Node #0,1,0: 75:[4, 79] Operation: 96-17=79
Moving to Node #0,1,0
Current State: 75:[4, 79], Operations: ['47-43=4', '96-17=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
5,
93,
14,
6
] | 89 | [
"14+6=20",
"20/5=4",
"93-4=89"
] | Current State: 89:[5, 93, 14, 6], Operations: []
Exploring Operation: 14+6=20, Resulting Numbers: [5, 93, 20]
Generated Node #2: [5, 93, 20] from Operation: 14+6=20
Current State: 89:[5, 93, 20], Operations: ['14+6=20']
Exploring Operation: 20/5=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 20/5=4
Current State: 89:[93, 4], Operations: ['14+6=20', '20/5=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 93, 14, 6], Operations: []
Exploring Operation: 5*14=70, Resulting Numbers: [93, 6, 70]
Generated Node #0,0: 89:[93, 6, 70] Operation: 5*14=70
Exploring Operation: 14*6=84, Resulting Numbers: [5, 93, 84]
Generated Node #0,1: 89:[5, 93, 84] Operation: 14*6=84
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[5, 93, 84], Operations: ['14*6=84']
Exploring Operation: 5+84=89, Resulting Numbers: [93, 89]
Generated Node #0,1,0: 89:[93, 89] Operation: 5+84=89
Exploring Operation: 93-5=88, Resulting Numbers: [84, 88]
Generated Node #0,1,1: 89:[84, 88] Operation: 93-5=88
Moving to Node #0,1,0
Current State: 89:[93, 89], Operations: ['14*6=84', '5+84=89']
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 93+89=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[84, 88], Operations: ['14*6=84', '93-5=88']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,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,0
Current State: 89:[93, 6, 70], Operations: ['5*14=70']
Exploring Operation: 93-6=87, Resulting Numbers: [70, 87]
Generated Node #0,0,0: 89:[70, 87] Operation: 93-6=87
Exploring Operation: 6+70=76, Resulting Numbers: [93, 76]
Generated Node #0,0,1: 89:[93, 76] Operation: 6+70=76
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[93, 76], Operations: ['5*14=70', '6+70=76']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 93+76=169, Resulting Numbers: [169]
169,89 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: 89:[70, 87], Operations: ['5*14=70', '93-6=87']
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,89 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 |
[
57,
15,
95,
72
] | 47 | [
"15*95=1425",
"1425/57=25",
"72-25=47"
] | Current State: 47:[57, 15, 95, 72], Operations: []
Exploring Operation: 15*95=1425, Resulting Numbers: [57, 72, 1425]
Generated Node #2: [57, 72, 1425] from Operation: 15*95=1425
Current State: 47:[57, 72, 1425], Operations: ['15*95=1425']
Exploring Operation: 1425/57=25, Resulting Numbers: [72, 25]
Generated Node #3: [72, 25] from Operation: 1425/57=25
Current State: 47:[72, 25], Operations: ['15*95=1425', '1425/57=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[57, 15, 95, 72], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [57, 15, 23]
Generated Node #0,0: 47:[57, 15, 23] Operation: 95-72=23
Exploring Operation: 95-57=38, Resulting Numbers: [15, 72, 38]
Generated Node #0,1: 47:[15, 72, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[57, 15, 23], Operations: ['95-72=23']
Exploring Operation: 15+23=38, Resulting Numbers: [57, 38]
Generated Node #0,0,0: 47:[57, 38] Operation: 15+23=38
Exploring Operation: 57-15=42, Resulting Numbers: [23, 42]
Generated Node #0,0,1: 47:[23, 42] Operation: 57-15=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[57, 38], Operations: ['95-72=23', '15+23=38']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,47 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: 47:[23, 42], Operations: ['95-72=23', '57-15=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,47 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: 47:[15, 72, 38], Operations: ['95-57=38']
Exploring Operation: 72-15=57, Resulting Numbers: [38, 57]
Generated Node #0,1,0: 47:[38, 57] Operation: 72-15=57
Exploring Operation: 15+38=53, Resulting Numbers: [72, 53]
Generated Node #0,1,1: 47:[72, 53] Operation: 15+38=53
Moving to Node #0,1,0
Current State: 47:[38, 57], Operations: ['95-57=38', '72-15=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[72, 53], Operations: ['95-57=38', '15+38=53']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
64,
4,
17
] | 33 | [
"20*4=80",
"64-17=47",
"80-47=33"
] | Current State: 33:[20, 64, 4, 17], Operations: []
Exploring Operation: 20*4=80, Resulting Numbers: [64, 17, 80]
Generated Node #2: [64, 17, 80] from Operation: 20*4=80
Current State: 33:[64, 17, 80], Operations: ['20*4=80']
Exploring Operation: 64-17=47, Resulting Numbers: [80, 47]
Generated Node #3: [80, 47] from Operation: 64-17=47
Current State: 33:[80, 47], Operations: ['20*4=80', '64-17=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[20, 64, 4, 17], Operations: []
Exploring Operation: 20+17=37, Resulting Numbers: [64, 4, 37]
Generated Node #0,0: 33:[64, 4, 37] Operation: 20+17=37
Exploring Operation: 64-17=47, Resulting Numbers: [20, 4, 47]
Generated Node #0,1: 33:[20, 4, 47] Operation: 64-17=47
Exploring Operation: 64/4=16, Resulting Numbers: [20, 17, 16]
Generated Node #0,2: 33:[20, 17, 16] Operation: 64/4=16
Exploring Operation: 64-20=44, Resulting Numbers: [4, 17, 44]
Generated Node #0,3: 33:[4, 17, 44] Operation: 64-20=44
Exploring Operation: 20-17=3, Resulting Numbers: [64, 4, 3]
Generated Node #0,4: 33:[64, 4, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[4, 17, 44], Operations: ['64-20=44']
Exploring Operation: 44-4=40, Resulting Numbers: [17, 40]
Generated Node #0,3,0: 33:[17, 40] Operation: 44-4=40
Exploring Operation: 4+17=21, Resulting Numbers: [44, 21]
Generated Node #0,3,1: 33:[44, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [44, 13]
Generated Node #0,3,2: 33:[44, 13] Operation: 17-4=13
Exploring Operation: 44-17=27, Resulting Numbers: [4, 27]
Generated Node #0,3,3: 33:[4, 27] Operation: 44-17=27
Exploring Operation: 44/4=11, Resulting Numbers: [17, 11]
Generated Node #0,3,4: 33:[17, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 33:[17, 11], Operations: ['64-20=44', '44/4=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,33 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,33 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: 33:[4, 27], Operations: ['64-20=44', '44-17=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,33 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: 33:[17, 40], Operations: ['64-20=44', '44-4=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,33 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: 33:[44, 13], Operations: ['64-20=44', '17-4=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,33 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: 33:[44, 21], Operations: ['64-20=44', '4+17=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,33 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,33 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: 33:[20, 17, 16], Operations: ['64/4=16']
Exploring Operation: 20-16=4, Resulting Numbers: [17, 4]
Generated Node #0,2,0: 33:[17, 4] Operation: 20-16=4
Exploring Operation: 20+17=37, Resulting Numbers: [16, 37]
Generated Node #0,2,1: 33:[16, 37] Operation: 20+17=37
Exploring Operation: 20+16=36, Resulting Numbers: [17, 36]
Generated Node #0,2,2: 33:[17, 36] Operation: 20+16=36
Exploring Operation: 17+16=33, Resulting Numbers: [20, 33]
Generated Node #0,2,3: 33:[20, 33] Operation: 17+16=33
Exploring Operation: 20-17=3, Resulting Numbers: [16, 3]
Generated Node #0,2,4: 33:[16, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 33:[16, 3], Operations: ['64/4=16', '20-17=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,33 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: 33:[17, 4], Operations: ['64/4=16', '20-16=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,33 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,1
Current State: 33:[16, 37], Operations: ['64/4=16', '20+17=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,33 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,33 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: 33:[17, 36], Operations: ['64/4=16', '20+16=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,33 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,33 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,3
Current State: 33:[20, 33], Operations: ['64/4=16', '17+16=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,33 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,33 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: 33:[20, 4, 47], Operations: ['64-17=47']
Exploring Operation: 47-20=27, Resulting Numbers: [4, 27]
Generated Node #0,1,0: 33:[4, 27] Operation: 47-20=27
Exploring Operation: 47-4=43, Resulting Numbers: [20, 43]
Generated Node #0,1,1: 33:[20, 43] Operation: 47-4=43
Exploring Operation: 20+4=24, Resulting Numbers: [47, 24]
Generated Node #0,1,2: 33:[47, 24] Operation: 20+4=24
Exploring Operation: 20/4=5, Resulting Numbers: [47, 5]
Generated Node #0,1,3: 33:[47, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [47, 16]
Generated Node #0,1,4: 33:[47, 16] Operation: 20-4=16
Moving to Node #0,1,0
Current State: 33:[4, 27], Operations: ['64-17=47', '47-20=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[47, 5], Operations: ['64-17=47', '20/4=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[20, 43], Operations: ['64-17=47', '47-4=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,33 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[47, 16], Operations: ['64-17=47', '20-4=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,33 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[47, 24], Operations: ['64-17=47', '20+4=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,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,4
Current State: 33:[64, 4, 3], Operations: ['20-17=3']
Exploring Operation: 64-4=60, Resulting Numbers: [3, 60]
Generated Node #0,4,0: 33:[3, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [3, 16]
Generated Node #0,4,1: 33:[3, 16] Operation: 64/4=16
Exploring Operation: 4-3=1, Resulting Numbers: [64, 1]
Generated Node #0,4,2: 33:[64, 1] Operation: 4-3=1
Exploring Operation: 4*3=12, Resulting Numbers: [64, 12]
Generated Node #0,4,3: 33:[64, 12] Operation: 4*3=12
Exploring Operation: 64-3=61, Resulting Numbers: [4, 61]
Generated Node #0,4,4: 33:[4, 61] Operation: 64-3=61
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 33:[3, 16], Operations: ['20-17=3', '64/4=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,33 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: 33:[3, 60], Operations: ['20-17=3', '64-4=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,33 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,33 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,4
Current State: 33:[4, 61], Operations: ['20-17=3', '64-3=61']
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,33 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,33 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: 33:[64, 12], Operations: ['20-17=3', '4*3=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,33 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: 33:[64, 1], Operations: ['20-17=3', '4-3=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,33 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: 33:[64, 4, 37], Operations: ['20+17=37']
Exploring Operation: 64-37=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 33:[4, 27] Operation: 64-37=27
Exploring Operation: 64-4=60, Resulting Numbers: [37, 60]
Generated Node #0,0,1: 33:[37, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [37, 16]
Generated Node #0,0,2: 33:[37, 16] Operation: 64/4=16
Exploring Operation: 37-4=33, Resulting Numbers: [64, 33]
Generated Node #0,0,3: 33:[64, 33] Operation: 37-4=33
Exploring Operation: 64+4=68, Resulting Numbers: [37, 68]
Generated Node #0,0,4: 33:[37, 68] Operation: 64+4=68
Moving to Node #0,0,0
Current State: 33:[4, 27], Operations: ['20+17=37', '64-37=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[37, 16], Operations: ['20+17=37', '64/4=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[37, 60], Operations: ['20+17=37', '64-4=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,33 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[64, 33], Operations: ['20+17=37', '37-4=33']
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,33 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[37, 68], Operations: ['20+17=37', '64+4=68']
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,33 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
65,
20,
36
] | 56 | [
"65*36=2340",
"2340/20=117",
"117-61=56"
] | Current State: 56:[61, 65, 20, 36], Operations: []
Exploring Operation: 65*36=2340, Resulting Numbers: [61, 20, 2340]
Generated Node #2: [61, 20, 2340] from Operation: 65*36=2340
Current State: 56:[61, 20, 2340], Operations: ['65*36=2340']
Exploring Operation: 2340/20=117, Resulting Numbers: [61, 117]
Generated Node #3: [61, 117] from Operation: 2340/20=117
Current State: 56:[61, 117], Operations: ['65*36=2340', '2340/20=117']
Exploring Operation: 117-61=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[61, 65, 20, 36], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [61, 20, 29]
Generated Node #0,0: 56:[61, 20, 29] Operation: 65-36=29
Exploring Operation: 65-61=4, Resulting Numbers: [20, 36, 4]
Generated Node #0,1: 56:[20, 36, 4] Operation: 65-61=4
Moving to Node #0,0
Current State: 56:[61, 20, 29], Operations: ['65-36=29']
Exploring Operation: 61-29=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 56:[20, 32] Operation: 61-29=32
Exploring Operation: 29-20=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 56:[61, 9] Operation: 29-20=9
Moving to Node #0,1
Current State: 56:[20, 36, 4], Operations: ['65-61=4']
Exploring Operation: 20+36=56, Resulting Numbers: [4, 56]
Generated Node #0,1,0: 56:[4, 56] Operation: 20+36=56
Exploring Operation: 36-20=16, Resulting Numbers: [4, 16]
Generated Node #0,1,1: 56:[4, 16] Operation: 36-20=16
Moving to Node #0,1,0
Current State: 56:[4, 56], Operations: ['65-61=4', '20+36=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[4, 16], Operations: ['65-61=4', '36-20=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[61, 9], Operations: ['65-36=29', '29-20=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[20, 32], Operations: ['65-36=29', '61-29=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,56 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
43,
5,
85
] | 48 | [
"85-84=1",
"43+5=48",
"1*48=48"
] | Current State: 48:[84, 43, 5, 85], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [43, 5, 1]
Generated Node #2: [43, 5, 1] from Operation: 85-84=1
Current State: 48:[43, 5, 1], Operations: ['85-84=1']
Exploring Operation: 43+5=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 43+5=48
Current State: 48:[1, 48], Operations: ['85-84=1', '43+5=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[84, 43, 5, 85], Operations: []
Exploring Operation: 84-43=41, Resulting Numbers: [5, 85, 41]
Generated Node #0,0: 48:[5, 85, 41] Operation: 84-43=41
Exploring Operation: 84-5=79, Resulting Numbers: [43, 85, 79]
Generated Node #0,1: 48:[43, 85, 79] Operation: 84-5=79
Exploring Operation: 85/5=17, Resulting Numbers: [84, 43, 17]
Generated Node #0,2: 48:[84, 43, 17] Operation: 85/5=17
Exploring Operation: 85-84=1, Resulting Numbers: [43, 5, 1]
Generated Node #0,3: 48:[43, 5, 1] Operation: 85-84=1
Exploring Operation: 85-43=42, Resulting Numbers: [84, 5, 42]
Generated Node #0,4: 48:[84, 5, 42] Operation: 85-43=42
Moving to Node #0,3
Current State: 48:[43, 5, 1], Operations: ['85-84=1']
Exploring Operation: 43+5=48, Resulting Numbers: [1, 48]
Generated Node #0,3,0: 48:[1, 48] Operation: 43+5=48
Exploring Operation: 5+1=6, Resulting Numbers: [43, 6]
Generated Node #0,3,1: 48:[43, 6] Operation: 5+1=6
Exploring Operation: 5-1=4, Resulting Numbers: [43, 4]
Generated Node #0,3,2: 48:[43, 4] Operation: 5-1=4
Exploring Operation: 43*1=43, Resulting Numbers: [5, 43]
Generated Node #0,3,3: 48:[5, 43] Operation: 43*1=43
Exploring Operation: 43+1=44, Resulting Numbers: [5, 44]
Generated Node #0,3,4: 48:[5, 44] Operation: 43+1=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[1, 48], Operations: ['85-84=1', '43+5=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[84, 43, 5, 85], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [43, 5, 1]
Generated Node #0,3: 48:[43, 5, 1] Operation: 85-84=1
Moving to Node #0,3
Current State: 48:[43, 5, 1], Operations: ['85-84=1']
Exploring Operation: 43+5=48, Resulting Numbers: [1, 48]
Generated Node #0,3,0: 48:[1, 48] Operation: 43+5=48
Moving to Node #0,3,0
Current State: 48:[1, 48], Operations: ['85-84=1', '43+5=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
66,
29,
33,
90
] | 94 | [
"66-29=37",
"90-33=57",
"37+57=94"
] | Current State: 94:[66, 29, 33, 90], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [33, 90, 37]
Generated Node #2: [33, 90, 37] from Operation: 66-29=37
Current State: 94:[33, 90, 37], Operations: ['66-29=37']
Exploring Operation: 90-33=57, Resulting Numbers: [37, 57]
Generated Node #3: [37, 57] from Operation: 90-33=57
Current State: 94:[37, 57], Operations: ['66-29=37', '90-33=57']
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[66, 29, 33, 90], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [66, 90, 4]
Generated Node #0,0: 94:[66, 90, 4] Operation: 33-29=4
Exploring Operation: 66+33=99, Resulting Numbers: [29, 90, 99]
Generated Node #0,1: 94:[29, 90, 99] Operation: 66+33=99
Exploring Operation: 66/33=2, Resulting Numbers: [29, 90, 2]
Generated Node #0,2: 94:[29, 90, 2] Operation: 66/33=2
Exploring Operation: 66+29=95, Resulting Numbers: [33, 90, 95]
Generated Node #0,3: 94:[33, 90, 95] Operation: 66+29=95
Moving to Node #0,3
Current State: 94:[33, 90, 95], Operations: ['66+29=95']
Exploring Operation: 95-33=62, Resulting Numbers: [90, 62]
Generated Node #0,3,0: 94:[90, 62] Operation: 95-33=62
Exploring Operation: 90-33=57, Resulting Numbers: [95, 57]
Generated Node #0,3,1: 94:[95, 57] Operation: 90-33=57
Exploring Operation: 95-90=5, Resulting Numbers: [33, 5]
Generated Node #0,3,2: 94:[33, 5] Operation: 95-90=5
Exploring Operation: 33+90=123, Resulting Numbers: [95, 123]
Generated Node #0,3,3: 94:[95, 123] Operation: 33+90=123
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[95, 57], Operations: ['66+29=95', '90-33=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,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,2
Current State: 94:[33, 5], Operations: ['66+29=95', '95-90=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,94 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,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,0
Current State: 94:[90, 62], Operations: ['66+29=95', '95-33=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,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,3
Current State: 94:[95, 123], Operations: ['66+29=95', '33+90=123']
Exploring Operation: 95+123=218, Resulting Numbers: [218]
218,94 unequal: No Solution
Exploring Operation: 95*123=11685, Resulting Numbers: [11685]
11685,94 unequal: No Solution
Exploring Operation: 123-95=28, Resulting Numbers: [28]
28,94 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: 94:[29, 90, 2], Operations: ['66/33=2']
Exploring Operation: 90+2=92, Resulting Numbers: [29, 92]
Generated Node #0,2,0: 94:[29, 92] Operation: 90+2=92
Exploring Operation: 29+2=31, Resulting Numbers: [90, 31]
Generated Node #0,2,1: 94:[90, 31] Operation: 29+2=31
Exploring Operation: 90-29=61, Resulting Numbers: [2, 61]
Generated Node #0,2,2: 94:[2, 61] Operation: 90-29=61
Exploring Operation: 29*2=58, Resulting Numbers: [90, 58]
Generated Node #0,2,3: 94:[90, 58] Operation: 29*2=58
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[2, 61], Operations: ['66/33=2', '90-29=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,94 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,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,2,3
Current State: 94:[90, 58], Operations: ['66/33=2', '29*2=58']
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,94 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,94 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,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,2,0
Current State: 94:[29, 92], Operations: ['66/33=2', '90+2=92']
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 29+92=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 29*92=2668, Resulting Numbers: [2668]
2668,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,2,1
Current State: 94:[90, 31], Operations: ['66/33=2', '29+2=31']
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,94 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,94 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: 94:[66, 90, 4], Operations: ['33-29=4']
Exploring Operation: 90+4=94, Resulting Numbers: [66, 94]
Generated Node #0,0,0: 94:[66, 94] Operation: 90+4=94
Exploring Operation: 66+4=70, Resulting Numbers: [90, 70]
Generated Node #0,0,1: 94:[90, 70] Operation: 66+4=70
Exploring Operation: 90-66=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 94:[4, 24] Operation: 90-66=24
Exploring Operation: 66-4=62, Resulting Numbers: [90, 62]
Generated Node #0,0,3: 94:[90, 62] Operation: 66-4=62
Moving to Node #0,1
Current State: 94:[29, 90, 99], Operations: ['66+33=99']
Exploring Operation: 99-29=70, Resulting Numbers: [90, 70]
Generated Node #0,1,0: 94:[90, 70] Operation: 99-29=70
Exploring Operation: 90-29=61, Resulting Numbers: [99, 61]
Generated Node #0,1,1: 94:[99, 61] Operation: 90-29=61
Exploring Operation: 99-90=9, Resulting Numbers: [29, 9]
Generated Node #0,1,2: 94:[29, 9] Operation: 99-90=9
Exploring Operation: 29+90=119, Resulting Numbers: [99, 119]
Generated Node #0,1,3: 94:[99, 119] Operation: 29+90=119
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[99, 61], Operations: ['66+33=99', '90-29=61']
Exploring Operation: 99+61=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 99*61=6039, Resulting Numbers: [6039]
6039,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,1,2
Current State: 94:[29, 9], Operations: ['66+33=99', '99-90=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,94 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,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,1,0
Current State: 94:[90, 70], Operations: ['66+33=99', '99-29=70']
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 90+70=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 90*70=6300, Resulting Numbers: [6300]
6300,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,1,3
Current State: 94:[99, 119], Operations: ['66+33=99', '29+90=119']
Exploring Operation: 119-99=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 99+119=218, Resulting Numbers: [218]
218,94 unequal: No Solution
Exploring Operation: 99*119=11781, Resulting Numbers: [11781]
11781,94 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: 94:[66, 94], Operations: ['33-29=4', '90+4=94']
Exploring Operation: 66*94=6204, Resulting Numbers: [6204]
6204,94 unequal: No Solution
Exploring Operation: 66+94=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[90, 62], Operations: ['33-29=4', '66-4=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[4, 24], Operations: ['33-29=4', '90-66=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[90, 70], Operations: ['33-29=4', '66+4=70']
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 90+70=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 90*70=6300, Resulting Numbers: [6300]
6300,94 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
68,
60,
9
] | 72 | [
"64*9=576",
"68-60=8",
"576/8=72"
] | Current State: 72:[64, 68, 60, 9], Operations: []
Exploring Operation: 64*9=576, Resulting Numbers: [68, 60, 576]
Generated Node #2: [68, 60, 576] from Operation: 64*9=576
Current State: 72:[68, 60, 576], Operations: ['64*9=576']
Exploring Operation: 68-60=8, Resulting Numbers: [576, 8]
Generated Node #3: [576, 8] from Operation: 68-60=8
Current State: 72:[576, 8], Operations: ['64*9=576', '68-60=8']
Exploring Operation: 576/8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 68, 60, 9], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [68, 9, 4]
Generated Node #0,0: 72:[68, 9, 4] Operation: 64-60=4
Moving to Node #0,0
Current State: 72:[68, 9, 4], Operations: ['64-60=4']
Exploring Operation: 68+4=72, Resulting Numbers: [9, 72]
Generated Node #0,0,0: 72:[9, 72] Operation: 68+4=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[9, 72], Operations: ['64-60=4', '68+4=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,72 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 |
[
50,
84,
5,
24
] | 35 | [
"50*84=4200",
"5*24=120",
"4200/120=35"
] | Current State: 35:[50, 84, 5, 24], Operations: []
Exploring Operation: 50*84=4200, Resulting Numbers: [5, 24, 4200]
Generated Node #2: [5, 24, 4200] from Operation: 50*84=4200
Current State: 35:[5, 24, 4200], Operations: ['50*84=4200']
Exploring Operation: 5*24=120, Resulting Numbers: [4200, 120]
Generated Node #3: [4200, 120] from Operation: 5*24=120
Current State: 35:[4200, 120], Operations: ['50*84=4200', '5*24=120']
Exploring Operation: 4200/120=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[50, 84, 5, 24], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [50, 5, 60]
Generated Node #0,0: 35:[50, 5, 60] Operation: 84-24=60
Exploring Operation: 84-50=34, Resulting Numbers: [5, 24, 34]
Generated Node #0,1: 35:[5, 24, 34] Operation: 84-50=34
Exploring Operation: 50/5=10, Resulting Numbers: [84, 24, 10]
Generated Node #0,2: 35:[84, 24, 10] Operation: 50/5=10
Exploring Operation: 50-24=26, Resulting Numbers: [84, 5, 26]
Generated Node #0,3: 35:[84, 5, 26] Operation: 50-24=26
Moving to Node #0,1
Current State: 35:[5, 24, 34], Operations: ['84-50=34']
Exploring Operation: 5+24=29, Resulting Numbers: [34, 29]
Generated Node #0,1,0: 35:[34, 29] Operation: 5+24=29
Exploring Operation: 34-24=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 35:[5, 10] Operation: 34-24=10
Exploring Operation: 24-5=19, Resulting Numbers: [34, 19]
Generated Node #0,1,2: 35:[34, 19] Operation: 24-5=19
Exploring Operation: 5+34=39, Resulting Numbers: [24, 39]
Generated Node #0,1,3: 35:[24, 39] Operation: 5+34=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[5, 10], Operations: ['84-50=34', '34-24=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,35 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: 35:[34, 29], Operations: ['84-50=34', '5+24=29']
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,35 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,35 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: 35:[34, 19], Operations: ['84-50=34', '24-5=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,35 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: 35:[24, 39], Operations: ['84-50=34', '5+34=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,35 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: 35:[50, 5, 60], Operations: ['84-24=60']
Exploring Operation: 60-50=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 35:[5, 10] Operation: 60-50=10
Exploring Operation: 60/5=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 35:[50, 12] Operation: 60/5=12
Exploring Operation: 50-5=45, Resulting Numbers: [60, 45]
Generated Node #0,0,2: 35:[60, 45] Operation: 50-5=45
Exploring Operation: 50/5=10, Resulting Numbers: [60, 10]
Generated Node #0,0,3: 35:[60, 10] Operation: 50/5=10
Moving to Node #0,3
Current State: 35:[84, 5, 26], Operations: ['50-24=26']
Exploring Operation: 5+26=31, Resulting Numbers: [84, 31]
Generated Node #0,3,0: 35:[84, 31] Operation: 5+26=31
Exploring Operation: 84-5=79, Resulting Numbers: [26, 79]
Generated Node #0,3,1: 35:[26, 79] Operation: 84-5=79
Exploring Operation: 84-26=58, Resulting Numbers: [5, 58]
Generated Node #0,3,2: 35:[5, 58] Operation: 84-26=58
Exploring Operation: 84+5=89, Resulting Numbers: [26, 89]
Generated Node #0,3,3: 35:[26, 89] Operation: 84+5=89
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[5, 58], Operations: ['50-24=26', '84-26=58']
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,35 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,35 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: 35:[84, 31], Operations: ['50-24=26', '5+26=31']
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,35 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,35 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,35 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: 35:[26, 79], Operations: ['50-24=26', '84-5=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,35 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,35 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: 35:[26, 89], Operations: ['50-24=26', '84+5=89']
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,35 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,35 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: 35:[84, 24, 10], Operations: ['50/5=10']
Exploring Operation: 84-24=60, Resulting Numbers: [10, 60]
Generated Node #0,2,0: 35:[10, 60] Operation: 84-24=60
Exploring Operation: 24-10=14, Resulting Numbers: [84, 14]
Generated Node #0,2,1: 35:[84, 14] Operation: 24-10=14
Exploring Operation: 24+10=34, Resulting Numbers: [84, 34]
Generated Node #0,2,2: 35:[84, 34] Operation: 24+10=34
Exploring Operation: 84-10=74, Resulting Numbers: [24, 74]
Generated Node #0,2,3: 35:[24, 74] Operation: 84-10=74
Moving to Node #0,0,0
Current State: 35:[5, 10], Operations: ['84-24=60', '60-50=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[50, 12], Operations: ['84-24=60', '60/5=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[60, 10], Operations: ['84-24=60', '50/5=10']
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[10, 60], Operations: ['50/5=10', '84-24=60']
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[60, 45], Operations: ['84-24=60', '50-5=45']
Exploring Operation: 60+45=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 60*45=2700, Resulting Numbers: [2700]
2700,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[84, 34], Operations: ['50/5=10', '24+10=34']
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,35 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[24, 74], Operations: ['50/5=10', '84-10=74']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,35 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[84, 14], Operations: ['50/5=10', '24-10=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,35 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
35,
51,
55
] | 77 | [
"64-35=29",
"51+55=106",
"106-29=77"
] | Current State: 77:[64, 35, 51, 55], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [51, 55, 29]
Generated Node #2: [51, 55, 29] from Operation: 64-35=29
Current State: 77:[51, 55, 29], Operations: ['64-35=29']
Exploring Operation: 51+55=106, Resulting Numbers: [29, 106]
Generated Node #3: [29, 106] from Operation: 51+55=106
Current State: 77:[29, 106], Operations: ['64-35=29', '51+55=106']
Exploring Operation: 106-29=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[64, 35, 51, 55], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [64, 55, 16]
Generated Node #0,0: 77:[64, 55, 16] Operation: 51-35=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[64, 55, 16], Operations: ['51-35=16']
Exploring Operation: 64-55=9, Resulting Numbers: [16, 9]
Generated Node #0,0,0: 77:[16, 9] Operation: 64-55=9
Moving to Node #0,0,0
Current State: 77:[16, 9], Operations: ['51-35=16', '64-55=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,77 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 |
[
61,
10,
90,
7
] | 20 | [
"61*10=610",
"90*7=630",
"630-610=20"
] | Current State: 20:[61, 10, 90, 7], Operations: []
Exploring Operation: 61*10=610, Resulting Numbers: [90, 7, 610]
Generated Node #2: [90, 7, 610] from Operation: 61*10=610
Current State: 20:[90, 7, 610], Operations: ['61*10=610']
Exploring Operation: 90*7=630, Resulting Numbers: [610, 630]
Generated Node #3: [610, 630] from Operation: 90*7=630
Current State: 20:[610, 630], Operations: ['61*10=610', '90*7=630']
Exploring Operation: 630-610=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[61, 10, 90, 7], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [10, 7, 29]
Generated Node #0,0: 20:[10, 7, 29] Operation: 90-61=29
Exploring Operation: 90/10=9, Resulting Numbers: [61, 7, 9]
Generated Node #0,1: 20:[61, 7, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [61, 7, 80]
Generated Node #0,2: 20:[61, 7, 80] Operation: 90-10=80
Exploring Operation: 61-10=51, Resulting Numbers: [90, 7, 51]
Generated Node #0,3: 20:[90, 7, 51] Operation: 61-10=51
Moving to Node #0,0
Current State: 20:[10, 7, 29], Operations: ['90-61=29']
Exploring Operation: 29-10=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 20:[7, 19] Operation: 29-10=19
Exploring Operation: 29-7=22, Resulting Numbers: [10, 22]
Generated Node #0,0,1: 20:[10, 22] Operation: 29-7=22
Exploring Operation: 10-7=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 20:[29, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [29, 17]
Generated Node #0,0,3: 20:[29, 17] Operation: 10+7=17
Moving to Node #0,1
Current State: 20:[61, 7, 9], Operations: ['90/10=9']
Exploring Operation: 61-7=54, Resulting Numbers: [9, 54]
Generated Node #0,1,0: 20:[9, 54] Operation: 61-7=54
Exploring Operation: 61-9=52, Resulting Numbers: [7, 52]
Generated Node #0,1,1: 20:[7, 52] Operation: 61-9=52
Exploring Operation: 9-7=2, Resulting Numbers: [61, 2]
Generated Node #0,1,2: 20:[61, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [61, 16]
Generated Node #0,1,3: 20:[61, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[7, 52], Operations: ['90/10=9', '61-9=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,20 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,20 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: 20:[9, 54], Operations: ['90/10=9', '61-7=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 9*54=486, Resulting Numbers: [486]
486,20 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,20 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: 20:[61, 2], Operations: ['90/10=9', '9-7=2']
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,20 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,20 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: 20:[61, 16], Operations: ['90/10=9', '7+9=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,20 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,20 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: 20:[90, 7, 51], Operations: ['61-10=51']
Exploring Operation: 90+7=97, Resulting Numbers: [51, 97]
Generated Node #0,3,0: 20:[51, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [51, 83]
Generated Node #0,3,1: 20:[51, 83] Operation: 90-7=83
Exploring Operation: 51-7=44, Resulting Numbers: [90, 44]
Generated Node #0,3,2: 20:[90, 44] Operation: 51-7=44
Exploring Operation: 90-51=39, Resulting Numbers: [7, 39]
Generated Node #0,3,3: 20:[7, 39] Operation: 90-51=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[7, 39], Operations: ['61-10=51', '90-51=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,20 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,20 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: 20:[51, 83], Operations: ['61-10=51', '90-7=83']
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 51*83=4233, Resulting Numbers: [4233]
4233,20 unequal: No Solution
Exploring Operation: 51+83=134, Resulting Numbers: [134]
134,20 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: 20:[90, 44], Operations: ['61-10=51', '51-7=44']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,20 unequal: No Solution
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,20 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: 20:[51, 97], Operations: ['61-10=51', '90+7=97']
Exploring Operation: 51+97=148, Resulting Numbers: [148]
148,20 unequal: No Solution
Exploring Operation: 51*97=4947, Resulting Numbers: [4947]
4947,20 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,20 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: 20:[61, 7, 80], Operations: ['90-10=80']
Exploring Operation: 80-61=19, Resulting Numbers: [7, 19]
Generated Node #0,2,0: 20:[7, 19] Operation: 80-61=19
Exploring Operation: 61+7=68, Resulting Numbers: [80, 68]
Generated Node #0,2,1: 20:[80, 68] Operation: 61+7=68
Exploring Operation: 61-7=54, Resulting Numbers: [80, 54]
Generated Node #0,2,2: 20:[80, 54] Operation: 61-7=54
Exploring Operation: 80-7=73, Resulting Numbers: [61, 73]
Generated Node #0,2,3: 20:[61, 73] Operation: 80-7=73
Moving to Node #0,0,1
Current State: 20:[10, 22], Operations: ['90-61=29', '29-7=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,20 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[7, 19], Operations: ['90-61=29', '29-10=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,20 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[7, 19], Operations: ['90-10=80', '80-61=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,20 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[29, 3], Operations: ['90-61=29', '10-7=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[29, 17], Operations: ['90-61=29', '10+7=17']
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,20 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[80, 54], Operations: ['90-10=80', '61-7=54']
Exploring Operation: 80*54=4320, Resulting Numbers: [4320]
4320,20 unequal: No Solution
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 80+54=134, Resulting Numbers: [134]
134,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[61, 73], Operations: ['90-10=80', '80-7=73']
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,20 unequal: No Solution
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,20 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[80, 68], Operations: ['90-10=80', '61+7=68']
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,20 unequal: No Solution
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
16,
66,
89
] | 100 | [
"22-16=6",
"66/6=11",
"89+11=100"
] | Current State: 100:[22, 16, 66, 89], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [66, 89, 6]
Generated Node #2: [66, 89, 6] from Operation: 22-16=6
Current State: 100:[66, 89, 6], Operations: ['22-16=6']
Exploring Operation: 66/6=11, Resulting Numbers: [89, 11]
Generated Node #3: [89, 11] from Operation: 66/6=11
Current State: 100:[89, 11], Operations: ['22-16=6', '66/6=11']
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[22, 16, 66, 89], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [22, 16, 23]
Generated Node #0,0: 100:[22, 16, 23] Operation: 89-66=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[22, 16, 23], Operations: ['89-66=23']
Exploring Operation: 22-16=6, Resulting Numbers: [23, 6]
Generated Node #0,0,0: 100:[23, 6] Operation: 22-16=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[23, 6], Operations: ['89-66=23', '22-16=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,100 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 |
[
52,
15,
40,
2
] | 49 | [
"52*2=104",
"15+40=55",
"104-55=49"
] | Current State: 49:[52, 15, 40, 2], Operations: []
Exploring Operation: 52*2=104, Resulting Numbers: [15, 40, 104]
Generated Node #2: [15, 40, 104] from Operation: 52*2=104
Current State: 49:[15, 40, 104], Operations: ['52*2=104']
Exploring Operation: 15+40=55, Resulting Numbers: [104, 55]
Generated Node #3: [104, 55] from Operation: 15+40=55
Current State: 49:[104, 55], Operations: ['52*2=104', '15+40=55']
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[52, 15, 40, 2], Operations: []
Exploring Operation: 15+40=55, Resulting Numbers: [52, 2, 55]
Generated Node #0,0: 49:[52, 2, 55] Operation: 15+40=55
Exploring Operation: 52-40=12, Resulting Numbers: [15, 2, 12]
Generated Node #0,1: 49:[15, 2, 12] Operation: 52-40=12
Exploring Operation: 52-2=50, Resulting Numbers: [15, 40, 50]
Generated Node #0,2: 49:[15, 40, 50] Operation: 52-2=50
Exploring Operation: 15-2=13, Resulting Numbers: [52, 40, 13]
Generated Node #0,3: 49:[52, 40, 13] Operation: 15-2=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[52, 2, 55], Operations: ['15+40=55']
Exploring Operation: 52+2=54, Resulting Numbers: [55, 54]
Generated Node #0,0,0: 49:[55, 54] Operation: 52+2=54
Exploring Operation: 52-2=50, Resulting Numbers: [55, 50]
Generated Node #0,0,1: 49:[55, 50] Operation: 52-2=50
Exploring Operation: 55-52=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 49:[2, 3] Operation: 55-52=3
Exploring Operation: 55-2=53, Resulting Numbers: [52, 53]
Generated Node #0,0,3: 49:[52, 53] Operation: 55-2=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[55, 50], Operations: ['15+40=55', '52-2=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,49 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,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,0,3
Current State: 49:[52, 53], Operations: ['15+40=55', '55-2=53']
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,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,0,2
Current State: 49:[2, 3], Operations: ['15+40=55', '55-52=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,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,0,0
Current State: 49:[55, 54], Operations: ['15+40=55', '52+2=54']
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,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,1
Current State: 49:[15, 2, 12], Operations: ['52-40=12']
Exploring Operation: 15-12=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 49:[2, 3] Operation: 15-12=3
Exploring Operation: 12/2=6, Resulting Numbers: [15, 6]
Generated Node #0,1,1: 49:[15, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [15, 10]
Generated Node #0,1,2: 49:[15, 10] Operation: 12-2=10
Exploring Operation: 15-2=13, Resulting Numbers: [12, 13]
Generated Node #0,1,3: 49:[12, 13] Operation: 15-2=13
Moving to Node #0,1,0
Current State: 49:[2, 3], Operations: ['52-40=12', '15-12=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[15, 6], Operations: ['52-40=12', '12/2=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[12, 13], Operations: ['52-40=12', '15-2=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[15, 10], Operations: ['52-40=12', '12-2=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,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,2
Current State: 49:[15, 40, 50], Operations: ['52-2=50']
Exploring Operation: 50-40=10, Resulting Numbers: [15, 10]
Generated Node #0,2,0: 49:[15, 10] Operation: 50-40=10
Exploring Operation: 50-15=35, Resulting Numbers: [40, 35]
Generated Node #0,2,1: 49:[40, 35] Operation: 50-15=35
Exploring Operation: 15+40=55, Resulting Numbers: [50, 55]
Generated Node #0,2,2: 49:[50, 55] Operation: 15+40=55
Exploring Operation: 40-15=25, Resulting Numbers: [50, 25]
Generated Node #0,2,3: 49:[50, 25] Operation: 40-15=25
Moving to Node #0,2,2
Current State: 49:[50, 55], Operations: ['52-2=50', '15+40=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,49 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[15, 10], Operations: ['52-2=50', '50-40=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[50, 25], Operations: ['52-2=50', '40-15=25']
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,49 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[40, 35], Operations: ['52-2=50', '50-15=35']
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,49 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,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,3
Current State: 49:[52, 40, 13], Operations: ['15-2=13']
Exploring Operation: 52/13=4, Resulting Numbers: [40, 4]
Generated Node #0,3,0: 49:[40, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [40, 39]
Generated Node #0,3,1: 49:[40, 39] Operation: 52-13=39
Exploring Operation: 52-40=12, Resulting Numbers: [13, 12]
Generated Node #0,3,2: 49:[13, 12] Operation: 52-40=12
Exploring Operation: 40+13=53, Resulting Numbers: [52, 53]
Generated Node #0,3,3: 49:[52, 53] Operation: 40+13=53
Moving to Node #0,3,3
Current State: 49:[52, 53], Operations: ['15-2=13', '40+13=53']
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[13, 12], Operations: ['15-2=13', '52-40=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,49 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[40, 4], Operations: ['15-2=13', '52/13=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[40, 39], Operations: ['15-2=13', '52-13=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,49 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,49 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 |
[
14,
5,
99,
9
] | 43 | [
"9-5=4",
"14*4=56",
"99-56=43"
] | Current State: 43:[14, 5, 99, 9], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [14, 99, 4]
Generated Node #2: [14, 99, 4] from Operation: 9-5=4
Current State: 43:[14, 99, 4], Operations: ['9-5=4']
Exploring Operation: 14*4=56, Resulting Numbers: [99, 56]
Generated Node #3: [99, 56] from Operation: 14*4=56
Current State: 43:[99, 56], Operations: ['9-5=4', '14*4=56']
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[14, 5, 99, 9], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [14, 99, 45]
Generated Node #0,0: 43:[14, 99, 45] Operation: 5*9=45
Moving to Node #0,0
Current State: 43:[14, 99, 45], Operations: ['5*9=45']
Exploring Operation: 99-45=54, Resulting Numbers: [14, 54]
Generated Node #0,0,0: 43:[14, 54] Operation: 99-45=54
Moving to Node #0,0,0
Current State: 43:[14, 54], Operations: ['5*9=45', '99-45=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,43 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
40,
16,
35
] | 72 | [
"83+40=123",
"16+35=51",
"123-51=72"
] | Current State: 72:[83, 40, 16, 35], Operations: []
Exploring Operation: 83+40=123, Resulting Numbers: [16, 35, 123]
Generated Node #2: [16, 35, 123] from Operation: 83+40=123
Current State: 72:[16, 35, 123], Operations: ['83+40=123']
Exploring Operation: 16+35=51, Resulting Numbers: [123, 51]
Generated Node #3: [123, 51] from Operation: 16+35=51
Current State: 72:[123, 51], Operations: ['83+40=123', '16+35=51']
Exploring Operation: 123-51=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 40, 16, 35], Operations: []
Exploring Operation: 83-40=43, Resulting Numbers: [16, 35, 43]
Generated Node #0,0: 72:[16, 35, 43] Operation: 83-40=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[16, 35, 43], Operations: ['83-40=43']
Exploring Operation: 43-35=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 72:[16, 8] Operation: 43-35=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[16, 8], Operations: ['83-40=43', '43-35=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,72 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 |
[
99,
21,
14,
51
] | 41 | [
"99-21=78",
"51-14=37",
"78-37=41"
] | Current State: 41:[99, 21, 14, 51], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [14, 51, 78]
Generated Node #2: [14, 51, 78] from Operation: 99-21=78
Current State: 41:[14, 51, 78], Operations: ['99-21=78']
Exploring Operation: 51-14=37, Resulting Numbers: [78, 37]
Generated Node #3: [78, 37] from Operation: 51-14=37
Current State: 41:[78, 37], Operations: ['99-21=78', '51-14=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[99, 21, 14, 51], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [21, 14, 48]
Generated Node #0,0: 41:[21, 14, 48] Operation: 99-51=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[21, 14, 48], Operations: ['99-51=48']
Exploring Operation: 21+14=35, Resulting Numbers: [48, 35]
Generated Node #0,0,0: 41:[48, 35] Operation: 21+14=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[48, 35], Operations: ['99-51=48', '21+14=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,41 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 |
[
67,
24,
2,
26
] | 71 | [
"67-24=43",
"2+26=28",
"43+28=71"
] | Current State: 71:[67, 24, 2, 26], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [2, 26, 43]
Generated Node #2: [2, 26, 43] from Operation: 67-24=43
Current State: 71:[2, 26, 43], Operations: ['67-24=43']
Exploring Operation: 2+26=28, Resulting Numbers: [43, 28]
Generated Node #3: [43, 28] from Operation: 2+26=28
Current State: 71:[43, 28], Operations: ['67-24=43', '2+26=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[67, 24, 2, 26], Operations: []
Exploring Operation: 24+2=26, Resulting Numbers: [67, 26, 26]
Generated Node #0,0: 71:[67, 26, 26] Operation: 24+2=26
Exploring Operation: 2*26=52, Resulting Numbers: [67, 24, 52]
Generated Node #0,1: 71:[67, 24, 52] Operation: 2*26=52
Exploring Operation: 24*2=48, Resulting Numbers: [67, 26, 48]
Generated Node #0,2: 71:[67, 26, 48] Operation: 24*2=48
Exploring Operation: 67+2=69, Resulting Numbers: [24, 26, 69]
Generated Node #0,3: 71:[24, 26, 69] Operation: 67+2=69
Exploring Operation: 24+26=50, Resulting Numbers: [67, 2, 50]
Generated Node #0,4: 71:[67, 2, 50] Operation: 24+26=50
Moving to Node #0,1
Current State: 71:[67, 24, 52], Operations: ['2*26=52']
Exploring Operation: 67+52=119, Resulting Numbers: [24, 119]
Generated Node #0,1,0: 71:[24, 119] Operation: 67+52=119
Exploring Operation: 24+52=76, Resulting Numbers: [67, 76]
Generated Node #0,1,1: 71:[67, 76] Operation: 24+52=76
Exploring Operation: 67-24=43, Resulting Numbers: [52, 43]
Generated Node #0,1,2: 71:[52, 43] Operation: 67-24=43
Exploring Operation: 52-24=28, Resulting Numbers: [67, 28]
Generated Node #0,1,3: 71:[67, 28] Operation: 52-24=28
Exploring Operation: 67+24=91, Resulting Numbers: [52, 91]
Generated Node #0,1,4: 71:[52, 91] Operation: 67+24=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[67, 76], Operations: ['2*26=52', '24+52=76']
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 67*76=5092, Resulting Numbers: [5092]
5092,71 unequal: No Solution
Exploring Operation: 67+76=143, Resulting Numbers: [143]
143,71 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: 71:[52, 91], Operations: ['2*26=52', '67+24=91']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 52*91=4732, Resulting Numbers: [4732]
4732,71 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,71 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: 71:[52, 43], Operations: ['2*26=52', '67-24=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,71 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,71 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: 71:[67, 28], Operations: ['2*26=52', '52-24=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,71 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,71 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: 71:[24, 119], Operations: ['2*26=52', '67+52=119']
Exploring Operation: 24*119=2856, Resulting Numbers: [2856]
2856,71 unequal: No Solution
Exploring Operation: 24+119=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 119-24=95, Resulting Numbers: [95]
95,71 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: 71:[67, 26, 48], Operations: ['24*2=48']
Exploring Operation: 67+48=115, Resulting Numbers: [26, 115]
Generated Node #0,2,0: 71:[26, 115] Operation: 67+48=115
Exploring Operation: 26+48=74, Resulting Numbers: [67, 74]
Generated Node #0,2,1: 71:[67, 74] Operation: 26+48=74
Exploring Operation: 67+26=93, Resulting Numbers: [48, 93]
Generated Node #0,2,2: 71:[48, 93] Operation: 67+26=93
Exploring Operation: 67-26=41, Resulting Numbers: [48, 41]
Generated Node #0,2,3: 71:[48, 41] Operation: 67-26=41
Exploring Operation: 48-26=22, Resulting Numbers: [67, 22]
Generated Node #0,2,4: 71:[67, 22] Operation: 48-26=22
Moving to Node #0,0
Current State: 71:[67, 26, 26], Operations: ['24+2=26']
Exploring Operation: 26+26=52, Resulting Numbers: [67, 52]
Generated Node #0,0,0: 71:[67, 52] Operation: 26+26=52
Exploring Operation: 67+26=93, Resulting Numbers: [26, 93]
Generated Node #0,0,1: 71:[26, 93] Operation: 67+26=93
Exploring Operation: 26/26=1, Resulting Numbers: [67, 1]
Generated Node #0,0,2: 71:[67, 1] Operation: 26/26=1
Exploring Operation: 67-26=41, Resulting Numbers: [26, 41]
Generated Node #0,0,3: 71:[26, 41] Operation: 67-26=41
Exploring Operation: 67+26=93, Resulting Numbers: [26, 93]
Generated Node #0,0,4: 71:[26, 93] Operation: 67+26=93
Moving to Node #0,3
Current State: 71:[24, 26, 69], Operations: ['67+2=69']
Exploring Operation: 26+69=95, Resulting Numbers: [24, 95]
Generated Node #0,3,0: 71:[24, 95] Operation: 26+69=95
Exploring Operation: 24+26=50, Resulting Numbers: [69, 50]
Generated Node #0,3,1: 71:[69, 50] Operation: 24+26=50
Exploring Operation: 26-24=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 71:[69, 2] Operation: 26-24=2
Exploring Operation: 69-24=45, Resulting Numbers: [26, 45]
Generated Node #0,3,3: 71:[26, 45] Operation: 69-24=45
Exploring Operation: 24+69=93, Resulting Numbers: [26, 93]
Generated Node #0,3,4: 71:[26, 93] Operation: 24+69=93
Moving to Node #0,4
Current State: 71:[67, 2, 50], Operations: ['24+26=50']
Exploring Operation: 67+2=69, Resulting Numbers: [50, 69]
Generated Node #0,4,0: 71:[50, 69] Operation: 67+2=69
Exploring Operation: 2+50=52, Resulting Numbers: [67, 52]
Generated Node #0,4,1: 71:[67, 52] Operation: 2+50=52
Exploring Operation: 50-2=48, Resulting Numbers: [67, 48]
Generated Node #0,4,2: 71:[67, 48] Operation: 50-2=48
Exploring Operation: 2*50=100, Resulting Numbers: [67, 100]
Generated Node #0,4,3: 71:[67, 100] Operation: 2*50=100
Exploring Operation: 67-2=65, Resulting Numbers: [50, 65]
Generated Node #0,4,4: 71:[50, 65] Operation: 67-2=65
Moving to Node #0,2,1
Current State: 71:[67, 74], Operations: ['24*2=48', '26+48=74']
Exploring Operation: 67+74=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 67*74=4958, Resulting Numbers: [4958]
4958,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[67, 52], Operations: ['24+2=26', '26+26=52']
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,71 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[69, 50], Operations: ['67+2=69', '24+26=50']
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,71 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[50, 69], Operations: ['24+26=50', '67+2=69']
Exploring Operation: 50*69=3450, Resulting Numbers: [3450]
3450,71 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 50+69=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[67, 52], Operations: ['24+26=50', '2+50=52']
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,71 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[67, 48], Operations: ['24+26=50', '50-2=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,71 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[50, 65], Operations: ['24+26=50', '67-2=65']
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,71 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[67, 100], Operations: ['24+26=50', '2*50=100']
Exploring Operation: 100-67=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 67*100=6700, Resulting Numbers: [6700]
6700,71 unequal: No Solution
Exploring Operation: 67+100=167, Resulting Numbers: [167]
167,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[48, 93], Operations: ['24*2=48', '67+26=93']
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 48*93=4464, Resulting Numbers: [4464]
4464,71 unequal: No Solution
Exploring Operation: 48+93=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[48, 41], Operations: ['24*2=48', '67-26=41']
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,71 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[67, 22], Operations: ['24*2=48', '48-26=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,71 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[26, 93], Operations: ['24+2=26', '67+26=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,71 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[26, 93], Operations: ['67+2=69', '24+69=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,71 unequal: No Solution
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[26, 93], Operations: ['24+2=26', '67+26=93']
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[69, 2], Operations: ['67+2=69', '26-24=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[67, 24, 2, 26], Operations: []
Exploring Operation: 67+2=69, Resulting Numbers: [24, 26, 69]
Generated Node #0,3: 71:[24, 26, 69] Operation: 67+2=69
Moving to Node #0,3
Current State: 71:[24, 26, 69], Operations: ['67+2=69']
Exploring Operation: 26-24=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 71:[69, 2] Operation: 26-24=2
Moving to Node #0,3,2
Current State: 71:[69, 2], Operations: ['67+2=69', '26-24=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.920139 | hs_5 | mult_heuristic |
[
8,
5,
49,
66
] | 45 | [
"8+49=57",
"66-57=9",
"5*9=45"
] | Current State: 45:[8, 5, 49, 66], Operations: []
Exploring Operation: 8+49=57, Resulting Numbers: [5, 66, 57]
Generated Node #2: [5, 66, 57] from Operation: 8+49=57
Current State: 45:[5, 66, 57], Operations: ['8+49=57']
Exploring Operation: 66-57=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 66-57=9
Current State: 45:[5, 9], Operations: ['8+49=57', '66-57=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 5, 49, 66], Operations: []
Exploring Operation: 66-8=58, Resulting Numbers: [5, 49, 58]
Generated Node #0,0: 45:[5, 49, 58] Operation: 66-8=58
Exploring Operation: 66-49=17, Resulting Numbers: [8, 5, 17]
Generated Node #0,1: 45:[8, 5, 17] Operation: 66-49=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[8, 5, 17], Operations: ['66-49=17']
Exploring Operation: 17-8=9, Resulting Numbers: [5, 9]
Generated Node #0,1,0: 45:[5, 9] Operation: 17-8=9
Exploring Operation: 8-5=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 45:[17, 3] Operation: 8-5=3
Moving to Node #0,1,0
Current State: 45:[5, 9], Operations: ['66-49=17', '17-8=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[8, 5, 49, 66], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [8, 5, 17]
Generated Node #0,1: 45:[8, 5, 17] Operation: 66-49=17
Moving to Node #0,1
Current State: 45:[8, 5, 17], Operations: ['66-49=17']
Exploring Operation: 17-8=9, Resulting Numbers: [5, 9]
Generated Node #0,1,0: 45:[5, 9] Operation: 17-8=9
Moving to Node #0,1,0
Current State: 45:[5, 9], Operations: ['66-49=17', '17-8=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
73,
11,
90,
40
] | 46 | [
"73+11=84",
"90+40=130",
"130-84=46"
] | Current State: 46:[73, 11, 90, 40], Operations: []
Exploring Operation: 73+11=84, Resulting Numbers: [90, 40, 84]
Generated Node #2: [90, 40, 84] from Operation: 73+11=84
Current State: 46:[90, 40, 84], Operations: ['73+11=84']
Exploring Operation: 90+40=130, Resulting Numbers: [84, 130]
Generated Node #3: [84, 130] from Operation: 90+40=130
Current State: 46:[84, 130], Operations: ['73+11=84', '90+40=130']
Exploring Operation: 130-84=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[73, 11, 90, 40], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [73, 40, 79]
Generated Node #0,0: 46:[73, 40, 79] Operation: 90-11=79
Exploring Operation: 90-40=50, Resulting Numbers: [73, 11, 50]
Generated Node #0,1: 46:[73, 11, 50] Operation: 90-40=50
Exploring Operation: 73-11=62, Resulting Numbers: [90, 40, 62]
Generated Node #0,2: 46:[90, 40, 62] Operation: 73-11=62
Exploring Operation: 90-73=17, Resulting Numbers: [11, 40, 17]
Generated Node #0,3: 46:[11, 40, 17] Operation: 90-73=17
Exploring Operation: 73-40=33, Resulting Numbers: [11, 90, 33]
Generated Node #0,4: 46:[11, 90, 33] Operation: 73-40=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[11, 40, 17], Operations: ['90-73=17']
Exploring Operation: 17-11=6, Resulting Numbers: [40, 6]
Generated Node #0,3,0: 46:[40, 6] Operation: 17-11=6
Exploring Operation: 40-17=23, Resulting Numbers: [11, 23]
Generated Node #0,3,1: 46:[11, 23] Operation: 40-17=23
Exploring Operation: 11+40=51, Resulting Numbers: [17, 51]
Generated Node #0,3,2: 46:[17, 51] Operation: 11+40=51
Exploring Operation: 11+17=28, Resulting Numbers: [40, 28]
Generated Node #0,3,3: 46:[40, 28] Operation: 11+17=28
Exploring Operation: 40-11=29, Resulting Numbers: [17, 29]
Generated Node #0,3,4: 46:[17, 29] Operation: 40-11=29
Moving to Node #0,3,1
Current State: 46:[11, 23], Operations: ['90-73=17', '40-17=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,46 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[40, 6], Operations: ['90-73=17', '17-11=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,46 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[73, 11, 90, 40], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [11, 40, 17]
Generated Node #0,3: 46:[11, 40, 17] Operation: 90-73=17
Moving to Node #0,3
Current State: 46:[11, 40, 17], Operations: ['90-73=17']
Exploring Operation: 17-11=6, Resulting Numbers: [40, 6]
Generated Node #0,3,0: 46:[40, 6] Operation: 17-11=6
Moving to Node #0,3,0
Current State: 46:[40, 6], Operations: ['90-73=17', '17-11=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
76,
84,
12,
57
] | 54 | [
"84-12=72",
"57*72=4104",
"4104/76=54"
] | Current State: 54:[76, 84, 12, 57], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [76, 57, 72]
Generated Node #2: [76, 57, 72] from Operation: 84-12=72
Current State: 54:[76, 57, 72], Operations: ['84-12=72']
Exploring Operation: 57*72=4104, Resulting Numbers: [76, 4104]
Generated Node #3: [76, 4104] from Operation: 57*72=4104
Current State: 54:[76, 4104], Operations: ['84-12=72', '57*72=4104']
Exploring Operation: 4104/76=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[76, 84, 12, 57], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [84, 12, 19]
Generated Node #0,0: 54:[84, 12, 19] Operation: 76-57=19
Exploring Operation: 84-76=8, Resulting Numbers: [12, 57, 8]
Generated Node #0,1: 54:[12, 57, 8] Operation: 84-76=8
Exploring Operation: 76-12=64, Resulting Numbers: [84, 57, 64]
Generated Node #0,2: 54:[84, 57, 64] Operation: 76-12=64
Exploring Operation: 84-57=27, Resulting Numbers: [76, 12, 27]
Generated Node #0,3: 54:[76, 12, 27] Operation: 84-57=27
Exploring Operation: 84/12=7, Resulting Numbers: [76, 57, 7]
Generated Node #0,4: 54:[76, 57, 7] Operation: 84/12=7
Moving to Node #0,1
Current State: 54:[12, 57, 8], Operations: ['84-76=8']
Exploring Operation: 57-8=49, Resulting Numbers: [12, 49]
Generated Node #0,1,0: 54:[12, 49] Operation: 57-8=49
Exploring Operation: 12+8=20, Resulting Numbers: [57, 20]
Generated Node #0,1,1: 54:[57, 20] Operation: 12+8=20
Exploring Operation: 57-12=45, Resulting Numbers: [8, 45]
Generated Node #0,1,2: 54:[8, 45] Operation: 57-12=45
Exploring Operation: 12-8=4, Resulting Numbers: [57, 4]
Generated Node #0,1,3: 54:[57, 4] Operation: 12-8=4
Exploring Operation: 57+8=65, Resulting Numbers: [12, 65]
Generated Node #0,1,4: 54:[12, 65] Operation: 57+8=65
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[57, 4], Operations: ['84-76=8', '12-8=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,54 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: 54:[57, 20], Operations: ['84-76=8', '12+8=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,54 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: 54:[12, 49], Operations: ['84-76=8', '57-8=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,54 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: 54:[8, 45], Operations: ['84-76=8', '57-12=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,54 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: 54:[12, 65], Operations: ['84-76=8', '57+8=65']
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,54 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,54 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: 54:[76, 12, 27], Operations: ['84-57=27']
Exploring Operation: 27-12=15, Resulting Numbers: [76, 15]
Generated Node #0,3,0: 54:[76, 15] Operation: 27-12=15
Exploring Operation: 76-27=49, Resulting Numbers: [12, 49]
Generated Node #0,3,1: 54:[12, 49] Operation: 76-27=49
Exploring Operation: 76+12=88, Resulting Numbers: [27, 88]
Generated Node #0,3,2: 54:[27, 88] Operation: 76+12=88
Exploring Operation: 12+27=39, Resulting Numbers: [76, 39]
Generated Node #0,3,3: 54:[76, 39] Operation: 12+27=39
Exploring Operation: 76-12=64, Resulting Numbers: [27, 64]
Generated Node #0,3,4: 54:[27, 64] Operation: 76-12=64
Moving to Node #0,4
Current State: 54:[76, 57, 7], Operations: ['84/12=7']
Exploring Operation: 57-7=50, Resulting Numbers: [76, 50]
Generated Node #0,4,0: 54:[76, 50] Operation: 57-7=50
Exploring Operation: 76+7=83, Resulting Numbers: [57, 83]
Generated Node #0,4,1: 54:[57, 83] Operation: 76+7=83
Exploring Operation: 76-57=19, Resulting Numbers: [7, 19]
Generated Node #0,4,2: 54:[7, 19] Operation: 76-57=19
Exploring Operation: 57+7=64, Resulting Numbers: [76, 64]
Generated Node #0,4,3: 54:[76, 64] Operation: 57+7=64
Exploring Operation: 76-7=69, Resulting Numbers: [57, 69]
Generated Node #0,4,4: 54:[57, 69] Operation: 76-7=69
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[7, 19], Operations: ['84/12=7', '76-57=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,54 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,4,4
Current State: 54:[57, 69], Operations: ['84/12=7', '76-7=69']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,54 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,54 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,4,0
Current State: 54:[76, 50], Operations: ['84/12=7', '57-7=50']
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,54 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,54 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,4,1
Current State: 54:[57, 83], Operations: ['84/12=7', '76+7=83']
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,54 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,54 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,4,3
Current State: 54:[76, 64], Operations: ['84/12=7', '57+7=64']
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,54 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,54 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,54 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: 54:[84, 12, 19], Operations: ['76-57=19']
Exploring Operation: 84-19=65, Resulting Numbers: [12, 65]
Generated Node #0,0,0: 54:[12, 65] Operation: 84-19=65
Exploring Operation: 12+19=31, Resulting Numbers: [84, 31]
Generated Node #0,0,1: 54:[84, 31] Operation: 12+19=31
Exploring Operation: 84/12=7, Resulting Numbers: [19, 7]
Generated Node #0,0,2: 54:[19, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [19, 72]
Generated Node #0,0,3: 54:[19, 72] Operation: 84-12=72
Exploring Operation: 19-12=7, Resulting Numbers: [84, 7]
Generated Node #0,0,4: 54:[84, 7] Operation: 19-12=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[19, 7], Operations: ['76-57=19', '84/12=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,54 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: 54:[12, 65], Operations: ['76-57=19', '84-19=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,54 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: 54:[19, 72], Operations: ['76-57=19', '84-12=72']
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,54 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,54 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,4
Current State: 54:[84, 7], Operations: ['76-57=19', '19-12=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,54 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,54 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: 54:[84, 31], Operations: ['76-57=19', '12+19=31']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,54 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: 54:[84, 57, 64], Operations: ['76-12=64']
Exploring Operation: 84-64=20, Resulting Numbers: [57, 20]
Generated Node #0,2,0: 54:[57, 20] Operation: 84-64=20
Exploring Operation: 84+64=148, Resulting Numbers: [57, 148]
Generated Node #0,2,1: 54:[57, 148] Operation: 84+64=148
Exploring Operation: 84+57=141, Resulting Numbers: [64, 141]
Generated Node #0,2,2: 54:[64, 141] Operation: 84+57=141
Exploring Operation: 84-57=27, Resulting Numbers: [64, 27]
Generated Node #0,2,3: 54:[64, 27] Operation: 84-57=27
Exploring Operation: 64-57=7, Resulting Numbers: [84, 7]
Generated Node #0,2,4: 54:[84, 7] Operation: 64-57=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[57, 20], Operations: ['76-12=64', '84-64=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,54 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: 54:[64, 27], Operations: ['76-12=64', '84-57=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,54 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,54 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,4
Current State: 54:[84, 7], Operations: ['76-12=64', '64-57=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,54 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,54 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: 54:[57, 148], Operations: ['76-12=64', '84+64=148']
Exploring Operation: 148-57=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 57*148=8436, Resulting Numbers: [8436]
8436,54 unequal: No Solution
Exploring Operation: 57+148=205, Resulting Numbers: [205]
205,54 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: 54:[64, 141], Operations: ['76-12=64', '84+57=141']
Exploring Operation: 64*141=9024, Resulting Numbers: [9024]
9024,54 unequal: No Solution
Exploring Operation: 64+141=205, Resulting Numbers: [205]
205,54 unequal: No Solution
Exploring Operation: 141-64=77, Resulting Numbers: [77]
77,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 54:[12, 49], Operations: ['84-57=27', '76-27=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,54 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[27, 64], Operations: ['84-57=27', '76-12=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[76, 15], Operations: ['84-57=27', '27-12=15']
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[27, 88], Operations: ['84-57=27', '76+12=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[76, 39], Operations: ['84-57=27', '12+27=39']
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,54 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
94,
40,
39,
57
] | 37 | [
"94-57=37",
"40-39=1",
"37*1=37"
] | Current State: 37:[94, 40, 39, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [40, 39, 37]
Generated Node #2: [40, 39, 37] from Operation: 94-57=37
Current State: 37:[40, 39, 37], Operations: ['94-57=37']
Exploring Operation: 40-39=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 40-39=1
Current State: 37:[37, 1], Operations: ['94-57=37', '40-39=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[94, 40, 39, 57], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [40, 57, 55]
Generated Node #0,0: 37:[40, 57, 55] Operation: 94-39=55
Exploring Operation: 94-57=37, Resulting Numbers: [40, 39, 37]
Generated Node #0,1: 37:[40, 39, 37] Operation: 94-57=37
Exploring Operation: 57-40=17, Resulting Numbers: [94, 39, 17]
Generated Node #0,2: 37:[94, 39, 17] Operation: 57-40=17
Exploring Operation: 94-40=54, Resulting Numbers: [39, 57, 54]
Generated Node #0,3: 37:[39, 57, 54] Operation: 94-40=54
Exploring Operation: 57-39=18, Resulting Numbers: [94, 40, 18]
Generated Node #0,4: 37:[94, 40, 18] Operation: 57-39=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[40, 39, 37], Operations: ['94-57=37']
Exploring Operation: 40-39=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 37:[37, 1] Operation: 40-39=1
Exploring Operation: 40-37=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 37:[39, 3] Operation: 40-37=3
Exploring Operation: 40+37=77, Resulting Numbers: [39, 77]
Generated Node #0,1,2: 37:[39, 77] Operation: 40+37=77
Exploring Operation: 39-37=2, Resulting Numbers: [40, 2]
Generated Node #0,1,3: 37:[40, 2] Operation: 39-37=2
Exploring Operation: 40+39=79, Resulting Numbers: [37, 79]
Generated Node #0,1,4: 37:[37, 79] Operation: 40+39=79
Moving to Node #0,1,0
Current State: 37:[37, 1], Operations: ['94-57=37', '40-39=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[94, 40, 39, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [40, 39, 37]
Generated Node #0,1: 37:[40, 39, 37] Operation: 94-57=37
Moving to Node #0,1
Current State: 37:[40, 39, 37], Operations: ['94-57=37']
Exploring Operation: 40-39=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 37:[37, 1] Operation: 40-39=1
Moving to Node #0,1,0
Current State: 37:[37, 1], Operations: ['94-57=37', '40-39=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
9,
8,
89,
83
] | 24 | [
"89-9=80",
"83-80=3",
"8*3=24"
] | Current State: 24:[9, 8, 89, 83], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [8, 83, 80]
Generated Node #2: [8, 83, 80] from Operation: 89-9=80
Current State: 24:[8, 83, 80], Operations: ['89-9=80']
Exploring Operation: 83-80=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 83-80=3
Current State: 24:[8, 3], Operations: ['89-9=80', '83-80=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[9, 8, 89, 83], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [9, 8, 6]
Generated Node #0,0: 24:[9, 8, 6] Operation: 89-83=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[9, 8, 6], Operations: ['89-83=6']
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['89-83=6', '9-6=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[9, 8, 89, 83], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [9, 8, 6]
Generated Node #0,0: 24:[9, 8, 6] Operation: 89-83=6
Moving to Node #0,0
Current State: 24:[9, 8, 6], Operations: ['89-83=6']
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['89-83=6', '9-6=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
57,
45,
47
] | 78 | [
"19+57=76",
"47-45=2",
"76+2=78"
] | Current State: 78:[19, 57, 45, 47], Operations: []
Exploring Operation: 19+57=76, Resulting Numbers: [45, 47, 76]
Generated Node #2: [45, 47, 76] from Operation: 19+57=76
Current State: 78:[45, 47, 76], Operations: ['19+57=76']
Exploring Operation: 47-45=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 47-45=2
Current State: 78:[76, 2], Operations: ['19+57=76', '47-45=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[19, 57, 45, 47], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [45, 47, 3]
Generated Node #0,0: 78:[45, 47, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [45, 47, 38]
Generated Node #0,1: 78:[45, 47, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[45, 47, 3], Operations: ['57/19=3']
Exploring Operation: 45/3=15, Resulting Numbers: [47, 15]
Generated Node #0,0,0: 78:[47, 15] Operation: 45/3=15
Exploring Operation: 47-45=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 78:[3, 2] Operation: 47-45=2
Moving to Node #0,0,1
Current State: 78:[3, 2], Operations: ['57/19=3', '47-45=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[47, 15], Operations: ['57/19=3', '45/3=15']
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,78 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: 78:[45, 47, 38], Operations: ['57-19=38']
Exploring Operation: 47-45=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 78:[38, 2] Operation: 47-45=2
Exploring Operation: 45-38=7, Resulting Numbers: [47, 7]
Generated Node #0,1,1: 78:[47, 7] Operation: 45-38=7
Moving to Node #0,1,0
Current State: 78:[38, 2], Operations: ['57-19=38', '47-45=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[47, 7], Operations: ['57-19=38', '45-38=7']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
1,
55,
63
] | 66 | [
"74*1=74",
"63-55=8",
"74-8=66"
] | Current State: 66:[74, 1, 55, 63], Operations: []
Exploring Operation: 74*1=74, Resulting Numbers: [55, 63, 74]
Generated Node #2: [55, 63, 74] from Operation: 74*1=74
Current State: 66:[55, 63, 74], Operations: ['74*1=74']
Exploring Operation: 63-55=8, Resulting Numbers: [74, 8]
Generated Node #3: [74, 8] from Operation: 63-55=8
Current State: 66:[74, 8], Operations: ['74*1=74', '63-55=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[74, 1, 55, 63], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [1, 55, 11]
Generated Node #0,0: 66:[1, 55, 11] Operation: 74-63=11
Exploring Operation: 74-1=73, Resulting Numbers: [55, 63, 73]
Generated Node #0,1: 66:[55, 63, 73] Operation: 74-1=73
Exploring Operation: 74-55=19, Resulting Numbers: [1, 63, 19]
Generated Node #0,2: 66:[1, 63, 19] Operation: 74-55=19
Exploring Operation: 63-55=8, Resulting Numbers: [74, 1, 8]
Generated Node #0,3: 66:[74, 1, 8] Operation: 63-55=8
Exploring Operation: 1+55=56, Resulting Numbers: [74, 63, 56]
Generated Node #0,4: 66:[74, 63, 56] Operation: 1+55=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[1, 63, 19], Operations: ['74-55=19']
Exploring Operation: 63/1=63, Resulting Numbers: [19, 63]
Generated Node #0,2,0: 66:[19, 63] Operation: 63/1=63
Exploring Operation: 1+19=20, Resulting Numbers: [63, 20]
Generated Node #0,2,1: 66:[63, 20] Operation: 1+19=20
Exploring Operation: 1*19=19, Resulting Numbers: [63, 19]
Generated Node #0,2,2: 66:[63, 19] Operation: 1*19=19
Exploring Operation: 1*63=63, Resulting Numbers: [19, 63]
Generated Node #0,2,3: 66:[19, 63] Operation: 1*63=63
Exploring Operation: 1+63=64, Resulting Numbers: [19, 64]
Generated Node #0,2,4: 66:[19, 64] Operation: 1+63=64
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[63, 20], Operations: ['74-55=19', '1+19=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,66 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,4
Current State: 66:[19, 64], Operations: ['74-55=19', '1+63=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,66 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: 66:[19, 63], Operations: ['74-55=19', '63/1=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,66 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,66 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: 66:[63, 19], Operations: ['74-55=19', '1*19=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,66 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,66 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,3
Current State: 66:[19, 63], Operations: ['74-55=19', '1*63=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,66 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,66 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: 66:[74, 1, 8], Operations: ['63-55=8']
Exploring Operation: 74-8=66, Resulting Numbers: [1, 66]
Generated Node #0,3,0: 66:[1, 66] Operation: 74-8=66
Exploring Operation: 74-1=73, Resulting Numbers: [8, 73]
Generated Node #0,3,1: 66:[8, 73] Operation: 74-1=73
Exploring Operation: 74/1=74, Resulting Numbers: [8, 74]
Generated Node #0,3,2: 66:[8, 74] Operation: 74/1=74
Exploring Operation: 8-1=7, Resulting Numbers: [74, 7]
Generated Node #0,3,3: 66:[74, 7] Operation: 8-1=7
Exploring Operation: 74*1=74, Resulting Numbers: [8, 74]
Generated Node #0,3,4: 66:[8, 74] Operation: 74*1=74
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[1, 66], Operations: ['63-55=8', '74-8=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[74, 1, 55, 63], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [74, 1, 8]
Generated Node #0,3: 66:[74, 1, 8] Operation: 63-55=8
Moving to Node #0,3
Current State: 66:[74, 1, 8], Operations: ['63-55=8']
Exploring Operation: 74-8=66, Resulting Numbers: [1, 66]
Generated Node #0,3,0: 66:[1, 66] Operation: 74-8=66
Moving to Node #0,3,0
Current State: 66:[1, 66], Operations: ['63-55=8', '74-8=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
66,
95,
23,
86
] | 52 | [
"66+95=161",
"23+86=109",
"161-109=52"
] | Current State: 52:[66, 95, 23, 86], Operations: []
Exploring Operation: 66+95=161, Resulting Numbers: [23, 86, 161]
Generated Node #2: [23, 86, 161] from Operation: 66+95=161
Current State: 52:[23, 86, 161], Operations: ['66+95=161']
Exploring Operation: 23+86=109, Resulting Numbers: [161, 109]
Generated Node #3: [161, 109] from Operation: 23+86=109
Current State: 52:[161, 109], Operations: ['66+95=161', '23+86=109']
Exploring Operation: 161-109=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[66, 95, 23, 86], Operations: []
Exploring Operation: 95-66=29, Resulting Numbers: [23, 86, 29]
Generated Node #0,0: 52:[23, 86, 29] Operation: 95-66=29
Exploring Operation: 86-66=20, Resulting Numbers: [95, 23, 20]
Generated Node #0,1: 52:[95, 23, 20] Operation: 86-66=20
Exploring Operation: 95-86=9, Resulting Numbers: [66, 23, 9]
Generated Node #0,2: 52:[66, 23, 9] Operation: 95-86=9
Exploring Operation: 95-23=72, Resulting Numbers: [66, 86, 72]
Generated Node #0,3: 52:[66, 86, 72] Operation: 95-23=72
Moving to Node #0,2
Current State: 52:[66, 23, 9], Operations: ['95-86=9']
Exploring Operation: 23-9=14, Resulting Numbers: [66, 14]
Generated Node #0,2,0: 52:[66, 14] Operation: 23-9=14
Exploring Operation: 66-23=43, Resulting Numbers: [9, 43]
Generated Node #0,2,1: 52:[9, 43] Operation: 66-23=43
Exploring Operation: 66-9=57, Resulting Numbers: [23, 57]
Generated Node #0,2,2: 52:[23, 57] Operation: 66-9=57
Exploring Operation: 23+9=32, Resulting Numbers: [66, 32]
Generated Node #0,2,3: 52:[66, 32] Operation: 23+9=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[23, 57], Operations: ['95-86=9', '66-9=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,52 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: 52:[9, 43], Operations: ['95-86=9', '66-23=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[66, 95, 23, 86], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [66, 23, 9]
Generated Node #0,2: 52:[66, 23, 9] Operation: 95-86=9
Moving to Node #0,2
Current State: 52:[66, 23, 9], Operations: ['95-86=9']
Exploring Operation: 66-23=43, Resulting Numbers: [9, 43]
Generated Node #0,2,1: 52:[9, 43] Operation: 66-23=43
Moving to Node #0,2,1
Current State: 52:[9, 43], Operations: ['95-86=9', '66-23=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
57,
61,
36,
11
] | 14 | [
"57+61=118",
"36+118=154",
"154/11=14"
] | Current State: 14:[57, 61, 36, 11], Operations: []
Exploring Operation: 57+61=118, Resulting Numbers: [36, 11, 118]
Generated Node #2: [36, 11, 118] from Operation: 57+61=118
Current State: 14:[36, 11, 118], Operations: ['57+61=118']
Exploring Operation: 36+118=154, Resulting Numbers: [11, 154]
Generated Node #3: [11, 154] from Operation: 36+118=154
Current State: 14:[11, 154], Operations: ['57+61=118', '36+118=154']
Exploring Operation: 154/11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[57, 61, 36, 11], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [36, 11, 4]
Generated Node #0,0: 14:[36, 11, 4] Operation: 61-57=4
Exploring Operation: 57-36=21, Resulting Numbers: [61, 11, 21]
Generated Node #0,1: 14:[61, 11, 21] Operation: 57-36=21
Exploring Operation: 61-36=25, Resulting Numbers: [57, 11, 25]
Generated Node #0,2: 14:[57, 11, 25] Operation: 61-36=25
Exploring Operation: 57-11=46, Resulting Numbers: [61, 36, 46]
Generated Node #0,3: 14:[61, 36, 46] Operation: 57-11=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[36, 11, 4], Operations: ['61-57=4']
Exploring Operation: 36-4=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 14:[11, 32] Operation: 36-4=32
Exploring Operation: 36-11=25, Resulting Numbers: [4, 25]
Generated Node #0,0,1: 14:[4, 25] Operation: 36-11=25
Exploring Operation: 36/4=9, Resulting Numbers: [11, 9]
Generated Node #0,0,2: 14:[11, 9] Operation: 36/4=9
Exploring Operation: 11-4=7, Resulting Numbers: [36, 7]
Generated Node #0,0,3: 14:[36, 7] Operation: 11-4=7
Moving to Node #0,0,2
Current State: 14:[11, 9], Operations: ['61-57=4', '36/4=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[4, 25], Operations: ['61-57=4', '36-11=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[11, 32], Operations: ['61-57=4', '36-4=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[36, 7], Operations: ['61-57=4', '11-4=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,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
Current State: 14:[61, 11, 21], Operations: ['57-36=21']
Exploring Operation: 21-11=10, Resulting Numbers: [61, 10]
Generated Node #0,1,0: 14:[61, 10] Operation: 21-11=10
Exploring Operation: 61+11=72, Resulting Numbers: [21, 72]
Generated Node #0,1,1: 14:[21, 72] Operation: 61+11=72
Exploring Operation: 61-21=40, Resulting Numbers: [11, 40]
Generated Node #0,1,2: 14:[11, 40] Operation: 61-21=40
Exploring Operation: 61-11=50, Resulting Numbers: [21, 50]
Generated Node #0,1,3: 14:[21, 50] Operation: 61-11=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[11, 40], Operations: ['57-36=21', '61-21=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,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,1,3
Current State: 14:[21, 50], Operations: ['57-36=21', '61-11=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,14 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,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,1,0
Current State: 14:[61, 10], Operations: ['57-36=21', '21-11=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,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,1,1
Current State: 14:[21, 72], Operations: ['57-36=21', '61+11=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,14 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,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,2
Current State: 14:[57, 11, 25], Operations: ['61-36=25']
Exploring Operation: 57-25=32, Resulting Numbers: [11, 32]
Generated Node #0,2,0: 14:[11, 32] Operation: 57-25=32
Exploring Operation: 57+11=68, Resulting Numbers: [25, 68]
Generated Node #0,2,1: 14:[25, 68] Operation: 57+11=68
Exploring Operation: 57-11=46, Resulting Numbers: [25, 46]
Generated Node #0,2,2: 14:[25, 46] Operation: 57-11=46
Exploring Operation: 25-11=14, Resulting Numbers: [57, 14]
Generated Node #0,2,3: 14:[57, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[11, 32], Operations: ['61-36=25', '57-25=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,14 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,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,2,2
Current State: 14:[25, 46], Operations: ['61-36=25', '57-11=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,14 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,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,2,3
Current State: 14:[57, 14], Operations: ['61-36=25', '25-11=14']
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,14 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,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,2,1
Current State: 14:[25, 68], Operations: ['61-36=25', '57+11=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,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,3
Current State: 14:[61, 36, 46], Operations: ['57-11=46']
Exploring Operation: 61-46=15, Resulting Numbers: [36, 15]
Generated Node #0,3,0: 14:[36, 15] Operation: 61-46=15
Exploring Operation: 61+36=97, Resulting Numbers: [46, 97]
Generated Node #0,3,1: 14:[46, 97] Operation: 61+36=97
Exploring Operation: 61-36=25, Resulting Numbers: [46, 25]
Generated Node #0,3,2: 14:[46, 25] Operation: 61-36=25
Exploring Operation: 46-36=10, Resulting Numbers: [61, 10]
Generated Node #0,3,3: 14:[61, 10] Operation: 46-36=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[36, 15], Operations: ['57-11=46', '61-46=15']
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,14 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,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,3,2
Current State: 14:[46, 25], Operations: ['57-11=46', '61-36=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,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,3,3
Current State: 14:[61, 10], Operations: ['57-11=46', '46-36=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,14 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,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,3,1
Current State: 14:[46, 97], Operations: ['57-11=46', '61+36=97']
Exploring Operation: 46*97=4462, Resulting Numbers: [4462]
4462,14 unequal: No Solution
Exploring Operation: 46+97=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
57,
59,
77
] | 100 | [
"57-21=36",
"59+77=136",
"136-36=100"
] | Current State: 100:[21, 57, 59, 77], Operations: []
Exploring Operation: 57-21=36, Resulting Numbers: [59, 77, 36]
Generated Node #2: [59, 77, 36] from Operation: 57-21=36
Current State: 100:[59, 77, 36], Operations: ['57-21=36']
Exploring Operation: 59+77=136, Resulting Numbers: [36, 136]
Generated Node #3: [36, 136] from Operation: 59+77=136
Current State: 100:[36, 136], Operations: ['57-21=36', '59+77=136']
Exploring Operation: 136-36=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[21, 57, 59, 77], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [21, 59, 20]
Generated Node #0,0: 100:[21, 59, 20] Operation: 77-57=20
Exploring Operation: 77-59=18, Resulting Numbers: [21, 57, 18]
Generated Node #0,1: 100:[21, 57, 18] Operation: 77-59=18
Exploring Operation: 21+77=98, Resulting Numbers: [57, 59, 98]
Generated Node #0,2: 100:[57, 59, 98] Operation: 21+77=98
Moving to Node #0,0
Current State: 100:[21, 59, 20], Operations: ['77-57=20']
Exploring Operation: 59-21=38, Resulting Numbers: [20, 38]
Generated Node #0,0,0: 100:[20, 38] Operation: 59-21=38
Exploring Operation: 59-20=39, Resulting Numbers: [21, 39]
Generated Node #0,0,1: 100:[21, 39] Operation: 59-20=39
Exploring Operation: 21-20=1, Resulting Numbers: [59, 1]
Generated Node #0,0,2: 100:[59, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[59, 1], Operations: ['77-57=20', '21-20=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,100 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: 100:[20, 38], Operations: ['77-57=20', '59-21=38']
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,100 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,100 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: 100:[21, 39], Operations: ['77-57=20', '59-20=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,100 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: 100:[21, 57, 18], Operations: ['77-59=18']
Exploring Operation: 21-18=3, Resulting Numbers: [57, 3]
Generated Node #0,1,0: 100:[57, 3] Operation: 21-18=3
Exploring Operation: 57-18=39, Resulting Numbers: [21, 39]
Generated Node #0,1,1: 100:[21, 39] Operation: 57-18=39
Exploring Operation: 57-21=36, Resulting Numbers: [18, 36]
Generated Node #0,1,2: 100:[18, 36] Operation: 57-21=36
Moving to Node #0,2
Current State: 100:[57, 59, 98], Operations: ['21+77=98']
Exploring Operation: 59-57=2, Resulting Numbers: [98, 2]
Generated Node #0,2,0: 100:[98, 2] Operation: 59-57=2
Exploring Operation: 98-57=41, Resulting Numbers: [59, 41]
Generated Node #0,2,1: 100:[59, 41] Operation: 98-57=41
Exploring Operation: 57+59=116, Resulting Numbers: [98, 116]
Generated Node #0,2,2: 100:[98, 116] Operation: 57+59=116
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[98, 2], Operations: ['21+77=98', '59-57=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[21, 57, 59, 77], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [57, 59, 98]
Generated Node #0,2: 100:[57, 59, 98] Operation: 21+77=98
Moving to Node #0,2
Current State: 100:[57, 59, 98], Operations: ['21+77=98']
Exploring Operation: 59-57=2, Resulting Numbers: [98, 2]
Generated Node #0,2,0: 100:[98, 2] Operation: 59-57=2
Moving to Node #0,2,0
Current State: 100:[98, 2], Operations: ['21+77=98', '59-57=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
70,
23,
65,
82
] | 33 | [
"70-65=5",
"23*5=115",
"115-82=33"
] | Current State: 33:[70, 23, 65, 82], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [23, 82, 5]
Generated Node #2: [23, 82, 5] from Operation: 70-65=5
Current State: 33:[23, 82, 5], Operations: ['70-65=5']
Exploring Operation: 23*5=115, Resulting Numbers: [82, 115]
Generated Node #3: [82, 115] from Operation: 23*5=115
Current State: 33:[82, 115], Operations: ['70-65=5', '23*5=115']
Exploring Operation: 115-82=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[70, 23, 65, 82], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [70, 82, 42]
Generated Node #0,0: 33:[70, 82, 42] Operation: 65-23=42
Exploring Operation: 82-70=12, Resulting Numbers: [23, 65, 12]
Generated Node #0,1: 33:[23, 65, 12] Operation: 82-70=12
Exploring Operation: 70-23=47, Resulting Numbers: [65, 82, 47]
Generated Node #0,2: 33:[65, 82, 47] Operation: 70-23=47
Exploring Operation: 82-65=17, Resulting Numbers: [70, 23, 17]
Generated Node #0,3: 33:[70, 23, 17] Operation: 82-65=17
Exploring Operation: 70-65=5, Resulting Numbers: [23, 82, 5]
Generated Node #0,4: 33:[23, 82, 5] Operation: 70-65=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[23, 65, 12], Operations: ['82-70=12']
Exploring Operation: 65-12=53, Resulting Numbers: [23, 53]
Generated Node #0,1,0: 33:[23, 53] Operation: 65-12=53
Exploring Operation: 23+12=35, Resulting Numbers: [65, 35]
Generated Node #0,1,1: 33:[65, 35] Operation: 23+12=35
Exploring Operation: 23-12=11, Resulting Numbers: [65, 11]
Generated Node #0,1,2: 33:[65, 11] Operation: 23-12=11
Exploring Operation: 65-23=42, Resulting Numbers: [12, 42]
Generated Node #0,1,3: 33:[12, 42] Operation: 65-23=42
Exploring Operation: 65+12=77, Resulting Numbers: [23, 77]
Generated Node #0,1,4: 33:[23, 77] Operation: 65+12=77
Moving to Node #0,1,3
Current State: 33:[12, 42], Operations: ['82-70=12', '65-23=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,33 unequal: No Solution
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[23, 53], Operations: ['82-70=12', '65-12=53']
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[65, 11], Operations: ['82-70=12', '23-12=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,33 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[65, 35], Operations: ['82-70=12', '23+12=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,33 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[23, 77], Operations: ['82-70=12', '65+12=77']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,33 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,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,3
Current State: 33:[70, 23, 17], Operations: ['82-65=17']
Exploring Operation: 70-23=47, Resulting Numbers: [17, 47]
Generated Node #0,3,0: 33:[17, 47] Operation: 70-23=47
Exploring Operation: 23+17=40, Resulting Numbers: [70, 40]
Generated Node #0,3,1: 33:[70, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [70, 6]
Generated Node #0,3,2: 33:[70, 6] Operation: 23-17=6
Exploring Operation: 70-17=53, Resulting Numbers: [23, 53]
Generated Node #0,3,3: 33:[23, 53] Operation: 70-17=53
Exploring Operation: 70+17=87, Resulting Numbers: [23, 87]
Generated Node #0,3,4: 33:[23, 87] Operation: 70+17=87
Moving to Node #0,3,0
Current State: 33:[17, 47], Operations: ['82-65=17', '70-23=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,33 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[23, 53], Operations: ['82-65=17', '70-17=53']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,33 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[70, 6], Operations: ['82-65=17', '23-17=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,33 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[70, 40], Operations: ['82-65=17', '23+17=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[23, 87], Operations: ['82-65=17', '70+17=87']
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,33 unequal: No Solution
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,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,4
Current State: 33:[23, 82, 5], Operations: ['70-65=5']
Exploring Operation: 82-5=77, Resulting Numbers: [23, 77]
Generated Node #0,4,0: 33:[23, 77] Operation: 82-5=77
Exploring Operation: 82+5=87, Resulting Numbers: [23, 87]
Generated Node #0,4,1: 33:[23, 87] Operation: 82+5=87
Exploring Operation: 23+5=28, Resulting Numbers: [82, 28]
Generated Node #0,4,2: 33:[82, 28] Operation: 23+5=28
Exploring Operation: 82-23=59, Resulting Numbers: [5, 59]
Generated Node #0,4,3: 33:[5, 59] Operation: 82-23=59
Exploring Operation: 23-5=18, Resulting Numbers: [82, 18]
Generated Node #0,4,4: 33:[82, 18] Operation: 23-5=18
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[5, 59], Operations: ['70-65=5', '82-23=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,33 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: 33:[23, 77], Operations: ['70-65=5', '82-5=77']
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,33 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,33 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: 33:[82, 28], Operations: ['70-65=5', '23+5=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,33 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,4
Current State: 33:[82, 18], Operations: ['70-65=5', '23-5=18']
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,33 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,33 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: 33:[23, 87], Operations: ['70-65=5', '82+5=87']
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,33 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,33 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: 33:[70, 82, 42], Operations: ['65-23=42']
Exploring Operation: 70-42=28, Resulting Numbers: [82, 28]
Generated Node #0,0,0: 33:[82, 28] Operation: 70-42=28
Exploring Operation: 82-70=12, Resulting Numbers: [42, 12]
Generated Node #0,0,1: 33:[42, 12] Operation: 82-70=12
Exploring Operation: 70+42=112, Resulting Numbers: [82, 112]
Generated Node #0,0,2: 33:[82, 112] Operation: 70+42=112
Exploring Operation: 70+82=152, Resulting Numbers: [42, 152]
Generated Node #0,0,3: 33:[42, 152] Operation: 70+82=152
Exploring Operation: 82-42=40, Resulting Numbers: [70, 40]
Generated Node #0,0,4: 33:[70, 40] Operation: 82-42=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[42, 12], Operations: ['65-23=42', '82-70=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,33 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,4
Current State: 33:[70, 40], Operations: ['65-23=42', '82-42=40']
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,33 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,33 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: 33:[82, 28], Operations: ['65-23=42', '70-42=28']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,33 unequal: No Solution
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,33 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: 33:[82, 112], Operations: ['65-23=42', '70+42=112']
Exploring Operation: 82*112=9184, Resulting Numbers: [9184]
9184,33 unequal: No Solution
Exploring Operation: 82+112=194, Resulting Numbers: [194]
194,33 unequal: No Solution
Exploring Operation: 112-82=30, Resulting Numbers: [30]
30,33 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: 33:[42, 152], Operations: ['65-23=42', '70+82=152']
Exploring Operation: 42*152=6384, Resulting Numbers: [6384]
6384,33 unequal: No Solution
Exploring Operation: 42+152=194, Resulting Numbers: [194]
194,33 unequal: No Solution
Exploring Operation: 152-42=110, Resulting Numbers: [110]
110,33 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: 33:[65, 82, 47], Operations: ['70-23=47']
Exploring Operation: 65-47=18, Resulting Numbers: [82, 18]
Generated Node #0,2,0: 33:[82, 18] Operation: 65-47=18
Exploring Operation: 82-65=17, Resulting Numbers: [47, 17]
Generated Node #0,2,1: 33:[47, 17] Operation: 82-65=17
Exploring Operation: 65+47=112, Resulting Numbers: [82, 112]
Generated Node #0,2,2: 33:[82, 112] Operation: 65+47=112
Exploring Operation: 82-47=35, Resulting Numbers: [65, 35]
Generated Node #0,2,3: 33:[65, 35] Operation: 82-47=35
Exploring Operation: 65+82=147, Resulting Numbers: [47, 147]
Generated Node #0,2,4: 33:[47, 147] Operation: 65+82=147
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[47, 17], Operations: ['70-23=47', '82-65=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,33 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,3
Current State: 33:[65, 35], Operations: ['70-23=47', '82-47=35']
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,33 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,33 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: 33:[82, 18], Operations: ['70-23=47', '65-47=18']
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,33 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: 33:[82, 112], Operations: ['70-23=47', '65+47=112']
Exploring Operation: 82+112=194, Resulting Numbers: [194]
194,33 unequal: No Solution
Exploring Operation: 112-82=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 82*112=9184, Resulting Numbers: [9184]
9184,33 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,4
Current State: 33:[47, 147], Operations: ['70-23=47', '65+82=147']
Exploring Operation: 47+147=194, Resulting Numbers: [194]
194,33 unequal: No Solution
Exploring Operation: 147-47=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 47*147=6909, Resulting Numbers: [6909]
6909,33 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 | sum_heuristic |
[
95,
13,
87,
41
] | 62 | [
"95+13=108",
"87-41=46",
"108-46=62"
] | Current State: 62:[95, 13, 87, 41], Operations: []
Exploring Operation: 95+13=108, Resulting Numbers: [87, 41, 108]
Generated Node #2: [87, 41, 108] from Operation: 95+13=108
Current State: 62:[87, 41, 108], Operations: ['95+13=108']
Exploring Operation: 87-41=46, Resulting Numbers: [108, 46]
Generated Node #3: [108, 46] from Operation: 87-41=46
Current State: 62:[108, 46], Operations: ['95+13=108', '87-41=46']
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[95, 13, 87, 41], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [13, 41, 8]
Generated Node #0,0: 62:[13, 41, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 62:[13, 41, 8], Operations: ['95-87=8']
Exploring Operation: 41-13=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 62:[8, 28] Operation: 41-13=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[8, 28], Operations: ['95-87=8', '41-13=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,62 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 |
[
21,
57,
99,
19
] | 82 | [
"57-21=36",
"99+19=118",
"118-36=82"
] | Current State: 82:[21, 57, 99, 19], Operations: []
Exploring Operation: 57-21=36, Resulting Numbers: [99, 19, 36]
Generated Node #2: [99, 19, 36] from Operation: 57-21=36
Current State: 82:[99, 19, 36], Operations: ['57-21=36']
Exploring Operation: 99+19=118, Resulting Numbers: [36, 118]
Generated Node #3: [36, 118] from Operation: 99+19=118
Current State: 82:[36, 118], Operations: ['57-21=36', '99+19=118']
Exploring Operation: 118-36=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[21, 57, 99, 19], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [57, 99, 2]
Generated Node #0,0: 82:[57, 99, 2] Operation: 21-19=2
Moving to Node #0,0
Current State: 82:[57, 99, 2], Operations: ['21-19=2']
Exploring Operation: 99-57=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 82:[2, 42] Operation: 99-57=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 42], Operations: ['21-19=2', '99-57=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,82 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 |
[
14,
86,
36,
98
] | 10 | [
"86-14=72",
"98-36=62",
"72-62=10"
] | Current State: 10:[14, 86, 36, 98], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [36, 98, 72]
Generated Node #2: [36, 98, 72] from Operation: 86-14=72
Current State: 10:[36, 98, 72], Operations: ['86-14=72']
Exploring Operation: 98-36=62, Resulting Numbers: [72, 62]
Generated Node #3: [72, 62] from Operation: 98-36=62
Current State: 10:[72, 62], Operations: ['86-14=72', '98-36=62']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[14, 86, 36, 98], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [86, 36, 7]
Generated Node #0,0: 10:[86, 36, 7] Operation: 98/14=7
Exploring Operation: 86-36=50, Resulting Numbers: [14, 98, 50]
Generated Node #0,1: 10:[14, 98, 50] Operation: 86-36=50
Exploring Operation: 98-86=12, Resulting Numbers: [14, 36, 12]
Generated Node #0,2: 10:[14, 36, 12] Operation: 98-86=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[14, 36, 12], Operations: ['98-86=12']
Exploring Operation: 36-14=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 10:[12, 22] Operation: 36-14=22
Exploring Operation: 36-12=24, Resulting Numbers: [14, 24]
Generated Node #0,2,1: 10:[14, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 10:[14, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[14, 3], Operations: ['98-86=12', '36/12=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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:[12, 22], Operations: ['98-86=12', '36-14=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[14, 86, 36, 98], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [14, 36, 12]
Generated Node #0,2: 10:[14, 36, 12] Operation: 98-86=12
Moving to Node #0,2
Current State: 10:[14, 36, 12], Operations: ['98-86=12']
Exploring Operation: 36-14=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 10:[12, 22] Operation: 36-14=22
Moving to Node #0,2,0
Current State: 10:[12, 22], Operations: ['98-86=12', '36-14=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
3,
11,
84,
30
] | 87 | [
"3*11=33",
"84-30=54",
"33+54=87"
] | Current State: 87:[3, 11, 84, 30], Operations: []
Exploring Operation: 3*11=33, Resulting Numbers: [84, 30, 33]
Generated Node #2: [84, 30, 33] from Operation: 3*11=33
Current State: 87:[84, 30, 33], Operations: ['3*11=33']
Exploring Operation: 84-30=54, Resulting Numbers: [33, 54]
Generated Node #3: [33, 54] from Operation: 84-30=54
Current State: 87:[33, 54], Operations: ['3*11=33', '84-30=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[3, 11, 84, 30], Operations: []
Exploring Operation: 11+84=95, Resulting Numbers: [3, 30, 95]
Generated Node #0,0: 87:[3, 30, 95] Operation: 11+84=95
Exploring Operation: 84/3=28, Resulting Numbers: [11, 30, 28]
Generated Node #0,1: 87:[11, 30, 28] Operation: 84/3=28
Exploring Operation: 3+84=87, Resulting Numbers: [11, 30, 87]
Generated Node #0,2: 87:[11, 30, 87] Operation: 3+84=87
Exploring Operation: 3*11=33, Resulting Numbers: [84, 30, 33]
Generated Node #0,3: 87:[84, 30, 33] Operation: 3*11=33
Exploring Operation: 11-3=8, Resulting Numbers: [84, 30, 8]
Generated Node #0,4: 87:[84, 30, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[84, 30, 33], Operations: ['3*11=33']
Exploring Operation: 84-30=54, Resulting Numbers: [33, 54]
Generated Node #0,3,0: 87:[33, 54] Operation: 84-30=54
Exploring Operation: 33-30=3, Resulting Numbers: [84, 3]
Generated Node #0,3,1: 87:[84, 3] Operation: 33-30=3
Exploring Operation: 84+30=114, Resulting Numbers: [33, 114]
Generated Node #0,3,2: 87:[33, 114] Operation: 84+30=114
Exploring Operation: 30+33=63, Resulting Numbers: [84, 63]
Generated Node #0,3,3: 87:[84, 63] Operation: 30+33=63
Exploring Operation: 84-33=51, Resulting Numbers: [30, 51]
Generated Node #0,3,4: 87:[30, 51] Operation: 84-33=51
Moving to Node #0,3,1
Current State: 87:[84, 3], Operations: ['3*11=33', '33-30=3']
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,87 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[3, 11, 84, 30], Operations: []
Exploring Operation: 3*11=33, Resulting Numbers: [84, 30, 33]
Generated Node #0,3: 87:[84, 30, 33] Operation: 3*11=33
Moving to Node #0,3
Current State: 87:[84, 30, 33], Operations: ['3*11=33']
Exploring Operation: 33-30=3, Resulting Numbers: [84, 3]
Generated Node #0,3,1: 87:[84, 3] Operation: 33-30=3
Moving to Node #0,3,1
Current State: 87:[84, 3], Operations: ['3*11=33', '33-30=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
16,
4,
26,
82
] | 38 | [
"82-16=66",
"4*26=104",
"104-66=38"
] | Current State: 38:[16, 4, 26, 82], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [4, 26, 66]
Generated Node #2: [4, 26, 66] from Operation: 82-16=66
Current State: 38:[4, 26, 66], Operations: ['82-16=66']
Exploring Operation: 4*26=104, Resulting Numbers: [66, 104]
Generated Node #3: [66, 104] from Operation: 4*26=104
Current State: 38:[66, 104], Operations: ['82-16=66', '4*26=104']
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[16, 4, 26, 82], Operations: []
Exploring Operation: 16+26=42, Resulting Numbers: [4, 82, 42]
Generated Node #0,0: 38:[4, 82, 42] Operation: 16+26=42
Exploring Operation: 82-4=78, Resulting Numbers: [16, 26, 78]
Generated Node #0,1: 38:[16, 26, 78] Operation: 82-4=78
Exploring Operation: 82-16=66, Resulting Numbers: [4, 26, 66]
Generated Node #0,2: 38:[4, 26, 66] Operation: 82-16=66
Exploring Operation: 82-26=56, Resulting Numbers: [16, 4, 56]
Generated Node #0,3: 38:[16, 4, 56] Operation: 82-26=56
Exploring Operation: 26-4=22, Resulting Numbers: [16, 82, 22]
Generated Node #0,4: 38:[16, 82, 22] Operation: 26-4=22
Moving to Node #0,3
Current State: 38:[16, 4, 56], Operations: ['82-26=56']
Exploring Operation: 56/4=14, Resulting Numbers: [16, 14]
Generated Node #0,3,0: 38:[16, 14] Operation: 56/4=14
Exploring Operation: 16+4=20, Resulting Numbers: [56, 20]
Generated Node #0,3,1: 38:[56, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [56, 4]
Generated Node #0,3,2: 38:[56, 4] Operation: 16/4=4
Exploring Operation: 56-16=40, Resulting Numbers: [4, 40]
Generated Node #0,3,3: 38:[4, 40] Operation: 56-16=40
Exploring Operation: 56-4=52, Resulting Numbers: [16, 52]
Generated Node #0,3,4: 38:[16, 52] Operation: 56-4=52
Moving to Node #0,2
Current State: 38:[4, 26, 66], Operations: ['82-16=66']
Exploring Operation: 4+26=30, Resulting Numbers: [66, 30]
Generated Node #0,2,0: 38:[66, 30] Operation: 4+26=30
Exploring Operation: 4+66=70, Resulting Numbers: [26, 70]
Generated Node #0,2,1: 38:[26, 70] Operation: 4+66=70
Exploring Operation: 66-4=62, Resulting Numbers: [26, 62]
Generated Node #0,2,2: 38:[26, 62] Operation: 66-4=62
Exploring Operation: 26-4=22, Resulting Numbers: [66, 22]
Generated Node #0,2,3: 38:[66, 22] Operation: 26-4=22
Exploring Operation: 66-26=40, Resulting Numbers: [4, 40]
Generated Node #0,2,4: 38:[4, 40] Operation: 66-26=40
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[4, 40], Operations: ['82-16=66', '66-26=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,38 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: 38:[26, 62], Operations: ['82-16=66', '66-4=62']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,38 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,38 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: 38:[66, 22], Operations: ['82-16=66', '26-4=22']
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,38 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: 38:[66, 30], Operations: ['82-16=66', '4+26=30']
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,38 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,38 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,38 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: 38:[26, 70], Operations: ['82-16=66', '4+66=70']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,38 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,38 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: 38:[4, 82, 42], Operations: ['16+26=42']
Exploring Operation: 82-42=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 38:[4, 40] Operation: 82-42=40
Exploring Operation: 4+42=46, Resulting Numbers: [82, 46]
Generated Node #0,0,1: 38:[82, 46] Operation: 4+42=46
Exploring Operation: 82-4=78, Resulting Numbers: [42, 78]
Generated Node #0,0,2: 38:[42, 78] Operation: 82-4=78
Exploring Operation: 42-4=38, Resulting Numbers: [82, 38]
Generated Node #0,0,3: 38:[82, 38] Operation: 42-4=38
Exploring Operation: 4+82=86, Resulting Numbers: [42, 86]
Generated Node #0,0,4: 38:[42, 86] Operation: 4+82=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[4, 40], Operations: ['16+26=42', '82-42=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,38 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,38 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: 38:[42, 78], Operations: ['16+26=42', '82-4=78']
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,38 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,38 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: 38:[82, 38], Operations: ['16+26=42', '42-4=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,38 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,38 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: 38:[82, 46], Operations: ['16+26=42', '4+42=46']
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 82*46=3772, Resulting Numbers: [3772]
3772,38 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,38 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,4
Current State: 38:[42, 86], Operations: ['16+26=42', '4+82=86']
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,38 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,38 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: 38:[16, 26, 78], Operations: ['82-4=78']
Exploring Operation: 78-26=52, Resulting Numbers: [16, 52]
Generated Node #0,1,0: 38:[16, 52] Operation: 78-26=52
Exploring Operation: 26-16=10, Resulting Numbers: [78, 10]
Generated Node #0,1,1: 38:[78, 10] Operation: 26-16=10
Exploring Operation: 16+26=42, Resulting Numbers: [78, 42]
Generated Node #0,1,2: 38:[78, 42] Operation: 16+26=42
Exploring Operation: 78/26=3, Resulting Numbers: [16, 3]
Generated Node #0,1,3: 38:[16, 3] Operation: 78/26=3
Exploring Operation: 78-16=62, Resulting Numbers: [26, 62]
Generated Node #0,1,4: 38:[26, 62] Operation: 78-16=62
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[16, 3], Operations: ['82-4=78', '78/26=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,38 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: 38:[16, 52], Operations: ['82-4=78', '78-26=52']
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,38 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: 38:[26, 62], Operations: ['82-4=78', '78-16=62']
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,38 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,38 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: 38:[78, 42], Operations: ['82-4=78', '16+26=42']
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,38 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: 38:[78, 10], Operations: ['82-4=78', '26-16=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,38 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,38 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: 38:[16, 82, 22], Operations: ['26-4=22']
Exploring Operation: 16+82=98, Resulting Numbers: [22, 98]
Generated Node #0,4,0: 38:[22, 98] Operation: 16+82=98
Exploring Operation: 22-16=6, Resulting Numbers: [82, 6]
Generated Node #0,4,1: 38:[82, 6] Operation: 22-16=6
Exploring Operation: 16+22=38, Resulting Numbers: [82, 38]
Generated Node #0,4,2: 38:[82, 38] Operation: 16+22=38
Exploring Operation: 82-22=60, Resulting Numbers: [16, 60]
Generated Node #0,4,3: 38:[16, 60] Operation: 82-22=60
Exploring Operation: 82-16=66, Resulting Numbers: [22, 66]
Generated Node #0,4,4: 38:[22, 66] Operation: 82-16=66
Moving to Node #0,3,3
Current State: 38:[4, 40], Operations: ['82-26=56', '56-16=40']
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,38 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[16, 14], Operations: ['82-26=56', '56/4=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[16, 52], Operations: ['82-26=56', '56-4=52']
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,38 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[56, 20], Operations: ['82-26=56', '16+4=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,38 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[56, 4], Operations: ['82-26=56', '16/4=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,38 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[16, 60], Operations: ['26-4=22', '82-22=60']
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,38 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[22, 66], Operations: ['26-4=22', '82-16=66']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[82, 38], Operations: ['26-4=22', '16+22=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[82, 6], Operations: ['26-4=22', '22-16=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,38 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[22, 98], Operations: ['26-4=22', '16+82=98']
Exploring Operation: 22+98=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 22*98=2156, Resulting Numbers: [2156]
2156,38 unequal: No Solution
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
93,
53,
95,
32
] | 76 | [
"93-53=40",
"95*32=3040",
"3040/40=76"
] | Current State: 76:[93, 53, 95, 32], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [95, 32, 40]
Generated Node #2: [95, 32, 40] from Operation: 93-53=40
Current State: 76:[95, 32, 40], Operations: ['93-53=40']
Exploring Operation: 95*32=3040, Resulting Numbers: [40, 3040]
Generated Node #3: [40, 3040] from Operation: 95*32=3040
Current State: 76:[40, 3040], Operations: ['93-53=40', '95*32=3040']
Exploring Operation: 3040/40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[93, 53, 95, 32], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [53, 32, 2]
Generated Node #0,0: 76:[53, 32, 2] Operation: 95-93=2
Exploring Operation: 95-53=42, Resulting Numbers: [93, 32, 42]
Generated Node #0,1: 76:[93, 32, 42] Operation: 95-53=42
Exploring Operation: 93-53=40, Resulting Numbers: [95, 32, 40]
Generated Node #0,2: 76:[95, 32, 40] Operation: 93-53=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[53, 32, 2], Operations: ['95-93=2']
Exploring Operation: 53+32=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 76:[2, 85] Operation: 53+32=85
Exploring Operation: 32/2=16, Resulting Numbers: [53, 16]
Generated Node #0,0,1: 76:[53, 16] Operation: 32/2=16
Exploring Operation: 53-32=21, Resulting Numbers: [2, 21]
Generated Node #0,0,2: 76:[2, 21] Operation: 53-32=21
Moving to Node #0,0,2
Current State: 76:[2, 21], Operations: ['95-93=2', '53-32=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[2, 85], Operations: ['95-93=2', '53+32=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,76 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[53, 16], Operations: ['95-93=2', '32/2=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,76 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: 76:[93, 32, 42], Operations: ['95-53=42']
Exploring Operation: 32+42=74, Resulting Numbers: [93, 74]
Generated Node #0,1,0: 76:[93, 74] Operation: 32+42=74
Exploring Operation: 93-32=61, Resulting Numbers: [42, 61]
Generated Node #0,1,1: 76:[42, 61] Operation: 93-32=61
Exploring Operation: 93-42=51, Resulting Numbers: [32, 51]
Generated Node #0,1,2: 76:[32, 51] Operation: 93-42=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[93, 74], Operations: ['95-53=42', '32+42=74']
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,76 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: 76:[42, 61], Operations: ['95-53=42', '93-32=61']
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,76 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: 76:[32, 51], Operations: ['95-53=42', '93-42=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,76 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,76 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: 76:[95, 32, 40], Operations: ['93-53=40']
Exploring Operation: 32+40=72, Resulting Numbers: [95, 72]
Generated Node #0,2,0: 76:[95, 72] Operation: 32+40=72
Exploring Operation: 95-32=63, Resulting Numbers: [40, 63]
Generated Node #0,2,1: 76:[40, 63] Operation: 95-32=63
Exploring Operation: 95-40=55, Resulting Numbers: [32, 55]
Generated Node #0,2,2: 76:[32, 55] Operation: 95-40=55
Moving to Node #0,2,1
Current State: 76:[40, 63], Operations: ['93-53=40', '95-32=63']
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,76 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[95, 72], Operations: ['93-53=40', '32+40=72']
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,76 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[32, 55], Operations: ['93-53=40', '95-40=55']
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,76 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,76 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 |
[
12,
59,
53,
78
] | 25 | [
"59-53=6",
"78/6=13",
"12+13=25"
] | Current State: 25:[12, 59, 53, 78], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [12, 78, 6]
Generated Node #2: [12, 78, 6] from Operation: 59-53=6
Current State: 25:[12, 78, 6], Operations: ['59-53=6']
Exploring Operation: 78/6=13, Resulting Numbers: [12, 13]
Generated Node #3: [12, 13] from Operation: 78/6=13
Current State: 25:[12, 13], Operations: ['59-53=6', '78/6=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 59, 53, 78], Operations: []
Exploring Operation: 78-53=25, Resulting Numbers: [12, 59, 25]
Generated Node #0,0: 25:[12, 59, 25] Operation: 78-53=25
Exploring Operation: 59-53=6, Resulting Numbers: [12, 78, 6]
Generated Node #0,1: 25:[12, 78, 6] Operation: 59-53=6
Exploring Operation: 78-59=19, Resulting Numbers: [12, 53, 19]
Generated Node #0,2: 25:[12, 53, 19] Operation: 78-59=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 59, 25], Operations: ['78-53=25']
Exploring Operation: 25-12=13, Resulting Numbers: [59, 13]
Generated Node #0,0,0: 25:[59, 13] Operation: 25-12=13
Exploring Operation: 59-12=47, Resulting Numbers: [25, 47]
Generated Node #0,0,1: 25:[25, 47] Operation: 59-12=47
Exploring Operation: 59-25=34, Resulting Numbers: [12, 34]
Generated Node #0,0,2: 25:[12, 34] Operation: 59-25=34
Moving to Node #0,0,2
Current State: 25:[12, 34], Operations: ['78-53=25', '59-25=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,25 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[25, 47], Operations: ['78-53=25', '59-12=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[59, 13], Operations: ['78-53=25', '25-12=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,25 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,25 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: 25:[12, 53, 19], Operations: ['78-59=19']
Exploring Operation: 53-12=41, Resulting Numbers: [19, 41]
Generated Node #0,2,0: 25:[19, 41] Operation: 53-12=41
Exploring Operation: 19-12=7, Resulting Numbers: [53, 7]
Generated Node #0,2,1: 25:[53, 7] Operation: 19-12=7
Exploring Operation: 53-19=34, Resulting Numbers: [12, 34]
Generated Node #0,2,2: 25:[12, 34] Operation: 53-19=34
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[12, 34], Operations: ['78-59=19', '53-19=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,25 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,25 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: 25:[19, 41], Operations: ['78-59=19', '53-12=41']
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,25 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,25 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,1
Current State: 25:[53, 7], Operations: ['78-59=19', '19-12=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,25 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: 25:[12, 78, 6], Operations: ['59-53=6']
Exploring Operation: 78/6=13, Resulting Numbers: [12, 13]
Generated Node #0,1,0: 25:[12, 13] Operation: 78/6=13
Exploring Operation: 12-6=6, Resulting Numbers: [78, 6]
Generated Node #0,1,1: 25:[78, 6] Operation: 12-6=6
Exploring Operation: 78-12=66, Resulting Numbers: [6, 66]
Generated Node #0,1,2: 25:[6, 66] Operation: 78-12=66
Moving to Node #0,1,0
Current State: 25:[12, 13], Operations: ['59-53=6', '78/6=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[12, 59, 53, 78], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [12, 78, 6]
Generated Node #0,1: 25:[12, 78, 6] Operation: 59-53=6
Moving to Node #0,1
Current State: 25:[12, 78, 6], Operations: ['59-53=6']
Exploring Operation: 78/6=13, Resulting Numbers: [12, 13]
Generated Node #0,1,0: 25:[12, 13] Operation: 78/6=13
Moving to Node #0,1,0
Current State: 25:[12, 13], Operations: ['59-53=6', '78/6=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
19,
47,
56,
47
] | 94 | [
"47-19=28",
"56*47=2632",
"2632/28=94"
] | Current State: 94:[19, 47, 56, 47], Operations: []
Exploring Operation: 47-19=28, Resulting Numbers: [56, 28]
Generated Node #2: [56, 28] from Operation: 47-19=28
Current State: 94:[56, 28], Operations: ['47-19=28']
Exploring Operation: 56*47=2632, Resulting Numbers: [28, 2632]
Generated Node #3: [28, 2632] from Operation: 56*47=2632
Current State: 94:[28, 2632], Operations: ['47-19=28', '56*47=2632']
Exploring Operation: 2632/28=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[19, 47, 56, 47], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [47, 47, 37]
Generated Node #0,0: 94:[47, 47, 37] Operation: 56-19=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[47, 47, 37], Operations: ['56-19=37']
Exploring Operation: 47-37=10, Resulting Numbers: [47, 10]
Generated Node #0,0,0: 94:[47, 10] Operation: 47-37=10
Moving to Node #0,0,0
Current State: 94:[47, 10], Operations: ['56-19=37', '47-37=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,94 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 |
[
18,
88,
19,
9
] | 25 | [
"18/9=2",
"88/2=44",
"44-19=25"
] | Current State: 25:[18, 88, 19, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [88, 19, 2]
Generated Node #2: [88, 19, 2] from Operation: 18/9=2
Current State: 25:[88, 19, 2], Operations: ['18/9=2']
Exploring Operation: 88/2=44, Resulting Numbers: [19, 44]
Generated Node #3: [19, 44] from Operation: 88/2=44
Current State: 25:[19, 44], Operations: ['18/9=2', '88/2=44']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[18, 88, 19, 9], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [19, 9, 70]
Generated Node #0,0: 25:[19, 9, 70] Operation: 88-18=70
Exploring Operation: 18+9=27, Resulting Numbers: [88, 19, 27]
Generated Node #0,1: 25:[88, 19, 27] Operation: 18+9=27
Exploring Operation: 88-9=79, Resulting Numbers: [18, 19, 79]
Generated Node #0,2: 25:[18, 19, 79] Operation: 88-9=79
Exploring Operation: 19-18=1, Resulting Numbers: [88, 9, 1]
Generated Node #0,3: 25:[88, 9, 1] Operation: 19-18=1
Exploring Operation: 88-19=69, Resulting Numbers: [18, 9, 69]
Generated Node #0,4: 25:[18, 9, 69] Operation: 88-19=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[19, 9, 70], Operations: ['88-18=70']
Exploring Operation: 19-9=10, Resulting Numbers: [70, 10]
Generated Node #0,0,0: 25:[70, 10] Operation: 19-9=10
Exploring Operation: 9+70=79, Resulting Numbers: [19, 79]
Generated Node #0,0,1: 25:[19, 79] Operation: 9+70=79
Exploring Operation: 19+9=28, Resulting Numbers: [70, 28]
Generated Node #0,0,2: 25:[70, 28] Operation: 19+9=28
Exploring Operation: 70-19=51, Resulting Numbers: [9, 51]
Generated Node #0,0,3: 25:[9, 51] Operation: 70-19=51
Exploring Operation: 70-9=61, Resulting Numbers: [19, 61]
Generated Node #0,0,4: 25:[19, 61] Operation: 70-9=61
Moving to Node #0,0,3
Current State: 25:[9, 51], Operations: ['88-18=70', '70-19=51']
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,25 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[19, 61], Operations: ['88-18=70', '70-9=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,25 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[70, 28], Operations: ['88-18=70', '19+9=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[70, 10], Operations: ['88-18=70', '19-9=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,25 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[19, 79], Operations: ['88-18=70', '9+70=79']
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,25 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,25 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,4
Current State: 25:[18, 9, 69], Operations: ['88-19=69']
Exploring Operation: 18/9=2, Resulting Numbers: [69, 2]
Generated Node #0,4,0: 25:[69, 2] Operation: 18/9=2
Exploring Operation: 69-18=51, Resulting Numbers: [9, 51]
Generated Node #0,4,1: 25:[9, 51] Operation: 69-18=51
Exploring Operation: 18+9=27, Resulting Numbers: [69, 27]
Generated Node #0,4,2: 25:[69, 27] Operation: 18+9=27
Exploring Operation: 18-9=9, Resulting Numbers: [69, 9]
Generated Node #0,4,3: 25:[69, 9] Operation: 18-9=9
Exploring Operation: 69-9=60, Resulting Numbers: [18, 60]
Generated Node #0,4,4: 25:[18, 60] Operation: 69-9=60
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[9, 51], Operations: ['88-19=69', '69-18=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,25 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,4
Current State: 25:[18, 60], Operations: ['88-19=69', '69-9=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,25 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: 25:[69, 27], Operations: ['88-19=69', '18+9=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,25 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: 25:[69, 2], Operations: ['88-19=69', '18/9=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,25 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: 25:[69, 9], Operations: ['88-19=69', '18-9=9']
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,25 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: 25:[18, 19, 79], Operations: ['88-9=79']
Exploring Operation: 19-18=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 25:[79, 1] Operation: 19-18=1
Exploring Operation: 18+79=97, Resulting Numbers: [19, 97]
Generated Node #0,2,1: 25:[19, 97] Operation: 18+79=97
Exploring Operation: 79-19=60, Resulting Numbers: [18, 60]
Generated Node #0,2,2: 25:[18, 60] Operation: 79-19=60
Exploring Operation: 79-18=61, Resulting Numbers: [19, 61]
Generated Node #0,2,3: 25:[19, 61] Operation: 79-18=61
Exploring Operation: 18+19=37, Resulting Numbers: [79, 37]
Generated Node #0,2,4: 25:[79, 37] Operation: 18+19=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[18, 60], Operations: ['88-9=79', '79-19=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,25 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,3
Current State: 25:[19, 61], Operations: ['88-9=79', '79-18=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,25 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,25 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: 25:[79, 1], Operations: ['88-9=79', '19-18=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,25 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,4
Current State: 25:[79, 37], Operations: ['88-9=79', '18+19=37']
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,25 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,1
Current State: 25:[19, 97], Operations: ['88-9=79', '18+79=97']
Exploring Operation: 19*97=1843, Resulting Numbers: [1843]
1843,25 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 19+97=116, Resulting Numbers: [116]
116,25 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: 25:[88, 19, 27], Operations: ['18+9=27']
Exploring Operation: 19+27=46, Resulting Numbers: [88, 46]
Generated Node #0,1,0: 25:[88, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [88, 8]
Generated Node #0,1,1: 25:[88, 8] Operation: 27-19=8
Exploring Operation: 88+19=107, Resulting Numbers: [27, 107]
Generated Node #0,1,2: 25:[27, 107] Operation: 88+19=107
Exploring Operation: 88-19=69, Resulting Numbers: [27, 69]
Generated Node #0,1,3: 25:[27, 69] Operation: 88-19=69
Exploring Operation: 88-27=61, Resulting Numbers: [19, 61]
Generated Node #0,1,4: 25:[19, 61] Operation: 88-27=61
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 25:[19, 61], Operations: ['18+9=27', '88-27=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,25 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,25 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: 25:[27, 69], Operations: ['18+9=27', '88-19=69']
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,25 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,25 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: 25:[88, 8], Operations: ['18+9=27', '27-19=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,25 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,25 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: 25:[88, 46], Operations: ['18+9=27', '19+27=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,25 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,25 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,25 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: 25:[27, 107], Operations: ['18+9=27', '88+19=107']
Exploring Operation: 27*107=2889, Resulting Numbers: [2889]
2889,25 unequal: No Solution
Exploring Operation: 27+107=134, Resulting Numbers: [134]
134,25 unequal: No Solution
Exploring Operation: 107-27=80, Resulting Numbers: [80]
80,25 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: 25:[88, 9, 1], Operations: ['19-18=1']
Exploring Operation: 88-1=87, Resulting Numbers: [9, 87]
Generated Node #0,3,0: 25:[9, 87] Operation: 88-1=87
Exploring Operation: 9-1=8, Resulting Numbers: [88, 8]
Generated Node #0,3,1: 25:[88, 8] Operation: 9-1=8
Exploring Operation: 88*1=88, Resulting Numbers: [9, 88]
Generated Node #0,3,2: 25:[9, 88] Operation: 88*1=88
Exploring Operation: 88/1=88, Resulting Numbers: [9, 88]
Generated Node #0,3,3: 25:[9, 88] Operation: 88/1=88
Exploring Operation: 88-9=79, Resulting Numbers: [1, 79]
Generated Node #0,3,4: 25:[1, 79] Operation: 88-9=79
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[1, 79], Operations: ['19-18=1', '88-9=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,25 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: 25:[9, 87], Operations: ['19-18=1', '88-1=87']
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,25 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,25 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: 25:[88, 8], Operations: ['19-18=1', '9-1=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,25 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: 25:[9, 88], Operations: ['19-18=1', '88*1=88']
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,25 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,25 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: 25:[9, 88], Operations: ['19-18=1', '88/1=88']
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,25 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,25 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 | sum_heuristic |
[
72,
58,
2,
35
] | 79 | [
"72-35=37",
"58*2=116",
"116-37=79"
] | Current State: 79:[72, 58, 2, 35], Operations: []
Exploring Operation: 72-35=37, Resulting Numbers: [58, 2, 37]
Generated Node #2: [58, 2, 37] from Operation: 72-35=37
Current State: 79:[58, 2, 37], Operations: ['72-35=37']
Exploring Operation: 58*2=116, Resulting Numbers: [37, 116]
Generated Node #3: [37, 116] from Operation: 58*2=116
Current State: 79:[37, 116], Operations: ['72-35=37', '58*2=116']
Exploring Operation: 116-37=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[72, 58, 2, 35], Operations: []
Exploring Operation: 2+35=37, Resulting Numbers: [72, 58, 37]
Generated Node #0,0: 79:[72, 58, 37] Operation: 2+35=37
Exploring Operation: 58+2=60, Resulting Numbers: [72, 35, 60]
Generated Node #0,1: 79:[72, 35, 60] Operation: 58+2=60
Exploring Operation: 72+2=74, Resulting Numbers: [58, 35, 74]
Generated Node #0,2: 79:[58, 35, 74] Operation: 72+2=74
Exploring Operation: 2*35=70, Resulting Numbers: [72, 58, 70]
Generated Node #0,3: 79:[72, 58, 70] Operation: 2*35=70
Moving to Node #0,3
Current State: 79:[72, 58, 70], Operations: ['2*35=70']
Exploring Operation: 72+58=130, Resulting Numbers: [70, 130]
Generated Node #0,3,0: 79:[70, 130] Operation: 72+58=130
Exploring Operation: 72-58=14, Resulting Numbers: [70, 14]
Generated Node #0,3,1: 79:[70, 14] Operation: 72-58=14
Exploring Operation: 58+70=128, Resulting Numbers: [72, 128]
Generated Node #0,3,2: 79:[72, 128] Operation: 58+70=128
Exploring Operation: 70-58=12, Resulting Numbers: [72, 12]
Generated Node #0,3,3: 79:[72, 12] Operation: 70-58=12
Moving to Node #0,1
Current State: 79:[72, 35, 60], Operations: ['58+2=60']
Exploring Operation: 72-35=37, Resulting Numbers: [60, 37]
Generated Node #0,1,0: 79:[60, 37] Operation: 72-35=37
Exploring Operation: 72+35=107, Resulting Numbers: [60, 107]
Generated Node #0,1,1: 79:[60, 107] Operation: 72+35=107
Exploring Operation: 35+60=95, Resulting Numbers: [72, 95]
Generated Node #0,1,2: 79:[72, 95] Operation: 35+60=95
Exploring Operation: 60-35=25, Resulting Numbers: [72, 25]
Generated Node #0,1,3: 79:[72, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[72, 95], Operations: ['58+2=60', '35+60=95']
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,79 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,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,1,1
Current State: 79:[60, 107], Operations: ['58+2=60', '72+35=107']
Exploring Operation: 107-60=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 60+107=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 60*107=6420, Resulting Numbers: [6420]
6420,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,1,0
Current State: 79:[60, 37], Operations: ['58+2=60', '72-35=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,79 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,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,1,3
Current State: 79:[72, 25], Operations: ['58+2=60', '60-35=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,79 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: 79:[72, 58, 37], Operations: ['2+35=37']
Exploring Operation: 58+37=95, Resulting Numbers: [72, 95]
Generated Node #0,0,0: 79:[72, 95] Operation: 58+37=95
Exploring Operation: 58-37=21, Resulting Numbers: [72, 21]
Generated Node #0,0,1: 79:[72, 21] Operation: 58-37=21
Exploring Operation: 72+37=109, Resulting Numbers: [58, 109]
Generated Node #0,0,2: 79:[58, 109] Operation: 72+37=109
Exploring Operation: 72-37=35, Resulting Numbers: [58, 35]
Generated Node #0,0,3: 79:[58, 35] Operation: 72-37=35
Moving to Node #0,2
Current State: 79:[58, 35, 74], Operations: ['72+2=74']
Exploring Operation: 35+74=109, Resulting Numbers: [58, 109]
Generated Node #0,2,0: 79:[58, 109] Operation: 35+74=109
Exploring Operation: 58+35=93, Resulting Numbers: [74, 93]
Generated Node #0,2,1: 79:[74, 93] Operation: 58+35=93
Exploring Operation: 74-35=39, Resulting Numbers: [58, 39]
Generated Node #0,2,2: 79:[58, 39] Operation: 74-35=39
Exploring Operation: 58-35=23, Resulting Numbers: [74, 23]
Generated Node #0,2,3: 79:[74, 23] Operation: 58-35=23
Moving to Node #0,2,1
Current State: 79:[74, 93], Operations: ['72+2=74', '58+35=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,79 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[72, 95], Operations: ['2+35=37', '58+37=95']
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,79 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[58, 109], Operations: ['2+35=37', '72+37=109']
Exploring Operation: 58+109=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 109-58=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 58*109=6322, Resulting Numbers: [6322]
6322,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[58, 109], Operations: ['72+2=74', '35+74=109']
Exploring Operation: 58*109=6322, Resulting Numbers: [6322]
6322,79 unequal: No Solution
Exploring Operation: 58+109=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 109-58=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[72, 128], Operations: ['2*35=70', '58+70=128']
Exploring Operation: 72*128=9216, Resulting Numbers: [9216]
9216,79 unequal: No Solution
Exploring Operation: 128-72=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 72+128=200, Resulting Numbers: [200]
200,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[70, 130], Operations: ['2*35=70', '72+58=130']
Exploring Operation: 130-70=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 70*130=9100, Resulting Numbers: [9100]
9100,79 unequal: No Solution
Exploring Operation: 70+130=200, Resulting Numbers: [200]
200,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[74, 23], Operations: ['72+2=74', '58-35=23']
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,79 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[58, 39], Operations: ['72+2=74', '74-35=39']
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,79 unequal: No Solution
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[72, 21], Operations: ['2+35=37', '58-37=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[58, 35], Operations: ['2+35=37', '72-37=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,79 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[72, 12], Operations: ['2*35=70', '70-58=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,79 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[70, 14], Operations: ['2*35=70', '72-58=14']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,79 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
9,
69,
11
] | 72 | [
"16+11=27",
"27/9=3",
"69+3=72"
] | Current State: 72:[16, 9, 69, 11], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [9, 69, 27]
Generated Node #2: [9, 69, 27] from Operation: 16+11=27
Current State: 72:[9, 69, 27], Operations: ['16+11=27']
Exploring Operation: 27/9=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 27/9=3
Current State: 72:[69, 3], Operations: ['16+11=27', '27/9=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[16, 9, 69, 11], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [9, 69, 5]
Generated Node #0,0: 72:[9, 69, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[9, 69, 5], Operations: ['16-11=5']
Exploring Operation: 69+5=74, Resulting Numbers: [9, 74]
Generated Node #0,0,0: 72:[9, 74] Operation: 69+5=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[9, 74], Operations: ['16-11=5', '69+5=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,72 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 |
[
89,
7,
13,
5
] | 63 | [
"7-5=2",
"13*2=26",
"89-26=63"
] | Current State: 63:[89, 7, 13, 5], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [89, 13, 2]
Generated Node #2: [89, 13, 2] from Operation: 7-5=2
Current State: 63:[89, 13, 2], Operations: ['7-5=2']
Exploring Operation: 13*2=26, Resulting Numbers: [89, 26]
Generated Node #3: [89, 26] from Operation: 13*2=26
Current State: 63:[89, 26], Operations: ['7-5=2', '13*2=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[89, 7, 13, 5], Operations: []
Exploring Operation: 89-13=76, Resulting Numbers: [7, 5, 76]
Generated Node #0,0: 63:[7, 5, 76] Operation: 89-13=76
Moving to Node #0,0
Current State: 63:[7, 5, 76], Operations: ['89-13=76']
Exploring Operation: 76-7=69, Resulting Numbers: [5, 69]
Generated Node #0,0,0: 63:[5, 69] Operation: 76-7=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[5, 69], Operations: ['89-13=76', '76-7=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,63 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 |
[
89,
24,
78,
90
] | 55 | [
"89+24=113",
"78+90=168",
"168-113=55"
] | Current State: 55:[89, 24, 78, 90], Operations: []
Exploring Operation: 89+24=113, Resulting Numbers: [78, 90, 113]
Generated Node #2: [78, 90, 113] from Operation: 89+24=113
Current State: 55:[78, 90, 113], Operations: ['89+24=113']
Exploring Operation: 78+90=168, Resulting Numbers: [113, 168]
Generated Node #3: [113, 168] from Operation: 78+90=168
Current State: 55:[113, 168], Operations: ['89+24=113', '78+90=168']
Exploring Operation: 168-113=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[89, 24, 78, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [24, 78, 1]
Generated Node #0,0: 55:[24, 78, 1] Operation: 90-89=1
Exploring Operation: 89-78=11, Resulting Numbers: [24, 90, 11]
Generated Node #0,1: 55:[24, 90, 11] Operation: 89-78=11
Exploring Operation: 89-24=65, Resulting Numbers: [78, 90, 65]
Generated Node #0,2: 55:[78, 90, 65] Operation: 89-24=65
Exploring Operation: 90-78=12, Resulting Numbers: [89, 24, 12]
Generated Node #0,3: 55:[89, 24, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[24, 78, 1], Operations: ['90-89=1']
Exploring Operation: 24*1=24, Resulting Numbers: [78, 24]
Generated Node #0,0,0: 55:[78, 24] Operation: 24*1=24
Exploring Operation: 78-1=77, Resulting Numbers: [24, 77]
Generated Node #0,0,1: 55:[24, 77] Operation: 78-1=77
Exploring Operation: 24-1=23, Resulting Numbers: [78, 23]
Generated Node #0,0,2: 55:[78, 23] Operation: 24-1=23
Exploring Operation: 78-24=54, Resulting Numbers: [1, 54]
Generated Node #0,0,3: 55:[1, 54] Operation: 78-24=54
Moving to Node #0,0,3
Current State: 55:[1, 54], Operations: ['90-89=1', '78-24=54']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[89, 24, 78, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [24, 78, 1]
Generated Node #0,0: 55:[24, 78, 1] Operation: 90-89=1
Moving to Node #0,0
Current State: 55:[24, 78, 1], Operations: ['90-89=1']
Exploring Operation: 78-24=54, Resulting Numbers: [1, 54]
Generated Node #0,0,3: 55:[1, 54] Operation: 78-24=54
Moving to Node #0,0,3
Current State: 55:[1, 54], Operations: ['90-89=1', '78-24=54']
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
91,
77,
21,
48
] | 85 | [
"77*48=3696",
"3696/21=176",
"176-91=85"
] | Current State: 85:[91, 77, 21, 48], Operations: []
Exploring Operation: 77*48=3696, Resulting Numbers: [91, 21, 3696]
Generated Node #2: [91, 21, 3696] from Operation: 77*48=3696
Current State: 85:[91, 21, 3696], Operations: ['77*48=3696']
Exploring Operation: 3696/21=176, Resulting Numbers: [91, 176]
Generated Node #3: [91, 176] from Operation: 3696/21=176
Current State: 85:[91, 176], Operations: ['77*48=3696', '3696/21=176']
Exploring Operation: 176-91=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[91, 77, 21, 48], Operations: []
Exploring Operation: 77-48=29, Resulting Numbers: [91, 21, 29]
Generated Node #0,0: 85:[91, 21, 29] Operation: 77-48=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[91, 21, 29], Operations: ['77-48=29']
Exploring Operation: 29-21=8, Resulting Numbers: [91, 8]
Generated Node #0,0,0: 85:[91, 8] Operation: 29-21=8
Moving to Node #0,0,0
Current State: 85:[91, 8], Operations: ['77-48=29', '29-21=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,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 | mult_heuristic |
[
36,
10,
51,
24
] | 69 | [
"36-24=12",
"10*12=120",
"120-51=69"
] | Current State: 69:[36, 10, 51, 24], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [10, 51, 12]
Generated Node #2: [10, 51, 12] from Operation: 36-24=12
Current State: 69:[10, 51, 12], Operations: ['36-24=12']
Exploring Operation: 10*12=120, Resulting Numbers: [51, 120]
Generated Node #3: [51, 120] from Operation: 10*12=120
Current State: 69:[51, 120], Operations: ['36-24=12', '10*12=120']
Exploring Operation: 120-51=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[36, 10, 51, 24], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [10, 24, 15]
Generated Node #0,0: 69:[10, 24, 15] Operation: 51-36=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 24, 15], Operations: ['51-36=15']
Exploring Operation: 10+15=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 69:[24, 25] Operation: 10+15=25
Moving to Node #0,0,0
Current State: 69:[24, 25], Operations: ['51-36=15', '10+15=25']
Exploring Operation: 25-24=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 | sum_heuristic |
[
96,
67,
78,
94
] | 73 | [
"94-78=16",
"96/16=6",
"67+6=73"
] | Current State: 73:[96, 67, 78, 94], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [96, 67, 16]
Generated Node #2: [96, 67, 16] from Operation: 94-78=16
Current State: 73:[96, 67, 16], Operations: ['94-78=16']
Exploring Operation: 96/16=6, Resulting Numbers: [67, 6]
Generated Node #3: [67, 6] from Operation: 96/16=6
Current State: 73:[67, 6], Operations: ['94-78=16', '96/16=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[96, 67, 78, 94], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [78, 94, 29]
Generated Node #0,0: 73:[78, 94, 29] Operation: 96-67=29
Moving to Node #0,0
Current State: 73:[78, 94, 29], Operations: ['96-67=29']
Exploring Operation: 94-29=65, Resulting Numbers: [78, 65]
Generated Node #0,0,0: 73:[78, 65] Operation: 94-29=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[78, 65], Operations: ['96-67=29', '94-29=65']
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,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 | mult_heuristic |
[
74,
57,
2,
30
] | 61 | [
"74*2=148",
"57+30=87",
"148-87=61"
] | Current State: 61:[74, 57, 2, 30], Operations: []
Exploring Operation: 74*2=148, Resulting Numbers: [57, 30, 148]
Generated Node #2: [57, 30, 148] from Operation: 74*2=148
Current State: 61:[57, 30, 148], Operations: ['74*2=148']
Exploring Operation: 57+30=87, Resulting Numbers: [148, 87]
Generated Node #3: [148, 87] from Operation: 57+30=87
Current State: 61:[148, 87], Operations: ['74*2=148', '57+30=87']
Exploring Operation: 148-87=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[74, 57, 2, 30], Operations: []
Exploring Operation: 74-2=72, Resulting Numbers: [57, 30, 72]
Generated Node #0,0: 61:[57, 30, 72] Operation: 74-2=72
Exploring Operation: 2*30=60, Resulting Numbers: [74, 57, 60]
Generated Node #0,1: 61:[74, 57, 60] Operation: 2*30=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[74, 57, 60], Operations: ['2*30=60']
Exploring Operation: 74-60=14, Resulting Numbers: [57, 14]
Generated Node #0,1,0: 61:[57, 14] Operation: 74-60=14
Exploring Operation: 74-57=17, Resulting Numbers: [60, 17]
Generated Node #0,1,1: 61:[60, 17] Operation: 74-57=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[60, 17], Operations: ['2*30=60', '74-57=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,61 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: 61:[57, 14], Operations: ['2*30=60', '74-60=14']
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,61 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: 61:[57, 30, 72], Operations: ['74-2=72']
Exploring Operation: 57+30=87, Resulting Numbers: [72, 87]
Generated Node #0,0,0: 61:[72, 87] Operation: 57+30=87
Exploring Operation: 72-30=42, Resulting Numbers: [57, 42]
Generated Node #0,0,1: 61:[57, 42] Operation: 72-30=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[57, 42], Operations: ['74-2=72', '72-30=42']
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,61 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: 61:[72, 87], Operations: ['74-2=72', '57+30=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,61 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 |
[
61,
57,
67,
55
] | 59 | [
"67+55=122",
"122/61=2",
"57+2=59"
] | Current State: 59:[61, 57, 67, 55], Operations: []
Exploring Operation: 67+55=122, Resulting Numbers: [61, 57, 122]
Generated Node #2: [61, 57, 122] from Operation: 67+55=122
Current State: 59:[61, 57, 122], Operations: ['67+55=122']
Exploring Operation: 122/61=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 122/61=2
Current State: 59:[57, 2], Operations: ['67+55=122', '122/61=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[61, 57, 67, 55], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [61, 57, 12]
Generated Node #0,0: 59:[61, 57, 12] Operation: 67-55=12
Exploring Operation: 67-61=6, Resulting Numbers: [57, 55, 6]
Generated Node #0,1: 59:[57, 55, 6] Operation: 67-61=6
Exploring Operation: 67-57=10, Resulting Numbers: [61, 55, 10]
Generated Node #0,2: 59:[61, 55, 10] Operation: 67-57=10
Moving to Node #0,0
Current State: 59:[61, 57, 12], Operations: ['67-55=12']
Exploring Operation: 61-12=49, Resulting Numbers: [57, 49]
Generated Node #0,0,0: 59:[57, 49] Operation: 61-12=49
Exploring Operation: 61+12=73, Resulting Numbers: [57, 73]
Generated Node #0,0,1: 59:[57, 73] Operation: 61+12=73
Exploring Operation: 57+12=69, Resulting Numbers: [61, 69]
Generated Node #0,0,2: 59:[61, 69] Operation: 57+12=69
Moving to Node #0,2
Current State: 59:[61, 55, 10], Operations: ['67-57=10']
Exploring Operation: 55+10=65, Resulting Numbers: [61, 65]
Generated Node #0,2,0: 59:[61, 65] Operation: 55+10=65
Exploring Operation: 61+10=71, Resulting Numbers: [55, 71]
Generated Node #0,2,1: 59:[55, 71] Operation: 61+10=71
Exploring Operation: 61-10=51, Resulting Numbers: [55, 51]
Generated Node #0,2,2: 59:[55, 51] Operation: 61-10=51
Moving to Node #0,1
Current State: 59:[57, 55, 6], Operations: ['67-61=6']
Exploring Operation: 57-6=51, Resulting Numbers: [55, 51]
Generated Node #0,1,0: 59:[55, 51] Operation: 57-6=51
Exploring Operation: 57+6=63, Resulting Numbers: [55, 63]
Generated Node #0,1,1: 59:[55, 63] Operation: 57+6=63
Exploring Operation: 55+6=61, Resulting Numbers: [57, 61]
Generated Node #0,1,2: 59:[57, 61] Operation: 55+6=61
Moving to Node #0,1,2
Current State: 59:[57, 61], Operations: ['67-61=6', '55+6=61']
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[61, 65], Operations: ['67-57=10', '55+10=65']
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,59 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,59 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[55, 63], Operations: ['67-61=6', '57+6=63']
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[55, 51], Operations: ['67-61=6', '57-6=51']
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,59 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[55, 51], Operations: ['67-57=10', '61-10=51']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,59 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[61, 69], Operations: ['67-55=12', '57+12=69']
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,59 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[57, 49], Operations: ['67-55=12', '61-12=49']
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,59 unequal: No Solution
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[57, 73], Operations: ['67-55=12', '61+12=73']
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,59 unequal: No Solution
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[55, 71], Operations: ['67-57=10', '61+10=71']
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,59 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,59 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
27,
21,
28
] | 47 | [
"67-27=40",
"28-21=7",
"40+7=47"
] | Current State: 47:[67, 27, 21, 28], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [21, 28, 40]
Generated Node #2: [21, 28, 40] from Operation: 67-27=40
Current State: 47:[21, 28, 40], Operations: ['67-27=40']
Exploring Operation: 28-21=7, Resulting Numbers: [40, 7]
Generated Node #3: [40, 7] from Operation: 28-21=7
Current State: 47:[40, 7], Operations: ['67-27=40', '28-21=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[67, 27, 21, 28], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [27, 28, 46]
Generated Node #0,0: 47:[27, 28, 46] Operation: 67-21=46
Exploring Operation: 27+21=48, Resulting Numbers: [67, 28, 48]
Generated Node #0,1: 47:[67, 28, 48] Operation: 27+21=48
Moving to Node #0,0
Current State: 47:[27, 28, 46], Operations: ['67-21=46']
Exploring Operation: 27+46=73, Resulting Numbers: [28, 73]
Generated Node #0,0,0: 47:[28, 73] Operation: 27+46=73
Exploring Operation: 27+28=55, Resulting Numbers: [46, 55]
Generated Node #0,0,1: 47:[46, 55] Operation: 27+28=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[46, 55], Operations: ['67-21=46', '27+28=55']
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,47 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: 47:[28, 73], Operations: ['67-21=46', '27+46=73']
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,47 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: 47:[67, 28, 48], Operations: ['27+21=48']
Exploring Operation: 67-48=19, Resulting Numbers: [28, 19]
Generated Node #0,1,0: 47:[28, 19] Operation: 67-48=19
Exploring Operation: 67-28=39, Resulting Numbers: [48, 39]
Generated Node #0,1,1: 47:[48, 39] Operation: 67-28=39
Moving to Node #0,1,1
Current State: 47:[48, 39], Operations: ['27+21=48', '67-28=39']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[28, 19], Operations: ['27+21=48', '67-48=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[67, 27, 21, 28], Operations: []
Exploring Operation: 27+21=48, Resulting Numbers: [67, 28, 48]
Generated Node #0,1: 47:[67, 28, 48] Operation: 27+21=48
Moving to Node #0,1
Current State: 47:[67, 28, 48], Operations: ['27+21=48']
Exploring Operation: 67-48=19, Resulting Numbers: [28, 19]
Generated Node #0,1,0: 47:[28, 19] Operation: 67-48=19
Moving to Node #0,1,0
Current State: 47:[28, 19], Operations: ['27+21=48', '67-48=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
11,
90,
6,
2
] | 75 | [
"90-11=79",
"6-2=4",
"79-4=75"
] | Current State: 75:[11, 90, 6, 2], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [6, 2, 79]
Generated Node #2: [6, 2, 79] from Operation: 90-11=79
Current State: 75:[6, 2, 79], Operations: ['90-11=79']
Exploring Operation: 6-2=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 6-2=4
Current State: 75:[79, 4], Operations: ['90-11=79', '6-2=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[11, 90, 6, 2], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [11, 2, 15]
Generated Node #0,0: 75:[11, 2, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [11, 2, 84]
Generated Node #0,1: 75:[11, 2, 84] Operation: 90-6=84
Exploring Operation: 90-11=79, Resulting Numbers: [6, 2, 79]
Generated Node #0,2: 75:[6, 2, 79] Operation: 90-11=79
Exploring Operation: 11-6=5, Resulting Numbers: [90, 2, 5]
Generated Node #0,3: 75:[90, 2, 5] Operation: 11-6=5
Moving to Node #0,0
Current State: 75:[11, 2, 15], Operations: ['90/6=15']
Exploring Operation: 15-11=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 75:[2, 4] Operation: 15-11=4
Exploring Operation: 11+2=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 75:[15, 13] Operation: 11+2=13
Exploring Operation: 11+15=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 75:[2, 26] Operation: 11+15=26
Exploring Operation: 11*2=22, Resulting Numbers: [15, 22]
Generated Node #0,0,3: 75:[15, 22] Operation: 11*2=22
Moving to Node #0,2
Current State: 75:[6, 2, 79], Operations: ['90-11=79']
Exploring Operation: 6-2=4, Resulting Numbers: [79, 4]
Generated Node #0,2,0: 75:[79, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [79, 3]
Generated Node #0,2,1: 75:[79, 3] Operation: 6/2=3
Exploring Operation: 79-6=73, Resulting Numbers: [2, 73]
Generated Node #0,2,2: 75:[2, 73] Operation: 79-6=73
Exploring Operation: 79-2=77, Resulting Numbers: [6, 77]
Generated Node #0,2,3: 75:[6, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[2, 73], Operations: ['90-11=79', '79-6=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[11, 90, 6, 2], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [6, 2, 79]
Generated Node #0,2: 75:[6, 2, 79] Operation: 90-11=79
Moving to Node #0,2
Current State: 75:[6, 2, 79], Operations: ['90-11=79']
Exploring Operation: 79-6=73, Resulting Numbers: [2, 73]
Generated Node #0,2,2: 75:[2, 73] Operation: 79-6=73
Moving to Node #0,2,2
Current State: 75:[2, 73], Operations: ['90-11=79', '79-6=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
27,
74,
24,
61
] | 64 | [
"27+74=101",
"61-24=37",
"101-37=64"
] | Current State: 64:[27, 74, 24, 61], Operations: []
Exploring Operation: 27+74=101, Resulting Numbers: [24, 61, 101]
Generated Node #2: [24, 61, 101] from Operation: 27+74=101
Current State: 64:[24, 61, 101], Operations: ['27+74=101']
Exploring Operation: 61-24=37, Resulting Numbers: [101, 37]
Generated Node #3: [101, 37] from Operation: 61-24=37
Current State: 64:[101, 37], Operations: ['27+74=101', '61-24=37']
Exploring Operation: 101-37=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[27, 74, 24, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [27, 24, 13]
Generated Node #0,0: 64:[27, 24, 13] Operation: 74-61=13
Exploring Operation: 27-24=3, Resulting Numbers: [74, 61, 3]
Generated Node #0,1: 64:[74, 61, 3] Operation: 27-24=3
Moving to Node #0,1
Current State: 64:[74, 61, 3], Operations: ['27-24=3']
Exploring Operation: 74-3=71, Resulting Numbers: [61, 71]
Generated Node #0,1,0: 64:[61, 71] Operation: 74-3=71
Exploring Operation: 74-61=13, Resulting Numbers: [3, 13]
Generated Node #0,1,1: 64:[3, 13] Operation: 74-61=13
Moving to Node #0,0
Current State: 64:[27, 24, 13], Operations: ['74-61=13']
Exploring Operation: 27-24=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 64:[13, 3] Operation: 27-24=3
Exploring Operation: 24-13=11, Resulting Numbers: [27, 11]
Generated Node #0,0,1: 64:[27, 11] Operation: 24-13=11
Moving to Node #0,1,1
Current State: 64:[3, 13], Operations: ['27-24=3', '74-61=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[13, 3], Operations: ['74-61=13', '27-24=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[27, 11], Operations: ['74-61=13', '24-13=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[61, 71], Operations: ['27-24=3', '74-3=71']
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,64 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
59,
9,
26
] | 52 | [
"66-59=7",
"9-7=2",
"26*2=52"
] | Current State: 52:[66, 59, 9, 26], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [9, 26, 7]
Generated Node #2: [9, 26, 7] from Operation: 66-59=7
Current State: 52:[9, 26, 7], Operations: ['66-59=7']
Exploring Operation: 9-7=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 9-7=2
Current State: 52:[26, 2], Operations: ['66-59=7', '9-7=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[66, 59, 9, 26], Operations: []
Exploring Operation: 66-9=57, Resulting Numbers: [59, 26, 57]
Generated Node #0,0: 52:[59, 26, 57] Operation: 66-9=57
Exploring Operation: 59-9=50, Resulting Numbers: [66, 26, 50]
Generated Node #0,1: 52:[66, 26, 50] Operation: 59-9=50
Exploring Operation: 66-59=7, Resulting Numbers: [9, 26, 7]
Generated Node #0,2: 52:[9, 26, 7] Operation: 66-59=7
Moving to Node #0,2
Current State: 52:[9, 26, 7], Operations: ['66-59=7']
Exploring Operation: 9-7=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 52:[26, 2] Operation: 9-7=2
Exploring Operation: 26-9=17, Resulting Numbers: [7, 17]
Generated Node #0,2,1: 52:[7, 17] Operation: 26-9=17
Exploring Operation: 9+7=16, Resulting Numbers: [26, 16]
Generated Node #0,2,2: 52:[26, 16] Operation: 9+7=16
Moving to Node #0,0
Current State: 52:[59, 26, 57], Operations: ['66-9=57']
Exploring Operation: 59-57=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 52:[26, 2] Operation: 59-57=2
Exploring Operation: 57-26=31, Resulting Numbers: [59, 31]
Generated Node #0,0,1: 52:[59, 31] Operation: 57-26=31
Exploring Operation: 59-26=33, Resulting Numbers: [57, 33]
Generated Node #0,0,2: 52:[57, 33] Operation: 59-26=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 2], Operations: ['66-9=57', '59-57=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[66, 59, 9, 26], Operations: []
Exploring Operation: 66-9=57, Resulting Numbers: [59, 26, 57]
Generated Node #0,0: 52:[59, 26, 57] Operation: 66-9=57
Moving to Node #0,0
Current State: 52:[59, 26, 57], Operations: ['66-9=57']
Exploring Operation: 59-57=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 52:[26, 2] Operation: 59-57=2
Moving to Node #0,0,0
Current State: 52:[26, 2], Operations: ['66-9=57', '59-57=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
76,
19,
2,
20
] | 29 | [
"76+20=96",
"96/2=48",
"48-19=29"
] | Current State: 29:[76, 19, 2, 20], Operations: []
Exploring Operation: 76+20=96, Resulting Numbers: [19, 2, 96]
Generated Node #2: [19, 2, 96] from Operation: 76+20=96
Current State: 29:[19, 2, 96], Operations: ['76+20=96']
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 96/2=48
Current State: 29:[19, 48], Operations: ['76+20=96', '96/2=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[76, 19, 2, 20], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [19, 20, 38]
Generated Node #0,0: 29:[19, 20, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 29:[19, 20, 38], Operations: ['76/2=38']
Exploring Operation: 19+20=39, Resulting Numbers: [38, 39]
Generated Node #0,0,0: 29:[38, 39] Operation: 19+20=39
Moving to Node #0,0,0
Current State: 29:[38, 39], Operations: ['76/2=38', '19+20=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
16,
68,
29
] | 25 | [
"17*16=272",
"272/68=4",
"29-4=25"
] | Current State: 25:[17, 16, 68, 29], Operations: []
Exploring Operation: 17*16=272, Resulting Numbers: [68, 29, 272]
Generated Node #2: [68, 29, 272] from Operation: 17*16=272
Current State: 25:[68, 29, 272], Operations: ['17*16=272']
Exploring Operation: 272/68=4, Resulting Numbers: [29, 4]
Generated Node #3: [29, 4] from Operation: 272/68=4
Current State: 25:[29, 4], Operations: ['17*16=272', '272/68=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[17, 16, 68, 29], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [16, 29, 4]
Generated Node #0,0: 25:[16, 29, 4] Operation: 68/17=4
Exploring Operation: 68-29=39, Resulting Numbers: [17, 16, 39]
Generated Node #0,1: 25:[17, 16, 39] Operation: 68-29=39
Exploring Operation: 68-16=52, Resulting Numbers: [17, 29, 52]
Generated Node #0,2: 25:[17, 29, 52] Operation: 68-16=52
Exploring Operation: 68-17=51, Resulting Numbers: [16, 29, 51]
Generated Node #0,3: 25:[16, 29, 51] Operation: 68-17=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[16, 29, 4], Operations: ['68/17=4']
Exploring Operation: 16+4=20, Resulting Numbers: [29, 20]
Generated Node #0,0,0: 25:[29, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 25:[29, 4] Operation: 16/4=4
Exploring Operation: 29-4=25, Resulting Numbers: [16, 25]
Generated Node #0,0,2: 25:[16, 25] Operation: 29-4=25
Exploring Operation: 29-16=13, Resulting Numbers: [4, 13]
Generated Node #0,0,3: 25:[4, 13] Operation: 29-16=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[29, 4], Operations: ['68/17=4', '16/4=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[17, 16, 68, 29], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [16, 29, 4]
Generated Node #0,0: 25:[16, 29, 4] Operation: 68/17=4
Moving to Node #0,0
Current State: 25:[16, 29, 4], Operations: ['68/17=4']
Exploring Operation: 16/4=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 25:[29, 4] Operation: 16/4=4
Moving to Node #0,0,1
Current State: 25:[29, 4], Operations: ['68/17=4', '16/4=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
74,
22,
24,
86
] | 80 | [
"74+86=160",
"24-22=2",
"160/2=80"
] | Current State: 80:[74, 22, 24, 86], Operations: []
Exploring Operation: 74+86=160, Resulting Numbers: [22, 24, 160]
Generated Node #2: [22, 24, 160] from Operation: 74+86=160
Current State: 80:[22, 24, 160], Operations: ['74+86=160']
Exploring Operation: 24-22=2, Resulting Numbers: [160, 2]
Generated Node #3: [160, 2] from Operation: 24-22=2
Current State: 80:[160, 2], Operations: ['74+86=160', '24-22=2']
Exploring Operation: 160/2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[74, 22, 24, 86], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [22, 86, 50]
Generated Node #0,0: 80:[22, 86, 50] Operation: 74-24=50
Exploring Operation: 86-74=12, Resulting Numbers: [22, 24, 12]
Generated Node #0,1: 80:[22, 24, 12] Operation: 86-74=12
Exploring Operation: 24-22=2, Resulting Numbers: [74, 86, 2]
Generated Node #0,2: 80:[74, 86, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[22, 24, 12], Operations: ['86-74=12']
Exploring Operation: 22-12=10, Resulting Numbers: [24, 10]
Generated Node #0,1,0: 80:[24, 10] Operation: 22-12=10
Exploring Operation: 24/12=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 80:[22, 2] Operation: 24/12=2
Exploring Operation: 24-22=2, Resulting Numbers: [12, 2]
Generated Node #0,1,2: 80:[12, 2] Operation: 24-22=2
Moving to Node #0,1,1
Current State: 80:[22, 2], Operations: ['86-74=12', '24/12=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[12, 2], Operations: ['86-74=12', '24-22=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[24, 10], Operations: ['86-74=12', '22-12=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,80 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,80 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: 80:[74, 86, 2], Operations: ['24-22=2']
Exploring Operation: 74/2=37, Resulting Numbers: [86, 37]
Generated Node #0,2,0: 80:[86, 37] Operation: 74/2=37
Exploring Operation: 86-74=12, Resulting Numbers: [2, 12]
Generated Node #0,2,1: 80:[2, 12] Operation: 86-74=12
Exploring Operation: 86/2=43, Resulting Numbers: [74, 43]
Generated Node #0,2,2: 80:[74, 43] Operation: 86/2=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[2, 12], Operations: ['24-22=2', '86-74=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,80 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: 80:[86, 37], Operations: ['24-22=2', '74/2=37']
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 86*37=3182, Resulting Numbers: [3182]
3182,80 unequal: No Solution
Exploring Operation: 86+37=123, Resulting Numbers: [123]
123,80 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: 80:[74, 43], Operations: ['24-22=2', '86/2=43']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,80 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,80 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: 80:[22, 86, 50], Operations: ['74-24=50']
Exploring Operation: 22+50=72, Resulting Numbers: [86, 72]
Generated Node #0,0,0: 80:[86, 72] Operation: 22+50=72
Exploring Operation: 86-50=36, Resulting Numbers: [22, 36]
Generated Node #0,0,1: 80:[22, 36] Operation: 86-50=36
Exploring Operation: 50-22=28, Resulting Numbers: [86, 28]
Generated Node #0,0,2: 80:[86, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[22, 36], Operations: ['74-24=50', '86-50=36']
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,80 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,80 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: 80:[86, 72], Operations: ['74-24=50', '22+50=72']
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,80 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,80 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: 80:[86, 28], Operations: ['74-24=50', '50-22=28']
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,80 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,80 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 |
[
10,
30,
28,
17
] | 65 | [
"30-10=20",
"28+17=45",
"20+45=65"
] | Current State: 65:[10, 30, 28, 17], Operations: []
Exploring Operation: 30-10=20, Resulting Numbers: [28, 17, 20]
Generated Node #2: [28, 17, 20] from Operation: 30-10=20
Current State: 65:[28, 17, 20], Operations: ['30-10=20']
Exploring Operation: 28+17=45, Resulting Numbers: [20, 45]
Generated Node #3: [20, 45] from Operation: 28+17=45
Current State: 65:[20, 45], Operations: ['30-10=20', '28+17=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[10, 30, 28, 17], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [28, 17, 3]
Generated Node #0,0: 65:[28, 17, 3] Operation: 30/10=3
Exploring Operation: 30-17=13, Resulting Numbers: [10, 28, 13]
Generated Node #0,1: 65:[10, 28, 13] Operation: 30-17=13
Exploring Operation: 30-28=2, Resulting Numbers: [10, 17, 2]
Generated Node #0,2: 65:[10, 17, 2] Operation: 30-28=2
Exploring Operation: 30+28=58, Resulting Numbers: [10, 17, 58]
Generated Node #0,3: 65:[10, 17, 58] Operation: 30+28=58
Exploring Operation: 28-17=11, Resulting Numbers: [10, 30, 11]
Generated Node #0,4: 65:[10, 30, 11] Operation: 28-17=11
Moving to Node #0,2
Current State: 65:[10, 17, 2], Operations: ['30-28=2']
Exploring Operation: 10/2=5, Resulting Numbers: [17, 5]
Generated Node #0,2,0: 65:[17, 5] Operation: 10/2=5
Exploring Operation: 17-10=7, Resulting Numbers: [2, 7]
Generated Node #0,2,1: 65:[2, 7] Operation: 17-10=7
Exploring Operation: 10-2=8, Resulting Numbers: [17, 8]
Generated Node #0,2,2: 65:[17, 8] Operation: 10-2=8
Exploring Operation: 10+2=12, Resulting Numbers: [17, 12]
Generated Node #0,2,3: 65:[17, 12] Operation: 10+2=12
Exploring Operation: 17-2=15, Resulting Numbers: [10, 15]
Generated Node #0,2,4: 65:[10, 15] Operation: 17-2=15
Moving to Node #0,3
Current State: 65:[10, 17, 58], Operations: ['30+28=58']
Exploring Operation: 17-10=7, Resulting Numbers: [58, 7]
Generated Node #0,3,0: 65:[58, 7] Operation: 17-10=7
Exploring Operation: 17+58=75, Resulting Numbers: [10, 75]
Generated Node #0,3,1: 65:[10, 75] Operation: 17+58=75
Exploring Operation: 10+58=68, Resulting Numbers: [17, 68]
Generated Node #0,3,2: 65:[17, 68] Operation: 10+58=68
Exploring Operation: 58-10=48, Resulting Numbers: [17, 48]
Generated Node #0,3,3: 65:[17, 48] Operation: 58-10=48
Exploring Operation: 10+17=27, Resulting Numbers: [58, 27]
Generated Node #0,3,4: 65:[58, 27] Operation: 10+17=27
Moving to Node #0,1
Current State: 65:[10, 28, 13], Operations: ['30-17=13']
Exploring Operation: 10+28=38, Resulting Numbers: [13, 38]
Generated Node #0,1,0: 65:[13, 38] Operation: 10+28=38
Exploring Operation: 10+13=23, Resulting Numbers: [28, 23]
Generated Node #0,1,1: 65:[28, 23] Operation: 10+13=23
Exploring Operation: 28-13=15, Resulting Numbers: [10, 15]
Generated Node #0,1,2: 65:[10, 15] Operation: 28-13=15
Exploring Operation: 13-10=3, Resulting Numbers: [28, 3]
Generated Node #0,1,3: 65:[28, 3] Operation: 13-10=3
Exploring Operation: 28-10=18, Resulting Numbers: [13, 18]
Generated Node #0,1,4: 65:[13, 18] Operation: 28-10=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[10, 15], Operations: ['30-17=13', '28-13=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,65 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: 65:[13, 18], Operations: ['30-17=13', '28-10=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,65 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,65 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: 65:[28, 3], Operations: ['30-17=13', '13-10=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,65 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: 65:[13, 38], Operations: ['30-17=13', '10+28=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,65 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: 65:[28, 23], Operations: ['30-17=13', '10+13=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,65 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: 65:[28, 17, 3], Operations: ['30/10=3']
Exploring Operation: 28-3=25, Resulting Numbers: [17, 25]
Generated Node #0,0,0: 65:[17, 25] Operation: 28-3=25
Exploring Operation: 17-3=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 65:[28, 14] Operation: 17-3=14
Exploring Operation: 28-17=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 65:[3, 11] Operation: 28-17=11
Exploring Operation: 28+3=31, Resulting Numbers: [17, 31]
Generated Node #0,0,3: 65:[17, 31] Operation: 28+3=31
Exploring Operation: 28+17=45, Resulting Numbers: [3, 45]
Generated Node #0,0,4: 65:[3, 45] Operation: 28+17=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[3, 11], Operations: ['30/10=3', '28-17=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,65 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: 65:[17, 25], Operations: ['30/10=3', '28-3=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,65 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,65 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: 65:[28, 14], Operations: ['30/10=3', '17-3=14']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,65 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,65 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: 65:[17, 31], Operations: ['30/10=3', '28+3=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,65 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,65 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,4
Current State: 65:[3, 45], Operations: ['30/10=3', '28+17=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,65 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,65 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: 65:[10, 30, 11], Operations: ['28-17=11']
Exploring Operation: 30/10=3, Resulting Numbers: [11, 3]
Generated Node #0,4,0: 65:[11, 3] Operation: 30/10=3
Exploring Operation: 30-11=19, Resulting Numbers: [10, 19]
Generated Node #0,4,1: 65:[10, 19] Operation: 30-11=19
Exploring Operation: 11-10=1, Resulting Numbers: [30, 1]
Generated Node #0,4,2: 65:[30, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [30, 21]
Generated Node #0,4,3: 65:[30, 21] Operation: 10+11=21
Exploring Operation: 30-10=20, Resulting Numbers: [11, 20]
Generated Node #0,4,4: 65:[11, 20] Operation: 30-10=20
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[11, 3], Operations: ['28-17=11', '30/10=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,65 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,4,1
Current State: 65:[10, 19], Operations: ['28-17=11', '30-11=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,65 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,65 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,4,4
Current State: 65:[11, 20], Operations: ['28-17=11', '30-10=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,65 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,65 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,4,2
Current State: 65:[30, 1], Operations: ['28-17=11', '11-10=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,65 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,4,3
Current State: 65:[30, 21], Operations: ['28-17=11', '10+11=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,65 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: 65:[17, 5], Operations: ['30-28=2', '10/2=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[17, 12], Operations: ['30-28=2', '10+2=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[2, 7], Operations: ['30-28=2', '17-10=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[10, 15], Operations: ['30-28=2', '17-2=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[17, 68], Operations: ['30+28=58', '10+58=68']
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,65 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[17, 8], Operations: ['30-28=2', '10-2=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[58, 7], Operations: ['30+28=58', '17-10=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,65 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[10, 30, 28, 17], Operations: []
Exploring Operation: 30+28=58, Resulting Numbers: [10, 17, 58]
Generated Node #0,3: 65:[10, 17, 58] Operation: 30+28=58
Moving to Node #0,3
Current State: 65:[10, 17, 58], Operations: ['30+28=58']
Exploring Operation: 17-10=7, Resulting Numbers: [58, 7]
Generated Node #0,3,0: 65:[58, 7] Operation: 17-10=7
Moving to Node #0,3,0
Current State: 65:[58, 7], Operations: ['30+28=58', '17-10=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.91059 | hs_5 | mult_heuristic |
[
92,
18,
7,
13
] | 89 | [
"13-7=6",
"18/6=3",
"92-3=89"
] | Current State: 89:[92, 18, 7, 13], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [92, 18, 6]
Generated Node #2: [92, 18, 6] from Operation: 13-7=6
Current State: 89:[92, 18, 6], Operations: ['13-7=6']
Exploring Operation: 18/6=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 18/6=3
Current State: 89:[92, 3], Operations: ['13-7=6', '18/6=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[92, 18, 7, 13], Operations: []
Exploring Operation: 7*13=91, Resulting Numbers: [92, 18, 91]
Generated Node #0,0: 89:[92, 18, 91] Operation: 7*13=91
Exploring Operation: 18*7=126, Resulting Numbers: [92, 13, 126]
Generated Node #0,1: 89:[92, 13, 126] Operation: 18*7=126
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[92, 18, 91], Operations: ['7*13=91']
Exploring Operation: 92-18=74, Resulting Numbers: [91, 74]
Generated Node #0,0,0: 89:[91, 74] Operation: 92-18=74
Exploring Operation: 91-18=73, Resulting Numbers: [92, 73]
Generated Node #0,0,1: 89:[92, 73] Operation: 91-18=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[91, 74], Operations: ['7*13=91', '92-18=74']
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,89 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: 89:[92, 73], Operations: ['7*13=91', '91-18=73']
Exploring Operation: 92+73=165, Resulting Numbers: [165]
165,89 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,89 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: 89:[92, 13, 126], Operations: ['18*7=126']
Exploring Operation: 126-13=113, Resulting Numbers: [92, 113]
Generated Node #0,1,0: 89:[92, 113] Operation: 126-13=113
Exploring Operation: 92-13=79, Resulting Numbers: [126, 79]
Generated Node #0,1,1: 89:[126, 79] Operation: 92-13=79
Moving to Node #0,1,0
Current State: 89:[92, 113], Operations: ['18*7=126', '126-13=113']
Exploring Operation: 113-92=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 92+113=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[126, 79], Operations: ['18*7=126', '92-13=79']
Exploring Operation: 126+79=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 126-79=47, Resulting Numbers: [47]
47,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
24,
44,
4
] | 30 | [
"50*24=1200",
"44-4=40",
"1200/40=30"
] | Current State: 30:[50, 24, 44, 4], Operations: []
Exploring Operation: 50*24=1200, Resulting Numbers: [44, 4, 1200]
Generated Node #2: [44, 4, 1200] from Operation: 50*24=1200
Current State: 30:[44, 4, 1200], Operations: ['50*24=1200']
Exploring Operation: 44-4=40, Resulting Numbers: [1200, 40]
Generated Node #3: [1200, 40] from Operation: 44-4=40
Current State: 30:[1200, 40], Operations: ['50*24=1200', '44-4=40']
Exploring Operation: 1200/40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 24, 44, 4], Operations: []
Exploring Operation: 50-24=26, Resulting Numbers: [44, 4, 26]
Generated Node #0,0: 30:[44, 4, 26] Operation: 50-24=26
Exploring Operation: 44-24=20, Resulting Numbers: [50, 4, 20]
Generated Node #0,1: 30:[50, 4, 20] Operation: 44-24=20
Exploring Operation: 44/4=11, Resulting Numbers: [50, 24, 11]
Generated Node #0,2: 30:[50, 24, 11] Operation: 44/4=11
Exploring Operation: 50-44=6, Resulting Numbers: [24, 4, 6]
Generated Node #0,3: 30:[24, 4, 6] Operation: 50-44=6
Exploring Operation: 24/4=6, Resulting Numbers: [50, 44, 6]
Generated Node #0,4: 30:[50, 44, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[24, 4, 6], Operations: ['50-44=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4, 4]
Generated Node #0,3,0: 30:[4, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [4, 18]
Generated Node #0,3,1: 30:[4, 18] Operation: 24-6=18
Exploring Operation: 24+6=30, Resulting Numbers: [4, 30]
Generated Node #0,3,2: 30:[4, 30] Operation: 24+6=30
Exploring Operation: 24+4=28, Resulting Numbers: [6, 28]
Generated Node #0,3,3: 30:[6, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [6, 6]
Generated Node #0,3,4: 30:[6, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 30:[6, 6], Operations: ['50-44=6', '24/4=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,30 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: 30:[4, 30], Operations: ['50-44=6', '24+6=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,30 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: 30:[4, 4], Operations: ['50-44=6', '24/6=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,30 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: 30:[6, 28], Operations: ['50-44=6', '24+4=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,30 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,30 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: 30:[4, 18], Operations: ['50-44=6', '24-6=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,30 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: 30:[44, 4, 26], Operations: ['50-24=26']
Exploring Operation: 44-26=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 30:[4, 18] Operation: 44-26=18
Exploring Operation: 26-4=22, Resulting Numbers: [44, 22]
Generated Node #0,0,1: 30:[44, 22] Operation: 26-4=22
Exploring Operation: 44-4=40, Resulting Numbers: [26, 40]
Generated Node #0,0,2: 30:[26, 40] Operation: 44-4=40
Exploring Operation: 4+26=30, Resulting Numbers: [44, 30]
Generated Node #0,0,3: 30:[44, 30] Operation: 4+26=30
Exploring Operation: 44/4=11, Resulting Numbers: [26, 11]
Generated Node #0,0,4: 30:[26, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[4, 18], Operations: ['50-24=26', '44-26=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,30 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,4
Current State: 30:[26, 11], Operations: ['50-24=26', '44/4=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,30 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: 30:[26, 40], Operations: ['50-24=26', '44-4=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,30 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: 30:[44, 30], Operations: ['50-24=26', '4+26=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,30 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,30 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: 30:[44, 22], Operations: ['50-24=26', '26-4=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,30 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,30 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: 30:[50, 4, 20], Operations: ['44-24=20']
Exploring Operation: 50-4=46, Resulting Numbers: [20, 46]
Generated Node #0,1,0: 30:[20, 46] Operation: 50-4=46
Exploring Operation: 50-20=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 30:[4, 30] Operation: 50-20=30
Exploring Operation: 20-4=16, Resulting Numbers: [50, 16]
Generated Node #0,1,2: 30:[50, 16] Operation: 20-4=16
Exploring Operation: 4+20=24, Resulting Numbers: [50, 24]
Generated Node #0,1,3: 30:[50, 24] Operation: 4+20=24
Exploring Operation: 20/4=5, Resulting Numbers: [50, 5]
Generated Node #0,1,4: 30:[50, 5] Operation: 20/4=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[4, 30], Operations: ['44-24=20', '50-20=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,30 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: 30:[50, 5], Operations: ['44-24=20', '20/4=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,30 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,30 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: 30:[20, 46], Operations: ['44-24=20', '50-4=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,30 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: 30:[50, 16], Operations: ['44-24=20', '20-4=16']
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,30 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,30 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: 30:[50, 24], Operations: ['44-24=20', '4+20=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,30 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,30 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: 30:[50, 24, 11], Operations: ['44/4=11']
Exploring Operation: 50+11=61, Resulting Numbers: [24, 61]
Generated Node #0,2,0: 30:[24, 61] Operation: 50+11=61
Exploring Operation: 50-24=26, Resulting Numbers: [11, 26]
Generated Node #0,2,1: 30:[11, 26] Operation: 50-24=26
Exploring Operation: 50-11=39, Resulting Numbers: [24, 39]
Generated Node #0,2,2: 30:[24, 39] Operation: 50-11=39
Exploring Operation: 24-11=13, Resulting Numbers: [50, 13]
Generated Node #0,2,3: 30:[50, 13] Operation: 24-11=13
Exploring Operation: 24+11=35, Resulting Numbers: [50, 35]
Generated Node #0,2,4: 30:[50, 35] Operation: 24+11=35
Moving to Node #0,2,1
Current State: 30:[11, 26], Operations: ['44/4=11', '50-24=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[24, 39], Operations: ['44/4=11', '50-11=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[50, 13], Operations: ['44/4=11', '24-11=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[50, 35], Operations: ['44/4=11', '24+11=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,30 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,30 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[24, 61], Operations: ['44/4=11', '50+11=61']
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,30 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,30 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,30 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,4
Current State: 30:[50, 44, 6], Operations: ['24/4=6']
Exploring Operation: 44-6=38, Resulting Numbers: [50, 38]
Generated Node #0,4,0: 30:[50, 38] Operation: 44-6=38
Exploring Operation: 50+6=56, Resulting Numbers: [44, 56]
Generated Node #0,4,1: 30:[44, 56] Operation: 50+6=56
Exploring Operation: 50-44=6, Resulting Numbers: [6, 6]
Generated Node #0,4,2: 30:[6, 6] Operation: 50-44=6
Exploring Operation: 44+6=50, Resulting Numbers: [50, 50]
Generated Node #0,4,3: 30:[50, 50] Operation: 44+6=50
Exploring Operation: 50-6=44, Resulting Numbers: [44, 44]
Generated Node #0,4,4: 30:[44, 44] Operation: 50-6=44
Moving to Node #0,4,2
Current State: 30:[6, 6], Operations: ['24/4=6', '50-44=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[44, 44], Operations: ['24/4=6', '50-6=44']
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,30 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[50, 38], Operations: ['24/4=6', '44-6=38']
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,30 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[44, 56], Operations: ['24/4=6', '50+6=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,30 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,30 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[50, 50], Operations: ['24/4=6', '44+6=50']
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 50*50=2500, Resulting Numbers: [2500]
2500,30 unequal: No Solution
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
53,
80,
67,
33
] | 73 | [
"80-53=27",
"67+33=100",
"100-27=73"
] | Current State: 73:[53, 80, 67, 33], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [67, 33, 27]
Generated Node #2: [67, 33, 27] from Operation: 80-53=27
Current State: 73:[67, 33, 27], Operations: ['80-53=27']
Exploring Operation: 67+33=100, Resulting Numbers: [27, 100]
Generated Node #3: [27, 100] from Operation: 67+33=100
Current State: 73:[27, 100], Operations: ['80-53=27', '67+33=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[53, 80, 67, 33], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [53, 67, 47]
Generated Node #0,0: 73:[53, 67, 47] Operation: 80-33=47
Exploring Operation: 53+33=86, Resulting Numbers: [80, 67, 86]
Generated Node #0,1: 73:[80, 67, 86] Operation: 53+33=86
Moving to Node #0,1
Current State: 73:[80, 67, 86], Operations: ['53+33=86']
Exploring Operation: 86-67=19, Resulting Numbers: [80, 19]
Generated Node #0,1,0: 73:[80, 19] Operation: 86-67=19
Exploring Operation: 80-67=13, Resulting Numbers: [86, 13]
Generated Node #0,1,1: 73:[86, 13] Operation: 80-67=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[80, 19], Operations: ['53+33=86', '86-67=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,73 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: 73:[86, 13], Operations: ['53+33=86', '80-67=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[53, 80, 67, 33], Operations: []
Exploring Operation: 53+33=86, Resulting Numbers: [80, 67, 86]
Generated Node #0,1: 73:[80, 67, 86] Operation: 53+33=86
Moving to Node #0,1
Current State: 73:[80, 67, 86], Operations: ['53+33=86']
Exploring Operation: 80-67=13, Resulting Numbers: [86, 13]
Generated Node #0,1,1: 73:[86, 13] Operation: 80-67=13
Moving to Node #0,1,1
Current State: 73:[86, 13], Operations: ['53+33=86', '80-67=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
7,
83,
39,
36
] | 17 | [
"39*36=1404",
"7+1404=1411",
"1411/83=17"
] | Current State: 17:[7, 83, 39, 36], Operations: []
Exploring Operation: 39*36=1404, Resulting Numbers: [7, 83, 1404]
Generated Node #2: [7, 83, 1404] from Operation: 39*36=1404
Current State: 17:[7, 83, 1404], Operations: ['39*36=1404']
Exploring Operation: 7+1404=1411, Resulting Numbers: [83, 1411]
Generated Node #3: [83, 1411] from Operation: 7+1404=1411
Current State: 17:[83, 1411], Operations: ['39*36=1404', '7+1404=1411']
Exploring Operation: 1411/83=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[7, 83, 39, 36], Operations: []
Exploring Operation: 83-36=47, Resulting Numbers: [7, 39, 47]
Generated Node #0,0: 17:[7, 39, 47] Operation: 83-36=47
Exploring Operation: 83-39=44, Resulting Numbers: [7, 36, 44]
Generated Node #0,1: 17:[7, 36, 44] Operation: 83-39=44
Exploring Operation: 39-36=3, Resulting Numbers: [7, 83, 3]
Generated Node #0,2: 17:[7, 83, 3] Operation: 39-36=3
Moving to Node #0,1
Current State: 17:[7, 36, 44], Operations: ['83-39=44']
Exploring Operation: 44-7=37, Resulting Numbers: [36, 37]
Generated Node #0,1,0: 17:[36, 37] Operation: 44-7=37
Exploring Operation: 36-7=29, Resulting Numbers: [44, 29]
Generated Node #0,1,1: 17:[44, 29] Operation: 36-7=29
Exploring Operation: 44-36=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 17:[7, 8] Operation: 44-36=8
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[7, 8], Operations: ['83-39=44', '44-36=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 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: 17:[36, 37], Operations: ['83-39=44', '44-7=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,17 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,17 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: 17:[44, 29], Operations: ['83-39=44', '36-7=29']
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,17 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,17 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: 17:[7, 39, 47], Operations: ['83-36=47']
Exploring Operation: 47-39=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 17:[7, 8] Operation: 47-39=8
Exploring Operation: 47-7=40, Resulting Numbers: [39, 40]
Generated Node #0,0,1: 17:[39, 40] Operation: 47-7=40
Exploring Operation: 39-7=32, Resulting Numbers: [47, 32]
Generated Node #0,0,2: 17:[47, 32] Operation: 39-7=32
Moving to Node #0,2
Current State: 17:[7, 83, 3], Operations: ['39-36=3']
Exploring Operation: 83-7=76, Resulting Numbers: [3, 76]
Generated Node #0,2,0: 17:[3, 76] Operation: 83-7=76
Exploring Operation: 7+3=10, Resulting Numbers: [83, 10]
Generated Node #0,2,1: 17:[83, 10] Operation: 7+3=10
Exploring Operation: 7*3=21, Resulting Numbers: [83, 21]
Generated Node #0,2,2: 17:[83, 21] Operation: 7*3=21
Moving to Node #0,0,0
Current State: 17:[7, 8], Operations: ['83-36=47', '47-39=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[47, 32], Operations: ['83-36=47', '39-7=32']
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,17 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[39, 40], Operations: ['83-36=47', '47-7=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,17 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[83, 21], Operations: ['39-36=3', '7*3=21']
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,17 unequal: No Solution
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,17 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[3, 76], Operations: ['39-36=3', '83-7=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,17 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[83, 10], Operations: ['39-36=3', '7+3=10']
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,17 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
11,
27,
26
] | 83 | [
"41-11=30",
"27+26=53",
"30+53=83"
] | Current State: 83:[41, 11, 27, 26], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [27, 26, 30]
Generated Node #2: [27, 26, 30] from Operation: 41-11=30
Current State: 83:[27, 26, 30], Operations: ['41-11=30']
Exploring Operation: 27+26=53, Resulting Numbers: [30, 53]
Generated Node #3: [30, 53] from Operation: 27+26=53
Current State: 83:[30, 53], Operations: ['41-11=30', '27+26=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[41, 11, 27, 26], Operations: []
Exploring Operation: 11+26=37, Resulting Numbers: [41, 27, 37]
Generated Node #0,0: 83:[41, 27, 37] Operation: 11+26=37
Exploring Operation: 41+27=68, Resulting Numbers: [11, 26, 68]
Generated Node #0,1: 83:[11, 26, 68] Operation: 41+27=68
Exploring Operation: 11+27=38, Resulting Numbers: [41, 26, 38]
Generated Node #0,2: 83:[41, 26, 38] Operation: 11+27=38
Exploring Operation: 41+11=52, Resulting Numbers: [27, 26, 52]
Generated Node #0,3: 83:[27, 26, 52] Operation: 41+11=52
Exploring Operation: 41+26=67, Resulting Numbers: [11, 27, 67]
Generated Node #0,4: 83:[11, 27, 67] Operation: 41+26=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[41, 27, 37], Operations: ['11+26=37']
Exploring Operation: 41-27=14, Resulting Numbers: [37, 14]
Generated Node #0,0,0: 83:[37, 14] Operation: 41-27=14
Exploring Operation: 37-27=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 83:[41, 10] Operation: 37-27=10
Exploring Operation: 27+37=64, Resulting Numbers: [41, 64]
Generated Node #0,0,2: 83:[41, 64] Operation: 27+37=64
Exploring Operation: 41+37=78, Resulting Numbers: [27, 78]
Generated Node #0,0,3: 83:[27, 78] Operation: 41+37=78
Exploring Operation: 41+27=68, Resulting Numbers: [37, 68]
Generated Node #0,0,4: 83:[37, 68] Operation: 41+27=68
Moving to Node #0,0,2
Current State: 83:[41, 64], Operations: ['11+26=37', '27+37=64']
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[37, 68], Operations: ['11+26=37', '41+27=68']
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,83 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[27, 78], Operations: ['11+26=37', '41+37=78']
Exploring Operation: 27*78=2106, Resulting Numbers: [2106]
2106,83 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[37, 14], Operations: ['11+26=37', '41-27=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[41, 10], Operations: ['11+26=37', '37-27=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,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,1
Current State: 83:[11, 26, 68], Operations: ['41+27=68']
Exploring Operation: 68-11=57, Resulting Numbers: [26, 57]
Generated Node #0,1,0: 83:[26, 57] Operation: 68-11=57
Exploring Operation: 11+26=37, Resulting Numbers: [68, 37]
Generated Node #0,1,1: 83:[68, 37] Operation: 11+26=37
Exploring Operation: 26+68=94, Resulting Numbers: [11, 94]
Generated Node #0,1,2: 83:[11, 94] Operation: 26+68=94
Exploring Operation: 26-11=15, Resulting Numbers: [68, 15]
Generated Node #0,1,3: 83:[68, 15] Operation: 26-11=15
Exploring Operation: 11+68=79, Resulting Numbers: [26, 79]
Generated Node #0,1,4: 83:[26, 79] Operation: 11+68=79
Moving to Node #0,1,1
Current State: 83:[68, 37], Operations: ['41+27=68', '11+26=37']
Exploring Operation: 68*37=2516, Resulting Numbers: [2516]
2516,83 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 68+37=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[26, 79], Operations: ['41+27=68', '11+68=79']
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,83 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[26, 57], Operations: ['41+27=68', '68-11=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,83 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[41, 11, 27, 26], Operations: []
Exploring Operation: 41+27=68, Resulting Numbers: [11, 26, 68]
Generated Node #0,1: 83:[11, 26, 68] Operation: 41+27=68
Moving to Node #0,1
Current State: 83:[11, 26, 68], Operations: ['41+27=68']
Exploring Operation: 68-11=57, Resulting Numbers: [26, 57]
Generated Node #0,1,0: 83:[26, 57] Operation: 68-11=57
Moving to Node #0,1,0
Current State: 83:[26, 57], Operations: ['41+27=68', '68-11=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
74,
58,
37,
56
] | 35 | [
"74-58=16",
"56-37=19",
"16+19=35"
] | Current State: 35:[74, 58, 37, 56], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [37, 56, 16]
Generated Node #2: [37, 56, 16] from Operation: 74-58=16
Current State: 35:[37, 56, 16], Operations: ['74-58=16']
Exploring Operation: 56-37=19, Resulting Numbers: [16, 19]
Generated Node #3: [16, 19] from Operation: 56-37=19
Current State: 35:[16, 19], Operations: ['74-58=16', '56-37=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[74, 58, 37, 56], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [58, 37, 18]
Generated Node #0,0: 35:[58, 37, 18] Operation: 74-56=18
Exploring Operation: 74-37=37, Resulting Numbers: [58, 56, 37]
Generated Node #0,1: 35:[58, 56, 37] Operation: 74-37=37
Exploring Operation: 58-56=2, Resulting Numbers: [74, 37, 2]
Generated Node #0,2: 35:[74, 37, 2] Operation: 58-56=2
Exploring Operation: 74-58=16, Resulting Numbers: [37, 56, 16]
Generated Node #0,3: 35:[37, 56, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[37, 56, 16], Operations: ['74-58=16']
Exploring Operation: 56-37=19, Resulting Numbers: [16, 19]
Generated Node #0,3,0: 35:[16, 19] Operation: 56-37=19
Exploring Operation: 37-16=21, Resulting Numbers: [56, 21]
Generated Node #0,3,1: 35:[56, 21] Operation: 37-16=21
Exploring Operation: 37+16=53, Resulting Numbers: [56, 53]
Generated Node #0,3,2: 35:[56, 53] Operation: 37+16=53
Exploring Operation: 56-16=40, Resulting Numbers: [37, 40]
Generated Node #0,3,3: 35:[37, 40] Operation: 56-16=40
Moving to Node #0,3,3
Current State: 35:[37, 40], Operations: ['74-58=16', '56-16=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,35 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[16, 19], Operations: ['74-58=16', '56-37=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,35 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[74, 58, 37, 56], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [37, 56, 16]
Generated Node #0,3: 35:[37, 56, 16] Operation: 74-58=16
Moving to Node #0,3
Current State: 35:[37, 56, 16], Operations: ['74-58=16']
Exploring Operation: 56-37=19, Resulting Numbers: [16, 19]
Generated Node #0,3,0: 35:[16, 19] Operation: 56-37=19
Moving to Node #0,3,0
Current State: 35:[16, 19], Operations: ['74-58=16', '56-37=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
1,
5,
24,
59
] | 29 | [
"1+5=6",
"59-24=35",
"35-6=29"
] | Current State: 29:[1, 5, 24, 59], Operations: []
Exploring Operation: 1+5=6, Resulting Numbers: [24, 59, 6]
Generated Node #2: [24, 59, 6] from Operation: 1+5=6
Current State: 29:[24, 59, 6], Operations: ['1+5=6']
Exploring Operation: 59-24=35, Resulting Numbers: [6, 35]
Generated Node #3: [6, 35] from Operation: 59-24=35
Current State: 29:[6, 35], Operations: ['1+5=6', '59-24=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[1, 5, 24, 59], Operations: []
Exploring Operation: 1+24=25, Resulting Numbers: [5, 59, 25]
Generated Node #0,0: 29:[5, 59, 25] Operation: 1+24=25
Exploring Operation: 59-1=58, Resulting Numbers: [5, 24, 58]
Generated Node #0,1: 29:[5, 24, 58] Operation: 59-1=58
Exploring Operation: 1+5=6, Resulting Numbers: [24, 59, 6]
Generated Node #0,2: 29:[24, 59, 6] Operation: 1+5=6
Exploring Operation: 5+24=29, Resulting Numbers: [1, 59, 29]
Generated Node #0,3: 29:[1, 59, 29] Operation: 5+24=29
Exploring Operation: 59-5=54, Resulting Numbers: [1, 24, 54]
Generated Node #0,4: 29:[1, 24, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[5, 59, 25], Operations: ['1+24=25']
Exploring Operation: 25-5=20, Resulting Numbers: [59, 20]
Generated Node #0,0,0: 29:[59, 20] Operation: 25-5=20
Exploring Operation: 5+25=30, Resulting Numbers: [59, 30]
Generated Node #0,0,1: 29:[59, 30] Operation: 5+25=30
Exploring Operation: 5+59=64, Resulting Numbers: [25, 64]
Generated Node #0,0,2: 29:[25, 64] Operation: 5+59=64
Exploring Operation: 59-5=54, Resulting Numbers: [25, 54]
Generated Node #0,0,3: 29:[25, 54] Operation: 59-5=54
Exploring Operation: 59-25=34, Resulting Numbers: [5, 34]
Generated Node #0,0,4: 29:[5, 34] Operation: 59-25=34
Moving to Node #0,0,3
Current State: 29:[25, 54], Operations: ['1+24=25', '59-5=54']
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,29 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[1, 5, 24, 59], Operations: []
Exploring Operation: 1+24=25, Resulting Numbers: [5, 59, 25]
Generated Node #0,0: 29:[5, 59, 25] Operation: 1+24=25
Moving to Node #0,0
Current State: 29:[5, 59, 25], Operations: ['1+24=25']
Exploring Operation: 59-5=54, Resulting Numbers: [25, 54]
Generated Node #0,0,3: 29:[25, 54] Operation: 59-5=54
Moving to Node #0,0,3
Current State: 29:[25, 54], Operations: ['1+24=25', '59-5=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
50,
68,
28,
56
] | 10 | [
"68-50=18",
"56-28=28",
"28-18=10"
] | Current State: 10:[50, 68, 28, 56], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [28, 56, 18]
Generated Node #2: [28, 56, 18] from Operation: 68-50=18
Current State: 10:[28, 56, 18], Operations: ['68-50=18']
Exploring Operation: 56-28=28, Resulting Numbers: [18, 28]
Generated Node #3: [18, 28] from Operation: 56-28=28
Current State: 10:[18, 28], Operations: ['68-50=18', '56-28=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[50, 68, 28, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [50, 68, 2]
Generated Node #0,0: 10:[50, 68, 2] Operation: 56/28=2
Exploring Operation: 56-50=6, Resulting Numbers: [68, 28, 6]
Generated Node #0,1: 10:[68, 28, 6] Operation: 56-50=6
Exploring Operation: 68-56=12, Resulting Numbers: [50, 28, 12]
Generated Node #0,2: 10:[50, 28, 12] Operation: 68-56=12
Exploring Operation: 68-50=18, Resulting Numbers: [28, 56, 18]
Generated Node #0,3: 10:[28, 56, 18] Operation: 68-50=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[50, 28, 12], Operations: ['68-56=12']
Exploring Operation: 50-28=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 10:[12, 22] Operation: 50-28=22
Exploring Operation: 50-12=38, Resulting Numbers: [28, 38]
Generated Node #0,2,1: 10:[28, 38] Operation: 50-12=38
Exploring Operation: 28-12=16, Resulting Numbers: [50, 16]
Generated Node #0,2,2: 10:[50, 16] Operation: 28-12=16
Exploring Operation: 50+28=78, Resulting Numbers: [12, 78]
Generated Node #0,2,3: 10:[12, 78] Operation: 50+28=78
Moving to Node #0,2,0
Current State: 10:[12, 22], Operations: ['68-56=12', '50-28=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[50, 68, 28, 56], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [50, 28, 12]
Generated Node #0,2: 10:[50, 28, 12] Operation: 68-56=12
Moving to Node #0,2
Current State: 10:[50, 28, 12], Operations: ['68-56=12']
Exploring Operation: 50-28=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 10:[12, 22] Operation: 50-28=22
Moving to Node #0,2,0
Current State: 10:[12, 22], Operations: ['68-56=12', '50-28=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
73,
23,
70,
40
] | 29 | [
"73-70=3",
"23*3=69",
"69-40=29"
] | Current State: 29:[73, 23, 70, 40], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [23, 40, 3]
Generated Node #2: [23, 40, 3] from Operation: 73-70=3
Current State: 29:[23, 40, 3], Operations: ['73-70=3']
Exploring Operation: 23*3=69, Resulting Numbers: [40, 69]
Generated Node #3: [40, 69] from Operation: 23*3=69
Current State: 29:[40, 69], Operations: ['73-70=3', '23*3=69']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[73, 23, 70, 40], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [23, 40, 3]
Generated Node #0,0: 29:[23, 40, 3] Operation: 73-70=3
Exploring Operation: 73-23=50, Resulting Numbers: [70, 40, 50]
Generated Node #0,1: 29:[70, 40, 50] Operation: 73-23=50
Exploring Operation: 70-40=30, Resulting Numbers: [73, 23, 30]
Generated Node #0,2: 29:[73, 23, 30] Operation: 70-40=30
Exploring Operation: 70-23=47, Resulting Numbers: [73, 40, 47]
Generated Node #0,3: 29:[73, 40, 47] Operation: 70-23=47
Exploring Operation: 73-40=33, Resulting Numbers: [23, 70, 33]
Generated Node #0,4: 29:[23, 70, 33] Operation: 73-40=33
Moving to Node #0,0
Current State: 29:[23, 40, 3], Operations: ['73-70=3']
Exploring Operation: 40-23=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 29:[3, 17] Operation: 40-23=17
Exploring Operation: 23-3=20, Resulting Numbers: [40, 20]
Generated Node #0,0,1: 29:[40, 20] Operation: 23-3=20
Exploring Operation: 40-3=37, Resulting Numbers: [23, 37]
Generated Node #0,0,2: 29:[23, 37] Operation: 40-3=37
Exploring Operation: 23+3=26, Resulting Numbers: [40, 26]
Generated Node #0,0,3: 29:[40, 26] Operation: 23+3=26
Exploring Operation: 40+3=43, Resulting Numbers: [23, 43]
Generated Node #0,0,4: 29:[23, 43] Operation: 40+3=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[23, 37], Operations: ['73-70=3', '40-3=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,29 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,29 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: 29:[40, 26], Operations: ['73-70=3', '23+3=26']
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,29 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,29 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: 29:[40, 20], Operations: ['73-70=3', '23-3=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,29 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,29 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,4
Current State: 29:[23, 43], Operations: ['73-70=3', '40+3=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,29 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: 29:[3, 17], Operations: ['73-70=3', '40-23=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,29 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: 29:[23, 70, 33], Operations: ['73-40=33']
Exploring Operation: 33-23=10, Resulting Numbers: [70, 10]
Generated Node #0,4,0: 29:[70, 10] Operation: 33-23=10
Exploring Operation: 70-23=47, Resulting Numbers: [33, 47]
Generated Node #0,4,1: 29:[33, 47] Operation: 70-23=47
Exploring Operation: 70-33=37, Resulting Numbers: [23, 37]
Generated Node #0,4,2: 29:[23, 37] Operation: 70-33=37
Exploring Operation: 23+70=93, Resulting Numbers: [33, 93]
Generated Node #0,4,3: 29:[33, 93] Operation: 23+70=93
Exploring Operation: 23+33=56, Resulting Numbers: [70, 56]
Generated Node #0,4,4: 29:[70, 56] Operation: 23+33=56
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[23, 37], Operations: ['73-40=33', '70-33=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,29 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,29 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,4,1
Current State: 29:[33, 47], Operations: ['73-40=33', '70-23=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,29 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,4,0
Current State: 29:[70, 10], Operations: ['73-40=33', '33-23=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,29 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,29 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,4,3
Current State: 29:[33, 93], Operations: ['73-40=33', '23+70=93']
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,29 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,29 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,4,4
Current State: 29:[70, 56], Operations: ['73-40=33', '23+33=56']
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,29 unequal: No Solution
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,29 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: 29:[73, 23, 30], Operations: ['70-40=30']
Exploring Operation: 73+23=96, Resulting Numbers: [30, 96]
Generated Node #0,2,0: 29:[30, 96] Operation: 73+23=96
Exploring Operation: 23+30=53, Resulting Numbers: [73, 53]
Generated Node #0,2,1: 29:[73, 53] Operation: 23+30=53
Exploring Operation: 73-23=50, Resulting Numbers: [30, 50]
Generated Node #0,2,2: 29:[30, 50] Operation: 73-23=50
Exploring Operation: 30-23=7, Resulting Numbers: [73, 7]
Generated Node #0,2,3: 29:[73, 7] Operation: 30-23=7
Exploring Operation: 73-30=43, Resulting Numbers: [23, 43]
Generated Node #0,2,4: 29:[23, 43] Operation: 73-30=43
Moving to Node #0,1
Current State: 29:[70, 40, 50], Operations: ['73-23=50']
Exploring Operation: 70-40=30, Resulting Numbers: [50, 30]
Generated Node #0,1,0: 29:[50, 30] Operation: 70-40=30
Exploring Operation: 70-50=20, Resulting Numbers: [40, 20]
Generated Node #0,1,1: 29:[40, 20] Operation: 70-50=20
Exploring Operation: 50-40=10, Resulting Numbers: [70, 10]
Generated Node #0,1,2: 29:[70, 10] Operation: 50-40=10
Exploring Operation: 70+40=110, Resulting Numbers: [50, 110]
Generated Node #0,1,3: 29:[50, 110] Operation: 70+40=110
Exploring Operation: 70+50=120, Resulting Numbers: [40, 120]
Generated Node #0,1,4: 29:[40, 120] Operation: 70+50=120
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[40, 20], Operations: ['73-23=50', '70-50=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,29 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: 29:[50, 30], Operations: ['73-23=50', '70-40=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,29 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: 29:[70, 10], Operations: ['73-23=50', '50-40=10']
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,29 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,29 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: 29:[50, 110], Operations: ['73-23=50', '70+40=110']
Exploring Operation: 50*110=5500, Resulting Numbers: [5500]
5500,29 unequal: No Solution
Exploring Operation: 50+110=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 110-50=60, Resulting Numbers: [60]
60,29 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: 29:[40, 120], Operations: ['73-23=50', '70+50=120']
Exploring Operation: 120-40=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 40+120=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 40*120=4800, Resulting Numbers: [4800]
4800,29 unequal: No Solution
Exploring Operation: 120/40=3, Resulting Numbers: [3]
3,29 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: 29:[73, 40, 47], Operations: ['70-23=47']
Exploring Operation: 73-40=33, Resulting Numbers: [47, 33]
Generated Node #0,3,0: 29:[47, 33] Operation: 73-40=33
Exploring Operation: 73-47=26, Resulting Numbers: [40, 26]
Generated Node #0,3,1: 29:[40, 26] Operation: 73-47=26
Exploring Operation: 73+40=113, Resulting Numbers: [47, 113]
Generated Node #0,3,2: 29:[47, 113] Operation: 73+40=113
Exploring Operation: 73+47=120, Resulting Numbers: [40, 120]
Generated Node #0,3,3: 29:[40, 120] Operation: 73+47=120
Exploring Operation: 47-40=7, Resulting Numbers: [73, 7]
Generated Node #0,3,4: 29:[73, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[40, 26], Operations: ['70-23=47', '73-47=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,29 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: 29:[47, 33], Operations: ['70-23=47', '73-40=33']
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,29 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,29 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: 29:[73, 7], Operations: ['70-23=47', '47-40=7']
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,29 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,29 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: 29:[47, 113], Operations: ['70-23=47', '73+40=113']
Exploring Operation: 47*113=5311, Resulting Numbers: [5311]
5311,29 unequal: No Solution
Exploring Operation: 47+113=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 113-47=66, Resulting Numbers: [66]
66,29 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: 29:[40, 120], Operations: ['70-23=47', '73+47=120']
Exploring Operation: 120-40=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 40+120=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 120/40=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 40*120=4800, Resulting Numbers: [4800]
4800,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 29:[23, 43], Operations: ['70-40=30', '73-30=43']
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,29 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[30, 50], Operations: ['70-40=30', '73-23=50']
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,29 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[73, 7], Operations: ['70-40=30', '30-23=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,29 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[30, 96], Operations: ['70-40=30', '73+23=96']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 30+96=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 30*96=2880, Resulting Numbers: [2880]
2880,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[73, 53], Operations: ['70-40=30', '23+30=53']
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,29 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,29 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.