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 |
|---|---|---|---|---|---|---|---|---|
[
12,
89,
42,
63
] | 81 | [
"12*42=504",
"504/63=8",
"89-8=81"
] | Current State: 81:[12, 89, 42, 63], Operations: []
Exploring Operation: 12*42=504, Resulting Numbers: [89, 63, 504]
Generated Node #2: [89, 63, 504] from Operation: 12*42=504
Current State: 81:[89, 63, 504], Operations: ['12*42=504']
Exploring Operation: 504/63=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 504/63=8
Current State: 81:[89, 8], Operations: ['12*42=504', '504/63=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[12, 89, 42, 63], Operations: []
Exploring Operation: 42-12=30, Resulting Numbers: [89, 63, 30]
Generated Node #0,0: 81:[89, 63, 30] Operation: 42-12=30
Exploring Operation: 12+63=75, Resulting Numbers: [89, 42, 75]
Generated Node #0,1: 81:[89, 42, 75] Operation: 12+63=75
Exploring Operation: 63-42=21, Resulting Numbers: [12, 89, 21]
Generated Node #0,2: 81:[12, 89, 21] Operation: 63-42=21
Exploring Operation: 89-63=26, Resulting Numbers: [12, 42, 26]
Generated Node #0,3: 81:[12, 42, 26] Operation: 89-63=26
Exploring Operation: 42+63=105, Resulting Numbers: [12, 89, 105]
Generated Node #0,4: 81:[12, 89, 105] Operation: 42+63=105
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[12, 89, 21], Operations: ['63-42=21']
Exploring Operation: 89-21=68, Resulting Numbers: [12, 68]
Generated Node #0,2,0: 81:[12, 68] Operation: 89-21=68
Exploring Operation: 89-12=77, Resulting Numbers: [21, 77]
Generated Node #0,2,1: 81:[21, 77] Operation: 89-12=77
Exploring Operation: 12+21=33, Resulting Numbers: [89, 33]
Generated Node #0,2,2: 81:[89, 33] Operation: 12+21=33
Exploring Operation: 21-12=9, Resulting Numbers: [89, 9]
Generated Node #0,2,3: 81:[89, 9] Operation: 21-12=9
Exploring Operation: 12+89=101, Resulting Numbers: [21, 101]
Generated Node #0,2,4: 81:[21, 101] Operation: 12+89=101
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 81:[89, 9], Operations: ['63-42=21', '21-12=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,81 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,81 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: 81:[21, 77], Operations: ['63-42=21', '89-12=77']
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,81 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,81 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: 81:[89, 33], Operations: ['63-42=21', '12+21=33']
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,81 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,81 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: 81:[12, 68], Operations: ['63-42=21', '89-21=68']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,81 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,81 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: 81:[21, 101], Operations: ['63-42=21', '12+89=101']
Exploring Operation: 21*101=2121, Resulting Numbers: [2121]
2121,81 unequal: No Solution
Exploring Operation: 21+101=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 101-21=80, Resulting Numbers: [80]
80,81 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: 81:[12, 42, 26], Operations: ['89-63=26']
Exploring Operation: 42+26=68, Resulting Numbers: [12, 68]
Generated Node #0,3,0: 81:[12, 68] Operation: 42+26=68
Exploring Operation: 42-26=16, Resulting Numbers: [12, 16]
Generated Node #0,3,1: 81:[12, 16] Operation: 42-26=16
Exploring Operation: 26-12=14, Resulting Numbers: [42, 14]
Generated Node #0,3,2: 81:[42, 14] Operation: 26-12=14
Exploring Operation: 42-12=30, Resulting Numbers: [26, 30]
Generated Node #0,3,3: 81:[26, 30] Operation: 42-12=30
Exploring Operation: 12+26=38, Resulting Numbers: [42, 38]
Generated Node #0,3,4: 81:[42, 38] Operation: 12+26=38
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[26, 30], Operations: ['89-63=26', '42-12=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,81 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,81 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: 81:[12, 16], Operations: ['89-63=26', '42-26=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,81 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: 81:[12, 68], Operations: ['89-63=26', '42+26=68']
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,81 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,81 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: 81:[42, 14], Operations: ['89-63=26', '26-12=14']
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,81 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 81:[42, 38], Operations: ['89-63=26', '12+26=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,81 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,81 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: 81:[89, 63, 30], Operations: ['42-12=30']
Exploring Operation: 63-30=33, Resulting Numbers: [89, 33]
Generated Node #0,0,0: 81:[89, 33] Operation: 63-30=33
Exploring Operation: 63+30=93, Resulting Numbers: [89, 93]
Generated Node #0,0,1: 81:[89, 93] Operation: 63+30=93
Exploring Operation: 89+30=119, Resulting Numbers: [63, 119]
Generated Node #0,0,2: 81:[63, 119] Operation: 89+30=119
Exploring Operation: 89-30=59, Resulting Numbers: [63, 59]
Generated Node #0,0,3: 81:[63, 59] Operation: 89-30=59
Exploring Operation: 89-63=26, Resulting Numbers: [30, 26]
Generated Node #0,0,4: 81:[30, 26] Operation: 89-63=26
Moving to Node #0,0,4
Current State: 81:[30, 26], Operations: ['42-12=30', '89-63=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,81 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[89, 33], Operations: ['42-12=30', '63-30=33']
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,81 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[89, 93], Operations: ['42-12=30', '63+30=93']
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[63, 59], Operations: ['42-12=30', '89-30=59']
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[63, 119], Operations: ['42-12=30', '89+30=119']
Exploring Operation: 63*119=7497, Resulting Numbers: [7497]
7497,81 unequal: No Solution
Exploring Operation: 63+119=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 119-63=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[89, 42, 75], Operations: ['12+63=75']
Exploring Operation: 89-75=14, Resulting Numbers: [42, 14]
Generated Node #0,1,0: 81:[42, 14] Operation: 89-75=14
Exploring Operation: 89-42=47, Resulting Numbers: [75, 47]
Generated Node #0,1,1: 81:[75, 47] Operation: 89-42=47
Exploring Operation: 42+75=117, Resulting Numbers: [89, 117]
Generated Node #0,1,2: 81:[89, 117] Operation: 42+75=117
Exploring Operation: 75-42=33, Resulting Numbers: [89, 33]
Generated Node #0,1,3: 81:[89, 33] Operation: 75-42=33
Exploring Operation: 89+42=131, Resulting Numbers: [75, 131]
Generated Node #0,1,4: 81:[75, 131] Operation: 89+42=131
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[89, 33], Operations: ['12+63=75', '75-42=33']
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,81 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,81 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: 81:[42, 14], Operations: ['12+63=75', '89-75=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,81 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: 81:[75, 47], Operations: ['12+63=75', '89-42=47']
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,81 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,81 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: 81:[89, 117], Operations: ['12+63=75', '42+75=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,81 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,81 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,81 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: 81:[75, 131], Operations: ['12+63=75', '89+42=131']
Exploring Operation: 131-75=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 75*131=9825, Resulting Numbers: [9825]
9825,81 unequal: No Solution
Exploring Operation: 75+131=206, Resulting Numbers: [206]
206,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[12, 89, 105], Operations: ['42+63=105']
Exploring Operation: 105-89=16, Resulting Numbers: [12, 16]
Generated Node #0,4,0: 81:[12, 16] Operation: 105-89=16
Exploring Operation: 12+105=117, Resulting Numbers: [89, 117]
Generated Node #0,4,1: 81:[89, 117] Operation: 12+105=117
Exploring Operation: 12+89=101, Resulting Numbers: [105, 101]
Generated Node #0,4,2: 81:[105, 101] Operation: 12+89=101
Exploring Operation: 89-12=77, Resulting Numbers: [105, 77]
Generated Node #0,4,3: 81:[105, 77] Operation: 89-12=77
Exploring Operation: 105-12=93, Resulting Numbers: [89, 93]
Generated Node #0,4,4: 81:[89, 93] Operation: 105-12=93
Moving to Node #0,4,0
Current State: 81:[12, 16], Operations: ['42+63=105', '105-89=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[89, 93], Operations: ['42+63=105', '105-12=93']
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[105, 77], Operations: ['42+63=105', '89-12=77']
Exploring Operation: 105+77=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 105*77=8085, Resulting Numbers: [8085]
8085,81 unequal: No Solution
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[89, 117], Operations: ['42+63=105', '12+105=117']
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,81 unequal: No Solution
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,81 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[105, 101], Operations: ['42+63=105', '12+89=101']
Exploring Operation: 105-101=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 105+101=206, Resulting Numbers: [206]
206,81 unequal: No Solution
Exploring Operation: 105*101=10605, Resulting Numbers: [10605]
10605,81 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 |
[
30,
92,
7,
28
] | 97 | [
"92-30=62",
"7+28=35",
"62+35=97"
] | Current State: 97:[30, 92, 7, 28], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [7, 28, 62]
Generated Node #2: [7, 28, 62] from Operation: 92-30=62
Current State: 97:[7, 28, 62], Operations: ['92-30=62']
Exploring Operation: 7+28=35, Resulting Numbers: [62, 35]
Generated Node #3: [62, 35] from Operation: 7+28=35
Current State: 97:[62, 35], Operations: ['92-30=62', '7+28=35']
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[30, 92, 7, 28], Operations: []
Exploring Operation: 30+7=37, Resulting Numbers: [92, 28, 37]
Generated Node #0,0: 97:[92, 28, 37] Operation: 30+7=37
Moving to Node #0,0
Current State: 97:[92, 28, 37], Operations: ['30+7=37']
Exploring Operation: 28+37=65, Resulting Numbers: [92, 65]
Generated Node #0,0,0: 97:[92, 65] Operation: 28+37=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[92, 65], Operations: ['30+7=37', '28+37=65']
Exploring Operation: 92+65=157, Resulting Numbers: [157]
157,97 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 |
[
38,
45,
53,
51
] | 17 | [
"53-38=15",
"45/15=3",
"51/3=17"
] | Current State: 17:[38, 45, 53, 51], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [45, 51, 15]
Generated Node #2: [45, 51, 15] from Operation: 53-38=15
Current State: 17:[45, 51, 15], Operations: ['53-38=15']
Exploring Operation: 45/15=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 45/15=3
Current State: 17:[51, 3], Operations: ['53-38=15', '45/15=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[38, 45, 53, 51], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [45, 51, 15]
Generated Node #0,0: 17:[45, 51, 15] Operation: 53-38=15
Moving to Node #0,0
Current State: 17:[45, 51, 15], Operations: ['53-38=15']
Exploring Operation: 51-45=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 17:[15, 6] Operation: 51-45=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[15, 6], Operations: ['53-38=15', '51-45=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,17 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 |
[
69,
84,
56,
32
] | 65 | [
"69+84=153",
"56+32=88",
"153-88=65"
] | Current State: 65:[69, 84, 56, 32], Operations: []
Exploring Operation: 69+84=153, Resulting Numbers: [56, 32, 153]
Generated Node #2: [56, 32, 153] from Operation: 69+84=153
Current State: 65:[56, 32, 153], Operations: ['69+84=153']
Exploring Operation: 56+32=88, Resulting Numbers: [153, 88]
Generated Node #3: [153, 88] from Operation: 56+32=88
Current State: 65:[153, 88], Operations: ['69+84=153', '56+32=88']
Exploring Operation: 153-88=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[69, 84, 56, 32], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [56, 32, 15]
Generated Node #0,0: 65:[56, 32, 15] Operation: 84-69=15
Exploring Operation: 69-56=13, Resulting Numbers: [84, 32, 13]
Generated Node #0,1: 65:[84, 32, 13] Operation: 69-56=13
Exploring Operation: 56-32=24, Resulting Numbers: [69, 84, 24]
Generated Node #0,2: 65:[69, 84, 24] Operation: 56-32=24
Exploring Operation: 84-32=52, Resulting Numbers: [69, 56, 52]
Generated Node #0,3: 65:[69, 56, 52] Operation: 84-32=52
Moving to Node #0,3
Current State: 65:[69, 56, 52], Operations: ['84-32=52']
Exploring Operation: 69-56=13, Resulting Numbers: [52, 13]
Generated Node #0,3,0: 65:[52, 13] Operation: 69-56=13
Exploring Operation: 69-52=17, Resulting Numbers: [56, 17]
Generated Node #0,3,1: 65:[56, 17] Operation: 69-52=17
Exploring Operation: 56+52=108, Resulting Numbers: [69, 108]
Generated Node #0,3,2: 65:[69, 108] Operation: 56+52=108
Exploring Operation: 56-52=4, Resulting Numbers: [69, 4]
Generated Node #0,3,3: 65:[69, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 65:[56, 32, 15], Operations: ['84-69=15']
Exploring Operation: 56+15=71, Resulting Numbers: [32, 71]
Generated Node #0,0,0: 65:[32, 71] Operation: 56+15=71
Exploring Operation: 32-15=17, Resulting Numbers: [56, 17]
Generated Node #0,0,1: 65:[56, 17] Operation: 32-15=17
Exploring Operation: 56-32=24, Resulting Numbers: [15, 24]
Generated Node #0,0,2: 65:[15, 24] Operation: 56-32=24
Exploring Operation: 56+32=88, Resulting Numbers: [15, 88]
Generated Node #0,0,3: 65:[15, 88] Operation: 56+32=88
Moving to Node #0,2
Current State: 65:[69, 84, 24], Operations: ['56-32=24']
Exploring Operation: 69+24=93, Resulting Numbers: [84, 93]
Generated Node #0,2,0: 65:[84, 93] Operation: 69+24=93
Exploring Operation: 84-24=60, Resulting Numbers: [69, 60]
Generated Node #0,2,1: 65:[69, 60] Operation: 84-24=60
Exploring Operation: 84-69=15, Resulting Numbers: [24, 15]
Generated Node #0,2,2: 65:[24, 15] Operation: 84-69=15
Exploring Operation: 69-24=45, Resulting Numbers: [84, 45]
Generated Node #0,2,3: 65:[84, 45] Operation: 69-24=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[69, 60], Operations: ['56-32=24', '84-24=60']
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,65 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,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,2,2
Current State: 65:[24, 15], Operations: ['56-32=24', '84-69=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,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,2,3
Current State: 65:[84, 45], Operations: ['56-32=24', '69-24=45']
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,65 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,65 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,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,2,0
Current State: 65:[84, 93], Operations: ['56-32=24', '69+24=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,65 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,65 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,65 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: 65:[84, 32, 13], Operations: ['69-56=13']
Exploring Operation: 32-13=19, Resulting Numbers: [84, 19]
Generated Node #0,1,0: 65:[84, 19] Operation: 32-13=19
Exploring Operation: 32+13=45, Resulting Numbers: [84, 45]
Generated Node #0,1,1: 65:[84, 45] Operation: 32+13=45
Exploring Operation: 84-13=71, Resulting Numbers: [32, 71]
Generated Node #0,1,2: 65:[32, 71] Operation: 84-13=71
Exploring Operation: 84-32=52, Resulting Numbers: [13, 52]
Generated Node #0,1,3: 65:[13, 52] Operation: 84-32=52
Moving to Node #0,3,3
Current State: 65:[69, 4], Operations: ['84-32=52', '56-52=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[69, 84, 56, 32], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [69, 56, 52]
Generated Node #0,3: 65:[69, 56, 52] Operation: 84-32=52
Moving to Node #0,3
Current State: 65:[69, 56, 52], Operations: ['84-32=52']
Exploring Operation: 56-52=4, Resulting Numbers: [69, 4]
Generated Node #0,3,3: 65:[69, 4] Operation: 56-52=4
Moving to Node #0,3,3
Current State: 65:[69, 4], Operations: ['84-32=52', '56-52=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
63,
2,
52,
82
] | 30 | [
"63-52=11",
"82/2=41",
"41-11=30"
] | Current State: 30:[63, 2, 52, 82], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [2, 82, 11]
Generated Node #2: [2, 82, 11] from Operation: 63-52=11
Current State: 30:[2, 82, 11], Operations: ['63-52=11']
Exploring Operation: 82/2=41, Resulting Numbers: [11, 41]
Generated Node #3: [11, 41] from Operation: 82/2=41
Current State: 30:[11, 41], Operations: ['63-52=11', '82/2=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[63, 2, 52, 82], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [2, 52, 19]
Generated Node #0,0: 30:[2, 52, 19] Operation: 82-63=19
Exploring Operation: 82-52=30, Resulting Numbers: [63, 2, 30]
Generated Node #0,1: 30:[63, 2, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[2, 52, 19], Operations: ['82-63=19']
Exploring Operation: 52/2=26, Resulting Numbers: [19, 26]
Generated Node #0,0,0: 30:[19, 26] Operation: 52/2=26
Exploring Operation: 52-19=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 30:[2, 33] Operation: 52-19=33
Moving to Node #0,0,1
Current State: 30:[2, 33], Operations: ['82-63=19', '52-19=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[19, 26], Operations: ['82-63=19', '52/2=26']
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,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,1
Current State: 30:[63, 2, 30], Operations: ['82-52=30']
Exploring Operation: 63-2=61, Resulting Numbers: [30, 61]
Generated Node #0,1,0: 30:[30, 61] Operation: 63-2=61
Exploring Operation: 63-30=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 30:[2, 33] Operation: 63-30=33
Moving to Node #0,1,1
Current State: 30:[2, 33], Operations: ['82-52=30', '63-30=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[30, 61], Operations: ['82-52=30', '63-2=61']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,30 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,
61,
25,
49
] | 14 | [
"61-23=38",
"49-25=24",
"38-24=14"
] | Current State: 14:[23, 61, 25, 49], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [25, 49, 38]
Generated Node #2: [25, 49, 38] from Operation: 61-23=38
Current State: 14:[25, 49, 38], Operations: ['61-23=38']
Exploring Operation: 49-25=24, Resulting Numbers: [38, 24]
Generated Node #3: [38, 24] from Operation: 49-25=24
Current State: 14:[38, 24], Operations: ['61-23=38', '49-25=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[23, 61, 25, 49], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [23, 61, 24]
Generated Node #0,0: 14:[23, 61, 24] Operation: 49-25=24
Exploring Operation: 61-23=38, Resulting Numbers: [25, 49, 38]
Generated Node #0,1: 14:[25, 49, 38] Operation: 61-23=38
Exploring Operation: 61-25=36, Resulting Numbers: [23, 49, 36]
Generated Node #0,2: 14:[23, 49, 36] Operation: 61-25=36
Exploring Operation: 61-49=12, Resulting Numbers: [23, 25, 12]
Generated Node #0,3: 14:[23, 25, 12] Operation: 61-49=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[23, 25, 12], Operations: ['61-49=12']
Exploring Operation: 23+12=35, Resulting Numbers: [25, 35]
Generated Node #0,3,0: 14:[25, 35] Operation: 23+12=35
Exploring Operation: 25-23=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 14:[12, 2] Operation: 25-23=2
Exploring Operation: 25-12=13, Resulting Numbers: [23, 13]
Generated Node #0,3,2: 14:[23, 13] Operation: 25-12=13
Exploring Operation: 23-12=11, Resulting Numbers: [25, 11]
Generated Node #0,3,3: 14:[25, 11] Operation: 23-12=11
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[12, 2], Operations: ['61-49=12', '25-23=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[23, 61, 25, 49], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [23, 25, 12]
Generated Node #0,3: 14:[23, 25, 12] Operation: 61-49=12
Moving to Node #0,3
Current State: 14:[23, 25, 12], Operations: ['61-49=12']
Exploring Operation: 25-23=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 14:[12, 2] Operation: 25-23=2
Moving to Node #0,3,1
Current State: 14:[12, 2], Operations: ['61-49=12', '25-23=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
64,
93,
4,
31
] | 33 | [
"64+93=157",
"4*31=124",
"157-124=33"
] | Current State: 33:[64, 93, 4, 31], Operations: []
Exploring Operation: 64+93=157, Resulting Numbers: [4, 31, 157]
Generated Node #2: [4, 31, 157] from Operation: 64+93=157
Current State: 33:[4, 31, 157], Operations: ['64+93=157']
Exploring Operation: 4*31=124, Resulting Numbers: [157, 124]
Generated Node #3: [157, 124] from Operation: 4*31=124
Current State: 33:[157, 124], Operations: ['64+93=157', '4*31=124']
Exploring Operation: 157-124=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[64, 93, 4, 31], Operations: []
Exploring Operation: 64-31=33, Resulting Numbers: [93, 4, 33]
Generated Node #0,0: 33:[93, 4, 33] Operation: 64-31=33
Exploring Operation: 93-64=29, Resulting Numbers: [4, 31, 29]
Generated Node #0,1: 33:[4, 31, 29] Operation: 93-64=29
Exploring Operation: 93/31=3, Resulting Numbers: [64, 4, 3]
Generated Node #0,2: 33:[64, 4, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[4, 31, 29], Operations: ['93-64=29']
Exploring Operation: 4+31=35, Resulting Numbers: [29, 35]
Generated Node #0,1,0: 33:[29, 35] Operation: 4+31=35
Exploring Operation: 4+29=33, Resulting Numbers: [31, 33]
Generated Node #0,1,1: 33:[31, 33] Operation: 4+29=33
Exploring Operation: 31-29=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 33:[4, 2] Operation: 31-29=2
Moving to Node #0,1,1
Current State: 33:[31, 33], Operations: ['93-64=29', '4+29=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,33 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[4, 2], Operations: ['93-64=29', '31-29=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[29, 35], Operations: ['93-64=29', '4+31=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,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
Current State: 33:[64, 4, 3], Operations: ['93/31=3']
Exploring Operation: 64/4=16, Resulting Numbers: [3, 16]
Generated Node #0,2,0: 33:[3, 16] Operation: 64/4=16
Exploring Operation: 64-3=61, Resulting Numbers: [4, 61]
Generated Node #0,2,1: 33:[4, 61] Operation: 64-3=61
Exploring Operation: 64-4=60, Resulting Numbers: [3, 60]
Generated Node #0,2,2: 33:[3, 60] Operation: 64-4=60
Moving to Node #0,2,0
Current State: 33:[3, 16], Operations: ['93/31=3', '64/4=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[3, 60], Operations: ['93/31=3', '64-4=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[4, 61], Operations: ['93/31=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 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[93, 4, 33], Operations: ['64-31=33']
Exploring Operation: 93+4=97, Resulting Numbers: [33, 97]
Generated Node #0,0,0: 33:[33, 97] Operation: 93+4=97
Exploring Operation: 93-33=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 33:[4, 60] Operation: 93-33=60
Exploring Operation: 93-4=89, Resulting Numbers: [33, 89]
Generated Node #0,0,2: 33:[33, 89] Operation: 93-4=89
Moving to Node #0,0,1
Current State: 33:[4, 60], Operations: ['64-31=33', '93-33=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[33, 89], Operations: ['64-31=33', '93-4=89']
Exploring Operation: 33+89=122, Resulting Numbers: [122]
122,33 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 33*89=2937, Resulting Numbers: [2937]
2937,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[33, 97], Operations: ['64-31=33', '93+4=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,33 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
53,
12,
4
] | 32 | [
"53-13=40",
"12-4=8",
"40-8=32"
] | Current State: 32:[13, 53, 12, 4], Operations: []
Exploring Operation: 53-13=40, Resulting Numbers: [12, 4, 40]
Generated Node #2: [12, 4, 40] from Operation: 53-13=40
Current State: 32:[12, 4, 40], Operations: ['53-13=40']
Exploring Operation: 12-4=8, Resulting Numbers: [40, 8]
Generated Node #3: [40, 8] from Operation: 12-4=8
Current State: 32:[40, 8], Operations: ['53-13=40', '12-4=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[13, 53, 12, 4], Operations: []
Exploring Operation: 53-13=40, Resulting Numbers: [12, 4, 40]
Generated Node #0,0: 32:[12, 4, 40] Operation: 53-13=40
Moving to Node #0,0
Current State: 32:[12, 4, 40], Operations: ['53-13=40']
Exploring Operation: 40-12=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 32:[4, 28] Operation: 40-12=28
Moving to Node #0,0,0
Current State: 32:[4, 28], Operations: ['53-13=40', '40-12=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[13, 53, 12, 4], Operations: []
Exploring Operation: 53-13=40, Resulting Numbers: [12, 4, 40]
Generated Node #0,0: 32:[12, 4, 40] Operation: 53-13=40
Moving to Node #0,0
Current State: 32:[12, 4, 40], Operations: ['53-13=40']
Exploring Operation: 40-12=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 32:[4, 28] Operation: 40-12=28
Moving to Node #0,0,0
Current State: 32:[4, 28], Operations: ['53-13=40', '40-12=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
18,
3,
27,
26
] | 87 | [
"27-18=9",
"3*26=78",
"9+78=87"
] | Current State: 87:[18, 3, 27, 26], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [3, 26, 9]
Generated Node #2: [3, 26, 9] from Operation: 27-18=9
Current State: 87:[3, 26, 9], Operations: ['27-18=9']
Exploring Operation: 3*26=78, Resulting Numbers: [9, 78]
Generated Node #3: [9, 78] from Operation: 3*26=78
Current State: 87:[9, 78], Operations: ['27-18=9', '3*26=78']
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[18, 3, 27, 26], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [3, 27, 8]
Generated Node #0,0: 87:[3, 27, 8] Operation: 26-18=8
Moving to Node #0,0
Current State: 87:[3, 27, 8], Operations: ['26-18=8']
Exploring Operation: 8-3=5, Resulting Numbers: [27, 5]
Generated Node #0,0,0: 87:[27, 5] Operation: 8-3=5
Moving to Node #0,0,0
Current State: 87:[27, 5], Operations: ['26-18=8', '8-3=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
48,
18,
54
] | 10 | [
"54-48=6",
"18/6=3",
"13-3=10"
] | Current State: 10:[13, 48, 18, 54], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [13, 18, 6]
Generated Node #2: [13, 18, 6] from Operation: 54-48=6
Current State: 10:[13, 18, 6], Operations: ['54-48=6']
Exploring Operation: 18/6=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 18/6=3
Current State: 10:[13, 3], Operations: ['54-48=6', '18/6=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[13, 48, 18, 54], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [13, 48, 3]
Generated Node #0,0: 10:[13, 48, 3] Operation: 54/18=3
Exploring Operation: 54-48=6, Resulting Numbers: [13, 18, 6]
Generated Node #0,1: 10:[13, 18, 6] Operation: 54-48=6
Moving to Node #0,1
Current State: 10:[13, 18, 6], Operations: ['54-48=6']
Exploring Operation: 18/6=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 10:[13, 3] Operation: 18/6=3
Exploring Operation: 18-13=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 10:[6, 5] Operation: 18-13=5
Moving to Node #0,0
Current State: 10:[13, 48, 3], Operations: ['54/18=3']
Exploring Operation: 48-13=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 10:[3, 35] Operation: 48-13=35
Exploring Operation: 48/3=16, Resulting Numbers: [13, 16]
Generated Node #0,0,1: 10:[13, 16] Operation: 48/3=16
Moving to Node #0,1,1
Current State: 10:[6, 5], Operations: ['54-48=6', '18-13=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[13, 3], Operations: ['54-48=6', '18/6=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[13, 48, 18, 54], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [13, 18, 6]
Generated Node #0,1: 10:[13, 18, 6] Operation: 54-48=6
Moving to Node #0,1
Current State: 10:[13, 18, 6], Operations: ['54-48=6']
Exploring Operation: 18/6=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 10:[13, 3] Operation: 18/6=3
Moving to Node #0,1,0
Current State: 10:[13, 3], Operations: ['54-48=6', '18/6=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
95,
4,
29,
27
] | 42 | [
"95-29=66",
"4*27=108",
"108-66=42"
] | Current State: 42:[95, 4, 29, 27], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [4, 27, 66]
Generated Node #2: [4, 27, 66] from Operation: 95-29=66
Current State: 42:[4, 27, 66], Operations: ['95-29=66']
Exploring Operation: 4*27=108, Resulting Numbers: [66, 108]
Generated Node #3: [66, 108] from Operation: 4*27=108
Current State: 42:[66, 108], Operations: ['95-29=66', '4*27=108']
Exploring Operation: 108-66=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[95, 4, 29, 27], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [4, 27, 66]
Generated Node #0,0: 42:[4, 27, 66] Operation: 95-29=66
Exploring Operation: 95-4=91, Resulting Numbers: [29, 27, 91]
Generated Node #0,1: 42:[29, 27, 91] Operation: 95-4=91
Exploring Operation: 95-27=68, Resulting Numbers: [4, 29, 68]
Generated Node #0,2: 42:[4, 29, 68] Operation: 95-27=68
Exploring Operation: 29-27=2, Resulting Numbers: [95, 4, 2]
Generated Node #0,3: 42:[95, 4, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[4, 27, 66], Operations: ['95-29=66']
Exploring Operation: 4+27=31, Resulting Numbers: [66, 31]
Generated Node #0,0,0: 42:[66, 31] Operation: 4+27=31
Exploring Operation: 66-27=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 42:[4, 39] Operation: 66-27=39
Exploring Operation: 66-4=62, Resulting Numbers: [27, 62]
Generated Node #0,0,2: 42:[27, 62] Operation: 66-4=62
Exploring Operation: 27-4=23, Resulting Numbers: [66, 23]
Generated Node #0,0,3: 42:[66, 23] Operation: 27-4=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[4, 39], Operations: ['95-29=66', '66-27=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,42 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: 42:[27, 62], Operations: ['95-29=66', '66-4=62']
Exploring Operation: 27*62=1674, Resulting Numbers: [1674]
1674,42 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,42 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: 42:[66, 23], Operations: ['95-29=66', '27-4=23']
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,42 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,42 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: 42:[66, 31], Operations: ['95-29=66', '4+27=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,42 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,42 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: 42:[4, 29, 68], Operations: ['95-27=68']
Exploring Operation: 29-4=25, Resulting Numbers: [68, 25]
Generated Node #0,2,0: 42:[68, 25] Operation: 29-4=25
Exploring Operation: 68/4=17, Resulting Numbers: [29, 17]
Generated Node #0,2,1: 42:[29, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [29, 64]
Generated Node #0,2,2: 42:[29, 64] Operation: 68-4=64
Exploring Operation: 68-29=39, Resulting Numbers: [4, 39]
Generated Node #0,2,3: 42:[4, 39] Operation: 68-29=39
Moving to Node #0,2,3
Current State: 42:[4, 39], Operations: ['95-27=68', '68-29=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[29, 17], Operations: ['95-27=68', '68/4=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[29, 64], Operations: ['95-27=68', '68-4=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,42 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[68, 25], Operations: ['95-27=68', '29-4=25']
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[95, 4, 2], Operations: ['29-27=2']
Exploring Operation: 4-2=2, Resulting Numbers: [95, 2]
Generated Node #0,3,0: 42:[95, 2] Operation: 4-2=2
Exploring Operation: 95-4=91, Resulting Numbers: [2, 91]
Generated Node #0,3,1: 42:[2, 91] Operation: 95-4=91
Exploring Operation: 4+2=6, Resulting Numbers: [95, 6]
Generated Node #0,3,2: 42:[95, 6] Operation: 4+2=6
Exploring Operation: 95-2=93, Resulting Numbers: [4, 93]
Generated Node #0,3,3: 42:[4, 93] Operation: 95-2=93
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 42:[2, 91], Operations: ['29-27=2', '95-4=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,42 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,42 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: 42:[4, 93], Operations: ['29-27=2', '95-2=93']
Exploring Operation: 4+93=97, Resulting Numbers: [97]
97,42 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 4*93=372, Resulting Numbers: [372]
372,42 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: 42:[95, 2], Operations: ['29-27=2', '4-2=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,42 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,42 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: 42:[95, 6], Operations: ['29-27=2', '4+2=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,42 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,42 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: 42:[29, 27, 91], Operations: ['95-4=91']
Exploring Operation: 91-27=64, Resulting Numbers: [29, 64]
Generated Node #0,1,0: 42:[29, 64] Operation: 91-27=64
Exploring Operation: 29-27=2, Resulting Numbers: [91, 2]
Generated Node #0,1,1: 42:[91, 2] Operation: 29-27=2
Exploring Operation: 29+27=56, Resulting Numbers: [91, 56]
Generated Node #0,1,2: 42:[91, 56] Operation: 29+27=56
Exploring Operation: 91-29=62, Resulting Numbers: [27, 62]
Generated Node #0,1,3: 42:[27, 62] Operation: 91-29=62
Moving to Node #0,1,3
Current State: 42:[27, 62], Operations: ['95-4=91', '91-29=62']
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 27*62=1674, Resulting Numbers: [1674]
1674,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[29, 64], Operations: ['95-4=91', '91-27=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[91, 2], Operations: ['95-4=91', '29-27=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,42 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[91, 56], Operations: ['95-4=91', '29+27=56']
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 91+56=147, Resulting Numbers: [147]
147,42 unequal: No Solution
Exploring Operation: 91*56=5096, Resulting Numbers: [5096]
5096,42 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 |
[
68,
60,
28,
39
] | 88 | [
"68-60=8",
"39-28=11",
"8*11=88"
] | Current State: 88:[68, 60, 28, 39], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [28, 39, 8]
Generated Node #2: [28, 39, 8] from Operation: 68-60=8
Current State: 88:[28, 39, 8], Operations: ['68-60=8']
Exploring Operation: 39-28=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 39-28=11
Current State: 88:[8, 11], Operations: ['68-60=8', '39-28=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[68, 60, 28, 39], Operations: []
Exploring Operation: 68-28=40, Resulting Numbers: [60, 39, 40]
Generated Node #0,0: 88:[60, 39, 40] Operation: 68-28=40
Exploring Operation: 68-60=8, Resulting Numbers: [28, 39, 8]
Generated Node #0,1: 88:[28, 39, 8] Operation: 68-60=8
Moving to Node #0,1
Current State: 88:[28, 39, 8], Operations: ['68-60=8']
Exploring Operation: 39-28=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 39-28=11
Exploring Operation: 28-8=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 88:[39, 20] Operation: 28-8=20
Moving to Node #0,0
Current State: 88:[60, 39, 40], Operations: ['68-28=40']
Exploring Operation: 60-39=21, Resulting Numbers: [40, 21]
Generated Node #0,0,0: 88:[40, 21] Operation: 60-39=21
Exploring Operation: 60-40=20, Resulting Numbers: [39, 20]
Generated Node #0,0,1: 88:[39, 20] Operation: 60-40=20
Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['68-60=8', '39-28=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[68, 60, 28, 39], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [28, 39, 8]
Generated Node #0,1: 88:[28, 39, 8] Operation: 68-60=8
Moving to Node #0,1
Current State: 88:[28, 39, 8], Operations: ['68-60=8']
Exploring Operation: 39-28=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 39-28=11
Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['68-60=8', '39-28=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
55,
85,
80,
24
] | 84 | [
"55+85=140",
"80-24=56",
"140-56=84"
] | Current State: 84:[55, 85, 80, 24], Operations: []
Exploring Operation: 55+85=140, Resulting Numbers: [80, 24, 140]
Generated Node #2: [80, 24, 140] from Operation: 55+85=140
Current State: 84:[80, 24, 140], Operations: ['55+85=140']
Exploring Operation: 80-24=56, Resulting Numbers: [140, 56]
Generated Node #3: [140, 56] from Operation: 80-24=56
Current State: 84:[140, 56], Operations: ['55+85=140', '80-24=56']
Exploring Operation: 140-56=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[55, 85, 80, 24], Operations: []
Exploring Operation: 55-24=31, Resulting Numbers: [85, 80, 31]
Generated Node #0,0: 84:[85, 80, 31] Operation: 55-24=31
Exploring Operation: 85-80=5, Resulting Numbers: [55, 24, 5]
Generated Node #0,1: 84:[55, 24, 5] Operation: 85-80=5
Exploring Operation: 55+24=79, Resulting Numbers: [85, 80, 79]
Generated Node #0,2: 84:[85, 80, 79] Operation: 55+24=79
Exploring Operation: 80-55=25, Resulting Numbers: [85, 24, 25]
Generated Node #0,3: 84:[85, 24, 25] Operation: 80-55=25
Exploring Operation: 85-55=30, Resulting Numbers: [80, 24, 30]
Generated Node #0,4: 84:[80, 24, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[85, 24, 25], Operations: ['80-55=25']
Exploring Operation: 85-25=60, Resulting Numbers: [24, 60]
Generated Node #0,3,0: 84:[24, 60] Operation: 85-25=60
Exploring Operation: 85+24=109, Resulting Numbers: [25, 109]
Generated Node #0,3,1: 84:[25, 109] Operation: 85+24=109
Exploring Operation: 24+25=49, Resulting Numbers: [85, 49]
Generated Node #0,3,2: 84:[85, 49] Operation: 24+25=49
Exploring Operation: 25-24=1, Resulting Numbers: [85, 1]
Generated Node #0,3,3: 84:[85, 1] Operation: 25-24=1
Exploring Operation: 85-24=61, Resulting Numbers: [25, 61]
Generated Node #0,3,4: 84:[25, 61] Operation: 85-24=61
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[85, 1], Operations: ['80-55=25', '25-24=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[55, 85, 80, 24], Operations: []
Exploring Operation: 80-55=25, Resulting Numbers: [85, 24, 25]
Generated Node #0,3: 84:[85, 24, 25] Operation: 80-55=25
Moving to Node #0,3
Current State: 84:[85, 24, 25], Operations: ['80-55=25']
Exploring Operation: 25-24=1, Resulting Numbers: [85, 1]
Generated Node #0,3,3: 84:[85, 1] Operation: 25-24=1
Moving to Node #0,3,3
Current State: 84:[85, 1], Operations: ['80-55=25', '25-24=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
56,
26,
37,
91
] | 28 | [
"56+26=82",
"91-37=54",
"82-54=28"
] | Current State: 28:[56, 26, 37, 91], Operations: []
Exploring Operation: 56+26=82, Resulting Numbers: [37, 91, 82]
Generated Node #2: [37, 91, 82] from Operation: 56+26=82
Current State: 28:[37, 91, 82], Operations: ['56+26=82']
Exploring Operation: 91-37=54, Resulting Numbers: [82, 54]
Generated Node #3: [82, 54] from Operation: 91-37=54
Current State: 28:[82, 54], Operations: ['56+26=82', '91-37=54']
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[56, 26, 37, 91], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [26, 91, 19]
Generated Node #0,0: 28:[26, 91, 19] Operation: 56-37=19
Exploring Operation: 91-37=54, Resulting Numbers: [56, 26, 54]
Generated Node #0,1: 28:[56, 26, 54] Operation: 91-37=54
Exploring Operation: 56-26=30, Resulting Numbers: [37, 91, 30]
Generated Node #0,2: 28:[37, 91, 30] Operation: 56-26=30
Exploring Operation: 91-56=35, Resulting Numbers: [26, 37, 35]
Generated Node #0,3: 28:[26, 37, 35] Operation: 91-56=35
Moving to Node #0,3
Current State: 28:[26, 37, 35], Operations: ['91-56=35']
Exploring Operation: 35-26=9, Resulting Numbers: [37, 9]
Generated Node #0,3,0: 28:[37, 9] Operation: 35-26=9
Exploring Operation: 37-26=11, Resulting Numbers: [35, 11]
Generated Node #0,3,1: 28:[35, 11] Operation: 37-26=11
Exploring Operation: 26+37=63, Resulting Numbers: [35, 63]
Generated Node #0,3,2: 28:[35, 63] Operation: 26+37=63
Exploring Operation: 37-35=2, Resulting Numbers: [26, 2]
Generated Node #0,3,3: 28:[26, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[26, 2], Operations: ['91-56=35', '37-35=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[56, 26, 37, 91], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [26, 37, 35]
Generated Node #0,3: 28:[26, 37, 35] Operation: 91-56=35
Moving to Node #0,3
Current State: 28:[26, 37, 35], Operations: ['91-56=35']
Exploring Operation: 37-35=2, Resulting Numbers: [26, 2]
Generated Node #0,3,3: 28:[26, 2] Operation: 37-35=2
Moving to Node #0,3,3
Current State: 28:[26, 2], Operations: ['91-56=35', '37-35=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
12,
63,
31,
44
] | 24 | [
"63-12=51",
"31+44=75",
"75-51=24"
] | Current State: 24:[12, 63, 31, 44], Operations: []
Exploring Operation: 63-12=51, Resulting Numbers: [31, 44, 51]
Generated Node #2: [31, 44, 51] from Operation: 63-12=51
Current State: 24:[31, 44, 51], Operations: ['63-12=51']
Exploring Operation: 31+44=75, Resulting Numbers: [51, 75]
Generated Node #3: [51, 75] from Operation: 31+44=75
Current State: 24:[51, 75], Operations: ['63-12=51', '31+44=75']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[12, 63, 31, 44], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [12, 63, 13]
Generated Node #0,0: 24:[12, 63, 13] Operation: 44-31=13
Exploring Operation: 63-44=19, Resulting Numbers: [12, 31, 19]
Generated Node #0,1: 24:[12, 31, 19] Operation: 63-44=19
Exploring Operation: 63-31=32, Resulting Numbers: [12, 44, 32]
Generated Node #0,2: 24:[12, 44, 32] Operation: 63-31=32
Exploring Operation: 63-12=51, Resulting Numbers: [31, 44, 51]
Generated Node #0,3: 24:[31, 44, 51] Operation: 63-12=51
Moving to Node #0,1
Current State: 24:[12, 31, 19], Operations: ['63-44=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31, 31]
Generated Node #0,1,0: 24:[31, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [31, 7]
Generated Node #0,1,1: 24:[31, 7] Operation: 19-12=7
Exploring Operation: 31-19=12, Resulting Numbers: [12, 12]
Generated Node #0,1,2: 24:[12, 12] Operation: 31-19=12
Exploring Operation: 31-12=19, Resulting Numbers: [19, 19]
Generated Node #0,1,3: 24:[19, 19] Operation: 31-12=19
Moving to Node #0,2
Current State: 24:[12, 44, 32], Operations: ['63-31=32']
Exploring Operation: 32-12=20, Resulting Numbers: [44, 20]
Generated Node #0,2,0: 24:[44, 20] Operation: 32-12=20
Exploring Operation: 12+44=56, Resulting Numbers: [32, 56]
Generated Node #0,2,1: 24:[32, 56] Operation: 12+44=56
Exploring Operation: 44-32=12, Resulting Numbers: [12, 12]
Generated Node #0,2,2: 24:[12, 12] Operation: 44-32=12
Exploring Operation: 44-12=32, Resulting Numbers: [32, 32]
Generated Node #0,2,3: 24:[32, 32] Operation: 44-12=32
Moving to Node #0,0
Current State: 24:[12, 63, 13], Operations: ['44-31=13']
Exploring Operation: 13-12=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 24:[63, 1] Operation: 13-12=1
Exploring Operation: 63-13=50, Resulting Numbers: [12, 50]
Generated Node #0,0,1: 24:[12, 50] Operation: 63-13=50
Exploring Operation: 63-12=51, Resulting Numbers: [13, 51]
Generated Node #0,0,2: 24:[13, 51] Operation: 63-12=51
Exploring Operation: 12+13=25, Resulting Numbers: [63, 25]
Generated Node #0,0,3: 24:[63, 25] Operation: 12+13=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[12, 50], Operations: ['44-31=13', '63-13=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,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,0,2
Current State: 24:[13, 51], Operations: ['44-31=13', '63-12=51']
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,24 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,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,0,0
Current State: 24:[63, 1], Operations: ['44-31=13', '13-12=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,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,0,3
Current State: 24:[63, 25], Operations: ['44-31=13', '12+13=25']
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,24 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,24 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: 24:[31, 44, 51], Operations: ['63-12=51']
Exploring Operation: 44-31=13, Resulting Numbers: [51, 13]
Generated Node #0,3,0: 24:[51, 13] Operation: 44-31=13
Exploring Operation: 31+44=75, Resulting Numbers: [51, 75]
Generated Node #0,3,1: 24:[51, 75] Operation: 31+44=75
Exploring Operation: 51-31=20, Resulting Numbers: [44, 20]
Generated Node #0,3,2: 24:[44, 20] Operation: 51-31=20
Exploring Operation: 51-44=7, Resulting Numbers: [31, 7]
Generated Node #0,3,3: 24:[31, 7] Operation: 51-44=7
Moving to Node #0,1,2
Current State: 24:[12, 12], Operations: ['63-44=19', '31-19=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[12, 63, 31, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [12, 31, 19]
Generated Node #0,1: 24:[12, 31, 19] Operation: 63-44=19
Moving to Node #0,1
Current State: 24:[12, 31, 19], Operations: ['63-44=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12, 12]
Generated Node #0,1,2: 24:[12, 12] Operation: 31-19=12
Moving to Node #0,1,2
Current State: 24:[12, 12], Operations: ['63-44=19', '31-19=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
70,
91,
84,
16
] | 47 | [
"91-70=21",
"84-16=68",
"68-21=47"
] | Current State: 47:[70, 91, 84, 16], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [84, 16, 21]
Generated Node #2: [84, 16, 21] from Operation: 91-70=21
Current State: 47:[84, 16, 21], Operations: ['91-70=21']
Exploring Operation: 84-16=68, Resulting Numbers: [21, 68]
Generated Node #3: [21, 68] from Operation: 84-16=68
Current State: 47:[21, 68], Operations: ['91-70=21', '84-16=68']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[70, 91, 84, 16], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [84, 16, 21]
Generated Node #0,0: 47:[84, 16, 21] Operation: 91-70=21
Exploring Operation: 84-16=68, Resulting Numbers: [70, 91, 68]
Generated Node #0,1: 47:[70, 91, 68] Operation: 84-16=68
Exploring Operation: 91-84=7, Resulting Numbers: [70, 16, 7]
Generated Node #0,2: 47:[70, 16, 7] Operation: 91-84=7
Exploring Operation: 91-16=75, Resulting Numbers: [70, 84, 75]
Generated Node #0,3: 47:[70, 84, 75] Operation: 91-16=75
Exploring Operation: 70-16=54, Resulting Numbers: [91, 84, 54]
Generated Node #0,4: 47:[91, 84, 54] Operation: 70-16=54
Moving to Node #0,1
Current State: 47:[70, 91, 68], Operations: ['84-16=68']
Exploring Operation: 70+68=138, Resulting Numbers: [91, 138]
Generated Node #0,1,0: 47:[91, 138] Operation: 70+68=138
Exploring Operation: 91-68=23, Resulting Numbers: [70, 23]
Generated Node #0,1,1: 47:[70, 23] Operation: 91-68=23
Exploring Operation: 70+91=161, Resulting Numbers: [68, 161]
Generated Node #0,1,2: 47:[68, 161] Operation: 70+91=161
Exploring Operation: 70-68=2, Resulting Numbers: [91, 2]
Generated Node #0,1,3: 47:[91, 2] Operation: 70-68=2
Exploring Operation: 91-70=21, Resulting Numbers: [68, 21]
Generated Node #0,1,4: 47:[68, 21] Operation: 91-70=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[70, 23], Operations: ['84-16=68', '91-68=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,47 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[70, 91, 84, 16], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [70, 91, 68]
Generated Node #0,1: 47:[70, 91, 68] Operation: 84-16=68
Moving to Node #0,1
Current State: 47:[70, 91, 68], Operations: ['84-16=68']
Exploring Operation: 91-68=23, Resulting Numbers: [70, 23]
Generated Node #0,1,1: 47:[70, 23] Operation: 91-68=23
Moving to Node #0,1,1
Current State: 47:[70, 23], Operations: ['84-16=68', '91-68=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
52,
85,
66,
78
] | 98 | [
"66-52=14",
"85-78=7",
"14*7=98"
] | Current State: 98:[52, 85, 66, 78], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [85, 78, 14]
Generated Node #2: [85, 78, 14] from Operation: 66-52=14
Current State: 98:[85, 78, 14], Operations: ['66-52=14']
Exploring Operation: 85-78=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 85-78=7
Current State: 98:[14, 7], Operations: ['66-52=14', '85-78=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[52, 85, 66, 78], Operations: []
Exploring Operation: 78-66=12, Resulting Numbers: [52, 85, 12]
Generated Node #0,0: 98:[52, 85, 12] Operation: 78-66=12
Exploring Operation: 85-78=7, Resulting Numbers: [52, 66, 7]
Generated Node #0,1: 98:[52, 66, 7] Operation: 85-78=7
Exploring Operation: 85-66=19, Resulting Numbers: [52, 78, 19]
Generated Node #0,2: 98:[52, 78, 19] Operation: 85-66=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[52, 85, 12], Operations: ['78-66=12']
Exploring Operation: 52-12=40, Resulting Numbers: [85, 40]
Generated Node #0,0,0: 98:[85, 40] Operation: 52-12=40
Exploring Operation: 85+12=97, Resulting Numbers: [52, 97]
Generated Node #0,0,1: 98:[52, 97] Operation: 85+12=97
Exploring Operation: 85-52=33, Resulting Numbers: [12, 33]
Generated Node #0,0,2: 98:[12, 33] Operation: 85-52=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[52, 97], Operations: ['78-66=12', '85+12=97']
Exploring Operation: 52+97=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 52*97=5044, Resulting Numbers: [5044]
5044,98 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,98 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: 98:[12, 33], Operations: ['78-66=12', '85-52=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,98 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,98 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: 98:[85, 40], Operations: ['78-66=12', '52-12=40']
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,98 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,98 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: 98:[52, 66, 7], Operations: ['85-78=7']
Exploring Operation: 66-7=59, Resulting Numbers: [52, 59]
Generated Node #0,1,0: 98:[52, 59] Operation: 66-7=59
Exploring Operation: 52+66=118, Resulting Numbers: [7, 118]
Generated Node #0,1,1: 98:[7, 118] Operation: 52+66=118
Exploring Operation: 66-52=14, Resulting Numbers: [7, 14]
Generated Node #0,1,2: 98:[7, 14] Operation: 66-52=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[7, 14], Operations: ['85-78=7', '66-52=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[52, 85, 66, 78], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [52, 66, 7]
Generated Node #0,1: 98:[52, 66, 7] Operation: 85-78=7
Moving to Node #0,1
Current State: 98:[52, 66, 7], Operations: ['85-78=7']
Exploring Operation: 66-52=14, Resulting Numbers: [7, 14]
Generated Node #0,1,2: 98:[7, 14] Operation: 66-52=14
Moving to Node #0,1,2
Current State: 98:[7, 14], Operations: ['85-78=7', '66-52=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
55,
43,
11,
92
] | 17 | [
"55+43=98",
"92-11=81",
"98-81=17"
] | Current State: 17:[55, 43, 11, 92], Operations: []
Exploring Operation: 55+43=98, Resulting Numbers: [11, 92, 98]
Generated Node #2: [11, 92, 98] from Operation: 55+43=98
Current State: 17:[11, 92, 98], Operations: ['55+43=98']
Exploring Operation: 92-11=81, Resulting Numbers: [98, 81]
Generated Node #3: [98, 81] from Operation: 92-11=81
Current State: 17:[98, 81], Operations: ['55+43=98', '92-11=81']
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[55, 43, 11, 92], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [43, 11, 37]
Generated Node #0,0: 17:[43, 11, 37] Operation: 92-55=37
Exploring Operation: 92-43=49, Resulting Numbers: [55, 11, 49]
Generated Node #0,1: 17:[55, 11, 49] Operation: 92-43=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[43, 11, 37], Operations: ['92-55=37']
Exploring Operation: 43-37=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 43-37=6
Exploring Operation: 43-11=32, Resulting Numbers: [37, 32]
Generated Node #0,0,1: 17:[37, 32] Operation: 43-11=32
Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['92-55=37', '43-37=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[55, 43, 11, 92], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [43, 11, 37]
Generated Node #0,0: 17:[43, 11, 37] Operation: 92-55=37
Moving to Node #0,0
Current State: 17:[43, 11, 37], Operations: ['92-55=37']
Exploring Operation: 43-37=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 43-37=6
Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['92-55=37', '43-37=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
50,
83,
76,
43
] | 14 | [
"50+83=133",
"76+43=119",
"133-119=14"
] | Current State: 14:[50, 83, 76, 43], Operations: []
Exploring Operation: 50+83=133, Resulting Numbers: [76, 43, 133]
Generated Node #2: [76, 43, 133] from Operation: 50+83=133
Current State: 14:[76, 43, 133], Operations: ['50+83=133']
Exploring Operation: 76+43=119, Resulting Numbers: [133, 119]
Generated Node #3: [133, 119] from Operation: 76+43=119
Current State: 14:[133, 119], Operations: ['50+83=133', '76+43=119']
Exploring Operation: 133-119=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[50, 83, 76, 43], Operations: []
Exploring Operation: 76-50=26, Resulting Numbers: [83, 43, 26]
Generated Node #0,0: 14:[83, 43, 26] Operation: 76-50=26
Exploring Operation: 83-50=33, Resulting Numbers: [76, 43, 33]
Generated Node #0,1: 14:[76, 43, 33] Operation: 83-50=33
Exploring Operation: 83-43=40, Resulting Numbers: [50, 76, 40]
Generated Node #0,2: 14:[50, 76, 40] Operation: 83-43=40
Exploring Operation: 83-76=7, Resulting Numbers: [50, 43, 7]
Generated Node #0,3: 14:[50, 43, 7] Operation: 83-76=7
Moving to Node #0,3
Current State: 14:[50, 43, 7], Operations: ['83-76=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43, 43]
Generated Node #0,3,0: 14:[43, 43] Operation: 50-7=43
Exploring Operation: 50-43=7, Resulting Numbers: [7, 7]
Generated Node #0,3,1: 14:[7, 7] Operation: 50-43=7
Exploring Operation: 43-7=36, Resulting Numbers: [50, 36]
Generated Node #0,3,2: 14:[50, 36] Operation: 43-7=36
Exploring Operation: 50+7=57, Resulting Numbers: [43, 57]
Generated Node #0,3,3: 14:[43, 57] Operation: 50+7=57
Moving to Node #0,1
Current State: 14:[76, 43, 33], Operations: ['83-50=33']
Exploring Operation: 76+43=119, Resulting Numbers: [33, 119]
Generated Node #0,1,0: 14:[33, 119] Operation: 76+43=119
Exploring Operation: 76-43=33, Resulting Numbers: [33, 33]
Generated Node #0,1,1: 14:[33, 33] Operation: 76-43=33
Exploring Operation: 43-33=10, Resulting Numbers: [76, 10]
Generated Node #0,1,2: 14:[76, 10] Operation: 43-33=10
Exploring Operation: 76-33=43, Resulting Numbers: [43, 43]
Generated Node #0,1,3: 14:[43, 43] Operation: 76-33=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[33, 33], Operations: ['83-50=33', '76-43=33']
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,14 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[43, 43], Operations: ['83-50=33', '76-33=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,14 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[76, 10], Operations: ['83-50=33', '43-33=10']
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,14 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,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,0
Current State: 14:[33, 119], Operations: ['83-50=33', '76+43=119']
Exploring Operation: 33+119=152, Resulting Numbers: [152]
152,14 unequal: No Solution
Exploring Operation: 119-33=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 33*119=3927, Resulting Numbers: [3927]
3927,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[83, 43, 26], Operations: ['76-50=26']
Exploring Operation: 83-26=57, Resulting Numbers: [43, 57]
Generated Node #0,0,0: 14:[43, 57] Operation: 83-26=57
Exploring Operation: 83-43=40, Resulting Numbers: [26, 40]
Generated Node #0,0,1: 14:[26, 40] Operation: 83-43=40
Exploring Operation: 83+43=126, Resulting Numbers: [26, 126]
Generated Node #0,0,2: 14:[26, 126] Operation: 83+43=126
Exploring Operation: 43-26=17, Resulting Numbers: [83, 17]
Generated Node #0,0,3: 14:[83, 17] Operation: 43-26=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[26, 40], Operations: ['76-50=26', '83-43=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[50, 83, 76, 43], Operations: []
Exploring Operation: 76-50=26, Resulting Numbers: [83, 43, 26]
Generated Node #0,0: 14:[83, 43, 26] Operation: 76-50=26
Moving to Node #0,0
Current State: 14:[83, 43, 26], Operations: ['76-50=26']
Exploring Operation: 83-43=40, Resulting Numbers: [26, 40]
Generated Node #0,0,1: 14:[26, 40] Operation: 83-43=40
Moving to Node #0,0,1
Current State: 14:[26, 40], Operations: ['76-50=26', '83-43=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
29,
33,
58,
16
] | 20 | [
"29+33=62",
"58-16=42",
"62-42=20"
] | Current State: 20:[29, 33, 58, 16], Operations: []
Exploring Operation: 29+33=62, Resulting Numbers: [58, 16, 62]
Generated Node #2: [58, 16, 62] from Operation: 29+33=62
Current State: 20:[58, 16, 62], Operations: ['29+33=62']
Exploring Operation: 58-16=42, Resulting Numbers: [62, 42]
Generated Node #3: [62, 42] from Operation: 58-16=42
Current State: 20:[62, 42], Operations: ['29+33=62', '58-16=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[29, 33, 58, 16], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [33, 16, 2]
Generated Node #0,0: 20:[33, 16, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [33, 16, 29]
Generated Node #0,1: 20:[33, 16, 29] Operation: 58-29=29
Exploring Operation: 58-16=42, Resulting Numbers: [29, 33, 42]
Generated Node #0,2: 20:[29, 33, 42] Operation: 58-16=42
Exploring Operation: 33-29=4, Resulting Numbers: [58, 16, 4]
Generated Node #0,3: 20:[58, 16, 4] Operation: 33-29=4
Exploring Operation: 58-33=25, Resulting Numbers: [29, 16, 25]
Generated Node #0,4: 20:[29, 16, 25] Operation: 58-33=25
Moving to Node #0,0
Current State: 20:[33, 16, 2], Operations: ['58/29=2']
Exploring Operation: 33-2=31, Resulting Numbers: [16, 31]
Generated Node #0,0,0: 20:[16, 31] Operation: 33-2=31
Exploring Operation: 33-16=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 20:[2, 17] Operation: 33-16=17
Exploring Operation: 16/2=8, Resulting Numbers: [33, 8]
Generated Node #0,0,2: 20:[33, 8] Operation: 16/2=8
Exploring Operation: 16+2=18, Resulting Numbers: [33, 18]
Generated Node #0,0,3: 20:[33, 18] Operation: 16+2=18
Exploring Operation: 16-2=14, Resulting Numbers: [33, 14]
Generated Node #0,0,4: 20:[33, 14] Operation: 16-2=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[2, 17], Operations: ['58/29=2', '33-16=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,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,0,0
Current State: 20:[16, 31], Operations: ['58/29=2', '33-2=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,20 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,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,0,2
Current State: 20:[33, 8], Operations: ['58/29=2', '16/2=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,20 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,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,0,3
Current State: 20:[33, 18], Operations: ['58/29=2', '16+2=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,20 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,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,0,4
Current State: 20:[33, 14], Operations: ['58/29=2', '16-2=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,20 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,20 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: 20:[29, 16, 25], Operations: ['58-33=25']
Exploring Operation: 16+25=41, Resulting Numbers: [29, 41]
Generated Node #0,4,0: 20:[29, 41] Operation: 16+25=41
Exploring Operation: 29-25=4, Resulting Numbers: [16, 4]
Generated Node #0,4,1: 20:[16, 4] Operation: 29-25=4
Exploring Operation: 29+16=45, Resulting Numbers: [25, 45]
Generated Node #0,4,2: 20:[25, 45] Operation: 29+16=45
Exploring Operation: 25-16=9, Resulting Numbers: [29, 9]
Generated Node #0,4,3: 20:[29, 9] Operation: 25-16=9
Exploring Operation: 29-16=13, Resulting Numbers: [25, 13]
Generated Node #0,4,4: 20:[25, 13] Operation: 29-16=13
Moving to Node #0,1
Current State: 20:[33, 16, 29], Operations: ['58-29=29']
Exploring Operation: 29-16=13, Resulting Numbers: [33, 13]
Generated Node #0,1,0: 20:[33, 13] Operation: 29-16=13
Exploring Operation: 33-29=4, Resulting Numbers: [16, 4]
Generated Node #0,1,1: 20:[16, 4] Operation: 33-29=4
Exploring Operation: 16+29=45, Resulting Numbers: [33, 45]
Generated Node #0,1,2: 20:[33, 45] Operation: 16+29=45
Exploring Operation: 33-16=17, Resulting Numbers: [29, 17]
Generated Node #0,1,3: 20:[29, 17] Operation: 33-16=17
Exploring Operation: 33+16=49, Resulting Numbers: [29, 49]
Generated Node #0,1,4: 20:[29, 49] Operation: 33+16=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[16, 4], Operations: ['58-29=29', '33-29=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[29, 33, 58, 16], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [33, 16, 29]
Generated Node #0,1: 20:[33, 16, 29] Operation: 58-29=29
Moving to Node #0,1
Current State: 20:[33, 16, 29], Operations: ['58-29=29']
Exploring Operation: 33-29=4, Resulting Numbers: [16, 4]
Generated Node #0,1,1: 20:[16, 4] Operation: 33-29=4
Moving to Node #0,1,1
Current State: 20:[16, 4], Operations: ['58-29=29', '33-29=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
48,
80,
41,
97
] | 88 | [
"80-48=32",
"97-41=56",
"32+56=88"
] | Current State: 88:[48, 80, 41, 97], Operations: []
Exploring Operation: 80-48=32, Resulting Numbers: [41, 97, 32]
Generated Node #2: [41, 97, 32] from Operation: 80-48=32
Current State: 88:[41, 97, 32], Operations: ['80-48=32']
Exploring Operation: 97-41=56, Resulting Numbers: [32, 56]
Generated Node #3: [32, 56] from Operation: 97-41=56
Current State: 88:[32, 56], Operations: ['80-48=32', '97-41=56']
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[48, 80, 41, 97], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [48, 41, 17]
Generated Node #0,0: 88:[48, 41, 17] Operation: 97-80=17
Exploring Operation: 97-48=49, Resulting Numbers: [80, 41, 49]
Generated Node #0,1: 88:[80, 41, 49] Operation: 97-48=49
Moving to Node #0,0
Current State: 88:[48, 41, 17], Operations: ['97-80=17']
Exploring Operation: 48+41=89, Resulting Numbers: [17, 89]
Generated Node #0,0,0: 88:[17, 89] Operation: 48+41=89
Exploring Operation: 48-41=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 88:[17, 7] Operation: 48-41=7
Moving to Node #0,1
Current State: 88:[80, 41, 49], Operations: ['97-48=49']
Exploring Operation: 80-41=39, Resulting Numbers: [49, 39]
Generated Node #0,1,0: 88:[49, 39] Operation: 80-41=39
Exploring Operation: 49-41=8, Resulting Numbers: [80, 8]
Generated Node #0,1,1: 88:[80, 8] Operation: 49-41=8
Moving to Node #0,0,0
Current State: 88:[17, 89], Operations: ['97-80=17', '48+41=89']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[17, 7], Operations: ['97-80=17', '48-41=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[80, 8], Operations: ['97-48=49', '49-41=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[48, 80, 41, 97], Operations: []
Exploring Operation: 97-48=49, Resulting Numbers: [80, 41, 49]
Generated Node #0,1: 88:[80, 41, 49] Operation: 97-48=49
Moving to Node #0,1
Current State: 88:[80, 41, 49], Operations: ['97-48=49']
Exploring Operation: 49-41=8, Resulting Numbers: [80, 8]
Generated Node #0,1,1: 88:[80, 8] Operation: 49-41=8
Moving to Node #0,1,1
Current State: 88:[80, 8], Operations: ['97-48=49', '49-41=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
89,
9,
3,
74
] | 72 | [
"89+9=98",
"98-74=24",
"3*24=72"
] | Current State: 72:[89, 9, 3, 74], Operations: []
Exploring Operation: 89+9=98, Resulting Numbers: [3, 74, 98]
Generated Node #2: [3, 74, 98] from Operation: 89+9=98
Current State: 72:[3, 74, 98], Operations: ['89+9=98']
Exploring Operation: 98-74=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 98-74=24
Current State: 72:[3, 24], Operations: ['89+9=98', '98-74=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[89, 9, 3, 74], Operations: []
Exploring Operation: 74-3=71, Resulting Numbers: [89, 9, 71]
Generated Node #0,0: 72:[89, 9, 71] Operation: 74-3=71
Exploring Operation: 89-9=80, Resulting Numbers: [3, 74, 80]
Generated Node #0,1: 72:[3, 74, 80] Operation: 89-9=80
Exploring Operation: 89-74=15, Resulting Numbers: [9, 3, 15]
Generated Node #0,2: 72:[9, 3, 15] Operation: 89-74=15
Exploring Operation: 89-3=86, Resulting Numbers: [9, 74, 86]
Generated Node #0,3: 72:[9, 74, 86] Operation: 89-3=86
Moving to Node #0,2
Current State: 72:[9, 3, 15], Operations: ['89-74=15']
Exploring Operation: 3+15=18, Resulting Numbers: [9, 18]
Generated Node #0,2,0: 72:[9, 18] Operation: 3+15=18
Exploring Operation: 9+15=24, Resulting Numbers: [3, 24]
Generated Node #0,2,1: 72:[3, 24] Operation: 9+15=24
Exploring Operation: 15-9=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 72:[3, 6] Operation: 15-9=6
Exploring Operation: 15-3=12, Resulting Numbers: [9, 12]
Generated Node #0,2,3: 72:[9, 12] Operation: 15-3=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[9, 18], Operations: ['89-74=15', '3+15=18']
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,72 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,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,2,1
Current State: 72:[3, 24], Operations: ['89-74=15', '9+15=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[89, 9, 3, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [9, 3, 15]
Generated Node #0,2: 72:[9, 3, 15] Operation: 89-74=15
Moving to Node #0,2
Current State: 72:[9, 3, 15], Operations: ['89-74=15']
Exploring Operation: 9+15=24, Resulting Numbers: [3, 24]
Generated Node #0,2,1: 72:[3, 24] Operation: 9+15=24
Moving to Node #0,2,1
Current State: 72:[3, 24], Operations: ['89-74=15', '9+15=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
91,
79,
74,
6
] | 76 | [
"91-79=12",
"12/6=2",
"74+2=76"
] | Current State: 76:[91, 79, 74, 6], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [74, 6, 12]
Generated Node #2: [74, 6, 12] from Operation: 91-79=12
Current State: 76:[74, 6, 12], Operations: ['91-79=12']
Exploring Operation: 12/6=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 12/6=2
Current State: 76:[74, 2], Operations: ['91-79=12', '12/6=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[91, 79, 74, 6], Operations: []
Exploring Operation: 91-74=17, Resulting Numbers: [79, 6, 17]
Generated Node #0,0: 76:[79, 6, 17] Operation: 91-74=17
Exploring Operation: 79-74=5, Resulting Numbers: [91, 6, 5]
Generated Node #0,1: 76:[91, 6, 5] Operation: 79-74=5
Exploring Operation: 79-6=73, Resulting Numbers: [91, 74, 73]
Generated Node #0,2: 76:[91, 74, 73] Operation: 79-6=73
Exploring Operation: 91-6=85, Resulting Numbers: [79, 74, 85]
Generated Node #0,3: 76:[79, 74, 85] Operation: 91-6=85
Exploring Operation: 91-79=12, Resulting Numbers: [74, 6, 12]
Generated Node #0,4: 76:[74, 6, 12] Operation: 91-79=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[79, 6, 17], Operations: ['91-74=17']
Exploring Operation: 79+6=85, Resulting Numbers: [17, 85]
Generated Node #0,0,0: 76:[17, 85] Operation: 79+6=85
Exploring Operation: 6+17=23, Resulting Numbers: [79, 23]
Generated Node #0,0,1: 76:[79, 23] Operation: 6+17=23
Exploring Operation: 79-17=62, Resulting Numbers: [6, 62]
Generated Node #0,0,2: 76:[6, 62] Operation: 79-17=62
Exploring Operation: 17-6=11, Resulting Numbers: [79, 11]
Generated Node #0,0,3: 76:[79, 11] Operation: 17-6=11
Exploring Operation: 79-6=73, Resulting Numbers: [17, 73]
Generated Node #0,0,4: 76:[17, 73] Operation: 79-6=73
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 76:[17, 73], Operations: ['91-74=17', '79-6=73']
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,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,0,1
Current State: 76:[79, 23], Operations: ['91-74=17', '6+17=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,76 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,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,0,3
Current State: 76:[79, 11], Operations: ['91-74=17', '17-6=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,76 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,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,0,0
Current State: 76:[17, 85], Operations: ['91-74=17', '79+6=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 17*85=1445, Resulting Numbers: [1445]
1445,76 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 17+85=102, Resulting Numbers: [102]
102,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,0,2
Current State: 76:[6, 62], Operations: ['91-74=17', '79-17=62']
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,76 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,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,4
Current State: 76:[74, 6, 12], Operations: ['91-79=12']
Exploring Operation: 6+12=18, Resulting Numbers: [74, 18]
Generated Node #0,4,0: 76:[74, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [74, 6]
Generated Node #0,4,1: 76:[74, 6] Operation: 12-6=6
Exploring Operation: 74+6=80, Resulting Numbers: [12, 80]
Generated Node #0,4,2: 76:[12, 80] Operation: 74+6=80
Exploring Operation: 12/6=2, Resulting Numbers: [74, 2]
Generated Node #0,4,3: 76:[74, 2] Operation: 12/6=2
Exploring Operation: 6*12=72, Resulting Numbers: [74, 72]
Generated Node #0,4,4: 76:[74, 72] Operation: 6*12=72
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[74, 2], Operations: ['91-79=12', '12/6=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[91, 79, 74, 6], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [74, 6, 12]
Generated Node #0,4: 76:[74, 6, 12] Operation: 91-79=12
Moving to Node #0,4
Current State: 76:[74, 6, 12], Operations: ['91-79=12']
Exploring Operation: 12/6=2, Resulting Numbers: [74, 2]
Generated Node #0,4,3: 76:[74, 2] Operation: 12/6=2
Moving to Node #0,4,3
Current State: 76:[74, 2], Operations: ['91-79=12', '12/6=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
25,
12,
23,
83
] | 79 | [
"25+23=48",
"48/12=4",
"83-4=79"
] | Current State: 79:[25, 12, 23, 83], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [12, 83, 48]
Generated Node #2: [12, 83, 48] from Operation: 25+23=48
Current State: 79:[12, 83, 48], Operations: ['25+23=48']
Exploring Operation: 48/12=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 48/12=4
Current State: 79:[83, 4], Operations: ['25+23=48', '48/12=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[25, 12, 23, 83], Operations: []
Exploring Operation: 25+12=37, Resulting Numbers: [23, 83, 37]
Generated Node #0,0: 79:[23, 83, 37] Operation: 25+12=37
Moving to Node #0,0
Current State: 79:[23, 83, 37], Operations: ['25+12=37']
Exploring Operation: 23+37=60, Resulting Numbers: [83, 60]
Generated Node #0,0,0: 79:[83, 60] Operation: 23+37=60
Moving to Node #0,0,0
Current State: 79:[83, 60], Operations: ['25+12=37', '23+37=60']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
22,
27,
29
] | 11 | [
"11*27=297",
"22+297=319",
"319/29=11"
] | Current State: 11:[11, 22, 27, 29], Operations: []
Exploring Operation: 11*27=297, Resulting Numbers: [22, 29, 297]
Generated Node #2: [22, 29, 297] from Operation: 11*27=297
Current State: 11:[22, 29, 297], Operations: ['11*27=297']
Exploring Operation: 22+297=319, Resulting Numbers: [29, 319]
Generated Node #3: [29, 319] from Operation: 22+297=319
Current State: 11:[29, 319], Operations: ['11*27=297', '22+297=319']
Exploring Operation: 319/29=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[11, 22, 27, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [11, 27, 7]
Generated Node #0,0: 11:[11, 27, 7] Operation: 29-22=7
Exploring Operation: 29-27=2, Resulting Numbers: [11, 22, 2]
Generated Node #0,1: 11:[11, 22, 2] Operation: 29-27=2
Moving to Node #0,0
Current State: 11:[11, 27, 7], Operations: ['29-22=7']
Exploring Operation: 27-11=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 11:[7, 16] Operation: 27-11=16
Exploring Operation: 27-7=20, Resulting Numbers: [11, 20]
Generated Node #0,0,1: 11:[11, 20] Operation: 27-7=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[7, 16], Operations: ['29-22=7', '27-11=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,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:[11, 20], Operations: ['29-22=7', '27-7=20']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,11 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: 11:[11, 22, 2], Operations: ['29-27=2']
Exploring Operation: 22-11=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 11:[2, 11] Operation: 22-11=11
Exploring Operation: 22/2=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 11:[11, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[11, 11], Operations: ['29-27=2', '22/2=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,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,1,0
Current State: 11:[2, 11], Operations: ['29-27=2', '22-11=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,11 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 |
[
78,
16,
39,
30
] | 78 | [
"78*16=1248",
"39*30=1170",
"1248-1170=78"
] | Current State: 78:[78, 16, 39, 30], Operations: []
Exploring Operation: 78*16=1248, Resulting Numbers: [39, 30, 1248]
Generated Node #2: [39, 30, 1248] from Operation: 78*16=1248
Current State: 78:[39, 30, 1248], Operations: ['78*16=1248']
Exploring Operation: 39*30=1170, Resulting Numbers: [1248, 1170]
Generated Node #3: [1248, 1170] from Operation: 39*30=1170
Current State: 78:[1248, 1170], Operations: ['78*16=1248', '39*30=1170']
Exploring Operation: 1248-1170=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[78, 16, 39, 30], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [78, 16, 9]
Generated Node #0,0: 78:[78, 16, 9] Operation: 39-30=9
Exploring Operation: 30-16=14, Resulting Numbers: [78, 39, 14]
Generated Node #0,1: 78:[78, 39, 14] Operation: 30-16=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[78, 39, 14], Operations: ['30-16=14']
Exploring Operation: 78-39=39, Resulting Numbers: [14, 39]
Generated Node #0,1,0: 78:[14, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 78:[14, 2] Operation: 78/39=2
Moving to Node #0,1,0
Current State: 78:[14, 39], Operations: ['30-16=14', '78-39=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[14, 2], Operations: ['30-16=14', '78/39=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,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,0
Current State: 78:[78, 16, 9], Operations: ['39-30=9']
Exploring Operation: 16+9=25, Resulting Numbers: [78, 25]
Generated Node #0,0,0: 78:[78, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [78, 7]
Generated Node #0,0,1: 78:[78, 7] Operation: 16-9=7
Moving to Node #0,0,0
Current State: 78:[78, 25], Operations: ['39-30=9', '16+9=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[78, 7], Operations: ['39-30=9', '16-9=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,78 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,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 |
[
92,
37,
46,
36
] | 35 | [
"92/46=2",
"36*2=72",
"72-37=35"
] | Current State: 35:[92, 37, 46, 36], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [37, 36, 2]
Generated Node #2: [37, 36, 2] from Operation: 92/46=2
Current State: 35:[37, 36, 2], Operations: ['92/46=2']
Exploring Operation: 36*2=72, Resulting Numbers: [37, 72]
Generated Node #3: [37, 72] from Operation: 36*2=72
Current State: 35:[37, 72], Operations: ['92/46=2', '36*2=72']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[92, 37, 46, 36], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [37, 36, 2]
Generated Node #0,0: 35:[37, 36, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [37, 36, 46]
Generated Node #0,1: 35:[37, 36, 46] Operation: 92-46=46
Exploring Operation: 92-37=55, Resulting Numbers: [46, 36, 55]
Generated Node #0,2: 35:[46, 36, 55] Operation: 92-37=55
Moving to Node #0,0
Current State: 35:[37, 36, 2], Operations: ['92/46=2']
Exploring Operation: 37-2=35, Resulting Numbers: [36, 35]
Generated Node #0,0,0: 35:[36, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [36, 39]
Generated Node #0,0,1: 35:[36, 39] Operation: 37+2=39
Exploring Operation: 36-2=34, Resulting Numbers: [37, 34]
Generated Node #0,0,2: 35:[37, 34] Operation: 36-2=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[36, 35], Operations: ['92/46=2', '37-2=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,35 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,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,0,2
Current State: 35:[37, 34], Operations: ['92/46=2', '36-2=34']
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,35 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,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,0,1
Current State: 35:[36, 39], Operations: ['92/46=2', '37+2=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,35 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,35 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: 35:[37, 36, 46], Operations: ['92-46=46']
Exploring Operation: 37-36=1, Resulting Numbers: [46, 1]
Generated Node #0,1,0: 35:[46, 1] Operation: 37-36=1
Exploring Operation: 46-37=9, Resulting Numbers: [36, 9]
Generated Node #0,1,1: 35:[36, 9] Operation: 46-37=9
Exploring Operation: 46-36=10, Resulting Numbers: [37, 10]
Generated Node #0,1,2: 35:[37, 10] Operation: 46-36=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[36, 9], Operations: ['92-46=46', '46-37=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,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:[37, 10], Operations: ['92-46=46', '46-36=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,35 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,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:[46, 1], Operations: ['92-46=46', '37-36=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,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:[46, 36, 55], Operations: ['92-37=55']
Exploring Operation: 55-46=9, Resulting Numbers: [36, 9]
Generated Node #0,2,0: 35:[36, 9] Operation: 55-46=9
Exploring Operation: 55-36=19, Resulting Numbers: [46, 19]
Generated Node #0,2,1: 35:[46, 19] Operation: 55-36=19
Exploring Operation: 46-36=10, Resulting Numbers: [55, 10]
Generated Node #0,2,2: 35:[55, 10] Operation: 46-36=10
Moving to Node #0,2,0
Current State: 35:[36, 9], Operations: ['92-37=55', '55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[46, 19], Operations: ['92-37=55', '55-36=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,35 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[55, 10], Operations: ['92-37=55', '46-36=10']
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,35 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
61,
47,
81
] | 58 | [
"9+61=70",
"47+81=128",
"128-70=58"
] | Current State: 58:[9, 61, 47, 81], Operations: []
Exploring Operation: 9+61=70, Resulting Numbers: [47, 81, 70]
Generated Node #2: [47, 81, 70] from Operation: 9+61=70
Current State: 58:[47, 81, 70], Operations: ['9+61=70']
Exploring Operation: 47+81=128, Resulting Numbers: [70, 128]
Generated Node #3: [70, 128] from Operation: 47+81=128
Current State: 58:[70, 128], Operations: ['9+61=70', '47+81=128']
Exploring Operation: 128-70=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[9, 61, 47, 81], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [61, 47, 9]
Generated Node #0,0: 58:[61, 47, 9] Operation: 81/9=9
Exploring Operation: 9+47=56, Resulting Numbers: [61, 81, 56]
Generated Node #0,1: 58:[61, 81, 56] Operation: 9+47=56
Exploring Operation: 81-47=34, Resulting Numbers: [9, 61, 34]
Generated Node #0,2: 58:[9, 61, 34] Operation: 81-47=34
Exploring Operation: 81-9=72, Resulting Numbers: [61, 47, 72]
Generated Node #0,3: 58:[61, 47, 72] Operation: 81-9=72
Exploring Operation: 81-61=20, Resulting Numbers: [9, 47, 20]
Generated Node #0,4: 58:[9, 47, 20] Operation: 81-61=20
Moving to Node #0,2
Current State: 58:[9, 61, 34], Operations: ['81-47=34']
Exploring Operation: 9+61=70, Resulting Numbers: [34, 70]
Generated Node #0,2,0: 58:[34, 70] Operation: 9+61=70
Exploring Operation: 61-34=27, Resulting Numbers: [9, 27]
Generated Node #0,2,1: 58:[9, 27] Operation: 61-34=27
Exploring Operation: 61-9=52, Resulting Numbers: [34, 52]
Generated Node #0,2,2: 58:[34, 52] Operation: 61-9=52
Exploring Operation: 9+34=43, Resulting Numbers: [61, 43]
Generated Node #0,2,3: 58:[61, 43] Operation: 9+34=43
Exploring Operation: 34-9=25, Resulting Numbers: [61, 25]
Generated Node #0,2,4: 58:[61, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 58:[61, 25], Operations: ['81-47=34', '34-9=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,58 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No 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: 58:[9, 27], Operations: ['81-47=34', '61-34=27']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,58 unequal: No Solution
No 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: 58:[34, 52], Operations: ['81-47=34', '61-9=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,58 unequal: No Solution
No 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: 58:[34, 70], Operations: ['81-47=34', '9+61=70']
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,58 unequal: No Solution
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No 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: 58:[61, 43], Operations: ['81-47=34', '9+34=43']
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,58 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,58 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: 58:[61, 47, 9], Operations: ['81/9=9']
Exploring Operation: 47-9=38, Resulting Numbers: [61, 38]
Generated Node #0,0,0: 58:[61, 38] Operation: 47-9=38
Exploring Operation: 61+9=70, Resulting Numbers: [47, 70]
Generated Node #0,0,1: 58:[47, 70] Operation: 61+9=70
Exploring Operation: 61-47=14, Resulting Numbers: [9, 14]
Generated Node #0,0,2: 58:[9, 14] Operation: 61-47=14
Exploring Operation: 47+9=56, Resulting Numbers: [61, 56]
Generated Node #0,0,3: 58:[61, 56] Operation: 47+9=56
Exploring Operation: 61-9=52, Resulting Numbers: [47, 52]
Generated Node #0,0,4: 58:[47, 52] Operation: 61-9=52
Moving to Node #0,4
Current State: 58:[9, 47, 20], Operations: ['81-61=20']
Exploring Operation: 47-9=38, Resulting Numbers: [20, 38]
Generated Node #0,4,0: 58:[20, 38] Operation: 47-9=38
Exploring Operation: 47-20=27, Resulting Numbers: [9, 27]
Generated Node #0,4,1: 58:[9, 27] Operation: 47-20=27
Exploring Operation: 47+20=67, Resulting Numbers: [9, 67]
Generated Node #0,4,2: 58:[9, 67] Operation: 47+20=67
Exploring Operation: 9+47=56, Resulting Numbers: [20, 56]
Generated Node #0,4,3: 58:[20, 56] Operation: 9+47=56
Exploring Operation: 9+20=29, Resulting Numbers: [47, 29]
Generated Node #0,4,4: 58:[47, 29] Operation: 9+20=29
Moving to Node #0,1
Current State: 58:[61, 81, 56], Operations: ['9+47=56']
Exploring Operation: 81-61=20, Resulting Numbers: [56, 20]
Generated Node #0,1,0: 58:[56, 20] Operation: 81-61=20
Exploring Operation: 81+56=137, Resulting Numbers: [61, 137]
Generated Node #0,1,1: 58:[61, 137] Operation: 81+56=137
Exploring Operation: 61+56=117, Resulting Numbers: [81, 117]
Generated Node #0,1,2: 58:[81, 117] Operation: 61+56=117
Exploring Operation: 81-56=25, Resulting Numbers: [61, 25]
Generated Node #0,1,3: 58:[61, 25] Operation: 81-56=25
Exploring Operation: 61-56=5, Resulting Numbers: [81, 5]
Generated Node #0,1,4: 58:[81, 5] Operation: 61-56=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[61, 25], Operations: ['9+47=56', '81-56=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,58 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No 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: 58:[56, 20], Operations: ['9+47=56', '81-61=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,58 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No 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: 58:[81, 5], Operations: ['9+47=56', '61-56=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,58 unequal: No Solution
No 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: 58:[61, 137], Operations: ['9+47=56', '81+56=137']
Exploring Operation: 137-61=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 61+137=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 61*137=8357, Resulting Numbers: [8357]
8357,58 unequal: No Solution
No 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: 58:[81, 117], Operations: ['9+47=56', '61+56=117']
Exploring Operation: 81+117=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 81*117=9477, Resulting Numbers: [9477]
9477,58 unequal: No Solution
Exploring Operation: 117-81=36, Resulting Numbers: [36]
36,58 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: 58:[61, 47, 72], Operations: ['81-9=72']
Exploring Operation: 61+47=108, Resulting Numbers: [72, 108]
Generated Node #0,3,0: 58:[72, 108] Operation: 61+47=108
Exploring Operation: 72-61=11, Resulting Numbers: [47, 11]
Generated Node #0,3,1: 58:[47, 11] Operation: 72-61=11
Exploring Operation: 61-47=14, Resulting Numbers: [72, 14]
Generated Node #0,3,2: 58:[72, 14] Operation: 61-47=14
Exploring Operation: 72-47=25, Resulting Numbers: [61, 25]
Generated Node #0,3,3: 58:[61, 25] Operation: 72-47=25
Exploring Operation: 47+72=119, Resulting Numbers: [61, 119]
Generated Node #0,3,4: 58:[61, 119] Operation: 47+72=119
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[61, 25], Operations: ['81-9=72', '72-47=25']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,58 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,58 unequal: No Solution
No 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: 58:[47, 11], Operations: ['81-9=72', '72-61=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,58 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[9, 61, 47, 81], Operations: []
Exploring Operation: 81-9=72, Resulting Numbers: [61, 47, 72]
Generated Node #0,3: 58:[61, 47, 72] Operation: 81-9=72
Moving to Node #0,3
Current State: 58:[61, 47, 72], Operations: ['81-9=72']
Exploring Operation: 72-61=11, Resulting Numbers: [47, 11]
Generated Node #0,3,1: 58:[47, 11] Operation: 72-61=11
Moving to Node #0,3,1
Current State: 58:[47, 11], Operations: ['81-9=72', '72-61=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.938368 | hs_5 | sum_heuristic |
[
7,
68,
29,
22
] | 57 | [
"7*22=154",
"68+29=97",
"154-97=57"
] | Current State: 57:[7, 68, 29, 22], Operations: []
Exploring Operation: 7*22=154, Resulting Numbers: [68, 29, 154]
Generated Node #2: [68, 29, 154] from Operation: 7*22=154
Current State: 57:[68, 29, 154], Operations: ['7*22=154']
Exploring Operation: 68+29=97, Resulting Numbers: [154, 97]
Generated Node #3: [154, 97] from Operation: 68+29=97
Current State: 57:[154, 97], Operations: ['7*22=154', '68+29=97']
Exploring Operation: 154-97=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[7, 68, 29, 22], Operations: []
Exploring Operation: 68-7=61, Resulting Numbers: [29, 22, 61]
Generated Node #0,0: 57:[29, 22, 61] Operation: 68-7=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[29, 22, 61], Operations: ['68-7=61']
Exploring Operation: 29-22=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 57:[61, 7] Operation: 29-22=7
Moving to Node #0,0,0
Current State: 57:[61, 7], Operations: ['68-7=61', '29-22=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,57 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 |
[
69,
12,
6,
78
] | 69 | [
"78/6=13",
"13-12=1",
"69*1=69"
] | Current State: 69:[69, 12, 6, 78], Operations: []
Exploring Operation: 78/6=13, Resulting Numbers: [69, 12, 13]
Generated Node #2: [69, 12, 13] from Operation: 78/6=13
Current State: 69:[69, 12, 13], Operations: ['78/6=13']
Exploring Operation: 13-12=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 13-12=1
Current State: 69:[69, 1], Operations: ['78/6=13', '13-12=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[69, 12, 6, 78], Operations: []
Exploring Operation: 78-12=66, Resulting Numbers: [69, 6, 66]
Generated Node #0,0: 69:[69, 6, 66] Operation: 78-12=66
Moving to Node #0,0
Current State: 69:[69, 6, 66], Operations: ['78-12=66']
Exploring Operation: 69-66=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 69:[6, 3] Operation: 69-66=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[6, 3], Operations: ['78-12=66', '69-66=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
21,
36,
33
] | 43 | [
"91+21=112",
"36+33=69",
"112-69=43"
] | Current State: 43:[91, 21, 36, 33], Operations: []
Exploring Operation: 91+21=112, Resulting Numbers: [36, 33, 112]
Generated Node #2: [36, 33, 112] from Operation: 91+21=112
Current State: 43:[36, 33, 112], Operations: ['91+21=112']
Exploring Operation: 36+33=69, Resulting Numbers: [112, 69]
Generated Node #3: [112, 69] from Operation: 36+33=69
Current State: 43:[112, 69], Operations: ['91+21=112', '36+33=69']
Exploring Operation: 112-69=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[91, 21, 36, 33], Operations: []
Exploring Operation: 91-21=70, Resulting Numbers: [36, 33, 70]
Generated Node #0,0: 43:[36, 33, 70] Operation: 91-21=70
Exploring Operation: 91-36=55, Resulting Numbers: [21, 33, 55]
Generated Node #0,1: 43:[21, 33, 55] Operation: 91-36=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[36, 33, 70], Operations: ['91-21=70']
Exploring Operation: 70-33=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 43:[36, 37] Operation: 70-33=37
Exploring Operation: 70-36=34, Resulting Numbers: [33, 34]
Generated Node #0,0,1: 43:[33, 34] Operation: 70-36=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[36, 37], Operations: ['91-21=70', '70-33=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,43 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: 43:[33, 34], Operations: ['91-21=70', '70-36=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,43 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: 43:[21, 33, 55], Operations: ['91-36=55']
Exploring Operation: 21+33=54, Resulting Numbers: [55, 54]
Generated Node #0,1,0: 43:[55, 54] Operation: 21+33=54
Exploring Operation: 55-21=34, Resulting Numbers: [33, 34]
Generated Node #0,1,1: 43:[33, 34] Operation: 55-21=34
Moving to Node #0,1,1
Current State: 43:[33, 34], Operations: ['91-36=55', '55-21=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[55, 54], Operations: ['91-36=55', '21+33=54']
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,43 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,43 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 |
[
70,
26,
56,
5
] | 30 | [
"70/5=14",
"56/14=4",
"26+4=30"
] | Current State: 30:[70, 26, 56, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [26, 56, 14]
Generated Node #2: [26, 56, 14] from Operation: 70/5=14
Current State: 30:[26, 56, 14], Operations: ['70/5=14']
Exploring Operation: 56/14=4, Resulting Numbers: [26, 4]
Generated Node #3: [26, 4] from Operation: 56/14=4
Current State: 30:[26, 4], Operations: ['70/5=14', '56/14=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 26, 56, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [26, 56, 14]
Generated Node #0,0: 30:[26, 56, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [26, 56, 65]
Generated Node #0,1: 30:[26, 56, 65] Operation: 70-5=65
Exploring Operation: 70-26=44, Resulting Numbers: [56, 5, 44]
Generated Node #0,2: 30:[56, 5, 44] Operation: 70-26=44
Exploring Operation: 70-56=14, Resulting Numbers: [26, 5, 14]
Generated Node #0,3: 30:[26, 5, 14] Operation: 70-56=14
Exploring Operation: 56-26=30, Resulting Numbers: [70, 5, 30]
Generated Node #0,4: 30:[70, 5, 30] Operation: 56-26=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[26, 5, 14], Operations: ['70-56=14']
Exploring Operation: 14-5=9, Resulting Numbers: [26, 9]
Generated Node #0,3,0: 30:[26, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [26, 19]
Generated Node #0,3,1: 30:[26, 19] Operation: 5+14=19
Exploring Operation: 26-5=21, Resulting Numbers: [14, 21]
Generated Node #0,3,2: 30:[14, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [14, 31]
Generated Node #0,3,3: 30:[14, 31] Operation: 26+5=31
Exploring Operation: 26-14=12, Resulting Numbers: [5, 12]
Generated Node #0,3,4: 30:[5, 12] Operation: 26-14=12
Moving to Node #0,3,3
Current State: 30:[14, 31], Operations: ['70-56=14', '26+5=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,30 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[5, 12], Operations: ['70-56=14', '26-14=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[26, 9], Operations: ['70-56=14', '14-5=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[14, 21], Operations: ['70-56=14', '26-5=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[26, 19], Operations: ['70-56=14', '5+14=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,30 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,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,0
Current State: 30:[26, 56, 14], Operations: ['70/5=14']
Exploring Operation: 56-14=42, Resulting Numbers: [26, 42]
Generated Node #0,0,0: 30:[26, 42] Operation: 56-14=42
Exploring Operation: 56-26=30, Resulting Numbers: [14, 30]
Generated Node #0,0,1: 30:[14, 30] Operation: 56-26=30
Exploring Operation: 26-14=12, Resulting Numbers: [56, 12]
Generated Node #0,0,2: 30:[56, 12] Operation: 26-14=12
Exploring Operation: 26+14=40, Resulting Numbers: [56, 40]
Generated Node #0,0,3: 30:[56, 40] Operation: 26+14=40
Exploring Operation: 56/14=4, Resulting Numbers: [26, 4]
Generated Node #0,0,4: 30:[26, 4] Operation: 56/14=4
Moving to Node #0,0,1
Current State: 30:[14, 30], Operations: ['70/5=14', '56-26=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[26, 4], Operations: ['70/5=14', '56/14=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,30 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[70, 26, 56, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [26, 56, 14]
Generated Node #0,0: 30:[26, 56, 14] Operation: 70/5=14
Moving to Node #0,0
Current State: 30:[26, 56, 14], Operations: ['70/5=14']
Exploring Operation: 56/14=4, Resulting Numbers: [26, 4]
Generated Node #0,0,4: 30:[26, 4] Operation: 56/14=4
Moving to Node #0,0,4
Current State: 30:[26, 4], Operations: ['70/5=14', '56/14=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
57,
4,
16,
13
] | 24 | [
"57-4=53",
"16+13=29",
"53-29=24"
] | Current State: 24:[57, 4, 16, 13], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [16, 13, 53]
Generated Node #2: [16, 13, 53] from Operation: 57-4=53
Current State: 24:[16, 13, 53], Operations: ['57-4=53']
Exploring Operation: 16+13=29, Resulting Numbers: [53, 29]
Generated Node #3: [53, 29] from Operation: 16+13=29
Current State: 24:[53, 29], Operations: ['57-4=53', '16+13=29']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[57, 4, 16, 13], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [4, 16, 44]
Generated Node #0,0: 24:[4, 16, 44] Operation: 57-13=44
Exploring Operation: 57-16=41, Resulting Numbers: [4, 13, 41]
Generated Node #0,1: 24:[4, 13, 41] Operation: 57-16=41
Exploring Operation: 16-13=3, Resulting Numbers: [57, 4, 3]
Generated Node #0,2: 24:[57, 4, 3] Operation: 16-13=3
Moving to Node #0,1
Current State: 24:[4, 13, 41], Operations: ['57-16=41']
Exploring Operation: 41-4=37, Resulting Numbers: [13, 37]
Generated Node #0,1,0: 24:[13, 37] Operation: 41-4=37
Exploring Operation: 41-13=28, Resulting Numbers: [4, 28]
Generated Node #0,1,1: 24:[4, 28] Operation: 41-13=28
Exploring Operation: 13-4=9, Resulting Numbers: [41, 9]
Generated Node #0,1,2: 24:[41, 9] Operation: 13-4=9
Moving to Node #0,0
Current State: 24:[4, 16, 44], Operations: ['57-13=44']
Exploring Operation: 16-4=12, Resulting Numbers: [44, 12]
Generated Node #0,0,0: 24:[44, 12] Operation: 16-4=12
Exploring Operation: 44/4=11, Resulting Numbers: [16, 11]
Generated Node #0,0,1: 24:[16, 11] Operation: 44/4=11
Exploring Operation: 44-16=28, Resulting Numbers: [4, 28]
Generated Node #0,0,2: 24:[4, 28] Operation: 44-16=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[4, 28], Operations: ['57-13=44', '44-16=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[57, 4, 16, 13], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [4, 16, 44]
Generated Node #0,0: 24:[4, 16, 44] Operation: 57-13=44
Moving to Node #0,0
Current State: 24:[4, 16, 44], Operations: ['57-13=44']
Exploring Operation: 44-16=28, Resulting Numbers: [4, 28]
Generated Node #0,0,2: 24:[4, 28] Operation: 44-16=28
Moving to Node #0,0,2
Current State: 24:[4, 28], Operations: ['57-13=44', '44-16=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
5,
45,
32,
6
] | 73 | [
"45-32=13",
"6*13=78",
"78-5=73"
] | Current State: 73:[5, 45, 32, 6], Operations: []
Exploring Operation: 45-32=13, Resulting Numbers: [5, 6, 13]
Generated Node #2: [5, 6, 13] from Operation: 45-32=13
Current State: 73:[5, 6, 13], Operations: ['45-32=13']
Exploring Operation: 6*13=78, Resulting Numbers: [5, 78]
Generated Node #3: [5, 78] from Operation: 6*13=78
Current State: 73:[5, 78], Operations: ['45-32=13', '6*13=78']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 45, 32, 6], Operations: []
Exploring Operation: 5+45=50, Resulting Numbers: [32, 6, 50]
Generated Node #0,0: 73:[32, 6, 50] Operation: 5+45=50
Exploring Operation: 5*6=30, Resulting Numbers: [45, 32, 30]
Generated Node #0,1: 73:[45, 32, 30] Operation: 5*6=30
Moving to Node #0,1
Current State: 73:[45, 32, 30], Operations: ['5*6=30']
Exploring Operation: 32+30=62, Resulting Numbers: [45, 62]
Generated Node #0,1,0: 73:[45, 62] Operation: 32+30=62
Exploring Operation: 45+30=75, Resulting Numbers: [32, 75]
Generated Node #0,1,1: 73:[32, 75] Operation: 45+30=75
Moving to Node #0,0
Current State: 73:[32, 6, 50], Operations: ['5+45=50']
Exploring Operation: 32+6=38, Resulting Numbers: [50, 38]
Generated Node #0,0,0: 73:[50, 38] Operation: 32+6=38
Exploring Operation: 6+50=56, Resulting Numbers: [32, 56]
Generated Node #0,0,1: 73:[32, 56] Operation: 6+50=56
Moving to Node #0,1,0
Current State: 73:[45, 62], Operations: ['5*6=30', '32+30=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[32, 75], Operations: ['5*6=30', '45+30=75']
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[32, 56], Operations: ['5+45=50', '6+50=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[50, 38], Operations: ['5+45=50', '32+6=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
8,
6,
26
] | 79 | [
"69+8=77",
"6*26=156",
"156-77=79"
] | Current State: 79:[69, 8, 6, 26], Operations: []
Exploring Operation: 69+8=77, Resulting Numbers: [6, 26, 77]
Generated Node #2: [6, 26, 77] from Operation: 69+8=77
Current State: 79:[6, 26, 77], Operations: ['69+8=77']
Exploring Operation: 6*26=156, Resulting Numbers: [77, 156]
Generated Node #3: [77, 156] from Operation: 6*26=156
Current State: 79:[77, 156], Operations: ['69+8=77', '6*26=156']
Exploring Operation: 156-77=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[69, 8, 6, 26], Operations: []
Exploring Operation: 8*6=48, Resulting Numbers: [69, 26, 48]
Generated Node #0,0: 79:[69, 26, 48] Operation: 8*6=48
Exploring Operation: 69+6=75, Resulting Numbers: [8, 26, 75]
Generated Node #0,1: 79:[8, 26, 75] Operation: 69+6=75
Exploring Operation: 69+8=77, Resulting Numbers: [6, 26, 77]
Generated Node #0,2: 79:[6, 26, 77] Operation: 69+8=77
Exploring Operation: 8+6=14, Resulting Numbers: [69, 26, 14]
Generated Node #0,3: 79:[69, 26, 14] Operation: 8+6=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[69, 26, 48], Operations: ['8*6=48']
Exploring Operation: 69+26=95, Resulting Numbers: [48, 95]
Generated Node #0,0,0: 79:[48, 95] Operation: 69+26=95
Exploring Operation: 69-26=43, Resulting Numbers: [48, 43]
Generated Node #0,0,1: 79:[48, 43] Operation: 69-26=43
Exploring Operation: 26+48=74, Resulting Numbers: [69, 74]
Generated Node #0,0,2: 79:[69, 74] Operation: 26+48=74
Exploring Operation: 48-26=22, Resulting Numbers: [69, 22]
Generated Node #0,0,3: 79:[69, 22] Operation: 48-26=22
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[69, 74], Operations: ['8*6=48', '26+48=74']
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,79 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[48, 95], Operations: ['8*6=48', '69+26=95']
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[48, 43], Operations: ['8*6=48', '69-26=43']
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,79 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[69, 22], Operations: ['8*6=48', '48-26=22']
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,79 unequal: No Solution
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[8, 26, 75], Operations: ['69+6=75']
Exploring Operation: 8+26=34, Resulting Numbers: [75, 34]
Generated Node #0,1,0: 79:[75, 34] Operation: 8+26=34
Exploring Operation: 26-8=18, Resulting Numbers: [75, 18]
Generated Node #0,1,1: 79:[75, 18] Operation: 26-8=18
Exploring Operation: 8+75=83, Resulting Numbers: [26, 83]
Generated Node #0,1,2: 79:[26, 83] Operation: 8+75=83
Exploring Operation: 75-8=67, Resulting Numbers: [26, 67]
Generated Node #0,1,3: 79:[26, 67] Operation: 75-8=67
Moving to Node #0,1,0
Current State: 79:[75, 34], Operations: ['69+6=75', '8+26=34']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,79 unequal: No Solution
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[26, 83], Operations: ['69+6=75', '8+75=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,79 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[26, 67], Operations: ['69+6=75', '75-8=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,79 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[75, 18], Operations: ['69+6=75', '26-8=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,79 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,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,2
Current State: 79:[6, 26, 77], Operations: ['69+8=77']
Exploring Operation: 77-6=71, Resulting Numbers: [26, 71]
Generated Node #0,2,0: 79:[26, 71] Operation: 77-6=71
Exploring Operation: 26-6=20, Resulting Numbers: [77, 20]
Generated Node #0,2,1: 79:[77, 20] Operation: 26-6=20
Exploring Operation: 6+77=83, Resulting Numbers: [26, 83]
Generated Node #0,2,2: 79:[26, 83] Operation: 6+77=83
Exploring Operation: 6+26=32, Resulting Numbers: [77, 32]
Generated Node #0,2,3: 79:[77, 32] Operation: 6+26=32
Moving to Node #0,2,3
Current State: 79:[77, 32], Operations: ['69+8=77', '6+26=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[26, 83], Operations: ['69+8=77', '6+77=83']
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,79 unequal: No Solution
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[77, 20], Operations: ['69+8=77', '26-6=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,79 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[26, 71], Operations: ['69+8=77', '77-6=71']
Exploring Operation: 26*71=1846, Resulting Numbers: [1846]
1846,79 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 26+71=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,3
Current State: 79:[69, 26, 14], Operations: ['8+6=14']
Exploring Operation: 69+14=83, Resulting Numbers: [26, 83]
Generated Node #0,3,0: 79:[26, 83] Operation: 69+14=83
Exploring Operation: 26+14=40, Resulting Numbers: [69, 40]
Generated Node #0,3,1: 79:[69, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [69, 12]
Generated Node #0,3,2: 79:[69, 12] Operation: 26-14=12
Exploring Operation: 69-14=55, Resulting Numbers: [26, 55]
Generated Node #0,3,3: 79:[26, 55] Operation: 69-14=55
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[69, 40], Operations: ['8+6=14', '26+14=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,79 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[26, 83], Operations: ['8+6=14', '69+14=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[69, 12], Operations: ['8+6=14', '26-14=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[26, 55], Operations: ['8+6=14', '69-14=55']
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
15,
24,
78,
5
] | 82 | [
"24-15=9",
"78-5=73",
"9+73=82"
] | Current State: 82:[15, 24, 78, 5], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [78, 5, 9]
Generated Node #2: [78, 5, 9] from Operation: 24-15=9
Current State: 82:[78, 5, 9], Operations: ['24-15=9']
Exploring Operation: 78-5=73, Resulting Numbers: [9, 73]
Generated Node #3: [9, 73] from Operation: 78-5=73
Current State: 82:[9, 73], Operations: ['24-15=9', '78-5=73']
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[15, 24, 78, 5], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [78, 5, 9]
Generated Node #0,0: 82:[78, 5, 9] Operation: 24-15=9
Exploring Operation: 15/5=3, Resulting Numbers: [24, 78, 3]
Generated Node #0,1: 82:[24, 78, 3] Operation: 15/5=3
Exploring Operation: 15*5=75, Resulting Numbers: [24, 78, 75]
Generated Node #0,2: 82:[24, 78, 75] Operation: 15*5=75
Exploring Operation: 15+24=39, Resulting Numbers: [78, 5, 39]
Generated Node #0,3: 82:[78, 5, 39] Operation: 15+24=39
Exploring Operation: 15-5=10, Resulting Numbers: [24, 78, 10]
Generated Node #0,4: 82:[24, 78, 10] Operation: 15-5=10
Moving to Node #0,3
Current State: 82:[78, 5, 39], Operations: ['15+24=39']
Exploring Operation: 78-5=73, Resulting Numbers: [39, 73]
Generated Node #0,3,0: 82:[39, 73] Operation: 78-5=73
Exploring Operation: 78/39=2, Resulting Numbers: [5, 2]
Generated Node #0,3,1: 82:[5, 2] Operation: 78/39=2
Exploring Operation: 5+39=44, Resulting Numbers: [78, 44]
Generated Node #0,3,2: 82:[78, 44] Operation: 5+39=44
Exploring Operation: 78-39=39, Resulting Numbers: [5, 39]
Generated Node #0,3,3: 82:[5, 39] Operation: 78-39=39
Exploring Operation: 78+5=83, Resulting Numbers: [39, 83]
Generated Node #0,3,4: 82:[39, 83] Operation: 78+5=83
Moving to Node #0,0
Current State: 82:[78, 5, 9], Operations: ['24-15=9']
Exploring Operation: 78-5=73, Resulting Numbers: [9, 73]
Generated Node #0,0,0: 82:[9, 73] Operation: 78-5=73
Exploring Operation: 5*9=45, Resulting Numbers: [78, 45]
Generated Node #0,0,1: 82:[78, 45] Operation: 5*9=45
Exploring Operation: 78+5=83, Resulting Numbers: [9, 83]
Generated Node #0,0,2: 82:[9, 83] Operation: 78+5=83
Exploring Operation: 78+9=87, Resulting Numbers: [5, 87]
Generated Node #0,0,3: 82:[5, 87] Operation: 78+9=87
Exploring Operation: 9-5=4, Resulting Numbers: [78, 4]
Generated Node #0,0,4: 82:[78, 4] Operation: 9-5=4
Moving to Node #0,1
Current State: 82:[24, 78, 3], Operations: ['15/5=3']
Exploring Operation: 24+3=27, Resulting Numbers: [78, 27]
Generated Node #0,1,0: 82:[78, 27] Operation: 24+3=27
Exploring Operation: 78-24=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 82:[3, 54] Operation: 78-24=54
Exploring Operation: 24/3=8, Resulting Numbers: [78, 8]
Generated Node #0,1,2: 82:[78, 8] Operation: 24/3=8
Exploring Operation: 24*3=72, Resulting Numbers: [78, 72]
Generated Node #0,1,3: 82:[78, 72] Operation: 24*3=72
Exploring Operation: 78+3=81, Resulting Numbers: [24, 81]
Generated Node #0,1,4: 82:[24, 81] Operation: 78+3=81
Moving to Node #0,2
Current State: 82:[24, 78, 75], Operations: ['15*5=75']
Exploring Operation: 78-24=54, Resulting Numbers: [75, 54]
Generated Node #0,2,0: 82:[75, 54] Operation: 78-24=54
Exploring Operation: 78-75=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 82:[24, 3] Operation: 78-75=3
Exploring Operation: 75-24=51, Resulting Numbers: [78, 51]
Generated Node #0,2,2: 82:[78, 51] Operation: 75-24=51
Exploring Operation: 24+78=102, Resulting Numbers: [75, 102]
Generated Node #0,2,3: 82:[75, 102] Operation: 24+78=102
Exploring Operation: 24+75=99, Resulting Numbers: [78, 99]
Generated Node #0,2,4: 82:[78, 99] Operation: 24+75=99
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[78, 51], Operations: ['15*5=75', '75-24=51']
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,82 unequal: No Solution
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,82 unequal: No Solution
No 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: 82:[24, 3], Operations: ['15*5=75', '78-75=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,82 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No 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: 82:[75, 54], Operations: ['15*5=75', '78-24=54']
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,82 unequal: No Solution
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,82 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No 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: 82:[78, 99], Operations: ['15*5=75', '24+75=99']
Exploring Operation: 78+99=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 78*99=7722, Resulting Numbers: [7722]
7722,82 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No 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: 82:[75, 102], Operations: ['15*5=75', '24+78=102']
Exploring Operation: 75+102=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 75*102=7650, Resulting Numbers: [7650]
7650,82 unequal: No Solution
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,82 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: 82:[24, 78, 10], Operations: ['15-5=10']
Exploring Operation: 24+78=102, Resulting Numbers: [10, 102]
Generated Node #0,4,0: 82:[10, 102] Operation: 24+78=102
Exploring Operation: 78-24=54, Resulting Numbers: [10, 54]
Generated Node #0,4,1: 82:[10, 54] Operation: 78-24=54
Exploring Operation: 78+10=88, Resulting Numbers: [24, 88]
Generated Node #0,4,2: 82:[24, 88] Operation: 78+10=88
Exploring Operation: 24+10=34, Resulting Numbers: [78, 34]
Generated Node #0,4,3: 82:[78, 34] Operation: 24+10=34
Exploring Operation: 24-10=14, Resulting Numbers: [78, 14]
Generated Node #0,4,4: 82:[78, 14] Operation: 24-10=14
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 82:[78, 34], Operations: ['15-5=10', '24+10=34']
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,82 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,82 unequal: No Solution
No 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: 82:[78, 14], Operations: ['15-5=10', '24-10=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,82 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,82 unequal: No Solution
No 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: 82:[10, 54], Operations: ['15-5=10', '78-24=54']
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,82 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No 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: 82:[24, 88], Operations: ['15-5=10', '78+10=88']
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,82 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,82 unequal: No Solution
No 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: 82:[10, 102], Operations: ['15-5=10', '24+78=102']
Exploring Operation: 10*102=1020, Resulting Numbers: [1020]
1020,82 unequal: No Solution
Exploring Operation: 102-10=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 10+102=112, Resulting Numbers: [112]
112,82 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: 82:[5, 2], Operations: ['15+24=39', '78/39=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[39, 83], Operations: ['15+24=39', '78+5=83']
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,82 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 39*83=3237, Resulting Numbers: [3237]
3237,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[5, 39], Operations: ['15+24=39', '78-39=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,82 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[78, 4], Operations: ['24-15=9', '9-5=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[15, 24, 78, 5], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [78, 5, 9]
Generated Node #0,0: 82:[78, 5, 9] Operation: 24-15=9
Moving to Node #0,0
Current State: 82:[78, 5, 9], Operations: ['24-15=9']
Exploring Operation: 9-5=4, Resulting Numbers: [78, 4]
Generated Node #0,0,4: 82:[78, 4] Operation: 9-5=4
Moving to Node #0,0,4
Current State: 82:[78, 4], Operations: ['24-15=9', '9-5=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.934896 | hs_5 | sum_heuristic |
[
35,
33,
71,
62
] | 59 | [
"35+33=68",
"71-62=9",
"68-9=59"
] | Current State: 59:[35, 33, 71, 62], Operations: []
Exploring Operation: 35+33=68, Resulting Numbers: [71, 62, 68]
Generated Node #2: [71, 62, 68] from Operation: 35+33=68
Current State: 59:[71, 62, 68], Operations: ['35+33=68']
Exploring Operation: 71-62=9, Resulting Numbers: [68, 9]
Generated Node #3: [68, 9] from Operation: 71-62=9
Current State: 59:[68, 9], Operations: ['35+33=68', '71-62=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[35, 33, 71, 62], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [33, 62, 36]
Generated Node #0,0: 59:[33, 62, 36] Operation: 71-35=36
Exploring Operation: 62-33=29, Resulting Numbers: [35, 71, 29]
Generated Node #0,1: 59:[35, 71, 29] Operation: 62-33=29
Exploring Operation: 71-33=38, Resulting Numbers: [35, 62, 38]
Generated Node #0,2: 59:[35, 62, 38] Operation: 71-33=38
Exploring Operation: 35+33=68, Resulting Numbers: [71, 62, 68]
Generated Node #0,3: 59:[71, 62, 68] Operation: 35+33=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[71, 62, 68], Operations: ['35+33=68']
Exploring Operation: 71-68=3, Resulting Numbers: [62, 3]
Generated Node #0,3,0: 59:[62, 3] Operation: 71-68=3
Exploring Operation: 71-62=9, Resulting Numbers: [68, 9]
Generated Node #0,3,1: 59:[68, 9] Operation: 71-62=9
Exploring Operation: 68-62=6, Resulting Numbers: [71, 6]
Generated Node #0,3,2: 59:[71, 6] Operation: 68-62=6
Exploring Operation: 71+62=133, Resulting Numbers: [68, 133]
Generated Node #0,3,3: 59:[68, 133] Operation: 71+62=133
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[62, 3], Operations: ['35+33=68', '71-68=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[35, 33, 71, 62], Operations: []
Exploring Operation: 35+33=68, Resulting Numbers: [71, 62, 68]
Generated Node #0,3: 59:[71, 62, 68] Operation: 35+33=68
Moving to Node #0,3
Current State: 59:[71, 62, 68], Operations: ['35+33=68']
Exploring Operation: 71-68=3, Resulting Numbers: [62, 3]
Generated Node #0,3,0: 59:[62, 3] Operation: 71-68=3
Moving to Node #0,3,0
Current State: 59:[62, 3], Operations: ['35+33=68', '71-68=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
44,
95,
86,
29
] | 82 | [
"44+95=139",
"86-29=57",
"139-57=82"
] | Current State: 82:[44, 95, 86, 29], Operations: []
Exploring Operation: 44+95=139, Resulting Numbers: [86, 29, 139]
Generated Node #2: [86, 29, 139] from Operation: 44+95=139
Current State: 82:[86, 29, 139], Operations: ['44+95=139']
Exploring Operation: 86-29=57, Resulting Numbers: [139, 57]
Generated Node #3: [139, 57] from Operation: 86-29=57
Current State: 82:[139, 57], Operations: ['44+95=139', '86-29=57']
Exploring Operation: 139-57=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[44, 95, 86, 29], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [44, 86, 66]
Generated Node #0,0: 82:[44, 86, 66] Operation: 95-29=66
Exploring Operation: 95-86=9, Resulting Numbers: [44, 29, 9]
Generated Node #0,1: 82:[44, 29, 9] Operation: 95-86=9
Exploring Operation: 95-44=51, Resulting Numbers: [86, 29, 51]
Generated Node #0,2: 82:[86, 29, 51] Operation: 95-44=51
Moving to Node #0,1
Current State: 82:[44, 29, 9], Operations: ['95-86=9']
Exploring Operation: 44+29=73, Resulting Numbers: [9, 73]
Generated Node #0,1,0: 82:[9, 73] Operation: 44+29=73
Exploring Operation: 44-9=35, Resulting Numbers: [29, 35]
Generated Node #0,1,1: 82:[29, 35] Operation: 44-9=35
Exploring Operation: 29+9=38, Resulting Numbers: [44, 38]
Generated Node #0,1,2: 82:[44, 38] Operation: 29+9=38
Moving to Node #0,0
Current State: 82:[44, 86, 66], Operations: ['95-29=66']
Exploring Operation: 86-44=42, Resulting Numbers: [66, 42]
Generated Node #0,0,0: 82:[66, 42] Operation: 86-44=42
Exploring Operation: 66-44=22, Resulting Numbers: [86, 22]
Generated Node #0,0,1: 82:[86, 22] Operation: 66-44=22
Exploring Operation: 86-66=20, Resulting Numbers: [44, 20]
Generated Node #0,0,2: 82:[44, 20] Operation: 86-66=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[66, 42], Operations: ['95-29=66', '86-44=42']
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,82 unequal: No Solution
No 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: 82:[44, 20], Operations: ['95-29=66', '86-66=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,82 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,82 unequal: No Solution
No 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: 82:[86, 22], Operations: ['95-29=66', '66-44=22']
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 86*22=1892, Resulting Numbers: [1892]
1892,82 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,82 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: 82:[86, 29, 51], Operations: ['95-44=51']
Exploring Operation: 29+51=80, Resulting Numbers: [86, 80]
Generated Node #0,2,0: 82:[86, 80] Operation: 29+51=80
Exploring Operation: 51-29=22, Resulting Numbers: [86, 22]
Generated Node #0,2,1: 82:[86, 22] Operation: 51-29=22
Exploring Operation: 86-51=35, Resulting Numbers: [29, 35]
Generated Node #0,2,2: 82:[29, 35] Operation: 86-51=35
Moving to Node #0,1,2
Current State: 82:[44, 38], Operations: ['95-86=9', '29+9=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[44, 95, 86, 29], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [44, 29, 9]
Generated Node #0,1: 82:[44, 29, 9] Operation: 95-86=9
Moving to Node #0,1
Current State: 82:[44, 29, 9], Operations: ['95-86=9']
Exploring Operation: 29+9=38, Resulting Numbers: [44, 38]
Generated Node #0,1,2: 82:[44, 38] Operation: 29+9=38
Moving to Node #0,1,2
Current State: 82:[44, 38], Operations: ['95-86=9', '29+9=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
52,
77,
35,
51
] | 37 | [
"77-51=26",
"52/26=2",
"35+2=37"
] | Current State: 37:[52, 77, 35, 51], Operations: []
Exploring Operation: 77-51=26, Resulting Numbers: [52, 35, 26]
Generated Node #2: [52, 35, 26] from Operation: 77-51=26
Current State: 37:[52, 35, 26], Operations: ['77-51=26']
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 52/26=2
Current State: 37:[35, 2], Operations: ['77-51=26', '52/26=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[52, 77, 35, 51], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [35, 51, 25]
Generated Node #0,0: 37:[35, 51, 25] Operation: 77-52=25
Exploring Operation: 77-51=26, Resulting Numbers: [52, 35, 26]
Generated Node #0,1: 37:[52, 35, 26] Operation: 77-51=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[35, 51, 25], Operations: ['77-52=25']
Exploring Operation: 51-25=26, Resulting Numbers: [35, 26]
Generated Node #0,0,0: 37:[35, 26] Operation: 51-25=26
Exploring Operation: 51-35=16, Resulting Numbers: [25, 16]
Generated Node #0,0,1: 37:[25, 16] Operation: 51-35=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[35, 26], Operations: ['77-52=25', '51-25=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[25, 16], Operations: ['77-52=25', '51-35=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[52, 35, 26], Operations: ['77-51=26']
Exploring Operation: 52-35=17, Resulting Numbers: [26, 17]
Generated Node #0,1,0: 37:[26, 17] Operation: 52-35=17
Exploring Operation: 52-26=26, Resulting Numbers: [35, 26]
Generated Node #0,1,1: 37:[35, 26] Operation: 52-26=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[35, 26], Operations: ['77-51=26', '52-26=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[26, 17], Operations: ['77-51=26', '52-35=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
40,
17,
6
] | 40 | [
"23+40=63",
"17+6=23",
"63-23=40"
] | Current State: 40:[23, 40, 17, 6], Operations: []
Exploring Operation: 23+40=63, Resulting Numbers: [17, 6, 63]
Generated Node #2: [17, 6, 63] from Operation: 23+40=63
Current State: 40:[17, 6, 63], Operations: ['23+40=63']
Exploring Operation: 17+6=23, Resulting Numbers: [63, 23]
Generated Node #3: [63, 23] from Operation: 17+6=23
Current State: 40:[63, 23], Operations: ['23+40=63', '17+6=23']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[23, 40, 17, 6], Operations: []
Exploring Operation: 23+17=40, Resulting Numbers: [40, 6, 40]
Generated Node #0,0: 40:[40, 6, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [40, 6, 6]
Generated Node #0,1: 40:[40, 6, 6] Operation: 23-17=6
Exploring Operation: 23-6=17, Resulting Numbers: [40, 17, 17]
Generated Node #0,2: 40:[40, 17, 17] Operation: 23-6=17
Exploring Operation: 17-6=11, Resulting Numbers: [23, 40, 11]
Generated Node #0,3: 40:[23, 40, 11] Operation: 17-6=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[40, 6, 40], Operations: ['23+17=40']
Exploring Operation: 40-40=0, Resulting Numbers: [6, 0]
Generated Node #0,0,0: 40:[6, 0] Operation: 40-40=0
Exploring Operation: 40-6=34, Resulting Numbers: [40, 34]
Generated Node #0,0,1: 40:[40, 34] Operation: 40-6=34
Exploring Operation: 40+6=46, Resulting Numbers: [40, 46]
Generated Node #0,0,2: 40:[40, 46] Operation: 40+6=46
Exploring Operation: 40/40=1, Resulting Numbers: [6, 1]
Generated Node #0,0,3: 40:[6, 1] Operation: 40/40=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[6, 1], Operations: ['23+17=40', '40/40=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,40 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: 40:[6, 0], Operations: ['23+17=40', '40-40=0']
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,40 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: 40:[40, 34], Operations: ['23+17=40', '40-6=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,40 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,40 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: 40:[40, 46], Operations: ['23+17=40', '40+6=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,40 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,40 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,40 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: 40:[40, 6, 6], Operations: ['23-17=6']
Exploring Operation: 6-6=0, Resulting Numbers: [40, 0]
Generated Node #0,1,0: 40:[40, 0] Operation: 6-6=0
Exploring Operation: 6+6=12, Resulting Numbers: [40, 12]
Generated Node #0,1,1: 40:[40, 12] Operation: 6+6=12
Exploring Operation: 6/6=1, Resulting Numbers: [40, 1]
Generated Node #0,1,2: 40:[40, 1] Operation: 6/6=1
Exploring Operation: 6*6=36, Resulting Numbers: [40, 36]
Generated Node #0,1,3: 40:[40, 36] Operation: 6*6=36
Moving to Node #0,1,2
Current State: 40:[40, 1], Operations: ['23-17=6', '6/6=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[23, 40, 17, 6], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [40, 6, 6]
Generated Node #0,1: 40:[40, 6, 6] Operation: 23-17=6
Moving to Node #0,1
Current State: 40:[40, 6, 6], Operations: ['23-17=6']
Exploring Operation: 6/6=1, Resulting Numbers: [40, 1]
Generated Node #0,1,2: 40:[40, 1] Operation: 6/6=1
Moving to Node #0,1,2
Current State: 40:[40, 1], Operations: ['23-17=6', '6/6=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
15,
9,
27,
25
] | 27 | [
"15+9=24",
"25-24=1",
"27*1=27"
] | Current State: 27:[15, 9, 27, 25], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [27, 25, 24]
Generated Node #2: [27, 25, 24] from Operation: 15+9=24
Current State: 27:[27, 25, 24], Operations: ['15+9=24']
Exploring Operation: 25-24=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 25-24=1
Current State: 27:[27, 1], Operations: ['15+9=24', '25-24=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[15, 9, 27, 25], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [27, 25, 24]
Generated Node #0,0: 27:[27, 25, 24] Operation: 15+9=24
Exploring Operation: 15-9=6, Resulting Numbers: [27, 25, 6]
Generated Node #0,1: 27:[27, 25, 6] Operation: 15-9=6
Exploring Operation: 25-15=10, Resulting Numbers: [9, 27, 10]
Generated Node #0,2: 27:[9, 27, 10] Operation: 25-15=10
Moving to Node #0,2
Current State: 27:[9, 27, 10], Operations: ['25-15=10']
Exploring Operation: 27/9=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 27:[10, 3] Operation: 27/9=3
Exploring Operation: 9+10=19, Resulting Numbers: [27, 19]
Generated Node #0,2,1: 27:[27, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 27:[27, 1] Operation: 10-9=1
Moving to Node #0,0
Current State: 27:[27, 25, 24], Operations: ['15+9=24']
Exploring Operation: 25-24=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 27:[27, 1] Operation: 25-24=1
Exploring Operation: 27-25=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 27:[24, 2] Operation: 27-25=2
Exploring Operation: 27-24=3, Resulting Numbers: [25, 3]
Generated Node #0,0,2: 27:[25, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[27, 1], Operations: ['15+9=24', '25-24=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[15, 9, 27, 25], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [27, 25, 24]
Generated Node #0,0: 27:[27, 25, 24] Operation: 15+9=24
Moving to Node #0,0
Current State: 27:[27, 25, 24], Operations: ['15+9=24']
Exploring Operation: 25-24=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 27:[27, 1] Operation: 25-24=1
Moving to Node #0,0,0
Current State: 27:[27, 1], Operations: ['15+9=24', '25-24=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
95,
5,
98,
18
] | 79 | [
"98-18=80",
"80/5=16",
"95-16=79"
] | Current State: 79:[95, 5, 98, 18], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [95, 5, 80]
Generated Node #2: [95, 5, 80] from Operation: 98-18=80
Current State: 79:[95, 5, 80], Operations: ['98-18=80']
Exploring Operation: 80/5=16, Resulting Numbers: [95, 16]
Generated Node #3: [95, 16] from Operation: 80/5=16
Current State: 79:[95, 16], Operations: ['98-18=80', '80/5=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[95, 5, 98, 18], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [98, 18, 90]
Generated Node #0,0: 79:[98, 18, 90] Operation: 95-5=90
Exploring Operation: 5*18=90, Resulting Numbers: [95, 98, 90]
Generated Node #0,1: 79:[95, 98, 90] Operation: 5*18=90
Exploring Operation: 98-5=93, Resulting Numbers: [95, 18, 93]
Generated Node #0,2: 79:[95, 18, 93] Operation: 98-5=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[95, 98, 90], Operations: ['5*18=90']
Exploring Operation: 95-90=5, Resulting Numbers: [98, 5]
Generated Node #0,1,0: 79:[98, 5] Operation: 95-90=5
Exploring Operation: 98-95=3, Resulting Numbers: [90, 3]
Generated Node #0,1,1: 79:[90, 3] Operation: 98-95=3
Exploring Operation: 98-90=8, Resulting Numbers: [95, 8]
Generated Node #0,1,2: 79:[95, 8] Operation: 98-90=8
Moving to Node #0,1,1
Current State: 79:[90, 3], Operations: ['5*18=90', '98-95=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[95, 8], Operations: ['5*18=90', '98-90=8']
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[98, 5], Operations: ['5*18=90', '95-90=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,79 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[98, 18, 90], Operations: ['95-5=90']
Exploring Operation: 98+18=116, Resulting Numbers: [90, 116]
Generated Node #0,0,0: 79:[90, 116] Operation: 98+18=116
Exploring Operation: 98-18=80, Resulting Numbers: [90, 80]
Generated Node #0,0,1: 79:[90, 80] Operation: 98-18=80
Exploring Operation: 90-18=72, Resulting Numbers: [98, 72]
Generated Node #0,0,2: 79:[98, 72] Operation: 90-18=72
Moving to Node #0,0,1
Current State: 79:[90, 80], Operations: ['95-5=90', '98-18=80']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[98, 72], Operations: ['95-5=90', '90-18=72']
Exploring Operation: 98*72=7056, Resulting Numbers: [7056]
7056,79 unequal: No Solution
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 98+72=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[90, 116], Operations: ['95-5=90', '98+18=116']
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 90*116=10440, Resulting Numbers: [10440]
10440,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,2
Current State: 79:[95, 18, 93], Operations: ['98-5=93']
Exploring Operation: 93-18=75, Resulting Numbers: [95, 75]
Generated Node #0,2,0: 79:[95, 75] Operation: 93-18=75
Exploring Operation: 95+18=113, Resulting Numbers: [93, 113]
Generated Node #0,2,1: 79:[93, 113] Operation: 95+18=113
Exploring Operation: 95-18=77, Resulting Numbers: [93, 77]
Generated Node #0,2,2: 79:[93, 77] Operation: 95-18=77
Moving to Node #0,2,2
Current State: 79:[93, 77], Operations: ['98-5=93', '95-18=77']
Exploring Operation: 93*77=7161, Resulting Numbers: [7161]
7161,79 unequal: No Solution
Exploring Operation: 93+77=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[95, 75], Operations: ['98-5=93', '93-18=75']
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[93, 113], Operations: ['98-5=93', '95+18=113']
Exploring Operation: 93+113=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 113-93=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 93*113=10509, Resulting Numbers: [10509]
10509,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
60,
71,
16
] | 93 | [
"60-54=6",
"71+16=87",
"6+87=93"
] | Current State: 93:[54, 60, 71, 16], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [71, 16, 6]
Generated Node #2: [71, 16, 6] from Operation: 60-54=6
Current State: 93:[71, 16, 6], Operations: ['60-54=6']
Exploring Operation: 71+16=87, Resulting Numbers: [6, 87]
Generated Node #3: [6, 87] from Operation: 71+16=87
Current State: 93:[6, 87], Operations: ['60-54=6', '71+16=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[54, 60, 71, 16], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [54, 16, 11]
Generated Node #0,0: 93:[54, 16, 11] Operation: 71-60=11
Exploring Operation: 71-54=17, Resulting Numbers: [60, 16, 17]
Generated Node #0,1: 93:[60, 16, 17] Operation: 71-54=17
Exploring Operation: 60-54=6, Resulting Numbers: [71, 16, 6]
Generated Node #0,2: 93:[71, 16, 6] Operation: 60-54=6
Exploring Operation: 54+60=114, Resulting Numbers: [71, 16, 114]
Generated Node #0,3: 93:[71, 16, 114] Operation: 54+60=114
Moving to Node #0,2
Current State: 93:[71, 16, 6], Operations: ['60-54=6']
Exploring Operation: 71+16=87, Resulting Numbers: [6, 87]
Generated Node #0,2,0: 93:[6, 87] Operation: 71+16=87
Exploring Operation: 71+6=77, Resulting Numbers: [16, 77]
Generated Node #0,2,1: 93:[16, 77] Operation: 71+6=77
Exploring Operation: 16*6=96, Resulting Numbers: [71, 96]
Generated Node #0,2,2: 93:[71, 96] Operation: 16*6=96
Exploring Operation: 71-16=55, Resulting Numbers: [6, 55]
Generated Node #0,2,3: 93:[6, 55] Operation: 71-16=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[6, 87], Operations: ['60-54=6', '71+16=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,93 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[54, 60, 71, 16], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [71, 16, 6]
Generated Node #0,2: 93:[71, 16, 6] Operation: 60-54=6
Moving to Node #0,2
Current State: 93:[71, 16, 6], Operations: ['60-54=6']
Exploring Operation: 71+16=87, Resulting Numbers: [6, 87]
Generated Node #0,2,0: 93:[6, 87] Operation: 71+16=87
Moving to Node #0,2,0
Current State: 93:[6, 87], Operations: ['60-54=6', '71+16=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
13,
52,
23,
37
] | 64 | [
"52/13=4",
"23+37=60",
"4+60=64"
] | Current State: 64:[13, 52, 23, 37], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [23, 37, 4]
Generated Node #2: [23, 37, 4] from Operation: 52/13=4
Current State: 64:[23, 37, 4], Operations: ['52/13=4']
Exploring Operation: 23+37=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 23+37=60
Current State: 64:[4, 60], Operations: ['52/13=4', '23+37=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[13, 52, 23, 37], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [23, 37, 4]
Generated Node #0,0: 64:[23, 37, 4] Operation: 52/13=4
Exploring Operation: 52-37=15, Resulting Numbers: [13, 23, 15]
Generated Node #0,1: 64:[13, 23, 15] Operation: 52-37=15
Exploring Operation: 52-23=29, Resulting Numbers: [13, 37, 29]
Generated Node #0,2: 64:[13, 37, 29] Operation: 52-23=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[13, 23, 15], Operations: ['52-37=15']
Exploring Operation: 13+23=36, Resulting Numbers: [15, 36]
Generated Node #0,1,0: 64:[15, 36] Operation: 13+23=36
Exploring Operation: 23-15=8, Resulting Numbers: [13, 8]
Generated Node #0,1,1: 64:[13, 8] Operation: 23-15=8
Exploring Operation: 23-13=10, Resulting Numbers: [15, 10]
Generated Node #0,1,2: 64:[15, 10] Operation: 23-13=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[13, 8], Operations: ['52-37=15', '23-15=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,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,2
Current State: 64:[15, 10], Operations: ['52-37=15', '23-13=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,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,0
Current State: 64:[15, 36], Operations: ['52-37=15', '13+23=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,64 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,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,2
Current State: 64:[13, 37, 29], Operations: ['52-23=29']
Exploring Operation: 37-29=8, Resulting Numbers: [13, 8]
Generated Node #0,2,0: 64:[13, 8] Operation: 37-29=8
Exploring Operation: 29-13=16, Resulting Numbers: [37, 16]
Generated Node #0,2,1: 64:[37, 16] Operation: 29-13=16
Exploring Operation: 37+29=66, Resulting Numbers: [13, 66]
Generated Node #0,2,2: 64:[13, 66] Operation: 37+29=66
Moving to Node #0,2,0
Current State: 64:[13, 8], Operations: ['52-23=29', '37-29=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[37, 16], Operations: ['52-23=29', '29-13=16']
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,64 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[13, 66], Operations: ['52-23=29', '37+29=66']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[23, 37, 4], Operations: ['52/13=4']
Exploring Operation: 23-4=19, Resulting Numbers: [37, 19]
Generated Node #0,0,0: 64:[37, 19] Operation: 23-4=19
Exploring Operation: 23+37=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 64:[4, 60] Operation: 23+37=60
Exploring Operation: 37-23=14, Resulting Numbers: [4, 14]
Generated Node #0,0,2: 64:[4, 14] Operation: 37-23=14
Moving to Node #0,0,2
Current State: 64:[4, 14], Operations: ['52/13=4', '37-23=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[4, 60], Operations: ['52/13=4', '23+37=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[13, 52, 23, 37], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [23, 37, 4]
Generated Node #0,0: 64:[23, 37, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 64:[23, 37, 4], Operations: ['52/13=4']
Exploring Operation: 23+37=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 64:[4, 60] Operation: 23+37=60
Moving to Node #0,0,1
Current State: 64:[4, 60], Operations: ['52/13=4', '23+37=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
88,
83,
4,
43
] | 52 | [
"88-83=5",
"4+43=47",
"5+47=52"
] | Current State: 52:[88, 83, 4, 43], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [4, 43, 5]
Generated Node #2: [4, 43, 5] from Operation: 88-83=5
Current State: 52:[4, 43, 5], Operations: ['88-83=5']
Exploring Operation: 4+43=47, Resulting Numbers: [5, 47]
Generated Node #3: [5, 47] from Operation: 4+43=47
Current State: 52:[5, 47], Operations: ['88-83=5', '4+43=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[88, 83, 4, 43], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [4, 43, 5]
Generated Node #0,0: 52:[4, 43, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 43, 5], Operations: ['88-83=5']
Exploring Operation: 43+5=48, Resulting Numbers: [4, 48]
Generated Node #0,0,0: 52:[4, 48] Operation: 43+5=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[4, 48], Operations: ['88-83=5', '43+5=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[88, 83, 4, 43], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [4, 43, 5]
Generated Node #0,0: 52:[4, 43, 5] Operation: 88-83=5
Moving to Node #0,0
Current State: 52:[4, 43, 5], Operations: ['88-83=5']
Exploring Operation: 43+5=48, Resulting Numbers: [4, 48]
Generated Node #0,0,0: 52:[4, 48] Operation: 43+5=48
Moving to Node #0,0,0
Current State: 52:[4, 48], Operations: ['88-83=5', '43+5=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
94,
1,
8,
84
] | 90 | [
"94-84=10",
"1+8=9",
"10*9=90"
] | Current State: 90:[94, 1, 8, 84], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [1, 8, 10]
Generated Node #2: [1, 8, 10] from Operation: 94-84=10
Current State: 90:[1, 8, 10], Operations: ['94-84=10']
Exploring Operation: 1+8=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 1+8=9
Current State: 90:[10, 9], Operations: ['94-84=10', '1+8=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[94, 1, 8, 84], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [1, 8, 10]
Generated Node #0,0: 90:[1, 8, 10] Operation: 94-84=10
Exploring Operation: 1+8=9, Resulting Numbers: [94, 84, 9]
Generated Node #0,1: 90:[94, 84, 9] Operation: 1+8=9
Exploring Operation: 8+84=92, Resulting Numbers: [94, 1, 92]
Generated Node #0,2: 90:[94, 1, 92] Operation: 8+84=92
Exploring Operation: 94-1=93, Resulting Numbers: [8, 84, 93]
Generated Node #0,3: 90:[8, 84, 93] Operation: 94-1=93
Moving to Node #0,0
Current State: 90:[1, 8, 10], Operations: ['94-84=10']
Exploring Operation: 8-1=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 90:[10, 7] Operation: 8-1=7
Exploring Operation: 1+8=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 90:[10, 9] Operation: 1+8=9
Exploring Operation: 8/1=8, Resulting Numbers: [10, 8]
Generated Node #0,0,2: 90:[10, 8] Operation: 8/1=8
Exploring Operation: 1*8=8, Resulting Numbers: [10, 8]
Generated Node #0,0,3: 90:[10, 8] Operation: 1*8=8
Moving to Node #0,2
Current State: 90:[94, 1, 92], Operations: ['8+84=92']
Exploring Operation: 92-1=91, Resulting Numbers: [94, 91]
Generated Node #0,2,0: 90:[94, 91] Operation: 92-1=91
Exploring Operation: 94-92=2, Resulting Numbers: [1, 2]
Generated Node #0,2,1: 90:[1, 2] Operation: 94-92=2
Exploring Operation: 94*1=94, Resulting Numbers: [92, 94]
Generated Node #0,2,2: 90:[92, 94] Operation: 94*1=94
Exploring Operation: 94-1=93, Resulting Numbers: [92, 93]
Generated Node #0,2,3: 90:[92, 93] Operation: 94-1=93
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[1, 2], Operations: ['8+84=92', '94-92=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No 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: 90:[94, 91], Operations: ['8+84=92', '92-1=91']
Exploring Operation: 94+91=185, Resulting Numbers: [185]
185,90 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 94*91=8554, Resulting Numbers: [8554]
8554,90 unequal: No Solution
No 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: 90:[92, 93], Operations: ['8+84=92', '94-1=93']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,90 unequal: No Solution
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,90 unequal: No Solution
No 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: 90:[92, 94], Operations: ['8+84=92', '94*1=94']
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,90 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,90 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: 90:[8, 84, 93], Operations: ['94-1=93']
Exploring Operation: 84-8=76, Resulting Numbers: [93, 76]
Generated Node #0,3,0: 90:[93, 76] Operation: 84-8=76
Exploring Operation: 93-84=9, Resulting Numbers: [8, 9]
Generated Node #0,3,1: 90:[8, 9] Operation: 93-84=9
Exploring Operation: 93-8=85, Resulting Numbers: [84, 85]
Generated Node #0,3,2: 90:[84, 85] Operation: 93-8=85
Exploring Operation: 8+84=92, Resulting Numbers: [93, 92]
Generated Node #0,3,3: 90:[93, 92] Operation: 8+84=92
Moving to Node #0,1
Current State: 90:[94, 84, 9], Operations: ['1+8=9']
Exploring Operation: 94-9=85, Resulting Numbers: [84, 85]
Generated Node #0,1,0: 90:[84, 85] Operation: 94-9=85
Exploring Operation: 94+9=103, Resulting Numbers: [84, 103]
Generated Node #0,1,1: 90:[84, 103] Operation: 94+9=103
Exploring Operation: 94-84=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 90:[9, 10] Operation: 94-84=10
Exploring Operation: 84+9=93, Resulting Numbers: [94, 93]
Generated Node #0,1,3: 90:[94, 93] Operation: 84+9=93
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[9, 10], Operations: ['1+8=9', '94-84=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[94, 1, 8, 84], Operations: []
Exploring Operation: 1+8=9, Resulting Numbers: [94, 84, 9]
Generated Node #0,1: 90:[94, 84, 9] Operation: 1+8=9
Moving to Node #0,1
Current State: 90:[94, 84, 9], Operations: ['1+8=9']
Exploring Operation: 94-84=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 90:[9, 10] Operation: 94-84=10
Moving to Node #0,1,2
Current State: 90:[9, 10], Operations: ['1+8=9', '94-84=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
75,
39,
83,
85
] | 54 | [
"75+39=114",
"83+85=168",
"168-114=54"
] | Current State: 54:[75, 39, 83, 85], Operations: []
Exploring Operation: 75+39=114, Resulting Numbers: [83, 85, 114]
Generated Node #2: [83, 85, 114] from Operation: 75+39=114
Current State: 54:[83, 85, 114], Operations: ['75+39=114']
Exploring Operation: 83+85=168, Resulting Numbers: [114, 168]
Generated Node #3: [114, 168] from Operation: 83+85=168
Current State: 54:[114, 168], Operations: ['75+39=114', '83+85=168']
Exploring Operation: 168-114=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[75, 39, 83, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [75, 39, 2]
Generated Node #0,0: 54:[75, 39, 2] Operation: 85-83=2
Exploring Operation: 85-75=10, Resulting Numbers: [39, 83, 10]
Generated Node #0,1: 54:[39, 83, 10] Operation: 85-75=10
Moving to Node #0,0
Current State: 54:[75, 39, 2], Operations: ['85-83=2']
Exploring Operation: 75-39=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 54:[2, 36] Operation: 75-39=36
Exploring Operation: 75-2=73, Resulting Numbers: [39, 73]
Generated Node #0,0,1: 54:[39, 73] Operation: 75-2=73
Moving to Node #0,1
Current State: 54:[39, 83, 10], Operations: ['85-75=10']
Exploring Operation: 39-10=29, Resulting Numbers: [83, 29]
Generated Node #0,1,0: 54:[83, 29] Operation: 39-10=29
Exploring Operation: 83-39=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 54:[10, 44] Operation: 83-39=44
Moving to Node #0,0,0
Current State: 54:[2, 36], Operations: ['85-83=2', '75-39=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[10, 44], Operations: ['85-75=10', '83-39=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[75, 39, 83, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [39, 83, 10]
Generated Node #0,1: 54:[39, 83, 10] Operation: 85-75=10
Moving to Node #0,1
Current State: 54:[39, 83, 10], Operations: ['85-75=10']
Exploring Operation: 83-39=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 54:[10, 44] Operation: 83-39=44
Moving to Node #0,1,1
Current State: 54:[10, 44], Operations: ['85-75=10', '83-39=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
6,
1,
11,
30
] | 26 | [
"6+1=7",
"30-11=19",
"7+19=26"
] | Current State: 26:[6, 1, 11, 30], Operations: []
Exploring Operation: 6+1=7, Resulting Numbers: [11, 30, 7]
Generated Node #2: [11, 30, 7] from Operation: 6+1=7
Current State: 26:[11, 30, 7], Operations: ['6+1=7']
Exploring Operation: 30-11=19, Resulting Numbers: [7, 19]
Generated Node #3: [7, 19] from Operation: 30-11=19
Current State: 26:[7, 19], Operations: ['6+1=7', '30-11=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[6, 1, 11, 30], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [1, 11, 5]
Generated Node #0,0: 26:[1, 11, 5] Operation: 30/6=5
Exploring Operation: 6-1=5, Resulting Numbers: [11, 30, 5]
Generated Node #0,1: 26:[11, 30, 5] Operation: 6-1=5
Exploring Operation: 11-6=5, Resulting Numbers: [1, 30, 5]
Generated Node #0,2: 26:[1, 30, 5] Operation: 11-6=5
Exploring Operation: 6+11=17, Resulting Numbers: [1, 30, 17]
Generated Node #0,3: 26:[1, 30, 17] Operation: 6+11=17
Exploring Operation: 30-6=24, Resulting Numbers: [1, 11, 24]
Generated Node #0,4: 26:[1, 11, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[1, 11, 24], Operations: ['30-6=24']
Exploring Operation: 1+11=12, Resulting Numbers: [24, 12]
Generated Node #0,4,0: 26:[24, 12] Operation: 1+11=12
Exploring Operation: 24-11=13, Resulting Numbers: [1, 13]
Generated Node #0,4,1: 26:[1, 13] Operation: 24-11=13
Exploring Operation: 11/1=11, Resulting Numbers: [24, 11]
Generated Node #0,4,2: 26:[24, 11] Operation: 11/1=11
Exploring Operation: 1+24=25, Resulting Numbers: [11, 25]
Generated Node #0,4,3: 26:[11, 25] Operation: 1+24=25
Exploring Operation: 1*11=11, Resulting Numbers: [24, 11]
Generated Node #0,4,4: 26:[24, 11] Operation: 1*11=11
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[1, 13], Operations: ['30-6=24', '24-11=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,26 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: 26:[24, 12], Operations: ['30-6=24', '1+11=12']
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,26 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,26 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: 26:[11, 25], Operations: ['30-6=24', '1+24=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,26 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,26 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: 26:[24, 11], Operations: ['30-6=24', '11/1=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,26 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: 26:[24, 11], Operations: ['30-6=24', '1*11=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,26 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: 26:[1, 11, 5], Operations: ['30/6=5']
Exploring Operation: 5-1=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 26:[11, 4] Operation: 5-1=4
Exploring Operation: 1*11=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 26:[5, 11] Operation: 1*11=11
Exploring Operation: 11/1=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 26:[5, 11] Operation: 11/1=11
Exploring Operation: 11+5=16, Resulting Numbers: [1, 16]
Generated Node #0,0,3: 26:[1, 16] Operation: 11+5=16
Exploring Operation: 1+11=12, Resulting Numbers: [5, 12]
Generated Node #0,0,4: 26:[5, 12] Operation: 1+11=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[11, 4], Operations: ['30/6=5', '5-1=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,26 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: 26:[1, 16], Operations: ['30/6=5', '11+5=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,26 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: 26:[5, 12], Operations: ['30/6=5', '1+11=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,26 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: 26:[5, 11], Operations: ['30/6=5', '1*11=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,26 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: 26:[5, 11], Operations: ['30/6=5', '11/1=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,26 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: 26:[1, 30, 5], Operations: ['11-6=5']
Exploring Operation: 30-1=29, Resulting Numbers: [5, 29]
Generated Node #0,2,0: 26:[5, 29] Operation: 30-1=29
Exploring Operation: 1*30=30, Resulting Numbers: [5, 30]
Generated Node #0,2,1: 26:[5, 30] Operation: 1*30=30
Exploring Operation: 30/5=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 26:[1, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [1, 25]
Generated Node #0,2,3: 26:[1, 25] Operation: 30-5=25
Exploring Operation: 5-1=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 26:[30, 4] Operation: 5-1=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[1, 25], Operations: ['11-6=5', '30-5=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[6, 1, 11, 30], Operations: []
Exploring Operation: 11-6=5, Resulting Numbers: [1, 30, 5]
Generated Node #0,2: 26:[1, 30, 5] Operation: 11-6=5
Moving to Node #0,2
Current State: 26:[1, 30, 5], Operations: ['11-6=5']
Exploring Operation: 30-5=25, Resulting Numbers: [1, 25]
Generated Node #0,2,3: 26:[1, 25] Operation: 30-5=25
Moving to Node #0,2,3
Current State: 26:[1, 25], Operations: ['11-6=5', '30-5=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
95,
58,
60,
59
] | 34 | [
"95+58=153",
"60+59=119",
"153-119=34"
] | Current State: 34:[95, 58, 60, 59], Operations: []
Exploring Operation: 95+58=153, Resulting Numbers: [60, 59, 153]
Generated Node #2: [60, 59, 153] from Operation: 95+58=153
Current State: 34:[60, 59, 153], Operations: ['95+58=153']
Exploring Operation: 60+59=119, Resulting Numbers: [153, 119]
Generated Node #3: [153, 119] from Operation: 60+59=119
Current State: 34:[153, 119], Operations: ['95+58=153', '60+59=119']
Exploring Operation: 153-119=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[95, 58, 60, 59], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [95, 58, 1]
Generated Node #0,0: 34:[95, 58, 1] Operation: 60-59=1
Exploring Operation: 60-58=2, Resulting Numbers: [95, 59, 2]
Generated Node #0,1: 34:[95, 59, 2] Operation: 60-58=2
Exploring Operation: 95-59=36, Resulting Numbers: [58, 60, 36]
Generated Node #0,2: 34:[58, 60, 36] Operation: 95-59=36
Exploring Operation: 95-60=35, Resulting Numbers: [58, 59, 35]
Generated Node #0,3: 34:[58, 59, 35] Operation: 95-60=35
Exploring Operation: 95-58=37, Resulting Numbers: [60, 59, 37]
Generated Node #0,4: 34:[60, 59, 37] Operation: 95-58=37
Moving to Node #0,3
Current State: 34:[58, 59, 35], Operations: ['95-60=35']
Exploring Operation: 58+35=93, Resulting Numbers: [59, 93]
Generated Node #0,3,0: 34:[59, 93] Operation: 58+35=93
Exploring Operation: 58-35=23, Resulting Numbers: [59, 23]
Generated Node #0,3,1: 34:[59, 23] Operation: 58-35=23
Exploring Operation: 59-35=24, Resulting Numbers: [58, 24]
Generated Node #0,3,2: 34:[58, 24] Operation: 59-35=24
Exploring Operation: 59-58=1, Resulting Numbers: [35, 1]
Generated Node #0,3,3: 34:[35, 1] Operation: 59-58=1
Exploring Operation: 58+59=117, Resulting Numbers: [35, 117]
Generated Node #0,3,4: 34:[35, 117] Operation: 58+59=117
Moving to Node #0,2
Current State: 34:[58, 60, 36], Operations: ['95-59=36']
Exploring Operation: 58+36=94, Resulting Numbers: [60, 94]
Generated Node #0,2,0: 34:[60, 94] Operation: 58+36=94
Exploring Operation: 60-36=24, Resulting Numbers: [58, 24]
Generated Node #0,2,1: 34:[58, 24] Operation: 60-36=24
Exploring Operation: 58+60=118, Resulting Numbers: [36, 118]
Generated Node #0,2,2: 34:[36, 118] Operation: 58+60=118
Exploring Operation: 58-36=22, Resulting Numbers: [60, 22]
Generated Node #0,2,3: 34:[60, 22] Operation: 58-36=22
Exploring Operation: 60-58=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 34:[36, 2] Operation: 60-58=2
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[36, 2], Operations: ['95-59=36', '60-58=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[95, 58, 60, 59], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [58, 60, 36]
Generated Node #0,2: 34:[58, 60, 36] Operation: 95-59=36
Moving to Node #0,2
Current State: 34:[58, 60, 36], Operations: ['95-59=36']
Exploring Operation: 60-58=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 34:[36, 2] Operation: 60-58=2
Moving to Node #0,2,4
Current State: 34:[36, 2], Operations: ['95-59=36', '60-58=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
61,
11,
58,
28
] | 61 | [
"61-58=3",
"11*3=33",
"28+33=61"
] | Current State: 61:[61, 11, 58, 28], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [11, 28, 3]
Generated Node #2: [11, 28, 3] from Operation: 61-58=3
Current State: 61:[11, 28, 3], Operations: ['61-58=3']
Exploring Operation: 11*3=33, Resulting Numbers: [28, 33]
Generated Node #3: [28, 33] from Operation: 11*3=33
Current State: 61:[28, 33], Operations: ['61-58=3', '11*3=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[61, 11, 58, 28], Operations: []
Exploring Operation: 11+28=39, Resulting Numbers: [61, 58, 39]
Generated Node #0,0: 61:[61, 58, 39] Operation: 11+28=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[61, 58, 39], Operations: ['11+28=39']
Exploring Operation: 58+39=97, Resulting Numbers: [61, 97]
Generated Node #0,0,0: 61:[61, 97] Operation: 58+39=97
Moving to Node #0,0,0
Current State: 61:[61, 97], Operations: ['11+28=39', '58+39=97']
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,61 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 |
[
49,
58,
8,
83
] | 32 | [
"49+58=107",
"83-8=75",
"107-75=32"
] | Current State: 32:[49, 58, 8, 83], Operations: []
Exploring Operation: 49+58=107, Resulting Numbers: [8, 83, 107]
Generated Node #2: [8, 83, 107] from Operation: 49+58=107
Current State: 32:[8, 83, 107], Operations: ['49+58=107']
Exploring Operation: 83-8=75, Resulting Numbers: [107, 75]
Generated Node #3: [107, 75] from Operation: 83-8=75
Current State: 32:[107, 75], Operations: ['49+58=107', '83-8=75']
Exploring Operation: 107-75=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[49, 58, 8, 83], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [49, 83, 50]
Generated Node #0,0: 32:[49, 83, 50] Operation: 58-8=50
Exploring Operation: 83-49=34, Resulting Numbers: [58, 8, 34]
Generated Node #0,1: 32:[58, 8, 34] Operation: 83-49=34
Exploring Operation: 58-49=9, Resulting Numbers: [8, 83, 9]
Generated Node #0,2: 32:[8, 83, 9] Operation: 58-49=9
Exploring Operation: 83-58=25, Resulting Numbers: [49, 8, 25]
Generated Node #0,3: 32:[49, 8, 25] Operation: 83-58=25
Exploring Operation: 49-8=41, Resulting Numbers: [58, 83, 41]
Generated Node #0,4: 32:[58, 83, 41] Operation: 49-8=41
Moving to Node #0,3
Current State: 32:[49, 8, 25], Operations: ['83-58=25']
Exploring Operation: 49-25=24, Resulting Numbers: [8, 24]
Generated Node #0,3,0: 32:[8, 24] Operation: 49-25=24
Exploring Operation: 8+25=33, Resulting Numbers: [49, 33]
Generated Node #0,3,1: 32:[49, 33] Operation: 8+25=33
Exploring Operation: 49+8=57, Resulting Numbers: [25, 57]
Generated Node #0,3,2: 32:[25, 57] Operation: 49+8=57
Exploring Operation: 25-8=17, Resulting Numbers: [49, 17]
Generated Node #0,3,3: 32:[49, 17] Operation: 25-8=17
Exploring Operation: 49-8=41, Resulting Numbers: [25, 41]
Generated Node #0,3,4: 32:[25, 41] Operation: 49-8=41
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[8, 24], Operations: ['83-58=25', '49-25=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[49, 58, 8, 83], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [49, 8, 25]
Generated Node #0,3: 32:[49, 8, 25] Operation: 83-58=25
Moving to Node #0,3
Current State: 32:[49, 8, 25], Operations: ['83-58=25']
Exploring Operation: 49-25=24, Resulting Numbers: [8, 24]
Generated Node #0,3,0: 32:[8, 24] Operation: 49-25=24
Moving to Node #0,3,0
Current State: 32:[8, 24], Operations: ['83-58=25', '49-25=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
88,
41,
62,
24
] | 43 | [
"88+41=129",
"62+24=86",
"129-86=43"
] | Current State: 43:[88, 41, 62, 24], Operations: []
Exploring Operation: 88+41=129, Resulting Numbers: [62, 24, 129]
Generated Node #2: [62, 24, 129] from Operation: 88+41=129
Current State: 43:[62, 24, 129], Operations: ['88+41=129']
Exploring Operation: 62+24=86, Resulting Numbers: [129, 86]
Generated Node #3: [129, 86] from Operation: 62+24=86
Current State: 43:[129, 86], Operations: ['88+41=129', '62+24=86']
Exploring Operation: 129-86=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[88, 41, 62, 24], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [41, 24, 26]
Generated Node #0,0: 43:[41, 24, 26] Operation: 88-62=26
Exploring Operation: 88-41=47, Resulting Numbers: [62, 24, 47]
Generated Node #0,1: 43:[62, 24, 47] Operation: 88-41=47
Exploring Operation: 88-24=64, Resulting Numbers: [41, 62, 64]
Generated Node #0,2: 43:[41, 62, 64] Operation: 88-24=64
Moving to Node #0,0
Current State: 43:[41, 24, 26], Operations: ['88-62=26']
Exploring Operation: 41+24=65, Resulting Numbers: [26, 65]
Generated Node #0,0,0: 43:[26, 65] Operation: 41+24=65
Exploring Operation: 24+26=50, Resulting Numbers: [41, 50]
Generated Node #0,0,1: 43:[41, 50] Operation: 24+26=50
Exploring Operation: 41-24=17, Resulting Numbers: [26, 17]
Generated Node #0,0,2: 43:[26, 17] Operation: 41-24=17
Moving to Node #0,1
Current State: 43:[62, 24, 47], Operations: ['88-41=47']
Exploring Operation: 62+24=86, Resulting Numbers: [47, 86]
Generated Node #0,1,0: 43:[47, 86] Operation: 62+24=86
Exploring Operation: 62-24=38, Resulting Numbers: [47, 38]
Generated Node #0,1,1: 43:[47, 38] Operation: 62-24=38
Exploring Operation: 47-24=23, Resulting Numbers: [62, 23]
Generated Node #0,1,2: 43:[62, 23] Operation: 47-24=23
Moving to Node #0,2
Current State: 43:[41, 62, 64], Operations: ['88-24=64']
Exploring Operation: 64-41=23, Resulting Numbers: [62, 23]
Generated Node #0,2,0: 43:[62, 23] Operation: 64-41=23
Exploring Operation: 64-62=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 43:[41, 2] Operation: 64-62=2
Exploring Operation: 62-41=21, Resulting Numbers: [64, 21]
Generated Node #0,2,2: 43:[64, 21] Operation: 62-41=21
Moving to Node #0,0,1
Current State: 43:[41, 50], Operations: ['88-62=26', '24+26=50']
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,43 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[47, 38], Operations: ['88-41=47', '62-24=38']
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,43 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[62, 23], Operations: ['88-24=64', '64-41=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[62, 23], Operations: ['88-41=47', '47-24=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,43 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[26, 65], Operations: ['88-62=26', '41+24=65']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[26, 17], Operations: ['88-62=26', '41-24=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[88, 41, 62, 24], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [41, 24, 26]
Generated Node #0,0: 43:[41, 24, 26] Operation: 88-62=26
Moving to Node #0,0
Current State: 43:[41, 24, 26], Operations: ['88-62=26']
Exploring Operation: 41-24=17, Resulting Numbers: [26, 17]
Generated Node #0,0,2: 43:[26, 17] Operation: 41-24=17
Moving to Node #0,0,2
Current State: 43:[26, 17], Operations: ['88-62=26', '41-24=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.972222 | hs_3 | mult_heuristic |
[
48,
70,
10,
94
] | 34 | [
"48+70=118",
"94-10=84",
"118-84=34"
] | Current State: 34:[48, 70, 10, 94], Operations: []
Exploring Operation: 48+70=118, Resulting Numbers: [10, 94, 118]
Generated Node #2: [10, 94, 118] from Operation: 48+70=118
Current State: 34:[10, 94, 118], Operations: ['48+70=118']
Exploring Operation: 94-10=84, Resulting Numbers: [118, 84]
Generated Node #3: [118, 84] from Operation: 94-10=84
Current State: 34:[118, 84], Operations: ['48+70=118', '94-10=84']
Exploring Operation: 118-84=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[48, 70, 10, 94], Operations: []
Exploring Operation: 94-48=46, Resulting Numbers: [70, 10, 46]
Generated Node #0,0: 34:[70, 10, 46] Operation: 94-48=46
Exploring Operation: 48-10=38, Resulting Numbers: [70, 94, 38]
Generated Node #0,1: 34:[70, 94, 38] Operation: 48-10=38
Exploring Operation: 70/10=7, Resulting Numbers: [48, 94, 7]
Generated Node #0,2: 34:[48, 94, 7] Operation: 70/10=7
Exploring Operation: 70-48=22, Resulting Numbers: [10, 94, 22]
Generated Node #0,3: 34:[10, 94, 22] Operation: 70-48=22
Exploring Operation: 94-70=24, Resulting Numbers: [48, 10, 24]
Generated Node #0,4: 34:[48, 10, 24] Operation: 94-70=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[48, 10, 24], Operations: ['94-70=24']
Exploring Operation: 24-10=14, Resulting Numbers: [48, 14]
Generated Node #0,4,0: 34:[48, 14] Operation: 24-10=14
Exploring Operation: 48/24=2, Resulting Numbers: [10, 2]
Generated Node #0,4,1: 34:[10, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [10, 24]
Generated Node #0,4,2: 34:[10, 24] Operation: 48-24=24
Exploring Operation: 48-10=38, Resulting Numbers: [24, 38]
Generated Node #0,4,3: 34:[24, 38] Operation: 48-10=38
Exploring Operation: 10+24=34, Resulting Numbers: [48, 34]
Generated Node #0,4,4: 34:[48, 34] Operation: 10+24=34
Moving to Node #0,4,1
Current State: 34:[10, 2], Operations: ['94-70=24', '48/24=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[24, 38], Operations: ['94-70=24', '48-10=38']
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,34 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[10, 24], Operations: ['94-70=24', '48-24=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[48, 70, 10, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [48, 10, 24]
Generated Node #0,4: 34:[48, 10, 24] Operation: 94-70=24
Moving to Node #0,4
Current State: 34:[48, 10, 24], Operations: ['94-70=24']
Exploring Operation: 48-24=24, Resulting Numbers: [10, 24]
Generated Node #0,4,2: 34:[10, 24] Operation: 48-24=24
Moving to Node #0,4,2
Current State: 34:[10, 24], Operations: ['94-70=24', '48-24=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
81,
23,
62,
52
] | 68 | [
"81-23=58",
"62-52=10",
"58+10=68"
] | Current State: 68:[81, 23, 62, 52], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [62, 52, 58]
Generated Node #2: [62, 52, 58] from Operation: 81-23=58
Current State: 68:[62, 52, 58], Operations: ['81-23=58']
Exploring Operation: 62-52=10, Resulting Numbers: [58, 10]
Generated Node #3: [58, 10] from Operation: 62-52=10
Current State: 68:[58, 10], Operations: ['81-23=58', '62-52=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 23, 62, 52], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [23, 62, 29]
Generated Node #0,0: 68:[23, 62, 29] Operation: 81-52=29
Moving to Node #0,0
Current State: 68:[23, 62, 29], Operations: ['81-52=29']
Exploring Operation: 62-29=33, Resulting Numbers: [23, 33]
Generated Node #0,0,0: 68:[23, 33] Operation: 62-29=33
Moving to Node #0,0,0
Current State: 68:[23, 33], Operations: ['81-52=29', '62-29=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,68 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
42,
78,
80
] | 36 | [
"80-78=2",
"42/2=21",
"57-21=36"
] | Current State: 36:[57, 42, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [57, 42, 2]
Generated Node #2: [57, 42, 2] from Operation: 80-78=2
Current State: 36:[57, 42, 2], Operations: ['80-78=2']
Exploring Operation: 42/2=21, Resulting Numbers: [57, 21]
Generated Node #3: [57, 21] from Operation: 42/2=21
Current State: 36:[57, 21], Operations: ['80-78=2', '42/2=21']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[57, 42, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [57, 42, 2]
Generated Node #0,0: 36:[57, 42, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 36:[57, 42, 2], Operations: ['80-78=2']
Exploring Operation: 57-42=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 36:[2, 15] Operation: 57-42=15
Moving to Node #0,0,0
Current State: 36:[2, 15], Operations: ['80-78=2', '57-42=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
36,
64,
2
] | 70 | [
"36/3=12",
"12/2=6",
"64+6=70"
] | Current State: 70:[3, 36, 64, 2], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [64, 2, 12]
Generated Node #2: [64, 2, 12] from Operation: 36/3=12
Current State: 70:[64, 2, 12], Operations: ['36/3=12']
Exploring Operation: 12/2=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 12/2=6
Current State: 70:[64, 6], Operations: ['36/3=12', '12/2=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[3, 36, 64, 2], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [3, 36, 32]
Generated Node #0,0: 70:[3, 36, 32] Operation: 64/2=32
Exploring Operation: 3+64=67, Resulting Numbers: [36, 2, 67]
Generated Node #0,1: 70:[36, 2, 67] Operation: 3+64=67
Moving to Node #0,1
Current State: 70:[36, 2, 67], Operations: ['3+64=67']
Exploring Operation: 2+67=69, Resulting Numbers: [36, 69]
Generated Node #0,1,0: 70:[36, 69] Operation: 2+67=69
Exploring Operation: 36-2=34, Resulting Numbers: [67, 34]
Generated Node #0,1,1: 70:[67, 34] Operation: 36-2=34
Moving to Node #0,0
Current State: 70:[3, 36, 32], Operations: ['64/2=32']
Exploring Operation: 36-32=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 70:[3, 4] Operation: 36-32=4
Exploring Operation: 3+32=35, Resulting Numbers: [36, 35]
Generated Node #0,0,1: 70:[36, 35] Operation: 3+32=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[36, 35], Operations: ['64/2=32', '3+32=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,70 unequal: No Solution
No 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: 70:[3, 4], Operations: ['64/2=32', '36-32=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,70 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: 70:[36, 69], Operations: ['3+64=67', '2+67=69']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[67, 34], Operations: ['3+64=67', '36-2=34']
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,70 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
18,
29,
10
] | 92 | [
"91-18=73",
"29-10=19",
"73+19=92"
] | Current State: 92:[91, 18, 29, 10], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [29, 10, 73]
Generated Node #2: [29, 10, 73] from Operation: 91-18=73
Current State: 92:[29, 10, 73], Operations: ['91-18=73']
Exploring Operation: 29-10=19, Resulting Numbers: [73, 19]
Generated Node #3: [73, 19] from Operation: 29-10=19
Current State: 92:[73, 19], Operations: ['91-18=73', '29-10=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[91, 18, 29, 10], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [91, 18, 19]
Generated Node #0,0: 92:[91, 18, 19] Operation: 29-10=19
Exploring Operation: 18+10=28, Resulting Numbers: [91, 29, 28]
Generated Node #0,1: 92:[91, 29, 28] Operation: 18+10=28
Exploring Operation: 18+29=47, Resulting Numbers: [91, 10, 47]
Generated Node #0,2: 92:[91, 10, 47] Operation: 18+29=47
Exploring Operation: 18-10=8, Resulting Numbers: [91, 29, 8]
Generated Node #0,3: 92:[91, 29, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[91, 10, 47], Operations: ['18+29=47']
Exploring Operation: 91+10=101, Resulting Numbers: [47, 101]
Generated Node #0,2,0: 92:[47, 101] Operation: 91+10=101
Exploring Operation: 47-10=37, Resulting Numbers: [91, 37]
Generated Node #0,2,1: 92:[91, 37] Operation: 47-10=37
Exploring Operation: 91-10=81, Resulting Numbers: [47, 81]
Generated Node #0,2,2: 92:[47, 81] Operation: 91-10=81
Exploring Operation: 91-47=44, Resulting Numbers: [10, 44]
Generated Node #0,2,3: 92:[10, 44] Operation: 91-47=44
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[10, 44], Operations: ['18+29=47', '91-47=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,92 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,92 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: 92:[47, 101], Operations: ['18+29=47', '91+10=101']
Exploring Operation: 101-47=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 47*101=4747, Resulting Numbers: [4747]
4747,92 unequal: No Solution
Exploring Operation: 47+101=148, Resulting Numbers: [148]
148,92 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: 92:[91, 37], Operations: ['18+29=47', '47-10=37']
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,92 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,92 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: 92:[47, 81], Operations: ['18+29=47', '91-10=81']
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,92 unequal: No Solution
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,92 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: 92:[91, 18, 19], Operations: ['29-10=19']
Exploring Operation: 91+18=109, Resulting Numbers: [19, 109]
Generated Node #0,0,0: 92:[19, 109] Operation: 91+18=109
Exploring Operation: 19-18=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 92:[91, 1] Operation: 19-18=1
Exploring Operation: 91-18=73, Resulting Numbers: [19, 73]
Generated Node #0,0,2: 92:[19, 73] Operation: 91-18=73
Exploring Operation: 18+19=37, Resulting Numbers: [91, 37]
Generated Node #0,0,3: 92:[91, 37] Operation: 18+19=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[91, 1], Operations: ['29-10=19', '19-18=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[91, 18, 29, 10], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [91, 18, 19]
Generated Node #0,0: 92:[91, 18, 19] Operation: 29-10=19
Moving to Node #0,0
Current State: 92:[91, 18, 19], Operations: ['29-10=19']
Exploring Operation: 19-18=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 92:[91, 1] Operation: 19-18=1
Moving to Node #0,0,1
Current State: 92:[91, 1], Operations: ['29-10=19', '19-18=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
34,
81,
26,
56
] | 85 | [
"34+81=115",
"56-26=30",
"115-30=85"
] | Current State: 85:[34, 81, 26, 56], Operations: []
Exploring Operation: 34+81=115, Resulting Numbers: [26, 56, 115]
Generated Node #2: [26, 56, 115] from Operation: 34+81=115
Current State: 85:[26, 56, 115], Operations: ['34+81=115']
Exploring Operation: 56-26=30, Resulting Numbers: [115, 30]
Generated Node #3: [115, 30] from Operation: 56-26=30
Current State: 85:[115, 30], Operations: ['34+81=115', '56-26=30']
Exploring Operation: 115-30=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[34, 81, 26, 56], Operations: []
Exploring Operation: 34+56=90, Resulting Numbers: [81, 26, 90]
Generated Node #0,0: 85:[81, 26, 90] Operation: 34+56=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[81, 26, 90], Operations: ['34+56=90']
Exploring Operation: 90-81=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 85:[26, 9] Operation: 90-81=9
Moving to Node #0,0,0
Current State: 85:[26, 9], Operations: ['34+56=90', '90-81=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
29,
78,
20
] | 20 | [
"22-20=2",
"29*2=58",
"78-58=20"
] | Current State: 20:[22, 29, 78, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [29, 78, 2]
Generated Node #2: [29, 78, 2] from Operation: 22-20=2
Current State: 20:[29, 78, 2], Operations: ['22-20=2']
Exploring Operation: 29*2=58, Resulting Numbers: [78, 58]
Generated Node #3: [78, 58] from Operation: 29*2=58
Current State: 20:[78, 58], Operations: ['22-20=2', '29*2=58']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[22, 29, 78, 20], Operations: []
Exploring Operation: 78-20=58, Resulting Numbers: [22, 29, 58]
Generated Node #0,0: 20:[22, 29, 58] Operation: 78-20=58
Exploring Operation: 78-22=56, Resulting Numbers: [29, 20, 56]
Generated Node #0,1: 20:[29, 20, 56] Operation: 78-22=56
Exploring Operation: 78-29=49, Resulting Numbers: [22, 20, 49]
Generated Node #0,2: 20:[22, 20, 49] Operation: 78-29=49
Moving to Node #0,2
Current State: 20:[22, 20, 49], Operations: ['78-29=49']
Exploring Operation: 22-20=2, Resulting Numbers: [49, 2]
Generated Node #0,2,0: 20:[49, 2] Operation: 22-20=2
Exploring Operation: 49-20=29, Resulting Numbers: [22, 29]
Generated Node #0,2,1: 20:[22, 29] Operation: 49-20=29
Exploring Operation: 49-22=27, Resulting Numbers: [20, 27]
Generated Node #0,2,2: 20:[20, 27] Operation: 49-22=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[20, 27], Operations: ['78-29=49', '49-22=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,20 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,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,2,1
Current State: 20:[22, 29], Operations: ['78-29=49', '49-20=29']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,20 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,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,2,0
Current State: 20:[49, 2], Operations: ['78-29=49', '22-20=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,20 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: 20:[29, 20, 56], Operations: ['78-22=56']
Exploring Operation: 56-20=36, Resulting Numbers: [29, 36]
Generated Node #0,1,0: 20:[29, 36] Operation: 56-20=36
Exploring Operation: 29-20=9, Resulting Numbers: [56, 9]
Generated Node #0,1,1: 20:[56, 9] Operation: 29-20=9
Exploring Operation: 56-29=27, Resulting Numbers: [20, 27]
Generated Node #0,1,2: 20:[20, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[20, 27], Operations: ['78-22=56', '56-29=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,20 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,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:[29, 36], Operations: ['78-22=56', '56-20=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,20 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,20 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,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,1
Current State: 20:[56, 9], Operations: ['78-22=56', '29-20=9']
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,20 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,20 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: 20:[22, 29, 58], Operations: ['78-20=58']
Exploring Operation: 58-22=36, Resulting Numbers: [29, 36]
Generated Node #0,0,0: 20:[29, 36] Operation: 58-22=36
Exploring Operation: 58/29=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [22, 29]
Generated Node #0,0,2: 20:[22, 29] Operation: 58-29=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['78-20=58', '58/29=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[22, 29, 78, 20], Operations: []
Exploring Operation: 78-20=58, Resulting Numbers: [22, 29, 58]
Generated Node #0,0: 20:[22, 29, 58] Operation: 78-20=58
Moving to Node #0,0
Current State: 20:[22, 29, 58], Operations: ['78-20=58']
Exploring Operation: 58/29=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 58/29=2
Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['78-20=58', '58/29=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
37,
82,
5,
69
] | 10 | [
"37+82=119",
"119-69=50",
"50/5=10"
] | Current State: 10:[37, 82, 5, 69], Operations: []
Exploring Operation: 37+82=119, Resulting Numbers: [5, 69, 119]
Generated Node #2: [5, 69, 119] from Operation: 37+82=119
Current State: 10:[5, 69, 119], Operations: ['37+82=119']
Exploring Operation: 119-69=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 119-69=50
Current State: 10:[5, 50], Operations: ['37+82=119', '119-69=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[37, 82, 5, 69], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [82, 5, 32]
Generated Node #0,0: 10:[82, 5, 32] Operation: 69-37=32
Exploring Operation: 82-69=13, Resulting Numbers: [37, 5, 13]
Generated Node #0,1: 10:[37, 5, 13] Operation: 82-69=13
Exploring Operation: 82-37=45, Resulting Numbers: [5, 69, 45]
Generated Node #0,2: 10:[5, 69, 45] Operation: 82-37=45
Moving to Node #0,1
Current State: 10:[37, 5, 13], Operations: ['82-69=13']
Exploring Operation: 37-13=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 10:[5, 24] Operation: 37-13=24
Exploring Operation: 37-5=32, Resulting Numbers: [13, 32]
Generated Node #0,1,1: 10:[13, 32] Operation: 37-5=32
Exploring Operation: 13-5=8, Resulting Numbers: [37, 8]
Generated Node #0,1,2: 10:[37, 8] Operation: 13-5=8
Moving to Node #0,0
Current State: 10:[82, 5, 32], Operations: ['69-37=32']
Exploring Operation: 82-5=77, Resulting Numbers: [32, 77]
Generated Node #0,0,0: 10:[32, 77] Operation: 82-5=77
Exploring Operation: 82-32=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 10:[5, 50] Operation: 82-32=50
Exploring Operation: 32-5=27, Resulting Numbers: [82, 27]
Generated Node #0,0,2: 10:[82, 27] Operation: 32-5=27
Moving to Node #0,2
Current State: 10:[5, 69, 45], Operations: ['82-37=45']
Exploring Operation: 45/5=9, Resulting Numbers: [69, 9]
Generated Node #0,2,0: 10:[69, 9] Operation: 45/5=9
Exploring Operation: 69-5=64, Resulting Numbers: [45, 64]
Generated Node #0,2,1: 10:[45, 64] Operation: 69-5=64
Exploring Operation: 69-45=24, Resulting Numbers: [5, 24]
Generated Node #0,2,2: 10:[5, 24] Operation: 69-45=24
Moving to Node #0,1,0
Current State: 10:[5, 24], Operations: ['82-69=13', '37-13=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[5, 24], Operations: ['82-37=45', '69-45=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[13, 32], Operations: ['82-69=13', '37-5=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[37, 8], Operations: ['82-69=13', '13-5=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,10 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[5, 50], Operations: ['69-37=32', '82-32=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[37, 82, 5, 69], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [82, 5, 32]
Generated Node #0,0: 10:[82, 5, 32] Operation: 69-37=32
Moving to Node #0,0
Current State: 10:[82, 5, 32], Operations: ['69-37=32']
Exploring Operation: 82-32=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 10:[5, 50] Operation: 82-32=50
Moving to Node #0,0,1
Current State: 10:[5, 50], Operations: ['69-37=32', '82-32=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
8,
51,
60,
12
] | 84 | [
"60-51=9",
"8*9=72",
"12+72=84"
] | Current State: 84:[8, 51, 60, 12], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [8, 12, 9]
Generated Node #2: [8, 12, 9] from Operation: 60-51=9
Current State: 84:[8, 12, 9], Operations: ['60-51=9']
Exploring Operation: 8*9=72, Resulting Numbers: [12, 72]
Generated Node #3: [12, 72] from Operation: 8*9=72
Current State: 84:[12, 72], Operations: ['60-51=9', '8*9=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[8, 51, 60, 12], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [8, 12, 9]
Generated Node #0,0: 84:[8, 12, 9] Operation: 60-51=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[8, 12, 9], Operations: ['60-51=9']
Exploring Operation: 9-8=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 84:[12, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 84:[12, 1], Operations: ['60-51=9', '9-8=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,84 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 |
[
57,
52,
61,
25
] | 73 | [
"57+52=109",
"61-25=36",
"109-36=73"
] | Current State: 73:[57, 52, 61, 25], Operations: []
Exploring Operation: 57+52=109, Resulting Numbers: [61, 25, 109]
Generated Node #2: [61, 25, 109] from Operation: 57+52=109
Current State: 73:[61, 25, 109], Operations: ['57+52=109']
Exploring Operation: 61-25=36, Resulting Numbers: [109, 36]
Generated Node #3: [109, 36] from Operation: 61-25=36
Current State: 73:[109, 36], Operations: ['57+52=109', '61-25=36']
Exploring Operation: 109-36=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[57, 52, 61, 25], Operations: []
Exploring Operation: 57+25=82, Resulting Numbers: [52, 61, 82]
Generated Node #0,0: 73:[52, 61, 82] Operation: 57+25=82
Exploring Operation: 52+25=77, Resulting Numbers: [57, 61, 77]
Generated Node #0,1: 73:[57, 61, 77] Operation: 52+25=77
Exploring Operation: 61+25=86, Resulting Numbers: [57, 52, 86]
Generated Node #0,2: 73:[57, 52, 86] Operation: 61+25=86
Exploring Operation: 57-25=32, Resulting Numbers: [52, 61, 32]
Generated Node #0,3: 73:[52, 61, 32] Operation: 57-25=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[57, 61, 77], Operations: ['52+25=77']
Exploring Operation: 77-57=20, Resulting Numbers: [61, 20]
Generated Node #0,1,0: 73:[61, 20] Operation: 77-57=20
Exploring Operation: 57+77=134, Resulting Numbers: [61, 134]
Generated Node #0,1,1: 73:[61, 134] Operation: 57+77=134
Exploring Operation: 57+61=118, Resulting Numbers: [77, 118]
Generated Node #0,1,2: 73:[77, 118] Operation: 57+61=118
Exploring Operation: 61-57=4, Resulting Numbers: [77, 4]
Generated Node #0,1,3: 73:[77, 4] Operation: 61-57=4
Moving to Node #0,1,2
Current State: 73:[77, 118], Operations: ['52+25=77', '57+61=118']
Exploring Operation: 118-77=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 77*118=9086, Resulting Numbers: [9086]
9086,73 unequal: No Solution
Exploring Operation: 77+118=195, Resulting Numbers: [195]
195,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[61, 20], Operations: ['52+25=77', '77-57=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,73 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[77, 4], Operations: ['52+25=77', '61-57=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[57, 52, 61, 25], Operations: []
Exploring Operation: 52+25=77, Resulting Numbers: [57, 61, 77]
Generated Node #0,1: 73:[57, 61, 77] Operation: 52+25=77
Moving to Node #0,1
Current State: 73:[57, 61, 77], Operations: ['52+25=77']
Exploring Operation: 61-57=4, Resulting Numbers: [77, 4]
Generated Node #0,1,3: 73:[77, 4] Operation: 61-57=4
Moving to Node #0,1,3
Current State: 73:[77, 4], Operations: ['52+25=77', '61-57=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
56,
11,
68,
70
] | 43 | [
"56-11=45",
"70-68=2",
"45-2=43"
] | Current State: 43:[56, 11, 68, 70], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [68, 70, 45]
Generated Node #2: [68, 70, 45] from Operation: 56-11=45
Current State: 43:[68, 70, 45], Operations: ['56-11=45']
Exploring Operation: 70-68=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 70-68=2
Current State: 43:[45, 2], Operations: ['56-11=45', '70-68=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[56, 11, 68, 70], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [68, 70, 45]
Generated Node #0,0: 43:[68, 70, 45] Operation: 56-11=45
Exploring Operation: 68-11=57, Resulting Numbers: [56, 70, 57]
Generated Node #0,1: 43:[56, 70, 57] Operation: 68-11=57
Exploring Operation: 56+11=67, Resulting Numbers: [68, 70, 67]
Generated Node #0,2: 43:[68, 70, 67] Operation: 56+11=67
Exploring Operation: 70-11=59, Resulting Numbers: [56, 68, 59]
Generated Node #0,3: 43:[56, 68, 59] Operation: 70-11=59
Moving to Node #0,0
Current State: 43:[68, 70, 45], Operations: ['56-11=45']
Exploring Operation: 70-45=25, Resulting Numbers: [68, 25]
Generated Node #0,0,0: 43:[68, 25] Operation: 70-45=25
Exploring Operation: 68+70=138, Resulting Numbers: [45, 138]
Generated Node #0,0,1: 43:[45, 138] Operation: 68+70=138
Exploring Operation: 68-45=23, Resulting Numbers: [70, 23]
Generated Node #0,0,2: 43:[70, 23] Operation: 68-45=23
Exploring Operation: 70-68=2, Resulting Numbers: [45, 2]
Generated Node #0,0,3: 43:[45, 2] Operation: 70-68=2
Moving to Node #0,3
Current State: 43:[56, 68, 59], Operations: ['70-11=59']
Exploring Operation: 68-59=9, Resulting Numbers: [56, 9]
Generated Node #0,3,0: 43:[56, 9] Operation: 68-59=9
Exploring Operation: 56+68=124, Resulting Numbers: [59, 124]
Generated Node #0,3,1: 43:[59, 124] Operation: 56+68=124
Exploring Operation: 59-56=3, Resulting Numbers: [68, 3]
Generated Node #0,3,2: 43:[68, 3] Operation: 59-56=3
Exploring Operation: 68-56=12, Resulting Numbers: [59, 12]
Generated Node #0,3,3: 43:[59, 12] Operation: 68-56=12
Moving to Node #0,1
Current State: 43:[56, 70, 57], Operations: ['68-11=57']
Exploring Operation: 56+70=126, Resulting Numbers: [57, 126]
Generated Node #0,1,0: 43:[57, 126] Operation: 56+70=126
Exploring Operation: 70-56=14, Resulting Numbers: [57, 14]
Generated Node #0,1,1: 43:[57, 14] Operation: 70-56=14
Exploring Operation: 70-57=13, Resulting Numbers: [56, 13]
Generated Node #0,1,2: 43:[56, 13] Operation: 70-57=13
Exploring Operation: 57-56=1, Resulting Numbers: [70, 1]
Generated Node #0,1,3: 43:[70, 1] Operation: 57-56=1
Moving to Node #0,2
Current State: 43:[68, 70, 67], Operations: ['56+11=67']
Exploring Operation: 70-68=2, Resulting Numbers: [67, 2]
Generated Node #0,2,0: 43:[67, 2] Operation: 70-68=2
Exploring Operation: 68-67=1, Resulting Numbers: [70, 1]
Generated Node #0,2,1: 43:[70, 1] Operation: 68-67=1
Exploring Operation: 68+70=138, Resulting Numbers: [67, 138]
Generated Node #0,2,2: 43:[67, 138] Operation: 68+70=138
Exploring Operation: 70-67=3, Resulting Numbers: [68, 3]
Generated Node #0,2,3: 43:[68, 3] Operation: 70-67=3
Moving to Node #0,0,0
Current State: 43:[68, 25], Operations: ['56-11=45', '70-45=25']
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,43 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[56, 11, 68, 70], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [68, 70, 45]
Generated Node #0,0: 43:[68, 70, 45] Operation: 56-11=45
Moving to Node #0,0
Current State: 43:[68, 70, 45], Operations: ['56-11=45']
Exploring Operation: 70-45=25, Resulting Numbers: [68, 25]
Generated Node #0,0,0: 43:[68, 25] Operation: 70-45=25
Moving to Node #0,0,0
Current State: 43:[68, 25], Operations: ['56-11=45', '70-45=25']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
44,
56,
35,
22
] | 23 | [
"44/22=2",
"56-35=21",
"2+21=23"
] | Current State: 23:[44, 56, 35, 22], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [56, 35, 2]
Generated Node #2: [56, 35, 2] from Operation: 44/22=2
Current State: 23:[56, 35, 2], Operations: ['44/22=2']
Exploring Operation: 56-35=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 56-35=21
Current State: 23:[2, 21], Operations: ['44/22=2', '56-35=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[44, 56, 35, 22], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [35, 22, 12]
Generated Node #0,0: 23:[35, 22, 12] Operation: 56-44=12
Exploring Operation: 56-22=34, Resulting Numbers: [44, 35, 34]
Generated Node #0,1: 23:[44, 35, 34] Operation: 56-22=34
Exploring Operation: 44-22=22, Resulting Numbers: [56, 35, 22]
Generated Node #0,2: 23:[56, 35, 22] Operation: 44-22=22
Exploring Operation: 56-35=21, Resulting Numbers: [44, 22, 21]
Generated Node #0,3: 23:[44, 22, 21] Operation: 56-35=21
Moving to Node #0,0
Current State: 23:[35, 22, 12], Operations: ['56-44=12']
Exploring Operation: 35+12=47, Resulting Numbers: [22, 47]
Generated Node #0,0,0: 23:[22, 47] Operation: 35+12=47
Exploring Operation: 35-22=13, Resulting Numbers: [12, 13]
Generated Node #0,0,1: 23:[12, 13] Operation: 35-22=13
Exploring Operation: 22+12=34, Resulting Numbers: [35, 34]
Generated Node #0,0,2: 23:[35, 34] Operation: 22+12=34
Exploring Operation: 35-12=23, Resulting Numbers: [22, 23]
Generated Node #0,0,3: 23:[22, 23] Operation: 35-12=23
Moving to Node #0,3
Current State: 23:[44, 22, 21], Operations: ['56-35=21']
Exploring Operation: 44/22=2, Resulting Numbers: [21, 2]
Generated Node #0,3,0: 23:[21, 2] Operation: 44/22=2
Exploring Operation: 22+21=43, Resulting Numbers: [44, 43]
Generated Node #0,3,1: 23:[44, 43] Operation: 22+21=43
Exploring Operation: 44-22=22, Resulting Numbers: [21, 22]
Generated Node #0,3,2: 23:[21, 22] Operation: 44-22=22
Exploring Operation: 44-21=23, Resulting Numbers: [22, 23]
Generated Node #0,3,3: 23:[22, 23] Operation: 44-21=23
Moving to Node #0,1
Current State: 23:[44, 35, 34], Operations: ['56-22=34']
Exploring Operation: 44+35=79, Resulting Numbers: [34, 79]
Generated Node #0,1,0: 23:[34, 79] Operation: 44+35=79
Exploring Operation: 44-34=10, Resulting Numbers: [35, 10]
Generated Node #0,1,1: 23:[35, 10] Operation: 44-34=10
Exploring Operation: 44-35=9, Resulting Numbers: [34, 9]
Generated Node #0,1,2: 23:[34, 9] Operation: 44-35=9
Exploring Operation: 35-34=1, Resulting Numbers: [44, 1]
Generated Node #0,1,3: 23:[44, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[35, 10], Operations: ['56-22=34', '44-34=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,23 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[34, 9], Operations: ['56-22=34', '44-35=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,23 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[44, 1], Operations: ['56-22=34', '35-34=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[34, 79], Operations: ['56-22=34', '44+35=79']
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,23 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,23 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: 23:[56, 35, 22], Operations: ['44-22=22']
Exploring Operation: 56-22=34, Resulting Numbers: [35, 34]
Generated Node #0,2,0: 23:[35, 34] Operation: 56-22=34
Exploring Operation: 56+22=78, Resulting Numbers: [35, 78]
Generated Node #0,2,1: 23:[35, 78] Operation: 56+22=78
Exploring Operation: 56-35=21, Resulting Numbers: [22, 21]
Generated Node #0,2,2: 23:[22, 21] Operation: 56-35=21
Exploring Operation: 35-22=13, Resulting Numbers: [56, 13]
Generated Node #0,2,3: 23:[56, 13] Operation: 35-22=13
Moving to Node #0,0,3
Current State: 23:[22, 23], Operations: ['56-44=12', '35-12=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,23 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[22, 23], Operations: ['56-35=21', '44-21=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[21, 22], Operations: ['56-35=21', '44-22=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[22, 21], Operations: ['44-22=22', '56-35=21']
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,23 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[12, 13], Operations: ['56-44=12', '35-22=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,23 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[21, 2], Operations: ['56-35=21', '44/22=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[44, 56, 35, 22], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [44, 22, 21]
Generated Node #0,3: 23:[44, 22, 21] Operation: 56-35=21
Moving to Node #0,3
Current State: 23:[44, 22, 21], Operations: ['56-35=21']
Exploring Operation: 44/22=2, Resulting Numbers: [21, 2]
Generated Node #0,3,0: 23:[21, 2] Operation: 44/22=2
Moving to Node #0,3,0
Current State: 23:[21, 2], Operations: ['56-35=21', '44/22=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
91,
67,
28,
39
] | 91 | [
"91+67=158",
"28+39=67",
"158-67=91"
] | Current State: 91:[91, 67, 28, 39], Operations: []
Exploring Operation: 91+67=158, Resulting Numbers: [28, 39, 158]
Generated Node #2: [28, 39, 158] from Operation: 91+67=158
Current State: 91:[28, 39, 158], Operations: ['91+67=158']
Exploring Operation: 28+39=67, Resulting Numbers: [158, 67]
Generated Node #3: [158, 67] from Operation: 28+39=67
Current State: 91:[158, 67], Operations: ['91+67=158', '28+39=67']
Exploring Operation: 158-67=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[91, 67, 28, 39], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [91, 28, 28]
Generated Node #0,0: 91:[91, 28, 28] Operation: 67-39=28
Exploring Operation: 67+28=95, Resulting Numbers: [91, 39, 95]
Generated Node #0,1: 91:[91, 39, 95] Operation: 67+28=95
Exploring Operation: 39-28=11, Resulting Numbers: [91, 67, 11]
Generated Node #0,2: 91:[91, 67, 11] Operation: 39-28=11
Exploring Operation: 67+39=106, Resulting Numbers: [91, 28, 106]
Generated Node #0,3: 91:[91, 28, 106] Operation: 67+39=106
Exploring Operation: 28+39=67, Resulting Numbers: [91, 67, 67]
Generated Node #0,4: 91:[91, 67, 67] Operation: 28+39=67
Moving to Node #0,2
Current State: 91:[91, 67, 11], Operations: ['39-28=11']
Exploring Operation: 67+11=78, Resulting Numbers: [91, 78]
Generated Node #0,2,0: 91:[91, 78] Operation: 67+11=78
Exploring Operation: 67-11=56, Resulting Numbers: [91, 56]
Generated Node #0,2,1: 91:[91, 56] Operation: 67-11=56
Exploring Operation: 91+11=102, Resulting Numbers: [67, 102]
Generated Node #0,2,2: 91:[67, 102] Operation: 91+11=102
Exploring Operation: 91-67=24, Resulting Numbers: [11, 24]
Generated Node #0,2,3: 91:[11, 24] Operation: 91-67=24
Exploring Operation: 91-11=80, Resulting Numbers: [67, 80]
Generated Node #0,2,4: 91:[67, 80] Operation: 91-11=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[91, 78], Operations: ['39-28=11', '67+11=78']
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 91*78=7098, Resulting Numbers: [7098]
7098,91 unequal: No Solution
Exploring Operation: 91+78=169, Resulting Numbers: [169]
169,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,3
Current State: 91:[11, 24], Operations: ['39-28=11', '91-67=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,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,1
Current State: 91:[91, 56], Operations: ['39-28=11', '67-11=56']
Exploring Operation: 91+56=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 91*56=5096, Resulting Numbers: [5096]
5096,91 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,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,2
Current State: 91:[67, 102], Operations: ['39-28=11', '91+11=102']
Exploring Operation: 67*102=6834, Resulting Numbers: [6834]
6834,91 unequal: No Solution
Exploring Operation: 67+102=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 102-67=35, Resulting Numbers: [35]
35,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,4
Current State: 91:[67, 80], Operations: ['39-28=11', '91-11=80']
Exploring Operation: 67+80=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 67*80=5360, Resulting Numbers: [5360]
5360,91 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,91 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: 91:[91, 39, 95], Operations: ['67+28=95']
Exploring Operation: 95-39=56, Resulting Numbers: [91, 56]
Generated Node #0,1,0: 91:[91, 56] Operation: 95-39=56
Exploring Operation: 95-91=4, Resulting Numbers: [39, 4]
Generated Node #0,1,1: 91:[39, 4] Operation: 95-91=4
Exploring Operation: 91+39=130, Resulting Numbers: [95, 130]
Generated Node #0,1,2: 91:[95, 130] Operation: 91+39=130
Exploring Operation: 91-39=52, Resulting Numbers: [95, 52]
Generated Node #0,1,3: 91:[95, 52] Operation: 91-39=52
Exploring Operation: 39+95=134, Resulting Numbers: [91, 134]
Generated Node #0,1,4: 91:[91, 134] Operation: 39+95=134
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[39, 4], Operations: ['67+28=95', '95-91=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[91, 56], Operations: ['67+28=95', '95-39=56']
Exploring Operation: 91+56=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 91*56=5096, Resulting Numbers: [5096]
5096,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[95, 130], Operations: ['67+28=95', '91+39=130']
Exploring Operation: 95*130=12350, Resulting Numbers: [12350]
12350,91 unequal: No Solution
Exploring Operation: 95+130=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 130-95=35, Resulting Numbers: [35]
35,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[95, 52], Operations: ['67+28=95', '91-39=52']
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 95+52=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 95*52=4940, Resulting Numbers: [4940]
4940,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[91, 134], Operations: ['67+28=95', '39+95=134']
Exploring Operation: 91*134=12194, Resulting Numbers: [12194]
12194,91 unequal: No Solution
Exploring Operation: 91+134=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 134-91=43, Resulting Numbers: [43]
43,91 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: 91:[91, 28, 28], Operations: ['67-39=28']
Exploring Operation: 91-28=63, Resulting Numbers: [28, 63]
Generated Node #0,0,0: 91:[28, 63] Operation: 91-28=63
Exploring Operation: 91+28=119, Resulting Numbers: [28, 119]
Generated Node #0,0,1: 91:[28, 119] Operation: 91+28=119
Exploring Operation: 28+28=56, Resulting Numbers: [91, 56]
Generated Node #0,0,2: 91:[91, 56] Operation: 28+28=56
Exploring Operation: 28-28=0, Resulting Numbers: [91, 0]
Generated Node #0,0,3: 91:[91, 0] Operation: 28-28=0
Exploring Operation: 28/28=1, Resulting Numbers: [91, 1]
Generated Node #0,0,4: 91:[91, 1] Operation: 28/28=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 91:[91, 1], Operations: ['67-39=28', '28/28=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[91, 67, 28, 39], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [91, 28, 28]
Generated Node #0,0: 91:[91, 28, 28] Operation: 67-39=28
Moving to Node #0,0
Current State: 91:[91, 28, 28], Operations: ['67-39=28']
Exploring Operation: 28/28=1, Resulting Numbers: [91, 1]
Generated Node #0,0,4: 91:[91, 1] Operation: 28/28=1
Moving to Node #0,0,4
Current State: 91:[91, 1], Operations: ['67-39=28', '28/28=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
12,
95,
84,
38
] | 39 | [
"95-12=83",
"84+38=122",
"122-83=39"
] | Current State: 39:[12, 95, 84, 38], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [84, 38, 83]
Generated Node #2: [84, 38, 83] from Operation: 95-12=83
Current State: 39:[84, 38, 83], Operations: ['95-12=83']
Exploring Operation: 84+38=122, Resulting Numbers: [83, 122]
Generated Node #3: [83, 122] from Operation: 84+38=122
Current State: 39:[83, 122], Operations: ['95-12=83', '84+38=122']
Exploring Operation: 122-83=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[12, 95, 84, 38], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [12, 38, 11]
Generated Node #0,0: 39:[12, 38, 11] Operation: 95-84=11
Exploring Operation: 84/12=7, Resulting Numbers: [95, 38, 7]
Generated Node #0,1: 39:[95, 38, 7] Operation: 84/12=7
Moving to Node #0,0
Current State: 39:[12, 38, 11], Operations: ['95-84=11']
Exploring Operation: 12+11=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 39:[38, 23] Operation: 12+11=23
Exploring Operation: 12-11=1, Resulting Numbers: [38, 1]
Generated Node #0,0,1: 39:[38, 1] Operation: 12-11=1
Moving to Node #0,1
Current State: 39:[95, 38, 7], Operations: ['84/12=7']
Exploring Operation: 95-7=88, Resulting Numbers: [38, 88]
Generated Node #0,1,0: 39:[38, 88] Operation: 95-7=88
Exploring Operation: 95-38=57, Resulting Numbers: [7, 57]
Generated Node #0,1,1: 39:[7, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[7, 57], Operations: ['84/12=7', '95-38=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,39 unequal: No Solution
No 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: 39:[38, 88], Operations: ['84/12=7', '95-7=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 39:[38, 1], Operations: ['95-84=11', '12-11=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[12, 95, 84, 38], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [12, 38, 11]
Generated Node #0,0: 39:[12, 38, 11] Operation: 95-84=11
Moving to Node #0,0
Current State: 39:[12, 38, 11], Operations: ['95-84=11']
Exploring Operation: 12-11=1, Resulting Numbers: [38, 1]
Generated Node #0,0,1: 39:[38, 1] Operation: 12-11=1
Moving to Node #0,0,1
Current State: 39:[38, 1], Operations: ['95-84=11', '12-11=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
5,
20,
52,
3
] | 51 | [
"5*20=100",
"52-3=49",
"100-49=51"
] | Current State: 51:[5, 20, 52, 3], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [52, 3, 100]
Generated Node #2: [52, 3, 100] from Operation: 5*20=100
Current State: 51:[52, 3, 100], Operations: ['5*20=100']
Exploring Operation: 52-3=49, Resulting Numbers: [100, 49]
Generated Node #3: [100, 49] from Operation: 52-3=49
Current State: 51:[100, 49], Operations: ['5*20=100', '52-3=49']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[5, 20, 52, 3], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [20, 52, 2]
Generated Node #0,0: 51:[20, 52, 2] Operation: 5-3=2
Exploring Operation: 20/5=4, Resulting Numbers: [52, 3, 4]
Generated Node #0,1: 51:[52, 3, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [52, 3, 15]
Generated Node #0,2: 51:[52, 3, 15] Operation: 20-5=15
Exploring Operation: 5*3=15, Resulting Numbers: [20, 52, 15]
Generated Node #0,3: 51:[20, 52, 15] Operation: 5*3=15
Exploring Operation: 20-3=17, Resulting Numbers: [5, 52, 17]
Generated Node #0,4: 51:[5, 52, 17] Operation: 20-3=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[52, 3, 4], Operations: ['20/5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [52, 1]
Generated Node #0,1,0: 51:[52, 1] Operation: 4-3=1
Exploring Operation: 52-3=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 51:[4, 49] Operation: 52-3=49
Exploring Operation: 52/4=13, Resulting Numbers: [3, 13]
Generated Node #0,1,2: 51:[3, 13] Operation: 52/4=13
Exploring Operation: 52+3=55, Resulting Numbers: [4, 55]
Generated Node #0,1,3: 51:[4, 55] Operation: 52+3=55
Exploring Operation: 52-4=48, Resulting Numbers: [3, 48]
Generated Node #0,1,4: 51:[3, 48] Operation: 52-4=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[52, 1], Operations: ['20/5=4', '4-3=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[5, 20, 52, 3], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [52, 3, 4]
Generated Node #0,1: 51:[52, 3, 4] Operation: 20/5=4
Moving to Node #0,1
Current State: 51:[52, 3, 4], Operations: ['20/5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [52, 1]
Generated Node #0,1,0: 51:[52, 1] Operation: 4-3=1
Moving to Node #0,1,0
Current State: 51:[52, 1], Operations: ['20/5=4', '4-3=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
21,
18,
52,
60
] | 24 | [
"21-18=3",
"60-52=8",
"3*8=24"
] | Current State: 24:[21, 18, 52, 60], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [52, 60, 3]
Generated Node #2: [52, 60, 3] from Operation: 21-18=3
Current State: 24:[52, 60, 3], Operations: ['21-18=3']
Exploring Operation: 60-52=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 60-52=8
Current State: 24:[3, 8], Operations: ['21-18=3', '60-52=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[21, 18, 52, 60], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [18, 60, 31]
Generated Node #0,0: 24:[18, 60, 31] Operation: 52-21=31
Exploring Operation: 60-52=8, Resulting Numbers: [21, 18, 8]
Generated Node #0,1: 24:[21, 18, 8] Operation: 60-52=8
Moving to Node #0,1
Current State: 24:[21, 18, 8], Operations: ['60-52=8']
Exploring Operation: 21-18=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 24:[8, 3] Operation: 21-18=3
Exploring Operation: 18+8=26, Resulting Numbers: [21, 26]
Generated Node #0,1,1: 24:[21, 26] Operation: 18+8=26
Moving to Node #0,0
Current State: 24:[18, 60, 31], Operations: ['52-21=31']
Exploring Operation: 60-18=42, Resulting Numbers: [31, 42]
Generated Node #0,0,0: 24:[31, 42] Operation: 60-18=42
Exploring Operation: 60-31=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 24:[18, 29] Operation: 60-31=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[18, 29], Operations: ['52-21=31', '60-31=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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,0,0
Current State: 24:[31, 42], Operations: ['52-21=31', '60-18=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,24 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: 24:[8, 3], Operations: ['60-52=8', '21-18=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[21, 18, 52, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [21, 18, 8]
Generated Node #0,1: 24:[21, 18, 8] Operation: 60-52=8
Moving to Node #0,1
Current State: 24:[21, 18, 8], Operations: ['60-52=8']
Exploring Operation: 21-18=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 24:[8, 3] Operation: 21-18=3
Moving to Node #0,1,0
Current State: 24:[8, 3], Operations: ['60-52=8', '21-18=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
31,
88,
76,
1
] | 20 | [
"88-31=57",
"76+1=77",
"77-57=20"
] | Current State: 20:[31, 88, 76, 1], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [76, 1, 57]
Generated Node #2: [76, 1, 57] from Operation: 88-31=57
Current State: 20:[76, 1, 57], Operations: ['88-31=57']
Exploring Operation: 76+1=77, Resulting Numbers: [57, 77]
Generated Node #3: [57, 77] from Operation: 76+1=77
Current State: 20:[57, 77], Operations: ['88-31=57', '76+1=77']
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[31, 88, 76, 1], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [31, 1, 12]
Generated Node #0,0: 20:[31, 1, 12] Operation: 88-76=12
Exploring Operation: 88-31=57, Resulting Numbers: [76, 1, 57]
Generated Node #0,1: 20:[76, 1, 57] Operation: 88-31=57
Exploring Operation: 76-31=45, Resulting Numbers: [88, 1, 45]
Generated Node #0,2: 20:[88, 1, 45] Operation: 76-31=45
Moving to Node #0,0
Current State: 20:[31, 1, 12], Operations: ['88-76=12']
Exploring Operation: 31-12=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 20:[1, 19] Operation: 31-12=19
Exploring Operation: 12-1=11, Resulting Numbers: [31, 11]
Generated Node #0,0,1: 20:[31, 11] Operation: 12-1=11
Exploring Operation: 31-1=30, Resulting Numbers: [12, 30]
Generated Node #0,0,2: 20:[12, 30] Operation: 31-1=30
Moving to Node #0,1
Current State: 20:[76, 1, 57], Operations: ['88-31=57']
Exploring Operation: 57-1=56, Resulting Numbers: [76, 56]
Generated Node #0,1,0: 20:[76, 56] Operation: 57-1=56
Exploring Operation: 76-57=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 20:[1, 19] Operation: 76-57=19
Exploring Operation: 76-1=75, Resulting Numbers: [57, 75]
Generated Node #0,1,2: 20:[57, 75] Operation: 76-1=75
Moving to Node #0,2
Current State: 20:[88, 1, 45], Operations: ['76-31=45']
Exploring Operation: 88-1=87, Resulting Numbers: [45, 87]
Generated Node #0,2,0: 20:[45, 87] Operation: 88-1=87
Exploring Operation: 45-1=44, Resulting Numbers: [88, 44]
Generated Node #0,2,1: 20:[88, 44] Operation: 45-1=44
Exploring Operation: 88-45=43, Resulting Numbers: [1, 43]
Generated Node #0,2,2: 20:[1, 43] Operation: 88-45=43
Moving to Node #0,0,0
Current State: 20:[1, 19], Operations: ['88-76=12', '31-12=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[31, 88, 76, 1], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [31, 1, 12]
Generated Node #0,0: 20:[31, 1, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 20:[31, 1, 12], Operations: ['88-76=12']
Exploring Operation: 31-12=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 20:[1, 19] Operation: 31-12=19
Moving to Node #0,0,0
Current State: 20:[1, 19], Operations: ['88-76=12', '31-12=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
26,
75,
90,
60
] | 98 | [
"90*60=5400",
"5400/75=72",
"26+72=98"
] | Current State: 98:[26, 75, 90, 60], Operations: []
Exploring Operation: 90*60=5400, Resulting Numbers: [26, 75, 5400]
Generated Node #2: [26, 75, 5400] from Operation: 90*60=5400
Current State: 98:[26, 75, 5400], Operations: ['90*60=5400']
Exploring Operation: 5400/75=72, Resulting Numbers: [26, 72]
Generated Node #3: [26, 72] from Operation: 5400/75=72
Current State: 98:[26, 72], Operations: ['90*60=5400', '5400/75=72']
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[26, 75, 90, 60], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [90, 60, 49]
Generated Node #0,0: 98:[90, 60, 49] Operation: 75-26=49
Moving to Node #0,0
Current State: 98:[90, 60, 49], Operations: ['75-26=49']
Exploring Operation: 60-49=11, Resulting Numbers: [90, 11]
Generated Node #0,0,0: 98:[90, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[90, 11], Operations: ['75-26=49', '60-49=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,98 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 |
[
26,
45,
38,
80
] | 47 | [
"26+45=71",
"38+80=118",
"118-71=47"
] | Current State: 47:[26, 45, 38, 80], Operations: []
Exploring Operation: 26+45=71, Resulting Numbers: [38, 80, 71]
Generated Node #2: [38, 80, 71] from Operation: 26+45=71
Current State: 47:[38, 80, 71], Operations: ['26+45=71']
Exploring Operation: 38+80=118, Resulting Numbers: [71, 118]
Generated Node #3: [71, 118] from Operation: 38+80=118
Current State: 47:[71, 118], Operations: ['26+45=71', '38+80=118']
Exploring Operation: 118-71=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[26, 45, 38, 80], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [26, 45, 42]
Generated Node #0,0: 47:[26, 45, 42] Operation: 80-38=42
Exploring Operation: 80-45=35, Resulting Numbers: [26, 38, 35]
Generated Node #0,1: 47:[26, 38, 35] Operation: 80-45=35
Exploring Operation: 80-26=54, Resulting Numbers: [45, 38, 54]
Generated Node #0,2: 47:[45, 38, 54] Operation: 80-26=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[45, 38, 54], Operations: ['80-26=54']
Exploring Operation: 54-38=16, Resulting Numbers: [45, 16]
Generated Node #0,2,0: 47:[45, 16] Operation: 54-38=16
Exploring Operation: 45+38=83, Resulting Numbers: [54, 83]
Generated Node #0,2,1: 47:[54, 83] Operation: 45+38=83
Exploring Operation: 45-38=7, Resulting Numbers: [54, 7]
Generated Node #0,2,2: 47:[54, 7] Operation: 45-38=7
Moving to Node #0,2,0
Current State: 47:[45, 16], Operations: ['80-26=54', '54-38=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,47 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[54, 83], Operations: ['80-26=54', '45+38=83']
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,47 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[54, 7], Operations: ['80-26=54', '45-38=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[26, 45, 38, 80], Operations: []
Exploring Operation: 80-26=54, Resulting Numbers: [45, 38, 54]
Generated Node #0,2: 47:[45, 38, 54] Operation: 80-26=54
Moving to Node #0,2
Current State: 47:[45, 38, 54], Operations: ['80-26=54']
Exploring Operation: 45-38=7, Resulting Numbers: [54, 7]
Generated Node #0,2,2: 47:[54, 7] Operation: 45-38=7
Moving to Node #0,2,2
Current State: 47:[54, 7], Operations: ['80-26=54', '45-38=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
48,
3,
68,
59
] | 45 | [
"68-59=9",
"9/3=3",
"48-3=45"
] | Current State: 45:[48, 3, 68, 59], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [48, 3, 9]
Generated Node #2: [48, 3, 9] from Operation: 68-59=9
Current State: 45:[48, 3, 9], Operations: ['68-59=9']
Exploring Operation: 9/3=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 9/3=3
Current State: 45:[48, 3], Operations: ['68-59=9', '9/3=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[48, 3, 68, 59], Operations: []
Exploring Operation: 68-3=65, Resulting Numbers: [48, 59, 65]
Generated Node #0,0: 45:[48, 59, 65] Operation: 68-3=65
Exploring Operation: 59-48=11, Resulting Numbers: [3, 68, 11]
Generated Node #0,1: 45:[3, 68, 11] Operation: 59-48=11
Exploring Operation: 68-59=9, Resulting Numbers: [48, 3, 9]
Generated Node #0,2: 45:[48, 3, 9] Operation: 68-59=9
Exploring Operation: 68-48=20, Resulting Numbers: [3, 59, 20]
Generated Node #0,3: 45:[3, 59, 20] Operation: 68-48=20
Exploring Operation: 48-3=45, Resulting Numbers: [68, 59, 45]
Generated Node #0,4: 45:[68, 59, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[48, 3, 9], Operations: ['68-59=9']
Exploring Operation: 9-3=6, Resulting Numbers: [48, 6]
Generated Node #0,2,0: 45:[48, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 45:[48, 3] Operation: 9/3=3
Exploring Operation: 48/3=16, Resulting Numbers: [9, 16]
Generated Node #0,2,2: 45:[9, 16] Operation: 48/3=16
Exploring Operation: 48+3=51, Resulting Numbers: [9, 51]
Generated Node #0,2,3: 45:[9, 51] Operation: 48+3=51
Exploring Operation: 48-3=45, Resulting Numbers: [9, 45]
Generated Node #0,2,4: 45:[9, 45] Operation: 48-3=45
Moving to Node #0,2,4
Current State: 45:[9, 45], Operations: ['68-59=9', '48-3=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[9, 16], Operations: ['68-59=9', '48/3=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,45 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[48, 3], Operations: ['68-59=9', '9/3=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,45 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[48, 3, 68, 59], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [48, 3, 9]
Generated Node #0,2: 45:[48, 3, 9] Operation: 68-59=9
Moving to Node #0,2
Current State: 45:[48, 3, 9], Operations: ['68-59=9']
Exploring Operation: 9/3=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 45:[48, 3] Operation: 9/3=3
Moving to Node #0,2,1
Current State: 45:[48, 3], Operations: ['68-59=9', '9/3=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
61,
26,
96,
33
] | 24 | [
"61+26=87",
"96-33=63",
"87-63=24"
] | Current State: 24:[61, 26, 96, 33], Operations: []
Exploring Operation: 61+26=87, Resulting Numbers: [96, 33, 87]
Generated Node #2: [96, 33, 87] from Operation: 61+26=87
Current State: 24:[96, 33, 87], Operations: ['61+26=87']
Exploring Operation: 96-33=63, Resulting Numbers: [87, 63]
Generated Node #3: [87, 63] from Operation: 96-33=63
Current State: 24:[87, 63], Operations: ['61+26=87', '96-33=63']
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[61, 26, 96, 33], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [61, 26, 63]
Generated Node #0,0: 24:[61, 26, 63] Operation: 96-33=63
Exploring Operation: 96-61=35, Resulting Numbers: [26, 33, 35]
Generated Node #0,1: 24:[26, 33, 35] Operation: 96-61=35
Exploring Operation: 61-33=28, Resulting Numbers: [26, 96, 28]
Generated Node #0,2: 24:[26, 96, 28] Operation: 61-33=28
Moving to Node #0,1
Current State: 24:[26, 33, 35], Operations: ['96-61=35']
Exploring Operation: 33-26=7, Resulting Numbers: [35, 7]
Generated Node #0,1,0: 24:[35, 7] Operation: 33-26=7
Exploring Operation: 35-33=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 24:[26, 2] Operation: 35-33=2
Exploring Operation: 35-26=9, Resulting Numbers: [33, 9]
Generated Node #0,1,2: 24:[33, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[26, 2], Operations: ['96-61=35', '35-33=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[61, 26, 96, 33], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [26, 33, 35]
Generated Node #0,1: 24:[26, 33, 35] Operation: 96-61=35
Moving to Node #0,1
Current State: 24:[26, 33, 35], Operations: ['96-61=35']
Exploring Operation: 35-33=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 24:[26, 2] Operation: 35-33=2
Moving to Node #0,1,1
Current State: 24:[26, 2], Operations: ['96-61=35', '35-33=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
6,
37,
51,
43
] | 52 | [
"6+37=43",
"43/43=1",
"51+1=52"
] | Current State: 52:[6, 37, 51, 43], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [51, 43, 43]
Generated Node #2: [51, 43, 43] from Operation: 6+37=43
Current State: 52:[51, 43, 43], Operations: ['6+37=43']
Exploring Operation: 43/43=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 43/43=1
Current State: 52:[51, 1], Operations: ['6+37=43', '43/43=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[6, 37, 51, 43], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [6, 43, 14]
Generated Node #0,0: 52:[6, 43, 14] Operation: 51-37=14
Exploring Operation: 43-37=6, Resulting Numbers: [6, 51, 6]
Generated Node #0,1: 52:[6, 51, 6] Operation: 43-37=6
Moving to Node #0,1
Current State: 52:[6, 51, 6], Operations: ['43-37=6']
Exploring Operation: 6/6=1, Resulting Numbers: [51, 1]
Generated Node #0,1,0: 52:[51, 1] Operation: 6/6=1
Exploring Operation: 6+6=12, Resulting Numbers: [51, 12]
Generated Node #0,1,1: 52:[51, 12] Operation: 6+6=12
Moving to Node #0,0
Current State: 52:[6, 43, 14], Operations: ['51-37=14']
Exploring Operation: 6+43=49, Resulting Numbers: [14, 49]
Generated Node #0,0,0: 52:[14, 49] Operation: 6+43=49
Exploring Operation: 43-14=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 52:[6, 29] Operation: 43-14=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[14, 49], Operations: ['51-37=14', '6+43=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,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,0,1
Current State: 52:[6, 29], Operations: ['51-37=14', '43-14=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,52 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: 52:[51, 1], Operations: ['43-37=6', '6/6=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[6, 37, 51, 43], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [6, 51, 6]
Generated Node #0,1: 52:[6, 51, 6] Operation: 43-37=6
Moving to Node #0,1
Current State: 52:[6, 51, 6], Operations: ['43-37=6']
Exploring Operation: 6/6=1, Resulting Numbers: [51, 1]
Generated Node #0,1,0: 52:[51, 1] Operation: 6/6=1
Moving to Node #0,1,0
Current State: 52:[51, 1], Operations: ['43-37=6', '6/6=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
68,
71,
19,
51
] | 69 | [
"68+71=139",
"19+51=70",
"139-70=69"
] | Current State: 69:[68, 71, 19, 51], Operations: []
Exploring Operation: 68+71=139, Resulting Numbers: [19, 51, 139]
Generated Node #2: [19, 51, 139] from Operation: 68+71=139
Current State: 69:[19, 51, 139], Operations: ['68+71=139']
Exploring Operation: 19+51=70, Resulting Numbers: [139, 70]
Generated Node #3: [139, 70] from Operation: 19+51=70
Current State: 69:[139, 70], Operations: ['68+71=139', '19+51=70']
Exploring Operation: 139-70=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[68, 71, 19, 51], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [71, 19, 17]
Generated Node #0,0: 69:[71, 19, 17] Operation: 68-51=17
Exploring Operation: 19+51=70, Resulting Numbers: [68, 71, 70]
Generated Node #0,1: 69:[68, 71, 70] Operation: 19+51=70
Exploring Operation: 71-51=20, Resulting Numbers: [68, 19, 20]
Generated Node #0,2: 69:[68, 19, 20] Operation: 71-51=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[68, 71, 70], Operations: ['19+51=70']
Exploring Operation: 71-70=1, Resulting Numbers: [68, 1]
Generated Node #0,1,0: 69:[68, 1] Operation: 71-70=1
Exploring Operation: 70-68=2, Resulting Numbers: [71, 2]
Generated Node #0,1,1: 69:[71, 2] Operation: 70-68=2
Exploring Operation: 71-68=3, Resulting Numbers: [70, 3]
Generated Node #0,1,2: 69:[70, 3] Operation: 71-68=3
Moving to Node #0,1,2
Current State: 69:[70, 3], Operations: ['19+51=70', '71-68=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[68, 1], Operations: ['19+51=70', '71-70=1']
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[68, 71, 19, 51], Operations: []
Exploring Operation: 19+51=70, Resulting Numbers: [68, 71, 70]
Generated Node #0,1: 69:[68, 71, 70] Operation: 19+51=70
Moving to Node #0,1
Current State: 69:[68, 71, 70], Operations: ['19+51=70']
Exploring Operation: 71-70=1, Resulting Numbers: [68, 1]
Generated Node #0,1,0: 69:[68, 1] Operation: 71-70=1
Moving to Node #0,1,0
Current State: 69:[68, 1], Operations: ['19+51=70', '71-70=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
7,
64,
35,
49
] | 92 | [
"49/7=7",
"64+35=99",
"99-7=92"
] | Current State: 92:[7, 64, 35, 49], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [64, 35, 7]
Generated Node #2: [64, 35, 7] from Operation: 49/7=7
Current State: 92:[64, 35, 7], Operations: ['49/7=7']
Exploring Operation: 64+35=99, Resulting Numbers: [7, 99]
Generated Node #3: [7, 99] from Operation: 64+35=99
Current State: 92:[7, 99], Operations: ['49/7=7', '64+35=99']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[7, 64, 35, 49], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [7, 49, 29]
Generated Node #0,0: 92:[7, 49, 29] Operation: 64-35=29
Exploring Operation: 64+35=99, Resulting Numbers: [7, 49, 99]
Generated Node #0,1: 92:[7, 49, 99] Operation: 64+35=99
Exploring Operation: 64-49=15, Resulting Numbers: [7, 35, 15]
Generated Node #0,2: 92:[7, 35, 15] Operation: 64-49=15
Exploring Operation: 35/7=5, Resulting Numbers: [64, 49, 5]
Generated Node #0,3: 92:[64, 49, 5] Operation: 35/7=5
Moving to Node #0,0
Current State: 92:[7, 49, 29], Operations: ['64-35=29']
Exploring Operation: 49-7=42, Resulting Numbers: [29, 42]
Generated Node #0,0,0: 92:[29, 42] Operation: 49-7=42
Exploring Operation: 49-29=20, Resulting Numbers: [7, 20]
Generated Node #0,0,1: 92:[7, 20] Operation: 49-29=20
Exploring Operation: 49/7=7, Resulting Numbers: [29, 7]
Generated Node #0,0,2: 92:[29, 7] Operation: 49/7=7
Exploring Operation: 29-7=22, Resulting Numbers: [49, 22]
Generated Node #0,0,3: 92:[49, 22] Operation: 29-7=22
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[49, 22], Operations: ['64-35=29', '29-7=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,92 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,92 unequal: No Solution
No 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: 92:[7, 20], Operations: ['64-35=29', '49-29=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,92 unequal: No Solution
No 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: 92:[29, 7], Operations: ['64-35=29', '49/7=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,92 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,92 unequal: No Solution
No 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: 92:[29, 42], Operations: ['64-35=29', '49-7=42']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,92 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: 92:[7, 49, 99], Operations: ['64+35=99']
Exploring Operation: 99-7=92, Resulting Numbers: [49, 92]
Generated Node #0,1,0: 92:[49, 92] Operation: 99-7=92
Exploring Operation: 99-49=50, Resulting Numbers: [7, 50]
Generated Node #0,1,1: 92:[7, 50] Operation: 99-49=50
Exploring Operation: 49-7=42, Resulting Numbers: [99, 42]
Generated Node #0,1,2: 92:[99, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [99, 7]
Generated Node #0,1,3: 92:[99, 7] Operation: 49/7=7
Moving to Node #0,3
Current State: 92:[64, 49, 5], Operations: ['35/7=5']
Exploring Operation: 64+49=113, Resulting Numbers: [5, 113]
Generated Node #0,3,0: 92:[5, 113] Operation: 64+49=113
Exploring Operation: 64-49=15, Resulting Numbers: [5, 15]
Generated Node #0,3,1: 92:[5, 15] Operation: 64-49=15
Exploring Operation: 64-5=59, Resulting Numbers: [49, 59]
Generated Node #0,3,2: 92:[49, 59] Operation: 64-5=59
Exploring Operation: 49-5=44, Resulting Numbers: [64, 44]
Generated Node #0,3,3: 92:[64, 44] Operation: 49-5=44
Moving to Node #0,2
Current State: 92:[7, 35, 15], Operations: ['64-49=15']
Exploring Operation: 35-15=20, Resulting Numbers: [7, 20]
Generated Node #0,2,0: 92:[7, 20] Operation: 35-15=20
Exploring Operation: 35/7=5, Resulting Numbers: [15, 5]
Generated Node #0,2,1: 92:[15, 5] Operation: 35/7=5
Exploring Operation: 35+15=50, Resulting Numbers: [7, 50]
Generated Node #0,2,2: 92:[7, 50] Operation: 35+15=50
Exploring Operation: 7+35=42, Resulting Numbers: [15, 42]
Generated Node #0,2,3: 92:[15, 42] Operation: 7+35=42
Moving to Node #0,1,0
Current State: 92:[49, 92], Operations: ['64+35=99', '99-7=92']
Exploring Operation: 49*92=4508, Resulting Numbers: [4508]
4508,92 unequal: No Solution
Exploring Operation: 49+92=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[7, 20], Operations: ['64-49=15', '35-15=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[7, 50], Operations: ['64-49=15', '35+15=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,92 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[7, 50], Operations: ['64+35=99', '99-49=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[15, 5], Operations: ['64-49=15', '35/7=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[5, 15], Operations: ['35/7=5', '64-49=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[99, 7], Operations: ['64+35=99', '49/7=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[7, 64, 35, 49], Operations: []
Exploring Operation: 64+35=99, Resulting Numbers: [7, 49, 99]
Generated Node #0,1: 92:[7, 49, 99] Operation: 64+35=99
Moving to Node #0,1
Current State: 92:[7, 49, 99], Operations: ['64+35=99']
Exploring Operation: 49/7=7, Resulting Numbers: [99, 7]
Generated Node #0,1,3: 92:[99, 7] Operation: 49/7=7
Moving to Node #0,1,3
Current State: 92:[99, 7], Operations: ['64+35=99', '49/7=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.950521 | hs_4 | mult_heuristic |
[
17,
36,
2,
29
] | 48 | [
"17+36=53",
"53-29=24",
"2*24=48"
] | Current State: 48:[17, 36, 2, 29], Operations: []
Exploring Operation: 17+36=53, Resulting Numbers: [2, 29, 53]
Generated Node #2: [2, 29, 53] from Operation: 17+36=53
Current State: 48:[2, 29, 53], Operations: ['17+36=53']
Exploring Operation: 53-29=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 53-29=24
Current State: 48:[2, 24], Operations: ['17+36=53', '53-29=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[17, 36, 2, 29], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [17, 2, 7]
Generated Node #0,0: 48:[17, 2, 7] Operation: 36-29=7
Exploring Operation: 36/2=18, Resulting Numbers: [17, 29, 18]
Generated Node #0,1: 48:[17, 29, 18] Operation: 36/2=18
Exploring Operation: 36-17=19, Resulting Numbers: [2, 29, 19]
Generated Node #0,2: 48:[2, 29, 19] Operation: 36-17=19
Exploring Operation: 29-17=12, Resulting Numbers: [36, 2, 12]
Generated Node #0,3: 48:[36, 2, 12] Operation: 29-17=12
Exploring Operation: 17+36=53, Resulting Numbers: [2, 29, 53]
Generated Node #0,4: 48:[2, 29, 53] Operation: 17+36=53
Moving to Node #0,0
Current State: 48:[17, 2, 7], Operations: ['36-29=7']
Exploring Operation: 17+7=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 48:[2, 24] Operation: 17+7=24
Exploring Operation: 17-2=15, Resulting Numbers: [7, 15]
Generated Node #0,0,1: 48:[7, 15] Operation: 17-2=15
Exploring Operation: 2+7=9, Resulting Numbers: [17, 9]
Generated Node #0,0,2: 48:[17, 9] Operation: 2+7=9
Exploring Operation: 17-7=10, Resulting Numbers: [2, 10]
Generated Node #0,0,3: 48:[2, 10] Operation: 17-7=10
Exploring Operation: 7-2=5, Resulting Numbers: [17, 5]
Generated Node #0,0,4: 48:[17, 5] Operation: 7-2=5
Moving to Node #0,2
Current State: 48:[2, 29, 19], Operations: ['36-17=19']
Exploring Operation: 29-19=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 48:[2, 10] Operation: 29-19=10
Exploring Operation: 29-2=27, Resulting Numbers: [19, 27]
Generated Node #0,2,1: 48:[19, 27] Operation: 29-2=27
Exploring Operation: 29+19=48, Resulting Numbers: [2, 48]
Generated Node #0,2,2: 48:[2, 48] Operation: 29+19=48
Exploring Operation: 19-2=17, Resulting Numbers: [29, 17]
Generated Node #0,2,3: 48:[29, 17] Operation: 19-2=17
Exploring Operation: 2+19=21, Resulting Numbers: [29, 21]
Generated Node #0,2,4: 48:[29, 21] Operation: 2+19=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[2, 48], Operations: ['36-17=19', '29+19=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,48 unequal: No Solution
No 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: 48:[2, 10], Operations: ['36-17=19', '29-19=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No 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: 48:[19, 27], Operations: ['36-17=19', '29-2=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,48 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,48 unequal: No Solution
No 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: 48:[29, 17], Operations: ['36-17=19', '19-2=17']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,48 unequal: No Solution
No 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: 48:[29, 21], Operations: ['36-17=19', '2+19=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,48 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,48 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: 48:[17, 29, 18], Operations: ['36/2=18']
Exploring Operation: 29-17=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 48:[18, 12] Operation: 29-17=12
Exploring Operation: 17+29=46, Resulting Numbers: [18, 46]
Generated Node #0,1,1: 48:[18, 46] Operation: 17+29=46
Exploring Operation: 29+18=47, Resulting Numbers: [17, 47]
Generated Node #0,1,2: 48:[17, 47] Operation: 29+18=47
Exploring Operation: 18-17=1, Resulting Numbers: [29, 1]
Generated Node #0,1,3: 48:[29, 1] Operation: 18-17=1
Exploring Operation: 29-18=11, Resulting Numbers: [17, 11]
Generated Node #0,1,4: 48:[17, 11] Operation: 29-18=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[18, 12], Operations: ['36/2=18', '29-17=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,48 unequal: No Solution
No 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: 48:[17, 47], Operations: ['36/2=18', '29+18=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,48 unequal: No Solution
No 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: 48:[17, 11], Operations: ['36/2=18', '29-18=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,48 unequal: No Solution
No 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: 48:[18, 46], Operations: ['36/2=18', '17+29=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,48 unequal: No Solution
No 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: 48:[29, 1], Operations: ['36/2=18', '18-17=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,48 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: 48:[2, 29, 53], Operations: ['17+36=53']
Exploring Operation: 2+29=31, Resulting Numbers: [53, 31]
Generated Node #0,4,0: 48:[53, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [53, 27]
Generated Node #0,4,1: 48:[53, 27] Operation: 29-2=27
Exploring Operation: 53-2=51, Resulting Numbers: [29, 51]
Generated Node #0,4,2: 48:[29, 51] Operation: 53-2=51
Exploring Operation: 53-29=24, Resulting Numbers: [2, 24]
Generated Node #0,4,3: 48:[2, 24] Operation: 53-29=24
Exploring Operation: 2+53=55, Resulting Numbers: [29, 55]
Generated Node #0,4,4: 48:[29, 55] Operation: 2+53=55
Moving to Node #0,3
Current State: 48:[36, 2, 12], Operations: ['29-17=12']
Exploring Operation: 36-12=24, Resulting Numbers: [2, 24]
Generated Node #0,3,0: 48:[2, 24] Operation: 36-12=24
Exploring Operation: 36+2=38, Resulting Numbers: [12, 38]
Generated Node #0,3,1: 48:[12, 38] Operation: 36+2=38
Exploring Operation: 36+12=48, Resulting Numbers: [2, 48]
Generated Node #0,3,2: 48:[2, 48] Operation: 36+12=48
Exploring Operation: 36/12=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 48:[2, 3] Operation: 36/12=3
Exploring Operation: 36/2=18, Resulting Numbers: [12, 18]
Generated Node #0,3,4: 48:[12, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[2, 24], Operations: ['29-17=12', '36-12=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[17, 36, 2, 29], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [36, 2, 12]
Generated Node #0,3: 48:[36, 2, 12] Operation: 29-17=12
Moving to Node #0,3
Current State: 48:[36, 2, 12], Operations: ['29-17=12']
Exploring Operation: 36-12=24, Resulting Numbers: [2, 24]
Generated Node #0,3,0: 48:[2, 24] Operation: 36-12=24
Moving to Node #0,3,0
Current State: 48:[2, 24], Operations: ['29-17=12', '36-12=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | mult_heuristic |
[
45,
16,
83,
99
] | 45 | [
"45+16=61",
"99-83=16",
"61-16=45"
] | Current State: 45:[45, 16, 83, 99], Operations: []
Exploring Operation: 45+16=61, Resulting Numbers: [83, 99, 61]
Generated Node #2: [83, 99, 61] from Operation: 45+16=61
Current State: 45:[83, 99, 61], Operations: ['45+16=61']
Exploring Operation: 99-83=16, Resulting Numbers: [61, 16]
Generated Node #3: [61, 16] from Operation: 99-83=16
Current State: 45:[61, 16], Operations: ['45+16=61', '99-83=16']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[45, 16, 83, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [16, 83, 54]
Generated Node #0,0: 45:[16, 83, 54] Operation: 99-45=54
Exploring Operation: 83-45=38, Resulting Numbers: [16, 99, 38]
Generated Node #0,1: 45:[16, 99, 38] Operation: 83-45=38
Exploring Operation: 99-83=16, Resulting Numbers: [45, 16, 16]
Generated Node #0,2: 45:[45, 16, 16] Operation: 99-83=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[45, 16, 16], Operations: ['99-83=16']
Exploring Operation: 16-16=0, Resulting Numbers: [45, 0]
Generated Node #0,2,0: 45:[45, 0] Operation: 16-16=0
Exploring Operation: 16+16=32, Resulting Numbers: [45, 32]
Generated Node #0,2,1: 45:[45, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [45, 1]
Generated Node #0,2,2: 45:[45, 1] Operation: 16/16=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[45, 1], Operations: ['99-83=16', '16/16=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[45, 16, 83, 99], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [45, 16, 16]
Generated Node #0,2: 45:[45, 16, 16] Operation: 99-83=16
Moving to Node #0,2
Current State: 45:[45, 16, 16], Operations: ['99-83=16']
Exploring Operation: 16/16=1, Resulting Numbers: [45, 1]
Generated Node #0,2,2: 45:[45, 1] Operation: 16/16=1
Moving to Node #0,2,2
Current State: 45:[45, 1], Operations: ['99-83=16', '16/16=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
9,
78,
77,
94
] | 59 | [
"77+94=171",
"171/9=19",
"78-19=59"
] | Current State: 59:[9, 78, 77, 94], Operations: []
Exploring Operation: 77+94=171, Resulting Numbers: [9, 78, 171]
Generated Node #2: [9, 78, 171] from Operation: 77+94=171
Current State: 59:[9, 78, 171], Operations: ['77+94=171']
Exploring Operation: 171/9=19, Resulting Numbers: [78, 19]
Generated Node #3: [78, 19] from Operation: 171/9=19
Current State: 59:[78, 19], Operations: ['77+94=171', '171/9=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[9, 78, 77, 94], Operations: []
Exploring Operation: 94-9=85, Resulting Numbers: [78, 77, 85]
Generated Node #0,0: 59:[78, 77, 85] Operation: 94-9=85
Exploring Operation: 9+78=87, Resulting Numbers: [77, 94, 87]
Generated Node #0,1: 59:[77, 94, 87] Operation: 9+78=87
Exploring Operation: 77-9=68, Resulting Numbers: [78, 94, 68]
Generated Node #0,2: 59:[78, 94, 68] Operation: 77-9=68
Exploring Operation: 78-9=69, Resulting Numbers: [77, 94, 69]
Generated Node #0,3: 59:[77, 94, 69] Operation: 78-9=69
Exploring Operation: 9+77=86, Resulting Numbers: [78, 94, 86]
Generated Node #0,4: 59:[78, 94, 86] Operation: 9+77=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[78, 77, 85], Operations: ['94-9=85']
Exploring Operation: 78+77=155, Resulting Numbers: [85, 155]
Generated Node #0,0,0: 59:[85, 155] Operation: 78+77=155
Exploring Operation: 85-78=7, Resulting Numbers: [77, 7]
Generated Node #0,0,1: 59:[77, 7] Operation: 85-78=7
Exploring Operation: 78-77=1, Resulting Numbers: [85, 1]
Generated Node #0,0,2: 59:[85, 1] Operation: 78-77=1
Exploring Operation: 78+85=163, Resulting Numbers: [77, 163]
Generated Node #0,0,3: 59:[77, 163] Operation: 78+85=163
Exploring Operation: 85-77=8, Resulting Numbers: [78, 8]
Generated Node #0,0,4: 59:[78, 8] Operation: 85-77=8
Moving to Node #0,0,1
Current State: 59:[77, 7], Operations: ['94-9=85', '85-78=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,59 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[78, 8], Operations: ['94-9=85', '85-77=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[85, 1], Operations: ['94-9=85', '78-77=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[85, 155], Operations: ['94-9=85', '78+77=155']
Exploring Operation: 85+155=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 155-85=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 85*155=13175, Resulting Numbers: [13175]
13175,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[77, 163], Operations: ['94-9=85', '78+85=163']
Exploring Operation: 77*163=12551, Resulting Numbers: [12551]
12551,59 unequal: No Solution
Exploring Operation: 77+163=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 163-77=86, Resulting Numbers: [86]
86,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[78, 94, 68], Operations: ['77-9=68']
Exploring Operation: 94-68=26, Resulting Numbers: [78, 26]
Generated Node #0,2,0: 59:[78, 26] Operation: 94-68=26
Exploring Operation: 94-78=16, Resulting Numbers: [68, 16]
Generated Node #0,2,1: 59:[68, 16] Operation: 94-78=16
Exploring Operation: 78-68=10, Resulting Numbers: [94, 10]
Generated Node #0,2,2: 59:[94, 10] Operation: 78-68=10
Exploring Operation: 78+94=172, Resulting Numbers: [68, 172]
Generated Node #0,2,3: 59:[68, 172] Operation: 78+94=172
Exploring Operation: 78+68=146, Resulting Numbers: [94, 146]
Generated Node #0,2,4: 59:[94, 146] Operation: 78+68=146
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[78, 26], Operations: ['77-9=68', '94-68=26']
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[68, 16], Operations: ['77-9=68', '94-78=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,59 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[94, 10], Operations: ['77-9=68', '78-68=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,59 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[68, 172], Operations: ['77-9=68', '78+94=172']
Exploring Operation: 172-68=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 68+172=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 68*172=11696, Resulting Numbers: [11696]
11696,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 59:[94, 146], Operations: ['77-9=68', '78+68=146']
Exploring Operation: 146-94=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 94+146=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 94*146=13724, Resulting Numbers: [13724]
13724,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[77, 94, 69], Operations: ['78-9=69']
Exploring Operation: 77+94=171, Resulting Numbers: [69, 171]
Generated Node #0,3,0: 59:[69, 171] Operation: 77+94=171
Exploring Operation: 94-77=17, Resulting Numbers: [69, 17]
Generated Node #0,3,1: 59:[69, 17] Operation: 94-77=17
Exploring Operation: 94-69=25, Resulting Numbers: [77, 25]
Generated Node #0,3,2: 59:[77, 25] Operation: 94-69=25
Exploring Operation: 77+69=146, Resulting Numbers: [94, 146]
Generated Node #0,3,3: 59:[94, 146] Operation: 77+69=146
Exploring Operation: 77-69=8, Resulting Numbers: [94, 8]
Generated Node #0,3,4: 59:[94, 8] Operation: 77-69=8
Moving to Node #0,3,1
Current State: 59:[69, 17], Operations: ['78-9=69', '94-77=17']
Exploring Operation: 69+17=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 69*17=1173, Resulting Numbers: [1173]
1173,59 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[77, 25], Operations: ['78-9=69', '94-69=25']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,59 unequal: No Solution
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[94, 8], Operations: ['78-9=69', '77-69=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,59 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[69, 171], Operations: ['78-9=69', '77+94=171']
Exploring Operation: 69+171=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 171-69=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 69*171=11799, Resulting Numbers: [11799]
11799,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[94, 146], Operations: ['78-9=69', '77+69=146']
Exploring Operation: 146-94=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 94+146=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Exploring Operation: 94*146=13724, Resulting Numbers: [13724]
13724,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[77, 94, 87], Operations: ['9+78=87']
Exploring Operation: 87-77=10, Resulting Numbers: [94, 10]
Generated Node #0,1,0: 59:[94, 10] Operation: 87-77=10
Exploring Operation: 77+94=171, Resulting Numbers: [87, 171]
Generated Node #0,1,1: 59:[87, 171] Operation: 77+94=171
Exploring Operation: 77+87=164, Resulting Numbers: [94, 164]
Generated Node #0,1,2: 59:[94, 164] Operation: 77+87=164
Exploring Operation: 94-87=7, Resulting Numbers: [77, 7]
Generated Node #0,1,3: 59:[77, 7] Operation: 94-87=7
Exploring Operation: 94-77=17, Resulting Numbers: [87, 17]
Generated Node #0,1,4: 59:[87, 17] Operation: 94-77=17
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[77, 7], Operations: ['9+78=87', '94-87=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,59 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 59:[87, 17], Operations: ['9+78=87', '94-77=17']
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,59 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[94, 10], Operations: ['9+78=87', '87-77=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,59 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[87, 171], Operations: ['9+78=87', '77+94=171']
Exploring Operation: 171-87=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 87*171=14877, Resulting Numbers: [14877]
14877,59 unequal: No Solution
Exploring Operation: 87+171=258, Resulting Numbers: [258]
258,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[94, 164], Operations: ['9+78=87', '77+87=164']
Exploring Operation: 164-94=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 94+164=258, Resulting Numbers: [258]
258,59 unequal: No Solution
Exploring Operation: 94*164=15416, Resulting Numbers: [15416]
15416,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[78, 94, 86], Operations: ['9+77=86']
Exploring Operation: 78+86=164, Resulting Numbers: [94, 164]
Generated Node #0,4,0: 59:[94, 164] Operation: 78+86=164
Exploring Operation: 86-78=8, Resulting Numbers: [94, 8]
Generated Node #0,4,1: 59:[94, 8] Operation: 86-78=8
Exploring Operation: 78+94=172, Resulting Numbers: [86, 172]
Generated Node #0,4,2: 59:[86, 172] Operation: 78+94=172
Exploring Operation: 94-78=16, Resulting Numbers: [86, 16]
Generated Node #0,4,3: 59:[86, 16] Operation: 94-78=16
Exploring Operation: 94-86=8, Resulting Numbers: [78, 8]
Generated Node #0,4,4: 59:[78, 8] Operation: 94-86=8
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[86, 16], Operations: ['9+77=86', '94-78=16']
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,59 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[78, 8], Operations: ['9+77=86', '94-86=8']
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,59 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[94, 8], Operations: ['9+77=86', '86-78=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,59 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[94, 164], Operations: ['9+77=86', '78+86=164']
Exploring Operation: 164-94=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 94+164=258, Resulting Numbers: [258]
258,59 unequal: No Solution
Exploring Operation: 94*164=15416, Resulting Numbers: [15416]
15416,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[86, 172], Operations: ['9+77=86', '78+94=172']
Exploring Operation: 172/86=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 86+172=258, Resulting Numbers: [258]
258,59 unequal: No Solution
Exploring Operation: 172-86=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 86*172=14792, Resulting Numbers: [14792]
14792,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
36,
39,
70
] | 70 | [
"36-36=0",
"39*0=0",
"70+0=70"
] | Current State: 70:[36, 36, 39, 70], Operations: []
Exploring Operation: 36-36=0, Resulting Numbers: [39, 70, 0]
Generated Node #2: [39, 70, 0] from Operation: 36-36=0
Current State: 70:[39, 70, 0], Operations: ['36-36=0']
Exploring Operation: 39*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 39*0=0
Current State: 70:[70, 0], Operations: ['36-36=0', '39*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 36, 39, 70], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [36, 70, 3]
Generated Node #0,0: 70:[36, 70, 3] Operation: 39-36=3
Exploring Operation: 39-36=3, Resulting Numbers: [36, 70, 3]
Generated Node #0,1: 70:[36, 70, 3] Operation: 39-36=3
Exploring Operation: 36/36=1, Resulting Numbers: [39, 70, 1]
Generated Node #0,2: 70:[39, 70, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[36, 70, 3], Operations: ['39-36=3']
Exploring Operation: 36/3=12, Resulting Numbers: [70, 12]
Generated Node #0,0,0: 70:[70, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [70, 33]
Generated Node #0,0,1: 70:[70, 33] Operation: 36-3=33
Exploring Operation: 70-36=34, Resulting Numbers: [3, 34]
Generated Node #0,0,2: 70:[3, 34] Operation: 70-36=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[70, 12], Operations: ['39-36=3', '36/3=12']
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,70 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[70, 33], Operations: ['39-36=3', '36-3=33']
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,70 unequal: No Solution
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[3, 34], Operations: ['39-36=3', '70-36=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[36, 70, 3], Operations: ['39-36=3']
Exploring Operation: 36-3=33, Resulting Numbers: [70, 33]
Generated Node #0,1,0: 70:[70, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [70, 12]
Generated Node #0,1,1: 70:[70, 12] Operation: 36/3=12
Exploring Operation: 70-36=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 70:[3, 34] Operation: 70-36=34
Moving to Node #0,1,0
Current State: 70:[70, 33], Operations: ['39-36=3', '36-3=33']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[70, 12], Operations: ['39-36=3', '36/3=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[3, 34], Operations: ['39-36=3', '70-36=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,70 unequal: No Solution
No 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: 70:[39, 70, 1], Operations: ['36/36=1']
Exploring Operation: 39-1=38, Resulting Numbers: [70, 38]
Generated Node #0,2,0: 70:[70, 38] Operation: 39-1=38
Exploring Operation: 39/1=39, Resulting Numbers: [70, 39]
Generated Node #0,2,1: 70:[70, 39] Operation: 39/1=39
Exploring Operation: 39*1=39, Resulting Numbers: [70, 39]
Generated Node #0,2,2: 70:[70, 39] Operation: 39*1=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[70, 38], Operations: ['36/36=1', '39-1=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,70 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[70, 39], Operations: ['36/36=1', '39/1=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[70, 39], Operations: ['36/36=1', '39*1=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
25,
22,
17
] | 21 | [
"51-25=26",
"22-17=5",
"26-5=21"
] | Current State: 21:[51, 25, 22, 17], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [22, 17, 26]
Generated Node #2: [22, 17, 26] from Operation: 51-25=26
Current State: 21:[22, 17, 26], Operations: ['51-25=26']
Exploring Operation: 22-17=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 22-17=5
Current State: 21:[26, 5], Operations: ['51-25=26', '22-17=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[51, 25, 22, 17], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [51, 22, 8]
Generated Node #0,0: 21:[51, 22, 8] Operation: 25-17=8
Exploring Operation: 51/17=3, Resulting Numbers: [25, 22, 3]
Generated Node #0,1: 21:[25, 22, 3] Operation: 51/17=3
Exploring Operation: 51-22=29, Resulting Numbers: [25, 17, 29]
Generated Node #0,2: 21:[25, 17, 29] Operation: 51-22=29
Exploring Operation: 51-17=34, Resulting Numbers: [25, 22, 34]
Generated Node #0,3: 21:[25, 22, 34] Operation: 51-17=34
Exploring Operation: 51-25=26, Resulting Numbers: [22, 17, 26]
Generated Node #0,4: 21:[22, 17, 26] Operation: 51-25=26
Moving to Node #0,1
Current State: 21:[25, 22, 3], Operations: ['51/17=3']
Exploring Operation: 25-22=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 21:[3, 3] Operation: 25-22=3
Exploring Operation: 25+3=28, Resulting Numbers: [22, 28]
Generated Node #0,1,1: 21:[22, 28] Operation: 25+3=28
Exploring Operation: 22+3=25, Resulting Numbers: [25, 25]
Generated Node #0,1,2: 21:[25, 25] Operation: 22+3=25
Exploring Operation: 22-3=19, Resulting Numbers: [25, 19]
Generated Node #0,1,3: 21:[25, 19] Operation: 22-3=19
Exploring Operation: 25-3=22, Resulting Numbers: [22, 22]
Generated Node #0,1,4: 21:[22, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[3, 3], Operations: ['51/17=3', '25-22=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,21 unequal: No Solution
No 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: 21:[22, 22], Operations: ['51/17=3', '25-3=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,21 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,21 unequal: No Solution
No 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: 21:[25, 19], Operations: ['51/17=3', '22-3=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,21 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No 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: 21:[22, 28], Operations: ['51/17=3', '25+3=28']
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,21 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No 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: 21:[25, 25], Operations: ['51/17=3', '22+3=25']
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,21 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,21 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: 21:[22, 17, 26], Operations: ['51-25=26']
Exploring Operation: 17+26=43, Resulting Numbers: [22, 43]
Generated Node #0,4,0: 21:[22, 43] Operation: 17+26=43
Exploring Operation: 26-22=4, Resulting Numbers: [17, 4]
Generated Node #0,4,1: 21:[17, 4] Operation: 26-22=4
Exploring Operation: 22-17=5, Resulting Numbers: [26, 5]
Generated Node #0,4,2: 21:[26, 5] Operation: 22-17=5
Exploring Operation: 22+17=39, Resulting Numbers: [26, 39]
Generated Node #0,4,3: 21:[26, 39] Operation: 22+17=39
Exploring Operation: 26-17=9, Resulting Numbers: [22, 9]
Generated Node #0,4,4: 21:[22, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 21:[22, 9], Operations: ['51-25=26', '26-17=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,21 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,21 unequal: No Solution
No 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: 21:[17, 4], Operations: ['51-25=26', '26-22=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[51, 25, 22, 17], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [22, 17, 26]
Generated Node #0,4: 21:[22, 17, 26] Operation: 51-25=26
Moving to Node #0,4
Current State: 21:[22, 17, 26], Operations: ['51-25=26']
Exploring Operation: 26-22=4, Resulting Numbers: [17, 4]
Generated Node #0,4,1: 21:[17, 4] Operation: 26-22=4
Moving to Node #0,4,1
Current State: 21:[17, 4], Operations: ['51-25=26', '26-22=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
14,
52,
5,
4
] | 51 | [
"52*5=260",
"260/4=65",
"65-14=51"
] | Current State: 51:[14, 52, 5, 4], Operations: []
Exploring Operation: 52*5=260, Resulting Numbers: [14, 4, 260]
Generated Node #2: [14, 4, 260] from Operation: 52*5=260
Current State: 51:[14, 4, 260], Operations: ['52*5=260']
Exploring Operation: 260/4=65, Resulting Numbers: [14, 65]
Generated Node #3: [14, 65] from Operation: 260/4=65
Current State: 51:[14, 65], Operations: ['52*5=260', '260/4=65']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[14, 52, 5, 4], Operations: []
Exploring Operation: 5-4=1, Resulting Numbers: [14, 52, 1]
Generated Node #0,0: 51:[14, 52, 1] Operation: 5-4=1
Exploring Operation: 5*4=20, Resulting Numbers: [14, 52, 20]
Generated Node #0,1: 51:[14, 52, 20] Operation: 5*4=20
Exploring Operation: 14+5=19, Resulting Numbers: [52, 4, 19]
Generated Node #0,2: 51:[52, 4, 19] Operation: 14+5=19
Exploring Operation: 14+4=18, Resulting Numbers: [52, 5, 18]
Generated Node #0,3: 51:[52, 5, 18] Operation: 14+4=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[52, 4, 19], Operations: ['14+5=19']
Exploring Operation: 19-4=15, Resulting Numbers: [52, 15]
Generated Node #0,2,0: 51:[52, 15] Operation: 19-4=15
Exploring Operation: 52/4=13, Resulting Numbers: [19, 13]
Generated Node #0,2,1: 51:[19, 13] Operation: 52/4=13
Exploring Operation: 52+4=56, Resulting Numbers: [19, 56]
Generated Node #0,2,2: 51:[19, 56] Operation: 52+4=56
Exploring Operation: 52-4=48, Resulting Numbers: [19, 48]
Generated Node #0,2,3: 51:[19, 48] Operation: 52-4=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[52, 15], Operations: ['14+5=19', '19-4=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,51 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,51 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: 51:[19, 48], Operations: ['14+5=19', '52-4=48']
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,51 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,51 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: 51:[19, 13], Operations: ['14+5=19', '52/4=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,51 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,51 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: 51:[19, 56], Operations: ['14+5=19', '52+4=56']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,51 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,51 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: 51:[52, 5, 18], Operations: ['14+4=18']
Exploring Operation: 52-5=47, Resulting Numbers: [18, 47]
Generated Node #0,3,0: 51:[18, 47] Operation: 52-5=47
Exploring Operation: 5+18=23, Resulting Numbers: [52, 23]
Generated Node #0,3,1: 51:[52, 23] Operation: 5+18=23
Exploring Operation: 52+5=57, Resulting Numbers: [18, 57]
Generated Node #0,3,2: 51:[18, 57] Operation: 52+5=57
Exploring Operation: 18-5=13, Resulting Numbers: [52, 13]
Generated Node #0,3,3: 51:[52, 13] Operation: 18-5=13
Moving to Node #0,3,0
Current State: 51:[18, 47], Operations: ['14+4=18', '52-5=47']
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,51 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[52, 13], Operations: ['14+4=18', '18-5=13']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 52*13=676, Resulting Numbers: [676]
676,51 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[18, 57], Operations: ['14+4=18', '52+5=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[52, 23], Operations: ['14+4=18', '5+18=23']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[14, 52, 1], Operations: ['5-4=1']
Exploring Operation: 14+1=15, Resulting Numbers: [52, 15]
Generated Node #0,0,0: 51:[52, 15] Operation: 14+1=15
Exploring Operation: 14*1=14, Resulting Numbers: [52, 14]
Generated Node #0,0,1: 51:[52, 14] Operation: 14*1=14
Exploring Operation: 14/1=14, Resulting Numbers: [52, 14]
Generated Node #0,0,2: 51:[52, 14] Operation: 14/1=14
Exploring Operation: 52-1=51, Resulting Numbers: [14, 51]
Generated Node #0,0,3: 51:[14, 51] Operation: 52-1=51
Moving to Node #0,0,0
Current State: 51:[52, 15], Operations: ['5-4=1', '14+1=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,51 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[14, 51], Operations: ['5-4=1', '52-1=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[52, 14], Operations: ['5-4=1', '14/1=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,51 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[52, 14], Operations: ['5-4=1', '14*1=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,51 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[14, 52, 20], Operations: ['5*4=20']
Exploring Operation: 20-14=6, Resulting Numbers: [52, 6]
Generated Node #0,1,0: 51:[52, 6] Operation: 20-14=6
Exploring Operation: 14+20=34, Resulting Numbers: [52, 34]
Generated Node #0,1,1: 51:[52, 34] Operation: 14+20=34
Exploring Operation: 52-14=38, Resulting Numbers: [20, 38]
Generated Node #0,1,2: 51:[20, 38] Operation: 52-14=38
Exploring Operation: 14+52=66, Resulting Numbers: [20, 66]
Generated Node #0,1,3: 51:[20, 66] Operation: 14+52=66
Moving to Node #0,1,0
Current State: 51:[52, 6], Operations: ['5*4=20', '20-14=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[20, 38], Operations: ['5*4=20', '52-14=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[20, 66], Operations: ['5*4=20', '14+52=66']
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[52, 34], Operations: ['5*4=20', '14+20=34']
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,51 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,51 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 |
[
91,
96,
35,
22
] | 62 | [
"96-91=5",
"35+22=57",
"5+57=62"
] | Current State: 62:[91, 96, 35, 22], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [35, 22, 5]
Generated Node #2: [35, 22, 5] from Operation: 96-91=5
Current State: 62:[35, 22, 5], Operations: ['96-91=5']
Exploring Operation: 35+22=57, Resulting Numbers: [5, 57]
Generated Node #3: [5, 57] from Operation: 35+22=57
Current State: 62:[5, 57], Operations: ['96-91=5', '35+22=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[91, 96, 35, 22], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [96, 35, 69]
Generated Node #0,0: 62:[96, 35, 69] Operation: 91-22=69
Exploring Operation: 96-35=61, Resulting Numbers: [91, 22, 61]
Generated Node #0,1: 62:[91, 22, 61] Operation: 96-35=61
Exploring Operation: 96-22=74, Resulting Numbers: [91, 35, 74]
Generated Node #0,2: 62:[91, 35, 74] Operation: 96-22=74
Exploring Operation: 96-91=5, Resulting Numbers: [35, 22, 5]
Generated Node #0,3: 62:[35, 22, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[35, 22, 5], Operations: ['96-91=5']
Exploring Operation: 35+22=57, Resulting Numbers: [5, 57]
Generated Node #0,3,0: 62:[5, 57] Operation: 35+22=57
Exploring Operation: 35-22=13, Resulting Numbers: [5, 13]
Generated Node #0,3,1: 62:[5, 13] Operation: 35-22=13
Exploring Operation: 22+5=27, Resulting Numbers: [35, 27]
Generated Node #0,3,2: 62:[35, 27] Operation: 22+5=27
Exploring Operation: 35-5=30, Resulting Numbers: [22, 30]
Generated Node #0,3,3: 62:[22, 30] Operation: 35-5=30
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[5, 57], Operations: ['96-91=5', '35+22=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[91, 96, 35, 22], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [35, 22, 5]
Generated Node #0,3: 62:[35, 22, 5] Operation: 96-91=5
Moving to Node #0,3
Current State: 62:[35, 22, 5], Operations: ['96-91=5']
Exploring Operation: 35+22=57, Resulting Numbers: [5, 57]
Generated Node #0,3,0: 62:[5, 57] Operation: 35+22=57
Moving to Node #0,3,0
Current State: 62:[5, 57], Operations: ['96-91=5', '35+22=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
81,
62,
18,
60
] | 90 | [
"62-60=2",
"18/2=9",
"81+9=90"
] | Current State: 90:[81, 62, 18, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [81, 18, 2]
Generated Node #2: [81, 18, 2] from Operation: 62-60=2
Current State: 90:[81, 18, 2], Operations: ['62-60=2']
Exploring Operation: 18/2=9, Resulting Numbers: [81, 9]
Generated Node #3: [81, 9] from Operation: 18/2=9
Current State: 90:[81, 9], Operations: ['62-60=2', '18/2=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[81, 62, 18, 60], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [81, 62, 42]
Generated Node #0,0: 90:[81, 62, 42] Operation: 60-18=42
Exploring Operation: 62-18=44, Resulting Numbers: [81, 60, 44]
Generated Node #0,1: 90:[81, 60, 44] Operation: 62-18=44
Exploring Operation: 62-60=2, Resulting Numbers: [81, 18, 2]
Generated Node #0,2: 90:[81, 18, 2] Operation: 62-60=2
Exploring Operation: 81-62=19, Resulting Numbers: [18, 60, 19]
Generated Node #0,3: 90:[18, 60, 19] Operation: 81-62=19
Exploring Operation: 81-60=21, Resulting Numbers: [62, 18, 21]
Generated Node #0,4: 90:[62, 18, 21] Operation: 81-60=21
Moving to Node #0,2
Current State: 90:[81, 18, 2], Operations: ['62-60=2']
Exploring Operation: 81-2=79, Resulting Numbers: [18, 79]
Generated Node #0,2,0: 90:[18, 79] Operation: 81-2=79
Exploring Operation: 81+2=83, Resulting Numbers: [18, 83]
Generated Node #0,2,1: 90:[18, 83] Operation: 81+2=83
Exploring Operation: 81+18=99, Resulting Numbers: [2, 99]
Generated Node #0,2,2: 90:[2, 99] Operation: 81+18=99
Exploring Operation: 18-2=16, Resulting Numbers: [81, 16]
Generated Node #0,2,3: 90:[81, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [81, 9]
Generated Node #0,2,4: 90:[81, 9] Operation: 18/2=9
Moving to Node #0,3
Current State: 90:[18, 60, 19], Operations: ['81-62=19']
Exploring Operation: 60+19=79, Resulting Numbers: [18, 79]
Generated Node #0,3,0: 90:[18, 79] Operation: 60+19=79
Exploring Operation: 60-19=41, Resulting Numbers: [18, 41]
Generated Node #0,3,1: 90:[18, 41] Operation: 60-19=41
Exploring Operation: 19-18=1, Resulting Numbers: [60, 1]
Generated Node #0,3,2: 90:[60, 1] Operation: 19-18=1
Exploring Operation: 60-18=42, Resulting Numbers: [19, 42]
Generated Node #0,3,3: 90:[19, 42] Operation: 60-18=42
Exploring Operation: 18+60=78, Resulting Numbers: [19, 78]
Generated Node #0,3,4: 90:[19, 78] Operation: 18+60=78
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[18, 41], Operations: ['81-62=19', '60-19=41']
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,90 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,90 unequal: No Solution
No 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: 90:[19, 42], Operations: ['81-62=19', '60-18=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,90 unequal: No Solution
No 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: 90:[18, 79], Operations: ['81-62=19', '60+19=79']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,90 unequal: No Solution
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,90 unequal: No Solution
No 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: 90:[19, 78], Operations: ['81-62=19', '18+60=78']
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,90 unequal: No Solution
No 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: 90:[60, 1], Operations: ['81-62=19', '19-18=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,90 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: 90:[62, 18, 21], Operations: ['81-60=21']
Exploring Operation: 62+21=83, Resulting Numbers: [18, 83]
Generated Node #0,4,0: 90:[18, 83] Operation: 62+21=83
Exploring Operation: 21-18=3, Resulting Numbers: [62, 3]
Generated Node #0,4,1: 90:[62, 3] Operation: 21-18=3
Exploring Operation: 62-18=44, Resulting Numbers: [21, 44]
Generated Node #0,4,2: 90:[21, 44] Operation: 62-18=44
Exploring Operation: 62-21=41, Resulting Numbers: [18, 41]
Generated Node #0,4,3: 90:[18, 41] Operation: 62-21=41
Exploring Operation: 62+18=80, Resulting Numbers: [21, 80]
Generated Node #0,4,4: 90:[21, 80] Operation: 62+18=80
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 90:[21, 44], Operations: ['81-60=21', '62-18=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,90 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No 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: 90:[18, 41], Operations: ['81-60=21', '62-21=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,90 unequal: No Solution
No 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: 90:[18, 83], Operations: ['81-60=21', '62+21=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,90 unequal: No Solution
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,90 unequal: No Solution
No 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: 90:[21, 80], Operations: ['81-60=21', '62+18=80']
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,90 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,90 unequal: No Solution
No 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: 90:[62, 3], Operations: ['81-60=21', '21-18=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,90 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,90 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: 90:[81, 60, 44], Operations: ['62-18=44']
Exploring Operation: 81-60=21, Resulting Numbers: [44, 21]
Generated Node #0,1,0: 90:[44, 21] Operation: 81-60=21
Exploring Operation: 60+44=104, Resulting Numbers: [81, 104]
Generated Node #0,1,1: 90:[81, 104] Operation: 60+44=104
Exploring Operation: 60-44=16, Resulting Numbers: [81, 16]
Generated Node #0,1,2: 90:[81, 16] Operation: 60-44=16
Exploring Operation: 81-44=37, Resulting Numbers: [60, 37]
Generated Node #0,1,3: 90:[60, 37] Operation: 81-44=37
Exploring Operation: 81+44=125, Resulting Numbers: [60, 125]
Generated Node #0,1,4: 90:[60, 125] Operation: 81+44=125
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[44, 21], Operations: ['62-18=44', '81-60=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,90 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,90 unequal: No Solution
No 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: 90:[81, 16], Operations: ['62-18=44', '60-44=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,90 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,90 unequal: No Solution
No 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: 90:[60, 37], Operations: ['62-18=44', '81-44=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,90 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No 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: 90:[81, 104], Operations: ['62-18=44', '60+44=104']
Exploring Operation: 104-81=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 81+104=185, Resulting Numbers: [185]
185,90 unequal: No Solution
Exploring Operation: 81*104=8424, Resulting Numbers: [8424]
8424,90 unequal: No Solution
No 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: 90:[60, 125], Operations: ['62-18=44', '81+44=125']
Exploring Operation: 125-60=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 60*125=7500, Resulting Numbers: [7500]
7500,90 unequal: No Solution
Exploring Operation: 60+125=185, Resulting Numbers: [185]
185,90 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: 90:[81, 62, 42], Operations: ['60-18=42']
Exploring Operation: 62-42=20, Resulting Numbers: [81, 20]
Generated Node #0,0,0: 90:[81, 20] Operation: 62-42=20
Exploring Operation: 81-62=19, Resulting Numbers: [42, 19]
Generated Node #0,0,1: 90:[42, 19] Operation: 81-62=19
Exploring Operation: 81+42=123, Resulting Numbers: [62, 123]
Generated Node #0,0,2: 90:[62, 123] Operation: 81+42=123
Exploring Operation: 81-42=39, Resulting Numbers: [62, 39]
Generated Node #0,0,3: 90:[62, 39] Operation: 81-42=39
Exploring Operation: 62+42=104, Resulting Numbers: [81, 104]
Generated Node #0,0,4: 90:[81, 104] Operation: 62+42=104
Moving to Node #0,0,1
Current State: 90:[42, 19], Operations: ['60-18=42', '81-62=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,90 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[18, 83], Operations: ['62-60=2', '81+2=83']
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,90 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[81, 9], Operations: ['62-60=2', '18/2=9']
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,90 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[81, 62, 18, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [81, 18, 2]
Generated Node #0,2: 90:[81, 18, 2] Operation: 62-60=2
Moving to Node #0,2
Current State: 90:[81, 18, 2], Operations: ['62-60=2']
Exploring Operation: 18/2=9, Resulting Numbers: [81, 9]
Generated Node #0,2,4: 90:[81, 9] Operation: 18/2=9
Moving to Node #0,2,4
Current State: 90:[81, 9], Operations: ['62-60=2', '18/2=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.922743 | hs_5 | sum_heuristic |
[
49,
58,
5,
5
] | 90 | [
"58-49=9",
"5+5=10",
"9*10=90"
] | Current State: 90:[49, 58, 5, 5], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [5, 5, 9]
Generated Node #2: [5, 5, 9] from Operation: 58-49=9
Current State: 90:[5, 5, 9], Operations: ['58-49=9']
Exploring Operation: 5+5=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 5+5=10
Current State: 90:[9, 10], Operations: ['58-49=9', '5+5=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[49, 58, 5, 5], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [5, 5, 9]
Generated Node #0,0: 90:[5, 5, 9] Operation: 58-49=9
Exploring Operation: 58-5=53, Resulting Numbers: [49, 5, 53]
Generated Node #0,1: 90:[49, 5, 53] Operation: 58-5=53
Exploring Operation: 58-5=53, Resulting Numbers: [49, 5, 53]
Generated Node #0,2: 90:[49, 5, 53] Operation: 58-5=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[5, 5, 9], Operations: ['58-49=9']
Exploring Operation: 5+5=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 5+5=10
Exploring Operation: 5*9=45, Resulting Numbers: [5, 45]
Generated Node #0,0,1: 90:[5, 45] Operation: 5*9=45
Exploring Operation: 5*9=45, Resulting Numbers: [5, 45]
Generated Node #0,0,2: 90:[5, 45] Operation: 5*9=45
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['58-49=9', '5+5=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[49, 58, 5, 5], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [5, 5, 9]
Generated Node #0,0: 90:[5, 5, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 90:[5, 5, 9], Operations: ['58-49=9']
Exploring Operation: 5+5=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 5+5=10
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['58-49=9', '5+5=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
37,
16,
56,
35
] | 24 | [
"37-35=2",
"16*2=32",
"56-32=24"
] | Current State: 24:[37, 16, 56, 35], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [16, 56, 2]
Generated Node #2: [16, 56, 2] from Operation: 37-35=2
Current State: 24:[16, 56, 2], Operations: ['37-35=2']
Exploring Operation: 16*2=32, Resulting Numbers: [56, 32]
Generated Node #3: [56, 32] from Operation: 16*2=32
Current State: 24:[56, 32], Operations: ['37-35=2', '16*2=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[37, 16, 56, 35], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [37, 16, 21]
Generated Node #0,0: 24:[37, 16, 21] Operation: 56-35=21
Exploring Operation: 37-35=2, Resulting Numbers: [16, 56, 2]
Generated Node #0,1: 24:[16, 56, 2] Operation: 37-35=2
Exploring Operation: 56-37=19, Resulting Numbers: [16, 35, 19]
Generated Node #0,2: 24:[16, 35, 19] Operation: 56-37=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[37, 16, 21], Operations: ['56-35=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16, 16]
Generated Node #0,0,0: 24:[16, 16] Operation: 37-21=16
Exploring Operation: 37-16=21, Resulting Numbers: [21, 21]
Generated Node #0,0,1: 24:[21, 21] Operation: 37-16=21
Exploring Operation: 21-16=5, Resulting Numbers: [37, 5]
Generated Node #0,0,2: 24:[37, 5] Operation: 21-16=5
Moving to Node #0,0,1
Current State: 24:[21, 21], Operations: ['56-35=21', '37-16=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[16, 16], Operations: ['56-35=21', '37-21=16']
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[37, 5], Operations: ['56-35=21', '21-16=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,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,2
Current State: 24:[16, 35, 19], Operations: ['56-37=19']
Exploring Operation: 35-16=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 24:[19, 19] Operation: 35-16=19
Exploring Operation: 35-19=16, Resulting Numbers: [16, 16]
Generated Node #0,2,1: 24:[16, 16] Operation: 35-19=16
Exploring Operation: 19-16=3, Resulting Numbers: [35, 3]
Generated Node #0,2,2: 24:[35, 3] Operation: 19-16=3
Moving to Node #0,2,1
Current State: 24:[16, 16], Operations: ['56-37=19', '35-19=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[19, 19], Operations: ['56-37=19', '35-16=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[35, 3], Operations: ['56-37=19', '19-16=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,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
Current State: 24:[16, 56, 2], Operations: ['37-35=2']
Exploring Operation: 16/2=8, Resulting Numbers: [56, 8]
Generated Node #0,1,0: 24:[56, 8] Operation: 16/2=8
Exploring Operation: 56/2=28, Resulting Numbers: [16, 28]
Generated Node #0,1,1: 24:[16, 28] Operation: 56/2=28
Exploring Operation: 56-16=40, Resulting Numbers: [2, 40]
Generated Node #0,1,2: 24:[2, 40] Operation: 56-16=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[16, 28], Operations: ['37-35=2', '56/2=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,24 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,24 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: 24:[2, 40], Operations: ['37-35=2', '56-16=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,24 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: 24:[56, 8], Operations: ['37-35=2', '16/2=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,24 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 |
[
49,
63,
74,
9
] | 69 | [
"63-49=14",
"74+9=83",
"83-14=69"
] | Current State: 69:[49, 63, 74, 9], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [74, 9, 14]
Generated Node #2: [74, 9, 14] from Operation: 63-49=14
Current State: 69:[74, 9, 14], Operations: ['63-49=14']
Exploring Operation: 74+9=83, Resulting Numbers: [14, 83]
Generated Node #3: [14, 83] from Operation: 74+9=83
Current State: 69:[14, 83], Operations: ['63-49=14', '74+9=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[49, 63, 74, 9], Operations: []
Exploring Operation: 49+9=58, Resulting Numbers: [63, 74, 58]
Generated Node #0,0: 69:[63, 74, 58] Operation: 49+9=58
Exploring Operation: 74-49=25, Resulting Numbers: [63, 9, 25]
Generated Node #0,1: 69:[63, 9, 25] Operation: 74-49=25
Exploring Operation: 63-49=14, Resulting Numbers: [74, 9, 14]
Generated Node #0,2: 69:[74, 9, 14] Operation: 63-49=14
Exploring Operation: 49-9=40, Resulting Numbers: [63, 74, 40]
Generated Node #0,3: 69:[63, 74, 40] Operation: 49-9=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[63, 9, 25], Operations: ['74-49=25']
Exploring Operation: 25-9=16, Resulting Numbers: [63, 16]
Generated Node #0,1,0: 69:[63, 16] Operation: 25-9=16
Exploring Operation: 63/9=7, Resulting Numbers: [25, 7]
Generated Node #0,1,1: 69:[25, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [25, 54]
Generated Node #0,1,2: 69:[25, 54] Operation: 63-9=54
Exploring Operation: 63+9=72, Resulting Numbers: [25, 72]
Generated Node #0,1,3: 69:[25, 72] Operation: 63+9=72
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 69:[25, 72], Operations: ['74-49=25', '63+9=72']
Exploring Operation: 25+72=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 25*72=1800, Resulting Numbers: [1800]
1800,69 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,69 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: 69:[25, 7], Operations: ['74-49=25', '63/9=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,69 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: 69:[63, 16], Operations: ['74-49=25', '25-9=16']
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,69 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,69 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: 69:[25, 54], Operations: ['74-49=25', '63-9=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,69 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: 69:[74, 9, 14], Operations: ['63-49=14']
Exploring Operation: 9+14=23, Resulting Numbers: [74, 23]
Generated Node #0,2,0: 69:[74, 23] Operation: 9+14=23
Exploring Operation: 14-9=5, Resulting Numbers: [74, 5]
Generated Node #0,2,1: 69:[74, 5] Operation: 14-9=5
Exploring Operation: 74-9=65, Resulting Numbers: [14, 65]
Generated Node #0,2,2: 69:[14, 65] Operation: 74-9=65
Exploring Operation: 74-14=60, Resulting Numbers: [9, 60]
Generated Node #0,2,3: 69:[9, 60] Operation: 74-14=60
Moving to Node #0,2,0
Current State: 69:[74, 23], Operations: ['63-49=14', '9+14=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[74, 5], Operations: ['63-49=14', '14-9=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[49, 63, 74, 9], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [74, 9, 14]
Generated Node #0,2: 69:[74, 9, 14] Operation: 63-49=14
Moving to Node #0,2
Current State: 69:[74, 9, 14], Operations: ['63-49=14']
Exploring Operation: 14-9=5, Resulting Numbers: [74, 5]
Generated Node #0,2,1: 69:[74, 5] Operation: 14-9=5
Moving to Node #0,2,1
Current State: 69:[74, 5], Operations: ['63-49=14', '14-9=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
39,
34,
15,
41
] | 31 | [
"39-34=5",
"41-15=26",
"5+26=31"
] | Current State: 31:[39, 34, 15, 41], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [15, 41, 5]
Generated Node #2: [15, 41, 5] from Operation: 39-34=5
Current State: 31:[15, 41, 5], Operations: ['39-34=5']
Exploring Operation: 41-15=26, Resulting Numbers: [5, 26]
Generated Node #3: [5, 26] from Operation: 41-15=26
Current State: 31:[5, 26], Operations: ['39-34=5', '41-15=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[39, 34, 15, 41], Operations: []
Exploring Operation: 39-15=24, Resulting Numbers: [34, 41, 24]
Generated Node #0,0: 31:[34, 41, 24] Operation: 39-15=24
Exploring Operation: 39+15=54, Resulting Numbers: [34, 41, 54]
Generated Node #0,1: 31:[34, 41, 54] Operation: 39+15=54
Exploring Operation: 34-15=19, Resulting Numbers: [39, 41, 19]
Generated Node #0,2: 31:[39, 41, 19] Operation: 34-15=19
Exploring Operation: 41-15=26, Resulting Numbers: [39, 34, 26]
Generated Node #0,3: 31:[39, 34, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[39, 34, 26], Operations: ['41-15=26']
Exploring Operation: 39+26=65, Resulting Numbers: [34, 65]
Generated Node #0,3,0: 31:[34, 65] Operation: 39+26=65
Exploring Operation: 39-34=5, Resulting Numbers: [26, 5]
Generated Node #0,3,1: 31:[26, 5] Operation: 39-34=5
Exploring Operation: 39-26=13, Resulting Numbers: [34, 13]
Generated Node #0,3,2: 31:[34, 13] Operation: 39-26=13
Exploring Operation: 34-26=8, Resulting Numbers: [39, 8]
Generated Node #0,3,3: 31:[39, 8] Operation: 34-26=8
Moving to Node #0,3,2
Current State: 31:[34, 13], Operations: ['41-15=26', '39-26=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[39, 8], Operations: ['41-15=26', '34-26=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,31 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[39, 34, 15, 41], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [39, 34, 26]
Generated Node #0,3: 31:[39, 34, 26] Operation: 41-15=26
Moving to Node #0,3
Current State: 31:[39, 34, 26], Operations: ['41-15=26']
Exploring Operation: 34-26=8, Resulting Numbers: [39, 8]
Generated Node #0,3,3: 31:[39, 8] Operation: 34-26=8
Moving to Node #0,3,3
Current State: 31:[39, 8], Operations: ['41-15=26', '34-26=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
23,
64,
11,
28
] | 44 | [
"64+28=92",
"92/23=4",
"11*4=44"
] | Current State: 44:[23, 64, 11, 28], Operations: []
Exploring Operation: 64+28=92, Resulting Numbers: [23, 11, 92]
Generated Node #2: [23, 11, 92] from Operation: 64+28=92
Current State: 44:[23, 11, 92], Operations: ['64+28=92']
Exploring Operation: 92/23=4, Resulting Numbers: [11, 4]
Generated Node #3: [11, 4] from Operation: 92/23=4
Current State: 44:[11, 4], Operations: ['64+28=92', '92/23=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[23, 64, 11, 28], Operations: []
Exploring Operation: 11+28=39, Resulting Numbers: [23, 64, 39]
Generated Node #0,0: 44:[23, 64, 39] Operation: 11+28=39
Exploring Operation: 64-28=36, Resulting Numbers: [23, 11, 36]
Generated Node #0,1: 44:[23, 11, 36] Operation: 64-28=36
Exploring Operation: 64-23=41, Resulting Numbers: [11, 28, 41]
Generated Node #0,2: 44:[11, 28, 41] Operation: 64-23=41
Exploring Operation: 28-23=5, Resulting Numbers: [64, 11, 5]
Generated Node #0,3: 44:[64, 11, 5] Operation: 28-23=5
Exploring Operation: 64-11=53, Resulting Numbers: [23, 28, 53]
Generated Node #0,4: 44:[23, 28, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[23, 11, 36], Operations: ['64-28=36']
Exploring Operation: 11+36=47, Resulting Numbers: [23, 47]
Generated Node #0,1,0: 44:[23, 47] Operation: 11+36=47
Exploring Operation: 36-11=25, Resulting Numbers: [23, 25]
Generated Node #0,1,1: 44:[23, 25] Operation: 36-11=25
Exploring Operation: 23+36=59, Resulting Numbers: [11, 59]
Generated Node #0,1,2: 44:[11, 59] Operation: 23+36=59
Exploring Operation: 36-23=13, Resulting Numbers: [11, 13]
Generated Node #0,1,3: 44:[11, 13] Operation: 36-23=13
Exploring Operation: 23-11=12, Resulting Numbers: [36, 12]
Generated Node #0,1,4: 44:[36, 12] Operation: 23-11=12
Moving to Node #0,1,3
Current State: 44:[11, 13], Operations: ['64-28=36', '36-23=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,44 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[23, 25], Operations: ['64-28=36', '36-11=25']
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,44 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[23, 47], Operations: ['64-28=36', '11+36=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[36, 12], Operations: ['64-28=36', '23-11=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,44 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[11, 59], Operations: ['64-28=36', '23+36=59']
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,44 unequal: No Solution
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,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:[11, 28, 41], Operations: ['64-23=41']
Exploring Operation: 41-11=30, Resulting Numbers: [28, 30]
Generated Node #0,2,0: 44:[28, 30] Operation: 41-11=30
Exploring Operation: 41-28=13, Resulting Numbers: [11, 13]
Generated Node #0,2,1: 44:[11, 13] Operation: 41-28=13
Exploring Operation: 11+28=39, Resulting Numbers: [41, 39]
Generated Node #0,2,2: 44:[41, 39] Operation: 11+28=39
Exploring Operation: 11+41=52, Resulting Numbers: [28, 52]
Generated Node #0,2,3: 44:[28, 52] Operation: 11+41=52
Exploring Operation: 28-11=17, Resulting Numbers: [41, 17]
Generated Node #0,2,4: 44:[41, 17] Operation: 28-11=17
Moving to Node #0,2,1
Current State: 44:[11, 13], Operations: ['64-23=41', '41-28=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[41, 17], Operations: ['64-23=41', '28-11=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,44 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[41, 39], Operations: ['64-23=41', '11+28=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,44 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[28, 30], Operations: ['64-23=41', '41-11=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[28, 52], Operations: ['64-23=41', '11+41=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,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,4
Current State: 44:[23, 28, 53], Operations: ['64-11=53']
Exploring Operation: 53-23=30, Resulting Numbers: [28, 30]
Generated Node #0,4,0: 44:[28, 30] Operation: 53-23=30
Exploring Operation: 23+53=76, Resulting Numbers: [28, 76]
Generated Node #0,4,1: 44:[28, 76] Operation: 23+53=76
Exploring Operation: 53-28=25, Resulting Numbers: [23, 25]
Generated Node #0,4,2: 44:[23, 25] Operation: 53-28=25
Exploring Operation: 28-23=5, Resulting Numbers: [53, 5]
Generated Node #0,4,3: 44:[53, 5] Operation: 28-23=5
Exploring Operation: 23+28=51, Resulting Numbers: [53, 51]
Generated Node #0,4,4: 44:[53, 51] Operation: 23+28=51
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[23, 25], Operations: ['64-11=53', '53-28=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,44 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,44 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: 44:[53, 5], Operations: ['64-11=53', '28-23=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,44 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,44 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: 44:[28, 30], Operations: ['64-11=53', '53-23=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,44 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: 44:[53, 51], Operations: ['64-11=53', '23+28=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,44 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,44 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: 44:[28, 76], Operations: ['64-11=53', '23+53=76']
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,44 unequal: No Solution
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,44 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: 44:[64, 11, 5], Operations: ['28-23=5']
Exploring Operation: 64+5=69, Resulting Numbers: [11, 69]
Generated Node #0,3,0: 44:[11, 69] Operation: 64+5=69
Exploring Operation: 64-5=59, Resulting Numbers: [11, 59]
Generated Node #0,3,1: 44:[11, 59] Operation: 64-5=59
Exploring Operation: 64-11=53, Resulting Numbers: [5, 53]
Generated Node #0,3,2: 44:[5, 53] Operation: 64-11=53
Exploring Operation: 11-5=6, Resulting Numbers: [64, 6]
Generated Node #0,3,3: 44:[64, 6] Operation: 11-5=6
Exploring Operation: 11+5=16, Resulting Numbers: [64, 16]
Generated Node #0,3,4: 44:[64, 16] Operation: 11+5=16
Moving to Node #0,3,2
Current State: 44:[5, 53], Operations: ['28-23=5', '64-11=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,44 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[11, 59], Operations: ['28-23=5', '64-5=59']
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,44 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[64, 6], Operations: ['28-23=5', '11-5=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,44 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[11, 69], Operations: ['28-23=5', '64+5=69']
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[64, 16], Operations: ['28-23=5', '11+5=16']
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,44 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,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,0
Current State: 44:[23, 64, 39], Operations: ['11+28=39']
Exploring Operation: 64-39=25, Resulting Numbers: [23, 25]
Generated Node #0,0,0: 44:[23, 25] Operation: 64-39=25
Exploring Operation: 23+39=62, Resulting Numbers: [64, 62]
Generated Node #0,0,1: 44:[64, 62] Operation: 23+39=62
Exploring Operation: 23+64=87, Resulting Numbers: [39, 87]
Generated Node #0,0,2: 44:[39, 87] Operation: 23+64=87
Exploring Operation: 64-23=41, Resulting Numbers: [39, 41]
Generated Node #0,0,3: 44:[39, 41] Operation: 64-23=41
Exploring Operation: 39-23=16, Resulting Numbers: [64, 16]
Generated Node #0,0,4: 44:[64, 16] Operation: 39-23=16
Moving to Node #0,0,0
Current State: 44:[23, 25], Operations: ['11+28=39', '64-39=25']
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,44 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[39, 41], Operations: ['11+28=39', '64-23=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[64, 16], Operations: ['11+28=39', '39-23=16']
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,44 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[64, 62], Operations: ['11+28=39', '23+39=62']
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,44 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[39, 87], Operations: ['11+28=39', '23+64=87']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,44 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,44 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 |
[
99,
2,
92,
2
] | 28 | [
"99-92=7",
"2+2=4",
"7*4=28"
] | Current State: 28:[99, 2, 92, 2], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 2, 7]
Generated Node #2: [2, 2, 7] from Operation: 99-92=7
Current State: 28:[2, 2, 7], Operations: ['99-92=7']
Exploring Operation: 2+2=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 2+2=4
Current State: 28:[7, 4], Operations: ['99-92=7', '2+2=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[99, 2, 92, 2], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 2, 7]
Generated Node #0,0: 28:[2, 2, 7] Operation: 99-92=7
Exploring Operation: 92/2=46, Resulting Numbers: [99, 2, 46]
Generated Node #0,1: 28:[99, 2, 46] Operation: 92/2=46
Exploring Operation: 92/2=46, Resulting Numbers: [99, 2, 46]
Generated Node #0,2: 28:[99, 2, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[2, 2, 7], Operations: ['99-92=7']
Exploring Operation: 2*2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 2*2=4
Exploring Operation: 2*7=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 28:[2, 14] Operation: 2*7=14
Exploring Operation: 2+2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,2: 28:[7, 4] Operation: 2+2=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['99-92=7', '2*2=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[99, 2, 92, 2], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 2, 7]
Generated Node #0,0: 28:[2, 2, 7] Operation: 99-92=7
Moving to Node #0,0
Current State: 28:[2, 2, 7], Operations: ['99-92=7']
Exploring Operation: 2*2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 2*2=4
Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['99-92=7', '2*2=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
52,
61,
22,
2
] | 89 | [
"52+61=113",
"22+2=24",
"113-24=89"
] | Current State: 89:[52, 61, 22, 2], Operations: []
Exploring Operation: 52+61=113, Resulting Numbers: [22, 2, 113]
Generated Node #2: [22, 2, 113] from Operation: 52+61=113
Current State: 89:[22, 2, 113], Operations: ['52+61=113']
Exploring Operation: 22+2=24, Resulting Numbers: [113, 24]
Generated Node #3: [113, 24] from Operation: 22+2=24
Current State: 89:[113, 24], Operations: ['52+61=113', '22+2=24']
Exploring Operation: 113-24=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[52, 61, 22, 2], Operations: []
Exploring Operation: 52*2=104, Resulting Numbers: [61, 22, 104]
Generated Node #0,0: 89:[61, 22, 104] Operation: 52*2=104
Exploring Operation: 22*2=44, Resulting Numbers: [52, 61, 44]
Generated Node #0,1: 89:[52, 61, 44] Operation: 22*2=44
Exploring Operation: 52+2=54, Resulting Numbers: [61, 22, 54]
Generated Node #0,2: 89:[61, 22, 54] Operation: 52+2=54
Exploring Operation: 52+22=74, Resulting Numbers: [61, 2, 74]
Generated Node #0,3: 89:[61, 2, 74] Operation: 52+22=74
Exploring Operation: 61+22=83, Resulting Numbers: [52, 2, 83]
Generated Node #0,4: 89:[52, 2, 83] Operation: 61+22=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[61, 22, 104], Operations: ['52*2=104']
Exploring Operation: 22+104=126, Resulting Numbers: [61, 126]
Generated Node #0,0,0: 89:[61, 126] Operation: 22+104=126
Exploring Operation: 104-61=43, Resulting Numbers: [22, 43]
Generated Node #0,0,1: 89:[22, 43] Operation: 104-61=43
Exploring Operation: 104-22=82, Resulting Numbers: [61, 82]
Generated Node #0,0,2: 89:[61, 82] Operation: 104-22=82
Exploring Operation: 61+22=83, Resulting Numbers: [104, 83]
Generated Node #0,0,3: 89:[104, 83] Operation: 61+22=83
Exploring Operation: 61-22=39, Resulting Numbers: [104, 39]
Generated Node #0,0,4: 89:[104, 39] Operation: 61-22=39
Moving to Node #0,0,3
Current State: 89:[104, 83], Operations: ['52*2=104', '61+22=83']
Exploring Operation: 104-83=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 104+83=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 104*83=8632, Resulting Numbers: [8632]
8632,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[61, 82], Operations: ['52*2=104', '104-22=82']
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 61+82=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 61*82=5002, Resulting Numbers: [5002]
5002,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[61, 126], Operations: ['52*2=104', '22+104=126']
Exploring Operation: 126-61=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Exploring Operation: 61+126=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 61*126=7686, Resulting Numbers: [7686]
7686,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[104, 39], Operations: ['52*2=104', '61-22=39']
Exploring Operation: 104*39=4056, Resulting Numbers: [4056]
4056,89 unequal: No Solution
Exploring Operation: 104+39=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[22, 43], Operations: ['52*2=104', '104-61=43']
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,89 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,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,1
Current State: 89:[52, 61, 44], Operations: ['22*2=44']
Exploring Operation: 52+44=96, Resulting Numbers: [61, 96]
Generated Node #0,1,0: 89:[61, 96] Operation: 52+44=96
Exploring Operation: 61-44=17, Resulting Numbers: [52, 17]
Generated Node #0,1,1: 89:[52, 17] Operation: 61-44=17
Exploring Operation: 52-44=8, Resulting Numbers: [61, 8]
Generated Node #0,1,2: 89:[61, 8] Operation: 52-44=8
Exploring Operation: 61+44=105, Resulting Numbers: [52, 105]
Generated Node #0,1,3: 89:[52, 105] Operation: 61+44=105
Exploring Operation: 52+61=113, Resulting Numbers: [44, 113]
Generated Node #0,1,4: 89:[44, 113] Operation: 52+61=113
Moving to Node #0,1,0
Current State: 89:[61, 96], Operations: ['22*2=44', '52+44=96']
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,89 unequal: No Solution
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[52, 105], Operations: ['22*2=44', '61+44=105']
Exploring Operation: 52+105=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 52*105=5460, Resulting Numbers: [5460]
5460,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[44, 113], Operations: ['22*2=44', '52+61=113']
Exploring Operation: 113-44=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 44+113=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 44*113=4972, Resulting Numbers: [4972]
4972,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[52, 17], Operations: ['22*2=44', '61-44=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,89 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[61, 8], Operations: ['22*2=44', '52-44=8']
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[61, 22, 54], Operations: ['52+2=54']
Exploring Operation: 54-22=32, Resulting Numbers: [61, 32]
Generated Node #0,2,0: 89:[61, 32] Operation: 54-22=32
Exploring Operation: 61+54=115, Resulting Numbers: [22, 115]
Generated Node #0,2,1: 89:[22, 115] Operation: 61+54=115
Exploring Operation: 22+54=76, Resulting Numbers: [61, 76]
Generated Node #0,2,2: 89:[61, 76] Operation: 22+54=76
Exploring Operation: 61-22=39, Resulting Numbers: [54, 39]
Generated Node #0,2,3: 89:[54, 39] Operation: 61-22=39
Exploring Operation: 61+22=83, Resulting Numbers: [54, 83]
Generated Node #0,2,4: 89:[54, 83] Operation: 61+22=83
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[61, 76], Operations: ['52+2=54', '22+54=76']
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,89 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,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,2,4
Current State: 89:[54, 83], Operations: ['52+2=54', '61+22=83']
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,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,2,0
Current State: 89:[61, 32], Operations: ['52+2=54', '54-22=32']
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,89 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,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,2,3
Current State: 89:[54, 39], Operations: ['52+2=54', '61-22=39']
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,89 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,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,2,1
Current State: 89:[22, 115], Operations: ['52+2=54', '61+54=115']
Exploring Operation: 115-22=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Exploring Operation: 22*115=2530, Resulting Numbers: [2530]
2530,89 unequal: No Solution
Exploring Operation: 22+115=137, Resulting Numbers: [137]
137,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,3
Current State: 89:[61, 2, 74], Operations: ['52+22=74']
Exploring Operation: 74-2=72, Resulting Numbers: [61, 72]
Generated Node #0,3,0: 89:[61, 72] Operation: 74-2=72
Exploring Operation: 61-2=59, Resulting Numbers: [74, 59]
Generated Node #0,3,1: 89:[74, 59] Operation: 61-2=59
Exploring Operation: 61*2=122, Resulting Numbers: [74, 122]
Generated Node #0,3,2: 89:[74, 122] Operation: 61*2=122
Exploring Operation: 2+74=76, Resulting Numbers: [61, 76]
Generated Node #0,3,3: 89:[61, 76] Operation: 2+74=76
Exploring Operation: 61+2=63, Resulting Numbers: [74, 63]
Generated Node #0,3,4: 89:[74, 63] Operation: 61+2=63
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[61, 76], Operations: ['52+22=74', '2+74=76']
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,89 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,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,3,4
Current State: 89:[74, 63], Operations: ['52+22=74', '61+2=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,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,3,0
Current State: 89:[61, 72], Operations: ['52+22=74', '74-2=72']
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,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,3,1
Current State: 89:[74, 59], Operations: ['52+22=74', '61-2=59']
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,89 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,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,3,2
Current State: 89:[74, 122], Operations: ['52+22=74', '61*2=122']
Exploring Operation: 74*122=9028, Resulting Numbers: [9028]
9028,89 unequal: No Solution
Exploring Operation: 122-74=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 74+122=196, Resulting Numbers: [196]
196,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,4
Current State: 89:[52, 2, 83], Operations: ['61+22=83']
Exploring Operation: 2+83=85, Resulting Numbers: [52, 85]
Generated Node #0,4,0: 89:[52, 85] Operation: 2+83=85
Exploring Operation: 83-2=81, Resulting Numbers: [52, 81]
Generated Node #0,4,1: 89:[52, 81] Operation: 83-2=81
Exploring Operation: 52*2=104, Resulting Numbers: [83, 104]
Generated Node #0,4,2: 89:[83, 104] Operation: 52*2=104
Exploring Operation: 52+2=54, Resulting Numbers: [83, 54]
Generated Node #0,4,3: 89:[83, 54] Operation: 52+2=54
Exploring Operation: 52-2=50, Resulting Numbers: [83, 50]
Generated Node #0,4,4: 89:[83, 50] Operation: 52-2=50
Moving to Node #0,4,2
Current State: 89:[83, 104], Operations: ['61+22=83', '52*2=104']
Exploring Operation: 83*104=8632, Resulting Numbers: [8632]
8632,89 unequal: No Solution
Exploring Operation: 104-83=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 83+104=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[83, 54], Operations: ['61+22=83', '52+2=54']
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,89 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[52, 85], Operations: ['61+22=83', '2+83=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[52, 81], Operations: ['61+22=83', '83-2=81']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,89 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[83, 50], Operations: ['61+22=83', '52-2=50']
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,89 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 |
[
87,
10,
11,
15
] | 69 | [
"87*10=870",
"870/15=58",
"11+58=69"
] | Current State: 69:[87, 10, 11, 15], Operations: []
Exploring Operation: 87*10=870, Resulting Numbers: [11, 15, 870]
Generated Node #2: [11, 15, 870] from Operation: 87*10=870
Current State: 69:[11, 15, 870], Operations: ['87*10=870']
Exploring Operation: 870/15=58, Resulting Numbers: [11, 58]
Generated Node #3: [11, 58] from Operation: 870/15=58
Current State: 69:[11, 58], Operations: ['87*10=870', '870/15=58']
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[87, 10, 11, 15], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [10, 11, 72]
Generated Node #0,0: 69:[10, 11, 72] Operation: 87-15=72
Exploring Operation: 15-11=4, Resulting Numbers: [87, 10, 4]
Generated Node #0,1: 69:[87, 10, 4] Operation: 15-11=4
Exploring Operation: 87-10=77, Resulting Numbers: [11, 15, 77]
Generated Node #0,2: 69:[11, 15, 77] Operation: 87-10=77
Exploring Operation: 87-11=76, Resulting Numbers: [10, 15, 76]
Generated Node #0,3: 69:[10, 15, 76] Operation: 87-11=76
Exploring Operation: 10+11=21, Resulting Numbers: [87, 15, 21]
Generated Node #0,4: 69:[87, 15, 21] Operation: 10+11=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 11, 72], Operations: ['87-15=72']
Exploring Operation: 72-11=61, Resulting Numbers: [10, 61]
Generated Node #0,0,0: 69:[10, 61] Operation: 72-11=61
Exploring Operation: 10+11=21, Resulting Numbers: [72, 21]
Generated Node #0,0,1: 69:[72, 21] Operation: 10+11=21
Exploring Operation: 72-10=62, Resulting Numbers: [11, 62]
Generated Node #0,0,2: 69:[11, 62] Operation: 72-10=62
Exploring Operation: 11-10=1, Resulting Numbers: [72, 1]
Generated Node #0,0,3: 69:[72, 1] Operation: 11-10=1
Exploring Operation: 10+72=82, Resulting Numbers: [11, 82]
Generated Node #0,0,4: 69:[11, 82] Operation: 10+72=82
Moving to Node #0,0,1
Current State: 69:[72, 21], Operations: ['87-15=72', '10+11=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,69 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[72, 1], Operations: ['87-15=72', '11-10=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[10, 61], Operations: ['87-15=72', '72-11=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,69 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[11, 62], Operations: ['87-15=72', '72-10=62']
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[11, 82], Operations: ['87-15=72', '10+72=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,69 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,69 unequal: No Solution
No 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: 69:[10, 15, 76], Operations: ['87-11=76']
Exploring Operation: 76-15=61, Resulting Numbers: [10, 61]
Generated Node #0,3,0: 69:[10, 61] Operation: 76-15=61
Exploring Operation: 76-10=66, Resulting Numbers: [15, 66]
Generated Node #0,3,1: 69:[15, 66] Operation: 76-10=66
Exploring Operation: 10+15=25, Resulting Numbers: [76, 25]
Generated Node #0,3,2: 69:[76, 25] Operation: 10+15=25
Exploring Operation: 10+76=86, Resulting Numbers: [15, 86]
Generated Node #0,3,3: 69:[15, 86] Operation: 10+76=86
Exploring Operation: 15-10=5, Resulting Numbers: [76, 5]
Generated Node #0,3,4: 69:[76, 5] Operation: 15-10=5
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 69:[76, 25], Operations: ['87-11=76', '10+15=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,69 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 69:[76, 5], Operations: ['87-11=76', '15-10=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,69 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: 69:[15, 66], Operations: ['87-11=76', '76-10=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,69 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,69 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: 69:[10, 61], Operations: ['87-11=76', '76-15=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,69 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,69 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: 69:[15, 86], Operations: ['87-11=76', '10+76=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,69 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,69 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: 69:[11, 15, 77], Operations: ['87-10=77']
Exploring Operation: 77-15=62, Resulting Numbers: [11, 62]
Generated Node #0,2,0: 69:[11, 62] Operation: 77-15=62
Exploring Operation: 77-11=66, Resulting Numbers: [15, 66]
Generated Node #0,2,1: 69:[15, 66] Operation: 77-11=66
Exploring Operation: 15-11=4, Resulting Numbers: [77, 4]
Generated Node #0,2,2: 69:[77, 4] Operation: 15-11=4
Exploring Operation: 77/11=7, Resulting Numbers: [15, 7]
Generated Node #0,2,3: 69:[15, 7] Operation: 77/11=7
Exploring Operation: 11+15=26, Resulting Numbers: [77, 26]
Generated Node #0,2,4: 69:[77, 26] Operation: 11+15=26
Moving to Node #0,2,2
Current State: 69:[77, 4], Operations: ['87-10=77', '15-11=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[77, 26], Operations: ['87-10=77', '11+15=26']
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,69 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[15, 66], Operations: ['87-10=77', '77-11=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,69 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[15, 7], Operations: ['87-10=77', '77/11=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[11, 62], Operations: ['87-10=77', '77-15=62']
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,69 unequal: No Solution
No 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: 69:[87, 10, 4], Operations: ['15-11=4']
Exploring Operation: 87-10=77, Resulting Numbers: [4, 77]
Generated Node #0,1,0: 69:[4, 77] Operation: 87-10=77
Exploring Operation: 10+4=14, Resulting Numbers: [87, 14]
Generated Node #0,1,1: 69:[87, 14] Operation: 10+4=14
Exploring Operation: 87-4=83, Resulting Numbers: [10, 83]
Generated Node #0,1,2: 69:[10, 83] Operation: 87-4=83
Exploring Operation: 10-4=6, Resulting Numbers: [87, 6]
Generated Node #0,1,3: 69:[87, 6] Operation: 10-4=6
Exploring Operation: 87+10=97, Resulting Numbers: [4, 97]
Generated Node #0,1,4: 69:[4, 97] Operation: 87+10=97
Moving to Node #0,1,0
Current State: 69:[4, 77], Operations: ['15-11=4', '87-10=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,69 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[87, 6], Operations: ['15-11=4', '10-4=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[10, 83], Operations: ['15-11=4', '87-4=83']
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,69 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[87, 14], Operations: ['15-11=4', '10+4=14']
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,69 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[4, 97], Operations: ['15-11=4', '87+10=97']
Exploring Operation: 4*97=388, Resulting Numbers: [388]
388,69 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,69 unequal: No Solution
No 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: 69:[87, 15, 21], Operations: ['10+11=21']
Exploring Operation: 87+15=102, Resulting Numbers: [21, 102]
Generated Node #0,4,0: 69:[21, 102] Operation: 87+15=102
Exploring Operation: 87-15=72, Resulting Numbers: [21, 72]
Generated Node #0,4,1: 69:[21, 72] Operation: 87-15=72
Exploring Operation: 87-21=66, Resulting Numbers: [15, 66]
Generated Node #0,4,2: 69:[15, 66] Operation: 87-21=66
Exploring Operation: 21-15=6, Resulting Numbers: [87, 6]
Generated Node #0,4,3: 69:[87, 6] Operation: 21-15=6
Exploring Operation: 15+21=36, Resulting Numbers: [87, 36]
Generated Node #0,4,4: 69:[87, 36] Operation: 15+21=36
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[21, 72], Operations: ['10+11=21', '87-15=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,69 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,69 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: 69:[15, 66], Operations: ['10+11=21', '87-21=66']
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,69 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,69 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: 69:[87, 6], Operations: ['10+11=21', '21-15=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,69 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,69 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: 69:[87, 36], Operations: ['10+11=21', '15+21=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,69 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,69 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: 69:[21, 102], Operations: ['10+11=21', '87+15=102']
Exploring Operation: 21*102=2142, Resulting Numbers: [2142]
2142,69 unequal: No Solution
Exploring Operation: 21+102=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
14,
65,
37
] | 48 | [
"6+14=20",
"65-37=28",
"20+28=48"
] | Current State: 48:[6, 14, 65, 37], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [65, 37, 20]
Generated Node #2: [65, 37, 20] from Operation: 6+14=20
Current State: 48:[65, 37, 20], Operations: ['6+14=20']
Exploring Operation: 65-37=28, Resulting Numbers: [20, 28]
Generated Node #3: [20, 28] from Operation: 65-37=28
Current State: 48:[20, 28], Operations: ['6+14=20', '65-37=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 14, 65, 37], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [6, 14, 28]
Generated Node #0,0: 48:[6, 14, 28] Operation: 65-37=28
Exploring Operation: 14+37=51, Resulting Numbers: [6, 65, 51]
Generated Node #0,1: 48:[6, 65, 51] Operation: 14+37=51
Exploring Operation: 37-14=23, Resulting Numbers: [6, 65, 23]
Generated Node #0,2: 48:[6, 65, 23] Operation: 37-14=23
Exploring Operation: 65-14=51, Resulting Numbers: [6, 37, 51]
Generated Node #0,3: 48:[6, 37, 51] Operation: 65-14=51
Moving to Node #0,0
Current State: 48:[6, 14, 28], Operations: ['65-37=28']
Exploring Operation: 28-6=22, Resulting Numbers: [14, 22]
Generated Node #0,0,0: 48:[14, 22] Operation: 28-6=22
Exploring Operation: 14-6=8, Resulting Numbers: [28, 8]
Generated Node #0,0,1: 48:[28, 8] Operation: 14-6=8
Exploring Operation: 28-14=14, Resulting Numbers: [6, 14]
Generated Node #0,0,2: 48:[6, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [6, 2]
Generated Node #0,0,3: 48:[6, 2] Operation: 28/14=2
Moving to Node #0,3
Current State: 48:[6, 37, 51], Operations: ['65-14=51']
Exploring Operation: 51-6=45, Resulting Numbers: [37, 45]
Generated Node #0,3,0: 48:[37, 45] Operation: 51-6=45
Exploring Operation: 37-6=31, Resulting Numbers: [51, 31]
Generated Node #0,3,1: 48:[51, 31] Operation: 37-6=31
Exploring Operation: 6+37=43, Resulting Numbers: [51, 43]
Generated Node #0,3,2: 48:[51, 43] Operation: 6+37=43
Exploring Operation: 51-37=14, Resulting Numbers: [6, 14]
Generated Node #0,3,3: 48:[6, 14] Operation: 51-37=14
Moving to Node #0,2
Current State: 48:[6, 65, 23], Operations: ['37-14=23']
Exploring Operation: 6+23=29, Resulting Numbers: [65, 29]
Generated Node #0,2,0: 48:[65, 29] Operation: 6+23=29
Exploring Operation: 65-6=59, Resulting Numbers: [23, 59]
Generated Node #0,2,1: 48:[23, 59] Operation: 65-6=59
Exploring Operation: 23-6=17, Resulting Numbers: [65, 17]
Generated Node #0,2,2: 48:[65, 17] Operation: 23-6=17
Exploring Operation: 65-23=42, Resulting Numbers: [6, 42]
Generated Node #0,2,3: 48:[6, 42] Operation: 65-23=42
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[6, 42], Operations: ['37-14=23', '65-23=42']
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,48 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[6, 14, 65, 37], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [6, 65, 23]
Generated Node #0,2: 48:[6, 65, 23] Operation: 37-14=23
Moving to Node #0,2
Current State: 48:[6, 65, 23], Operations: ['37-14=23']
Exploring Operation: 65-23=42, Resulting Numbers: [6, 42]
Generated Node #0,2,3: 48:[6, 42] Operation: 65-23=42
Moving to Node #0,2,3
Current State: 48:[6, 42], Operations: ['37-14=23', '65-23=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
43,
10,
3,
39
] | 18 | [
"43-10=33",
"39-33=6",
"3*6=18"
] | Current State: 18:[43, 10, 3, 39], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [3, 39, 33]
Generated Node #2: [3, 39, 33] from Operation: 43-10=33
Current State: 18:[3, 39, 33], Operations: ['43-10=33']
Exploring Operation: 39-33=6, Resulting Numbers: [3, 6]
Generated Node #3: [3, 6] from Operation: 39-33=6
Current State: 18:[3, 6], Operations: ['43-10=33', '39-33=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[43, 10, 3, 39], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [43, 10, 13]
Generated Node #0,0: 18:[43, 10, 13] Operation: 39/3=13
Exploring Operation: 43-10=33, Resulting Numbers: [3, 39, 33]
Generated Node #0,1: 18:[3, 39, 33] Operation: 43-10=33
Exploring Operation: 43-39=4, Resulting Numbers: [10, 3, 4]
Generated Node #0,2: 18:[10, 3, 4] Operation: 43-39=4
Exploring Operation: 39-10=29, Resulting Numbers: [43, 3, 29]
Generated Node #0,3: 18:[43, 3, 29] Operation: 39-10=29
Exploring Operation: 43-3=40, Resulting Numbers: [10, 39, 40]
Generated Node #0,4: 18:[10, 39, 40] Operation: 43-3=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[10, 3, 4], Operations: ['43-39=4']
Exploring Operation: 3+4=7, Resulting Numbers: [10, 7]
Generated Node #0,2,0: 18:[10, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [10, 1]
Generated Node #0,2,1: 18:[10, 1] Operation: 4-3=1
Exploring Operation: 10+4=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 18:[3, 14] Operation: 10+4=14
Exploring Operation: 10-3=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 18:[4, 7] Operation: 10-3=7
Exploring Operation: 10-4=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 18:[3, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 18:[3, 6], Operations: ['43-39=4', '10-4=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[43, 10, 3, 39], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [10, 3, 4]
Generated Node #0,2: 18:[10, 3, 4] Operation: 43-39=4
Moving to Node #0,2
Current State: 18:[10, 3, 4], Operations: ['43-39=4']
Exploring Operation: 10-4=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 18:[3, 6] Operation: 10-4=6
Moving to Node #0,2,4
Current State: 18:[3, 6], Operations: ['43-39=4', '10-4=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
34,
77,
55,
84
] | 94 | [
"55*84=4620",
"4620/77=60",
"34+60=94"
] | Current State: 94:[34, 77, 55, 84], Operations: []
Exploring Operation: 55*84=4620, Resulting Numbers: [34, 77, 4620]
Generated Node #2: [34, 77, 4620] from Operation: 55*84=4620
Current State: 94:[34, 77, 4620], Operations: ['55*84=4620']
Exploring Operation: 4620/77=60, Resulting Numbers: [34, 60]
Generated Node #3: [34, 60] from Operation: 4620/77=60
Current State: 94:[34, 60], Operations: ['55*84=4620', '4620/77=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[34, 77, 55, 84], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [77, 55, 50]
Generated Node #0,0: 94:[77, 55, 50] Operation: 84-34=50
Exploring Operation: 34+55=89, Resulting Numbers: [77, 84, 89]
Generated Node #0,1: 94:[77, 84, 89] Operation: 34+55=89
Exploring Operation: 84-77=7, Resulting Numbers: [34, 55, 7]
Generated Node #0,2: 94:[34, 55, 7] Operation: 84-77=7
Exploring Operation: 77-34=43, Resulting Numbers: [55, 84, 43]
Generated Node #0,3: 94:[55, 84, 43] Operation: 77-34=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[55, 84, 43], Operations: ['77-34=43']
Exploring Operation: 55+43=98, Resulting Numbers: [84, 98]
Generated Node #0,3,0: 94:[84, 98] Operation: 55+43=98
Exploring Operation: 84-55=29, Resulting Numbers: [43, 29]
Generated Node #0,3,1: 94:[43, 29] Operation: 84-55=29
Exploring Operation: 55-43=12, Resulting Numbers: [84, 12]
Generated Node #0,3,2: 94:[84, 12] Operation: 55-43=12
Exploring Operation: 84-43=41, Resulting Numbers: [55, 41]
Generated Node #0,3,3: 94:[55, 41] Operation: 84-43=41
Moving to Node #0,3,0
Current State: 94:[84, 98], Operations: ['77-34=43', '55+43=98']
Exploring Operation: 84+98=182, Resulting Numbers: [182]
182,94 unequal: No Solution
Exploring Operation: 84*98=8232, Resulting Numbers: [8232]
8232,94 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[55, 41], Operations: ['77-34=43', '84-43=41']
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[84, 12], Operations: ['77-34=43', '55-43=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,94 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[43, 29], Operations: ['77-34=43', '84-55=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,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:[34, 55, 7], Operations: ['84-77=7']
Exploring Operation: 55-7=48, Resulting Numbers: [34, 48]
Generated Node #0,2,0: 94:[34, 48] Operation: 55-7=48
Exploring Operation: 34+55=89, Resulting Numbers: [7, 89]
Generated Node #0,2,1: 94:[7, 89] Operation: 34+55=89
Exploring Operation: 55-34=21, Resulting Numbers: [7, 21]
Generated Node #0,2,2: 94:[7, 21] Operation: 55-34=21
Exploring Operation: 34+7=41, Resulting Numbers: [55, 41]
Generated Node #0,2,3: 94:[55, 41] Operation: 34+7=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[7, 89], Operations: ['84-77=7', '34+55=89']
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,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,0
Current State: 94:[34, 48], Operations: ['84-77=7', '55-7=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,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:[55, 41], Operations: ['84-77=7', '34+7=41']
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,94 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,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:[7, 21], Operations: ['84-77=7', '55-34=21']
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,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, 55, 50], Operations: ['84-34=50']
Exploring Operation: 77-50=27, Resulting Numbers: [55, 27]
Generated Node #0,0,0: 94:[55, 27] Operation: 77-50=27
Exploring Operation: 77-55=22, Resulting Numbers: [50, 22]
Generated Node #0,0,1: 94:[50, 22] Operation: 77-55=22
Exploring Operation: 55+50=105, Resulting Numbers: [77, 105]
Generated Node #0,0,2: 94:[77, 105] Operation: 55+50=105
Exploring Operation: 55-50=5, Resulting Numbers: [77, 5]
Generated Node #0,0,3: 94:[77, 5] Operation: 55-50=5
Moving to Node #0,0,3
Current State: 94:[77, 5], Operations: ['84-34=50', '55-50=5']
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,94 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[50, 22], Operations: ['84-34=50', '77-55=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,94 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[77, 105], Operations: ['84-34=50', '55+50=105']
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,94 unequal: No Solution
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,94 unequal: No Solution
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[55, 27], Operations: ['84-34=50', '77-50=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,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
Current State: 94:[77, 84, 89], Operations: ['34+55=89']
Exploring Operation: 89-77=12, Resulting Numbers: [84, 12]
Generated Node #0,1,0: 94:[84, 12] Operation: 89-77=12
Exploring Operation: 89-84=5, Resulting Numbers: [77, 5]
Generated Node #0,1,1: 94:[77, 5] Operation: 89-84=5
Exploring Operation: 77+84=161, Resulting Numbers: [89, 161]
Generated Node #0,1,2: 94:[89, 161] Operation: 77+84=161
Exploring Operation: 84-77=7, Resulting Numbers: [89, 7]
Generated Node #0,1,3: 94:[89, 7] Operation: 84-77=7
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[89, 7], Operations: ['34+55=89', '84-77=7']
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,94 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,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:[84, 12], Operations: ['34+55=89', '89-77=12']
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,94 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,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:[77, 5], Operations: ['34+55=89', '89-84=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,94 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,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:[89, 161], Operations: ['34+55=89', '77+84=161']
Exploring Operation: 89*161=14329, Resulting Numbers: [14329]
14329,94 unequal: No Solution
Exploring Operation: 89+161=250, Resulting Numbers: [250]
250,94 unequal: No Solution
Exploring Operation: 161-89=72, Resulting Numbers: [72]
72,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 |
[
29,
67,
32,
52
] | 12 | [
"29+67=96",
"32+52=84",
"96-84=12"
] | Current State: 12:[29, 67, 32, 52], Operations: []
Exploring Operation: 29+67=96, Resulting Numbers: [32, 52, 96]
Generated Node #2: [32, 52, 96] from Operation: 29+67=96
Current State: 12:[32, 52, 96], Operations: ['29+67=96']
Exploring Operation: 32+52=84, Resulting Numbers: [96, 84]
Generated Node #3: [96, 84] from Operation: 32+52=84
Current State: 12:[96, 84], Operations: ['29+67=96', '32+52=84']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[29, 67, 32, 52], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [29, 67, 20]
Generated Node #0,0: 12:[29, 67, 20] Operation: 52-32=20
Exploring Operation: 67-52=15, Resulting Numbers: [29, 32, 15]
Generated Node #0,1: 12:[29, 32, 15] Operation: 67-52=15
Exploring Operation: 67-32=35, Resulting Numbers: [29, 52, 35]
Generated Node #0,2: 12:[29, 52, 35] Operation: 67-32=35
Moving to Node #0,1
Current State: 12:[29, 32, 15], Operations: ['67-52=15']
Exploring Operation: 32-29=3, Resulting Numbers: [15, 3]
Generated Node #0,1,0: 12:[15, 3] Operation: 32-29=3
Exploring Operation: 29-15=14, Resulting Numbers: [32, 14]
Generated Node #0,1,1: 12:[32, 14] Operation: 29-15=14
Exploring Operation: 32-15=17, Resulting Numbers: [29, 17]
Generated Node #0,1,2: 12:[29, 17] Operation: 32-15=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[15, 3], Operations: ['67-52=15', '32-29=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[29, 67, 32, 52], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [29, 32, 15]
Generated Node #0,1: 12:[29, 32, 15] Operation: 67-52=15
Moving to Node #0,1
Current State: 12:[29, 32, 15], Operations: ['67-52=15']
Exploring Operation: 32-29=3, Resulting Numbers: [15, 3]
Generated Node #0,1,0: 12:[15, 3] Operation: 32-29=3
Moving to Node #0,1,0
Current State: 12:[15, 3], Operations: ['67-52=15', '32-29=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
18,
94,
76,
79
] | 100 | [
"79-76=3",
"18/3=6",
"94+6=100"
] | Current State: 100:[18, 94, 76, 79], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [18, 94, 3]
Generated Node #2: [18, 94, 3] from Operation: 79-76=3
Current State: 100:[18, 94, 3], Operations: ['79-76=3']
Exploring Operation: 18/3=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 18/3=6
Current State: 100:[94, 6], Operations: ['79-76=3', '18/3=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[18, 94, 76, 79], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [18, 94, 3]
Generated Node #0,0: 100:[18, 94, 3] Operation: 79-76=3
Moving to Node #0,0
Current State: 100:[18, 94, 3], Operations: ['79-76=3']
Exploring Operation: 94+3=97, Resulting Numbers: [18, 97]
Generated Node #0,0,0: 100:[18, 97] Operation: 94+3=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[18, 97], Operations: ['79-76=3', '94+3=97']
Exploring Operation: 18+97=115, Resulting Numbers: [115]
115,100 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 |
[
34,
45,
36,
65
] | 90 | [
"45-34=11",
"36+65=101",
"101-11=90"
] | Current State: 90:[34, 45, 36, 65], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [36, 65, 11]
Generated Node #2: [36, 65, 11] from Operation: 45-34=11
Current State: 90:[36, 65, 11], Operations: ['45-34=11']
Exploring Operation: 36+65=101, Resulting Numbers: [11, 101]
Generated Node #3: [11, 101] from Operation: 36+65=101
Current State: 90:[11, 101], Operations: ['45-34=11', '36+65=101']
Exploring Operation: 101-11=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[34, 45, 36, 65], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [34, 45, 29]
Generated Node #0,0: 90:[34, 45, 29] Operation: 65-36=29
Exploring Operation: 65-34=31, Resulting Numbers: [45, 36, 31]
Generated Node #0,1: 90:[45, 36, 31] Operation: 65-34=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[34, 45, 29], Operations: ['65-36=29']
Exploring Operation: 45-34=11, Resulting Numbers: [29, 11]
Generated Node #0,0,0: 90:[29, 11] Operation: 45-34=11
Exploring Operation: 34-29=5, Resulting Numbers: [45, 5]
Generated Node #0,0,1: 90:[45, 5] Operation: 34-29=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[45, 5], Operations: ['65-36=29', '34-29=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,90 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: 90:[29, 11], Operations: ['65-36=29', '45-34=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,90 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: 90:[45, 36, 31], Operations: ['65-34=31']
Exploring Operation: 36-31=5, Resulting Numbers: [45, 5]
Generated Node #0,1,0: 90:[45, 5] Operation: 36-31=5
Exploring Operation: 45-36=9, Resulting Numbers: [31, 9]
Generated Node #0,1,1: 90:[31, 9] Operation: 45-36=9
Moving to Node #0,1,0
Current State: 90:[45, 5], Operations: ['65-34=31', '36-31=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[31, 9], Operations: ['65-34=31', '45-36=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,90 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 |
[
45,
9,
98,
80
] | 23 | [
"45/9=5",
"98-80=18",
"5+18=23"
] | Current State: 23:[45, 9, 98, 80], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [98, 80, 5]
Generated Node #2: [98, 80, 5] from Operation: 45/9=5
Current State: 23:[98, 80, 5], Operations: ['45/9=5']
Exploring Operation: 98-80=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 98-80=18
Current State: 23:[5, 18], Operations: ['45/9=5', '98-80=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[45, 9, 98, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [45, 9, 18]
Generated Node #0,0: 23:[45, 9, 18] Operation: 98-80=18
Exploring Operation: 80-45=35, Resulting Numbers: [9, 98, 35]
Generated Node #0,1: 23:[9, 98, 35] Operation: 80-45=35
Exploring Operation: 98-45=53, Resulting Numbers: [9, 80, 53]
Generated Node #0,2: 23:[9, 80, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 23:[45, 9, 18], Operations: ['98-80=18']
Exploring Operation: 45-9=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 23:[18, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 23:[18, 5] Operation: 45/9=5
Exploring Operation: 45-18=27, Resulting Numbers: [9, 27]
Generated Node #0,0,2: 23:[9, 27] Operation: 45-18=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[18, 36], Operations: ['98-80=18', '45-9=36']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[9, 27], Operations: ['98-80=18', '45-18=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[18, 5], Operations: ['98-80=18', '45/9=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[45, 9, 98, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [45, 9, 18]
Generated Node #0,0: 23:[45, 9, 18] Operation: 98-80=18
Moving to Node #0,0
Current State: 23:[45, 9, 18], Operations: ['98-80=18']
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 23:[18, 5] Operation: 45/9=5
Moving to Node #0,0,1
Current State: 23:[18, 5], Operations: ['98-80=18', '45/9=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
77,
2,
25,
51
] | 25 | [
"77-25=52",
"52/2=26",
"51-26=25"
] | Current State: 25:[77, 2, 25, 51], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [2, 51, 52]
Generated Node #2: [2, 51, 52] from Operation: 77-25=52
Current State: 25:[2, 51, 52], Operations: ['77-25=52']
Exploring Operation: 52/2=26, Resulting Numbers: [51, 26]
Generated Node #3: [51, 26] from Operation: 52/2=26
Current State: 25:[51, 26], Operations: ['77-25=52', '52/2=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[77, 2, 25, 51], Operations: []
Exploring Operation: 77-2=75, Resulting Numbers: [25, 51, 75]
Generated Node #0,0: 25:[25, 51, 75] Operation: 77-2=75
Exploring Operation: 51-2=49, Resulting Numbers: [77, 25, 49]
Generated Node #0,1: 25:[77, 25, 49] Operation: 51-2=49
Exploring Operation: 77-51=26, Resulting Numbers: [2, 25, 26]
Generated Node #0,2: 25:[2, 25, 26] Operation: 77-51=26
Exploring Operation: 51-25=26, Resulting Numbers: [77, 2, 26]
Generated Node #0,3: 25:[77, 2, 26] Operation: 51-25=26
Exploring Operation: 77-25=52, Resulting Numbers: [2, 51, 52]
Generated Node #0,4: 25:[2, 51, 52] Operation: 77-25=52
Moving to Node #0,2
Current State: 25:[2, 25, 26], Operations: ['77-51=26']
Exploring Operation: 26-25=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 25:[2, 1] Operation: 26-25=1
Exploring Operation: 2+26=28, Resulting Numbers: [25, 28]
Generated Node #0,2,1: 25:[25, 28] Operation: 2+26=28
Exploring Operation: 26-2=24, Resulting Numbers: [25, 24]
Generated Node #0,2,2: 25:[25, 24] Operation: 26-2=24
Exploring Operation: 25-2=23, Resulting Numbers: [26, 23]
Generated Node #0,2,3: 25:[26, 23] Operation: 25-2=23
Exploring Operation: 2+25=27, Resulting Numbers: [26, 27]
Generated Node #0,2,4: 25:[26, 27] Operation: 2+25=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[25, 24], Operations: ['77-51=26', '26-2=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,25 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,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,1
Current State: 25:[25, 28], Operations: ['77-51=26', '2+26=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,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,3
Current State: 25:[26, 23], Operations: ['77-51=26', '25-2=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,25 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,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,4
Current State: 25:[26, 27], Operations: ['77-51=26', '2+25=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,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,0
Current State: 25:[2, 1], Operations: ['77-51=26', '26-25=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 25:[2, 51, 52], Operations: ['77-25=52']
Exploring Operation: 52-2=50, Resulting Numbers: [51, 50]
Generated Node #0,4,0: 25:[51, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [51, 26]
Generated Node #0,4,1: 25:[51, 26] Operation: 52/2=26
Exploring Operation: 51-2=49, Resulting Numbers: [52, 49]
Generated Node #0,4,2: 25:[52, 49] Operation: 51-2=49
Exploring Operation: 2+51=53, Resulting Numbers: [52, 53]
Generated Node #0,4,3: 25:[52, 53] Operation: 2+51=53
Exploring Operation: 52-51=1, Resulting Numbers: [2, 1]
Generated Node #0,4,4: 25:[2, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 25:[2, 1], Operations: ['77-25=52', '52-51=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No 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: 25:[51, 26], Operations: ['77-25=52', '52/2=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,25 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[77, 2, 25, 51], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [2, 51, 52]
Generated Node #0,4: 25:[2, 51, 52] Operation: 77-25=52
Moving to Node #0,4
Current State: 25:[2, 51, 52], Operations: ['77-25=52']
Exploring Operation: 52/2=26, Resulting Numbers: [51, 26]
Generated Node #0,4,1: 25:[51, 26] Operation: 52/2=26
Moving to Node #0,4,1
Current State: 25:[51, 26], Operations: ['77-25=52', '52/2=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.