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 |
|---|---|---|---|---|---|---|---|---|
[
5,
17,
95,
36
] | 46 | [
"5*17=85",
"95+36=131",
"131-85=46"
] | Current State: 46:[5, 17, 95, 36], Operations: []
Exploring Operation: 5*17=85, Resulting Numbers: [95, 36, 85]
Generated Node #2: [95, 36, 85] from Operation: 5*17=85
Current State: 46:[95, 36, 85], Operations: ['5*17=85']
Exploring Operation: 95+36=131, Resulting Numbers: [85, 131]
Generated Node #3: [85, 131] from Operation: 95+36=131
Current State: 46:[85, 131], Operations: ['5*17=85', '95+36=131']
Exploring Operation: 131-85=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 17, 95, 36], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [5, 17, 59]
Generated Node #0,0: 46:[5, 17, 59] Operation: 95-36=59
Exploring Operation: 95/5=19, Resulting Numbers: [17, 36, 19]
Generated Node #0,1: 46:[17, 36, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[17, 36, 19], Operations: ['95/5=19']
Exploring Operation: 36-17=19, Resulting Numbers: [19, 19]
Generated Node #0,1,0: 46:[19, 19] Operation: 36-17=19
Exploring Operation: 19-17=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 46:[36, 2] Operation: 19-17=2
Moving to Node #0,1,0
Current State: 46:[19, 19], Operations: ['95/5=19', '36-17=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[36, 2], Operations: ['95/5=19', '19-17=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,46 unequal: No Solution
No 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: 46:[5, 17, 59], Operations: ['95-36=59']
Exploring Operation: 5+17=22, Resulting Numbers: [59, 22]
Generated Node #0,0,0: 46:[59, 22] Operation: 5+17=22
Exploring Operation: 59-17=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 46:[5, 42] Operation: 59-17=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[5, 42], Operations: ['95-36=59', '59-17=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No 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: 46:[59, 22], Operations: ['95-36=59', '5+17=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
37,
51,
71
] | 30 | [
"20*51=1020",
"71-37=34",
"1020/34=30"
] | Current State: 30:[20, 37, 51, 71], Operations: []
Exploring Operation: 20*51=1020, Resulting Numbers: [37, 71, 1020]
Generated Node #2: [37, 71, 1020] from Operation: 20*51=1020
Current State: 30:[37, 71, 1020], Operations: ['20*51=1020']
Exploring Operation: 71-37=34, Resulting Numbers: [1020, 34]
Generated Node #3: [1020, 34] from Operation: 71-37=34
Current State: 30:[1020, 34], Operations: ['20*51=1020', '71-37=34']
Exploring Operation: 1020/34=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 37, 51, 71], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [20, 37, 20]
Generated Node #0,0: 30:[20, 37, 20] Operation: 71-51=20
Exploring Operation: 71-37=34, Resulting Numbers: [20, 51, 34]
Generated Node #0,1: 30:[20, 51, 34] Operation: 71-37=34
Moving to Node #0,0
Current State: 30:[20, 37, 20], Operations: ['71-51=20']
Exploring Operation: 37-20=17, Resulting Numbers: [20, 17]
Generated Node #0,0,0: 30:[20, 17] Operation: 37-20=17
Exploring Operation: 37-20=17, Resulting Numbers: [20, 17]
Generated Node #0,0,1: 30:[20, 17] Operation: 37-20=17
Moving to Node #0,1
Current State: 30:[20, 51, 34], Operations: ['71-37=34']
Exploring Operation: 51-20=31, Resulting Numbers: [34, 31]
Generated Node #0,1,0: 30:[34, 31] Operation: 51-20=31
Exploring Operation: 51-34=17, Resulting Numbers: [20, 17]
Generated Node #0,1,1: 30:[20, 17] Operation: 51-34=17
Moving to Node #0,1,0
Current State: 30:[34, 31], Operations: ['71-37=34', '51-20=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[20, 17], Operations: ['71-51=20', '37-20=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[20, 17], Operations: ['71-51=20', '37-20=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[20, 17], Operations: ['71-37=34', '51-34=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
95,
4,
32
] | 23 | [
"95-59=36",
"36/4=9",
"32-9=23"
] | Current State: 23:[59, 95, 4, 32], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [4, 32, 36]
Generated Node #2: [4, 32, 36] from Operation: 95-59=36
Current State: 23:[4, 32, 36], Operations: ['95-59=36']
Exploring Operation: 36/4=9, Resulting Numbers: [32, 9]
Generated Node #3: [32, 9] from Operation: 36/4=9
Current State: 23:[32, 9], Operations: ['95-59=36', '36/4=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[59, 95, 4, 32], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [95, 4, 27]
Generated Node #0,0: 23:[95, 4, 27] Operation: 59-32=27
Exploring Operation: 95-59=36, Resulting Numbers: [4, 32, 36]
Generated Node #0,1: 23:[4, 32, 36] Operation: 95-59=36
Exploring Operation: 95-32=63, Resulting Numbers: [59, 4, 63]
Generated Node #0,2: 23:[59, 4, 63] Operation: 95-32=63
Moving to Node #0,1
Current State: 23:[4, 32, 36], Operations: ['95-59=36']
Exploring Operation: 36/4=9, Resulting Numbers: [32, 9]
Generated Node #0,1,0: 23:[32, 9] Operation: 36/4=9
Exploring Operation: 32-4=28, Resulting Numbers: [36, 28]
Generated Node #0,1,1: 23:[36, 28] Operation: 32-4=28
Exploring Operation: 36-4=32, Resulting Numbers: [32, 32]
Generated Node #0,1,2: 23:[32, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[36, 28], Operations: ['95-59=36', '32-4=28']
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,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:[32, 32], Operations: ['95-59=36', '36-4=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,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:[32, 9], Operations: ['95-59=36', '36/4=9']
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,23 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[59, 95, 4, 32], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [4, 32, 36]
Generated Node #0,1: 23:[4, 32, 36] Operation: 95-59=36
Moving to Node #0,1
Current State: 23:[4, 32, 36], Operations: ['95-59=36']
Exploring Operation: 36/4=9, Resulting Numbers: [32, 9]
Generated Node #0,1,0: 23:[32, 9] Operation: 36/4=9
Moving to Node #0,1,0
Current State: 23:[32, 9], Operations: ['95-59=36', '36/4=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
55,
10,
45,
43
] | 50 | [
"45-43=2",
"10/2=5",
"55-5=50"
] | Current State: 50:[55, 10, 45, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [55, 10, 2]
Generated Node #2: [55, 10, 2] from Operation: 45-43=2
Current State: 50:[55, 10, 2], Operations: ['45-43=2']
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 10/2=5
Current State: 50:[55, 5], Operations: ['45-43=2', '10/2=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[55, 10, 45, 43], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [10, 45, 12]
Generated Node #0,0: 50:[10, 45, 12] Operation: 55-43=12
Exploring Operation: 55-10=45, Resulting Numbers: [45, 43, 45]
Generated Node #0,1: 50:[45, 43, 45] Operation: 55-10=45
Exploring Operation: 55-45=10, Resulting Numbers: [10, 43, 10]
Generated Node #0,2: 50:[10, 43, 10] Operation: 55-45=10
Exploring Operation: 45-43=2, Resulting Numbers: [55, 10, 2]
Generated Node #0,3: 50:[55, 10, 2] Operation: 45-43=2
Exploring Operation: 10+43=53, Resulting Numbers: [55, 45, 53]
Generated Node #0,4: 50:[55, 45, 53] Operation: 10+43=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[55, 10, 2], Operations: ['45-43=2']
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #0,3,0: 50:[55, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [55, 12]
Generated Node #0,3,1: 50:[55, 12] Operation: 10+2=12
Exploring Operation: 55-10=45, Resulting Numbers: [2, 45]
Generated Node #0,3,2: 50:[2, 45] Operation: 55-10=45
Exploring Operation: 55-2=53, Resulting Numbers: [10, 53]
Generated Node #0,3,3: 50:[10, 53] Operation: 55-2=53
Exploring Operation: 55+2=57, Resulting Numbers: [10, 57]
Generated Node #0,3,4: 50:[10, 57] Operation: 55+2=57
Moving to Node #0,3,3
Current State: 50:[10, 53], Operations: ['45-43=2', '55-2=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,50 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[2, 45], Operations: ['45-43=2', '55-10=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[55, 5], Operations: ['45-43=2', '10/2=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,50 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[55, 10, 45, 43], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [55, 10, 2]
Generated Node #0,3: 50:[55, 10, 2] Operation: 45-43=2
Moving to Node #0,3
Current State: 50:[55, 10, 2], Operations: ['45-43=2']
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #0,3,0: 50:[55, 5] Operation: 10/2=5
Moving to Node #0,3,0
Current State: 50:[55, 5], Operations: ['45-43=2', '10/2=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
26,
40,
57,
90
] | 81 | [
"26+40=66",
"57+90=147",
"147-66=81"
] | Current State: 81:[26, 40, 57, 90], Operations: []
Exploring Operation: 26+40=66, Resulting Numbers: [57, 90, 66]
Generated Node #2: [57, 90, 66] from Operation: 26+40=66
Current State: 81:[57, 90, 66], Operations: ['26+40=66']
Exploring Operation: 57+90=147, Resulting Numbers: [66, 147]
Generated Node #3: [66, 147] from Operation: 57+90=147
Current State: 81:[66, 147], Operations: ['26+40=66', '57+90=147']
Exploring Operation: 147-66=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[26, 40, 57, 90], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [26, 90, 17]
Generated Node #0,0: 81:[26, 90, 17] Operation: 57-40=17
Exploring Operation: 90-57=33, Resulting Numbers: [26, 40, 33]
Generated Node #0,1: 81:[26, 40, 33] Operation: 90-57=33
Exploring Operation: 57-26=31, Resulting Numbers: [40, 90, 31]
Generated Node #0,2: 81:[40, 90, 31] Operation: 57-26=31
Exploring Operation: 40+57=97, Resulting Numbers: [26, 90, 97]
Generated Node #0,3: 81:[26, 90, 97] Operation: 40+57=97
Exploring Operation: 26+57=83, Resulting Numbers: [40, 90, 83]
Generated Node #0,4: 81:[40, 90, 83] Operation: 26+57=83
Moving to Node #0,0
Current State: 81:[26, 90, 17], Operations: ['57-40=17']
Exploring Operation: 90-17=73, Resulting Numbers: [26, 73]
Generated Node #0,0,0: 81:[26, 73] Operation: 90-17=73
Exploring Operation: 90+17=107, Resulting Numbers: [26, 107]
Generated Node #0,0,1: 81:[26, 107] Operation: 90+17=107
Exploring Operation: 26+17=43, Resulting Numbers: [90, 43]
Generated Node #0,0,2: 81:[90, 43] Operation: 26+17=43
Exploring Operation: 90-26=64, Resulting Numbers: [17, 64]
Generated Node #0,0,3: 81:[17, 64] Operation: 90-26=64
Exploring Operation: 26-17=9, Resulting Numbers: [90, 9]
Generated Node #0,0,4: 81:[90, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[26, 73], Operations: ['57-40=17', '90-17=73']
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,81 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[90, 9], Operations: ['57-40=17', '26-17=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,81 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[26, 40, 57, 90], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [26, 90, 17]
Generated Node #0,0: 81:[26, 90, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 81:[26, 90, 17], Operations: ['57-40=17']
Exploring Operation: 26-17=9, Resulting Numbers: [90, 9]
Generated Node #0,0,4: 81:[90, 9] Operation: 26-17=9
Moving to Node #0,0,4
Current State: 81:[90, 9], Operations: ['57-40=17', '26-17=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
11,
79,
1,
74
] | 60 | [
"11+1=12",
"79-74=5",
"12*5=60"
] | Current State: 60:[11, 79, 1, 74], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [79, 74, 12]
Generated Node #2: [79, 74, 12] from Operation: 11+1=12
Current State: 60:[79, 74, 12], Operations: ['11+1=12']
Exploring Operation: 79-74=5, Resulting Numbers: [12, 5]
Generated Node #3: [12, 5] from Operation: 79-74=5
Current State: 60:[12, 5], Operations: ['11+1=12', '79-74=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[11, 79, 1, 74], Operations: []
Exploring Operation: 79-11=68, Resulting Numbers: [1, 74, 68]
Generated Node #0,0: 60:[1, 74, 68] Operation: 79-11=68
Exploring Operation: 11+1=12, Resulting Numbers: [79, 74, 12]
Generated Node #0,1: 60:[79, 74, 12] Operation: 11+1=12
Exploring Operation: 74-11=63, Resulting Numbers: [79, 1, 63]
Generated Node #0,2: 60:[79, 1, 63] Operation: 74-11=63
Exploring Operation: 79-74=5, Resulting Numbers: [11, 1, 5]
Generated Node #0,3: 60:[11, 1, 5] Operation: 79-74=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[11, 1, 5], Operations: ['79-74=5']
Exploring Operation: 11+1=12, Resulting Numbers: [5, 12]
Generated Node #0,3,0: 60:[5, 12] Operation: 11+1=12
Exploring Operation: 11*1=11, Resulting Numbers: [5, 11]
Generated Node #0,3,1: 60:[5, 11] Operation: 11*1=11
Exploring Operation: 11/1=11, Resulting Numbers: [5, 11]
Generated Node #0,3,2: 60:[5, 11] Operation: 11/1=11
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #0,3,3: 60:[5, 10] Operation: 11-1=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[5, 12], Operations: ['79-74=5', '11+1=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[11, 79, 1, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [11, 1, 5]
Generated Node #0,3: 60:[11, 1, 5] Operation: 79-74=5
Moving to Node #0,3
Current State: 60:[11, 1, 5], Operations: ['79-74=5']
Exploring Operation: 11+1=12, Resulting Numbers: [5, 12]
Generated Node #0,3,0: 60:[5, 12] Operation: 11+1=12
Moving to Node #0,3,0
Current State: 60:[5, 12], Operations: ['79-74=5', '11+1=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
8,
33,
72,
28
] | 12 | [
"8*33=264",
"72+264=336",
"336/28=12"
] | Current State: 12:[8, 33, 72, 28], Operations: []
Exploring Operation: 8*33=264, Resulting Numbers: [72, 28, 264]
Generated Node #2: [72, 28, 264] from Operation: 8*33=264
Current State: 12:[72, 28, 264], Operations: ['8*33=264']
Exploring Operation: 72+264=336, Resulting Numbers: [28, 336]
Generated Node #3: [28, 336] from Operation: 72+264=336
Current State: 12:[28, 336], Operations: ['8*33=264', '72+264=336']
Exploring Operation: 336/28=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[8, 33, 72, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [8, 33, 44]
Generated Node #0,0: 12:[8, 33, 44] Operation: 72-28=44
Exploring Operation: 72/8=9, Resulting Numbers: [33, 28, 9]
Generated Node #0,1: 12:[33, 28, 9] Operation: 72/8=9
Exploring Operation: 72-33=39, Resulting Numbers: [8, 28, 39]
Generated Node #0,2: 12:[8, 28, 39] Operation: 72-33=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[33, 28, 9], Operations: ['72/8=9']
Exploring Operation: 33-9=24, Resulting Numbers: [28, 24]
Generated Node #0,1,0: 12:[28, 24] Operation: 33-9=24
Exploring Operation: 28-9=19, Resulting Numbers: [33, 19]
Generated Node #0,1,1: 12:[33, 19] Operation: 28-9=19
Exploring Operation: 33-28=5, Resulting Numbers: [9, 5]
Generated Node #0,1,2: 12:[9, 5] Operation: 33-28=5
Moving to Node #0,1,2
Current State: 12:[9, 5], Operations: ['72/8=9', '33-28=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[28, 24], Operations: ['72/8=9', '33-9=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,12 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[33, 19], Operations: ['72/8=9', '28-9=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,12 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[8, 28, 39], Operations: ['72-33=39']
Exploring Operation: 39-28=11, Resulting Numbers: [8, 11]
Generated Node #0,2,0: 12:[8, 11] Operation: 39-28=11
Exploring Operation: 28-8=20, Resulting Numbers: [39, 20]
Generated Node #0,2,1: 12:[39, 20] Operation: 28-8=20
Exploring Operation: 39-8=31, Resulting Numbers: [28, 31]
Generated Node #0,2,2: 12:[28, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[8, 11], Operations: ['72-33=39', '39-28=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[39, 20], Operations: ['72-33=39', '28-8=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,12 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[28, 31], Operations: ['72-33=39', '39-8=31']
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,12 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[8, 33, 44], Operations: ['72-28=44']
Exploring Operation: 44-33=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 12:[8, 11] Operation: 44-33=11
Exploring Operation: 33-8=25, Resulting Numbers: [44, 25]
Generated Node #0,0,1: 12:[44, 25] Operation: 33-8=25
Exploring Operation: 44-8=36, Resulting Numbers: [33, 36]
Generated Node #0,0,2: 12:[33, 36] Operation: 44-8=36
Moving to Node #0,0,0
Current State: 12:[8, 11], Operations: ['72-28=44', '44-33=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[44, 25], Operations: ['72-28=44', '33-8=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,12 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[33, 36], Operations: ['72-28=44', '44-8=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,12 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 |
[
5,
33,
51,
99
] | 49 | [
"51-5=46",
"99/33=3",
"46+3=49"
] | Current State: 49:[5, 33, 51, 99], Operations: []
Exploring Operation: 51-5=46, Resulting Numbers: [33, 99, 46]
Generated Node #2: [33, 99, 46] from Operation: 51-5=46
Current State: 49:[33, 99, 46], Operations: ['51-5=46']
Exploring Operation: 99/33=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 99/33=3
Current State: 49:[46, 3], Operations: ['51-5=46', '99/33=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[5, 33, 51, 99], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [5, 51, 3]
Generated Node #0,0: 49:[5, 51, 3] Operation: 99/33=3
Exploring Operation: 99-51=48, Resulting Numbers: [5, 33, 48]
Generated Node #0,1: 49:[5, 33, 48] Operation: 99-51=48
Moving to Node #0,0
Current State: 49:[5, 51, 3], Operations: ['99/33=3']
Exploring Operation: 5+3=8, Resulting Numbers: [51, 8]
Generated Node #0,0,0: 49:[51, 8] Operation: 5+3=8
Exploring Operation: 51-3=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 49:[5, 48] Operation: 51-3=48
Moving to Node #0,1
Current State: 49:[5, 33, 48], Operations: ['99-51=48']
Exploring Operation: 5+33=38, Resulting Numbers: [48, 38]
Generated Node #0,1,0: 49:[48, 38] Operation: 5+33=38
Exploring Operation: 48-33=15, Resulting Numbers: [5, 15]
Generated Node #0,1,1: 49:[5, 15] Operation: 48-33=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[5, 15], Operations: ['99-51=48', '48-33=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[48, 38], Operations: ['99-51=48', '5+33=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 49:[51, 8], Operations: ['99/33=3', '5+3=8']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[5, 48], Operations: ['99/33=3', '51-3=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,49 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
93,
18,
12
] | 39 | [
"84+93=177",
"18*12=216",
"216-177=39"
] | Current State: 39:[84, 93, 18, 12], Operations: []
Exploring Operation: 84+93=177, Resulting Numbers: [18, 12, 177]
Generated Node #2: [18, 12, 177] from Operation: 84+93=177
Current State: 39:[18, 12, 177], Operations: ['84+93=177']
Exploring Operation: 18*12=216, Resulting Numbers: [177, 216]
Generated Node #3: [177, 216] from Operation: 18*12=216
Current State: 39:[177, 216], Operations: ['84+93=177', '18*12=216']
Exploring Operation: 216-177=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[84, 93, 18, 12], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [18, 12, 9]
Generated Node #0,0: 39:[18, 12, 9] Operation: 93-84=9
Moving to Node #0,0
Current State: 39:[18, 12, 9], Operations: ['93-84=9']
Exploring Operation: 18/9=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 39:[12, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[12, 2], Operations: ['93-84=9', '18/9=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,39 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 |
[
27,
4,
7,
7
] | 50 | [
"4+7=11",
"7*11=77",
"77-27=50"
] | Current State: 50:[27, 4, 7, 7], Operations: []
Exploring Operation: 4+7=11, Resulting Numbers: [27, 11]
Generated Node #2: [27, 11] from Operation: 4+7=11
Current State: 50:[27, 11], Operations: ['4+7=11']
Exploring Operation: 7*11=77, Resulting Numbers: [27, 77]
Generated Node #3: [27, 77] from Operation: 7*11=77
Current State: 50:[27, 77], Operations: ['4+7=11', '7*11=77']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 4, 7, 7], Operations: []
Exploring Operation: 7*7=49, Resulting Numbers: [27, 4, 49]
Generated Node #0,0: 50:[27, 4, 49] Operation: 7*7=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[27, 4, 49], Operations: ['7*7=49']
Exploring Operation: 27-4=23, Resulting Numbers: [49, 23]
Generated Node #0,0,0: 50:[49, 23] Operation: 27-4=23
Moving to Node #0,0,0
Current State: 50:[49, 23], Operations: ['7*7=49', '27-4=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,50 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 |
[
17,
51,
78,
29
] | 83 | [
"51-17=34",
"78-29=49",
"34+49=83"
] | Current State: 83:[17, 51, 78, 29], Operations: []
Exploring Operation: 51-17=34, Resulting Numbers: [78, 29, 34]
Generated Node #2: [78, 29, 34] from Operation: 51-17=34
Current State: 83:[78, 29, 34], Operations: ['51-17=34']
Exploring Operation: 78-29=49, Resulting Numbers: [34, 49]
Generated Node #3: [34, 49] from Operation: 78-29=49
Current State: 83:[34, 49], Operations: ['51-17=34', '78-29=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[17, 51, 78, 29], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [78, 29, 68]
Generated Node #0,0: 83:[78, 29, 68] Operation: 17+51=68
Moving to Node #0,0
Current State: 83:[78, 29, 68], Operations: ['17+51=68']
Exploring Operation: 29+68=97, Resulting Numbers: [78, 97]
Generated Node #0,0,0: 83:[78, 97] Operation: 29+68=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[78, 97], Operations: ['17+51=68', '29+68=97']
Exploring Operation: 97-78=19, Resulting Numbers: [19]
19,83 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 |
[
72,
27,
19,
9
] | 71 | [
"72+27=99",
"19+9=28",
"99-28=71"
] | Current State: 71:[72, 27, 19, 9], Operations: []
Exploring Operation: 72+27=99, Resulting Numbers: [19, 9, 99]
Generated Node #2: [19, 9, 99] from Operation: 72+27=99
Current State: 71:[19, 9, 99], Operations: ['72+27=99']
Exploring Operation: 19+9=28, Resulting Numbers: [99, 28]
Generated Node #3: [99, 28] from Operation: 19+9=28
Current State: 71:[99, 28], Operations: ['72+27=99', '19+9=28']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[72, 27, 19, 9], Operations: []
Exploring Operation: 27+19=46, Resulting Numbers: [72, 9, 46]
Generated Node #0,0: 71:[72, 9, 46] Operation: 27+19=46
Exploring Operation: 27+9=36, Resulting Numbers: [72, 19, 36]
Generated Node #0,1: 71:[72, 19, 36] Operation: 27+9=36
Exploring Operation: 72+9=81, Resulting Numbers: [27, 19, 81]
Generated Node #0,2: 71:[27, 19, 81] Operation: 72+9=81
Exploring Operation: 19+9=28, Resulting Numbers: [72, 27, 28]
Generated Node #0,3: 71:[72, 27, 28] Operation: 19+9=28
Exploring Operation: 72-9=63, Resulting Numbers: [27, 19, 63]
Generated Node #0,4: 71:[27, 19, 63] Operation: 72-9=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[72, 9, 46], Operations: ['27+19=46']
Exploring Operation: 46-9=37, Resulting Numbers: [72, 37]
Generated Node #0,0,0: 71:[72, 37] Operation: 46-9=37
Exploring Operation: 72+9=81, Resulting Numbers: [46, 81]
Generated Node #0,0,1: 71:[46, 81] Operation: 72+9=81
Exploring Operation: 9+46=55, Resulting Numbers: [72, 55]
Generated Node #0,0,2: 71:[72, 55] Operation: 9+46=55
Exploring Operation: 72-9=63, Resulting Numbers: [46, 63]
Generated Node #0,0,3: 71:[46, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [46, 8]
Generated Node #0,0,4: 71:[46, 8] Operation: 72/9=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[72, 55], Operations: ['27+19=46', '9+46=55']
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,71 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,71 unequal: No Solution
No 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: 71:[46, 63], Operations: ['27+19=46', '72-9=63']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,71 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,71 unequal: No Solution
No 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: 71:[72, 37], Operations: ['27+19=46', '46-9=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,71 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No 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: 71:[46, 81], Operations: ['27+19=46', '72+9=81']
Exploring Operation: 46+81=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 46*81=3726, Resulting Numbers: [3726]
3726,71 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No 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: 71:[46, 8], Operations: ['27+19=46', '72/9=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,71 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,71 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: 71:[72, 19, 36], Operations: ['27+9=36']
Exploring Operation: 19+36=55, Resulting Numbers: [72, 55]
Generated Node #0,1,0: 71:[72, 55] Operation: 19+36=55
Exploring Operation: 36-19=17, Resulting Numbers: [72, 17]
Generated Node #0,1,1: 71:[72, 17] Operation: 36-19=17
Exploring Operation: 72-19=53, Resulting Numbers: [36, 53]
Generated Node #0,1,2: 71:[36, 53] Operation: 72-19=53
Exploring Operation: 72-36=36, Resulting Numbers: [19, 36]
Generated Node #0,1,3: 71:[19, 36] Operation: 72-36=36
Exploring Operation: 72+19=91, Resulting Numbers: [36, 91]
Generated Node #0,1,4: 71:[36, 91] Operation: 72+19=91
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[72, 55], Operations: ['27+9=36', '19+36=55']
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,71 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No 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: 71:[36, 53], Operations: ['27+9=36', '72-19=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,71 unequal: No Solution
No 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: 71:[72, 17], Operations: ['27+9=36', '36-19=17']
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,71 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No 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: 71:[36, 91], Operations: ['27+9=36', '72+19=91']
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,71 unequal: No Solution
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[19, 36], Operations: ['27+9=36', '72-36=36']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,71 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,71 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: 71:[72, 27, 28], Operations: ['19+9=28']
Exploring Operation: 72-27=45, Resulting Numbers: [28, 45]
Generated Node #0,3,0: 71:[28, 45] Operation: 72-27=45
Exploring Operation: 72-28=44, Resulting Numbers: [27, 44]
Generated Node #0,3,1: 71:[27, 44] Operation: 72-28=44
Exploring Operation: 27+28=55, Resulting Numbers: [72, 55]
Generated Node #0,3,2: 71:[72, 55] Operation: 27+28=55
Exploring Operation: 72+27=99, Resulting Numbers: [28, 99]
Generated Node #0,3,3: 71:[28, 99] Operation: 72+27=99
Exploring Operation: 28-27=1, Resulting Numbers: [72, 1]
Generated Node #0,3,4: 71:[72, 1] Operation: 28-27=1
Moving to Node #0,3,2
Current State: 71:[72, 55], Operations: ['19+9=28', '27+28=55']
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,71 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[28, 45], Operations: ['19+9=28', '72-27=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,71 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[27, 44], Operations: ['19+9=28', '72-28=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[72, 27, 19, 9], Operations: []
Exploring Operation: 19+9=28, Resulting Numbers: [72, 27, 28]
Generated Node #0,3: 71:[72, 27, 28] Operation: 19+9=28
Moving to Node #0,3
Current State: 71:[72, 27, 28], Operations: ['19+9=28']
Exploring Operation: 72-28=44, Resulting Numbers: [27, 44]
Generated Node #0,3,1: 71:[27, 44] Operation: 72-28=44
Moving to Node #0,3,1
Current State: 71:[27, 44], Operations: ['19+9=28', '72-28=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
42,
72,
56,
42
] | 96 | [
"42*72=3024",
"3024/56=54",
"42+54=96"
] | Current State: 96:[42, 72, 56, 42], Operations: []
Exploring Operation: 42*72=3024, Resulting Numbers: [56, 3024]
Generated Node #2: [56, 3024] from Operation: 42*72=3024
Current State: 96:[56, 3024], Operations: ['42*72=3024']
Exploring Operation: 3024/56=54, Resulting Numbers: [54]
54,96 equal: Goal Reached
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[42, 72, 56, 42], Operations: []
Exploring Operation: 42+72=114, Resulting Numbers: [56, 42, 114]
Generated Node #0,0: 96:[56, 42, 114] Operation: 42+72=114
Exploring Operation: 72-56=16, Resulting Numbers: [42, 42, 16]
Generated Node #0,1: 96:[42, 42, 16] Operation: 72-56=16
Exploring Operation: 72-42=30, Resulting Numbers: [56, 42, 30]
Generated Node #0,2: 96:[56, 42, 30] Operation: 72-42=30
Exploring Operation: 72-42=30, Resulting Numbers: [42, 56, 30]
Generated Node #0,3: 96:[42, 56, 30] Operation: 72-42=30
Moving to Node #0,1
Current State: 96:[42, 42, 16], Operations: ['72-56=16']
Exploring Operation: 42-42=0, Resulting Numbers: [16, 0]
Generated Node #0,1,0: 96:[16, 0] Operation: 42-42=0
Exploring Operation: 42-16=26, Resulting Numbers: [42, 26]
Generated Node #0,1,1: 96:[42, 26] Operation: 42-16=26
Exploring Operation: 42/42=1, Resulting Numbers: [16, 1]
Generated Node #0,1,2: 96:[16, 1] Operation: 42/42=1
Exploring Operation: 42-16=26, Resulting Numbers: [42, 26]
Generated Node #0,1,3: 96:[42, 26] Operation: 42-16=26
Moving to Node #0,3
Current State: 96:[42, 56, 30], Operations: ['72-42=30']
Exploring Operation: 42-30=12, Resulting Numbers: [56, 12]
Generated Node #0,3,0: 96:[56, 12] Operation: 42-30=12
Exploring Operation: 42+56=98, Resulting Numbers: [30, 98]
Generated Node #0,3,1: 96:[30, 98] Operation: 42+56=98
Exploring Operation: 56-30=26, Resulting Numbers: [42, 26]
Generated Node #0,3,2: 96:[42, 26] Operation: 56-30=26
Exploring Operation: 56-42=14, Resulting Numbers: [30, 14]
Generated Node #0,3,3: 96:[30, 14] Operation: 56-42=14
Moving to Node #0,2
Current State: 96:[56, 42, 30], Operations: ['72-42=30']
Exploring Operation: 56-42=14, Resulting Numbers: [30, 14]
Generated Node #0,2,0: 96:[30, 14] Operation: 56-42=14
Exploring Operation: 42-30=12, Resulting Numbers: [56, 12]
Generated Node #0,2,1: 96:[56, 12] Operation: 42-30=12
Exploring Operation: 56+42=98, Resulting Numbers: [30, 98]
Generated Node #0,2,2: 96:[30, 98] Operation: 56+42=98
Exploring Operation: 56-30=26, Resulting Numbers: [42, 26]
Generated Node #0,2,3: 96:[42, 26] Operation: 56-30=26
Moving to Node #0,0
Current State: 96:[56, 42, 114], Operations: ['42+72=114']
Exploring Operation: 114-42=72, Resulting Numbers: [56, 72]
Generated Node #0,0,0: 96:[56, 72] Operation: 114-42=72
Exploring Operation: 56+42=98, Resulting Numbers: [114, 98]
Generated Node #0,0,1: 96:[114, 98] Operation: 56+42=98
Exploring Operation: 56-42=14, Resulting Numbers: [114, 14]
Generated Node #0,0,2: 96:[114, 14] Operation: 56-42=14
Exploring Operation: 114-56=58, Resulting Numbers: [42, 58]
Generated Node #0,0,3: 96:[42, 58] Operation: 114-56=58
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[42, 58], Operations: ['42+72=114', '114-56=58']
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,96 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No 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: 96:[114, 98], Operations: ['42+72=114', '56+42=98']
Exploring Operation: 114+98=212, Resulting Numbers: [212]
212,96 unequal: No Solution
Exploring Operation: 114-98=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 114*98=11172, Resulting Numbers: [11172]
11172,96 unequal: No Solution
No 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: 96:[114, 14], Operations: ['42+72=114', '56-42=14']
Exploring Operation: 114+14=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Exploring Operation: 114-14=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 114*14=1596, Resulting Numbers: [1596]
1596,96 unequal: No Solution
No 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: 96:[56, 72], Operations: ['42+72=114', '114-42=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,96 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 96:[16, 1], Operations: ['72-56=16', '42/42=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[16, 0], Operations: ['72-56=16', '42-42=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[30, 14], Operations: ['72-42=30', '56-42=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,96 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[30, 98], Operations: ['72-42=30', '42+56=98']
Exploring Operation: 30+98=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Exploring Operation: 30*98=2940, Resulting Numbers: [2940]
2940,96 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[30, 98], Operations: ['72-42=30', '56+42=98']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 30+98=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Exploring Operation: 30*98=2940, Resulting Numbers: [2940]
2940,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[30, 14], Operations: ['72-42=30', '56-42=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,96 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[56, 12], Operations: ['72-42=30', '42-30=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,96 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[42, 26], Operations: ['72-56=16', '42-16=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,96 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[56, 12], Operations: ['72-42=30', '42-30=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,96 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[42, 26], Operations: ['72-56=16', '42-16=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[42, 26], Operations: ['72-42=30', '56-30=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[42, 26], Operations: ['72-42=30', '56-30=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,96 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,96 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
74,
39,
14
] | 14 | [
"74-35=39",
"39+14=53",
"53-39=14"
] | Current State: 14:[35, 74, 39, 14], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [39, 14, 39]
Generated Node #2: [39, 14, 39] from Operation: 74-35=39
Current State: 14:[39, 14, 39], Operations: ['74-35=39']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,14 equal: Goal Reached
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[35, 74, 39, 14], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [35, 14, 35]
Generated Node #0,0: 14:[35, 14, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 14:[35, 14, 35], Operations: ['74-39=35']
Exploring Operation: 35/35=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 14:[14, 1] Operation: 35/35=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[14, 1], Operations: ['74-39=35', '35/35=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[35, 74, 39, 14], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [35, 14, 35]
Generated Node #0,0: 14:[35, 14, 35] Operation: 74-39=35
Moving to Node #0,0
Current State: 14:[35, 14, 35], Operations: ['74-39=35']
Exploring Operation: 35/35=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 14:[14, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 14:[14, 1], Operations: ['74-39=35', '35/35=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
56,
43,
51
] | 91 | [
"58-51=7",
"56-43=13",
"7*13=91"
] | Current State: 91:[58, 56, 43, 51], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [56, 43, 7]
Generated Node #2: [56, 43, 7] from Operation: 58-51=7
Current State: 91:[56, 43, 7], Operations: ['58-51=7']
Exploring Operation: 56-43=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 56-43=13
Current State: 91:[7, 13], Operations: ['58-51=7', '56-43=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[58, 56, 43, 51], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [56, 43, 7]
Generated Node #0,0: 91:[56, 43, 7] Operation: 58-51=7
Moving to Node #0,0
Current State: 91:[56, 43, 7], Operations: ['58-51=7']
Exploring Operation: 56-43=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 56-43=13
Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['58-51=7', '56-43=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[58, 56, 43, 51], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [56, 43, 7]
Generated Node #0,0: 91:[56, 43, 7] Operation: 58-51=7
Moving to Node #0,0
Current State: 91:[56, 43, 7], Operations: ['58-51=7']
Exploring Operation: 56-43=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 56-43=13
Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['58-51=7', '56-43=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
60,
52,
76,
56
] | 33 | [
"60-56=4",
"76/4=19",
"52-19=33"
] | Current State: 33:[60, 52, 76, 56], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [52, 76, 4]
Generated Node #2: [52, 76, 4] from Operation: 60-56=4
Current State: 33:[52, 76, 4], Operations: ['60-56=4']
Exploring Operation: 76/4=19, Resulting Numbers: [52, 19]
Generated Node #3: [52, 19] from Operation: 76/4=19
Current State: 33:[52, 19], Operations: ['60-56=4', '76/4=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[60, 52, 76, 56], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [60, 52, 20]
Generated Node #0,0: 33:[60, 52, 20] Operation: 76-56=20
Exploring Operation: 76-60=16, Resulting Numbers: [52, 56, 16]
Generated Node #0,1: 33:[52, 56, 16] Operation: 76-60=16
Moving to Node #0,1
Current State: 33:[52, 56, 16], Operations: ['76-60=16']
Exploring Operation: 52-16=36, Resulting Numbers: [56, 36]
Generated Node #0,1,0: 33:[56, 36] Operation: 52-16=36
Exploring Operation: 56-52=4, Resulting Numbers: [16, 4]
Generated Node #0,1,1: 33:[16, 4] Operation: 56-52=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[16, 4], Operations: ['76-60=16', '56-52=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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,1,0
Current State: 33:[56, 36], Operations: ['76-60=16', '52-16=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[60, 52, 20], Operations: ['76-56=20']
Exploring Operation: 60-52=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 33:[20, 8] Operation: 60-52=8
Exploring Operation: 60/20=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 33:[52, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[20, 8], Operations: ['76-56=20', '60-52=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,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,1
Current State: 33:[52, 3], Operations: ['76-56=20', '60/20=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,33 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 |
[
27,
85,
61,
28
] | 70 | [
"61-27=34",
"85*28=2380",
"2380/34=70"
] | Current State: 70:[27, 85, 61, 28], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [85, 28, 34]
Generated Node #2: [85, 28, 34] from Operation: 61-27=34
Current State: 70:[85, 28, 34], Operations: ['61-27=34']
Exploring Operation: 85*28=2380, Resulting Numbers: [34, 2380]
Generated Node #3: [34, 2380] from Operation: 85*28=2380
Current State: 70:[34, 2380], Operations: ['61-27=34', '85*28=2380']
Exploring Operation: 2380/34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[27, 85, 61, 28], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [85, 28, 34]
Generated Node #0,0: 70:[85, 28, 34] Operation: 61-27=34
Moving to Node #0,0
Current State: 70:[85, 28, 34], Operations: ['61-27=34']
Exploring Operation: 85-28=57, Resulting Numbers: [34, 57]
Generated Node #0,0,0: 70:[34, 57] Operation: 85-28=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[34, 57], Operations: ['61-27=34', '85-28=57']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,70 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 |
[
17,
79,
3,
28
] | 93 | [
"79-17=62",
"3+28=31",
"62+31=93"
] | Current State: 93:[17, 79, 3, 28], Operations: []
Exploring Operation: 79-17=62, Resulting Numbers: [3, 28, 62]
Generated Node #2: [3, 28, 62] from Operation: 79-17=62
Current State: 93:[3, 28, 62], Operations: ['79-17=62']
Exploring Operation: 3+28=31, Resulting Numbers: [62, 31]
Generated Node #3: [62, 31] from Operation: 3+28=31
Current State: 93:[62, 31], Operations: ['79-17=62', '3+28=31']
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[17, 79, 3, 28], Operations: []
Exploring Operation: 17+79=96, Resulting Numbers: [3, 28, 96]
Generated Node #0,0: 93:[3, 28, 96] Operation: 17+79=96
Moving to Node #0,0
Current State: 93:[3, 28, 96], Operations: ['17+79=96']
Exploring Operation: 3+28=31, Resulting Numbers: [96, 31]
Generated Node #0,0,0: 93:[96, 31] Operation: 3+28=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[96, 31], Operations: ['17+79=96', '3+28=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,93 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 |
[
98,
74,
78,
61
] | 76 | [
"98-61=37",
"74/37=2",
"78-2=76"
] | Current State: 76:[98, 74, 78, 61], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [74, 78, 37]
Generated Node #2: [74, 78, 37] from Operation: 98-61=37
Current State: 76:[74, 78, 37], Operations: ['98-61=37']
Exploring Operation: 74/37=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 74/37=2
Current State: 76:[78, 2], Operations: ['98-61=37', '74/37=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[98, 74, 78, 61], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [74, 61, 20]
Generated Node #0,0: 76:[74, 61, 20] Operation: 98-78=20
Exploring Operation: 98-61=37, Resulting Numbers: [74, 78, 37]
Generated Node #0,1: 76:[74, 78, 37] Operation: 98-61=37
Moving to Node #0,1
Current State: 76:[74, 78, 37], Operations: ['98-61=37']
Exploring Operation: 78-74=4, Resulting Numbers: [37, 4]
Generated Node #0,1,0: 76:[37, 4] Operation: 78-74=4
Exploring Operation: 74/37=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 76:[78, 2] Operation: 74/37=2
Moving to Node #0,0
Current State: 76:[74, 61, 20], Operations: ['98-78=20']
Exploring Operation: 74-61=13, Resulting Numbers: [20, 13]
Generated Node #0,0,0: 76:[20, 13] Operation: 74-61=13
Exploring Operation: 61-20=41, Resulting Numbers: [74, 41]
Generated Node #0,0,1: 76:[74, 41] Operation: 61-20=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[74, 41], Operations: ['98-78=20', '61-20=41']
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[20, 13], Operations: ['98-78=20', '74-61=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,76 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: 76:[37, 4], Operations: ['98-61=37', '78-74=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[78, 2], Operations: ['98-61=37', '74/37=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[98, 74, 78, 61], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [74, 78, 37]
Generated Node #0,1: 76:[74, 78, 37] Operation: 98-61=37
Moving to Node #0,1
Current State: 76:[74, 78, 37], Operations: ['98-61=37']
Exploring Operation: 74/37=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 76:[78, 2] Operation: 74/37=2
Moving to Node #0,1,1
Current State: 76:[78, 2], Operations: ['98-61=37', '74/37=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
11,
31,
18,
17
] | 54 | [
"31-11=20",
"20-17=3",
"18*3=54"
] | Current State: 54:[11, 31, 18, 17], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [18, 17, 20]
Generated Node #2: [18, 17, 20] from Operation: 31-11=20
Current State: 54:[18, 17, 20], Operations: ['31-11=20']
Exploring Operation: 20-17=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 20-17=3
Current State: 54:[18, 3], Operations: ['31-11=20', '20-17=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[11, 31, 18, 17], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [18, 17, 20]
Generated Node #0,0: 54:[18, 17, 20] Operation: 31-11=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[18, 17, 20], Operations: ['31-11=20']
Exploring Operation: 20-17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 54:[18, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[18, 3], Operations: ['31-11=20', '20-17=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[11, 31, 18, 17], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [18, 17, 20]
Generated Node #0,0: 54:[18, 17, 20] Operation: 31-11=20
Moving to Node #0,0
Current State: 54:[18, 17, 20], Operations: ['31-11=20']
Exploring Operation: 20-17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 54:[18, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 54:[18, 3], Operations: ['31-11=20', '20-17=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
34,
27,
17,
33
] | 77 | [
"34+27=61",
"33-17=16",
"61+16=77"
] | Current State: 77:[34, 27, 17, 33], Operations: []
Exploring Operation: 34+27=61, Resulting Numbers: [17, 33, 61]
Generated Node #2: [17, 33, 61] from Operation: 34+27=61
Current State: 77:[17, 33, 61], Operations: ['34+27=61']
Exploring Operation: 33-17=16, Resulting Numbers: [61, 16]
Generated Node #3: [61, 16] from Operation: 33-17=16
Current State: 77:[61, 16], Operations: ['34+27=61', '33-17=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[34, 27, 17, 33], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [17, 33, 7]
Generated Node #0,0: 77:[17, 33, 7] Operation: 34-27=7
Exploring Operation: 34-33=1, Resulting Numbers: [27, 17, 1]
Generated Node #0,1: 77:[27, 17, 1] Operation: 34-33=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[17, 33, 7], Operations: ['34-27=7']
Exploring Operation: 33-17=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 77:[7, 16] Operation: 33-17=16
Exploring Operation: 33-7=26, Resulting Numbers: [17, 26]
Generated Node #0,0,1: 77:[17, 26] Operation: 33-7=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[7, 16], Operations: ['34-27=7', '33-17=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,77 unequal: No Solution
No 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: 77:[17, 26], Operations: ['34-27=7', '33-7=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,77 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: 77:[27, 17, 1], Operations: ['34-33=1']
Exploring Operation: 27-17=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 77:[1, 10] Operation: 27-17=10
Exploring Operation: 27-1=26, Resulting Numbers: [17, 26]
Generated Node #0,1,1: 77:[17, 26] Operation: 27-1=26
Moving to Node #0,1,0
Current State: 77:[1, 10], Operations: ['34-33=1', '27-17=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[17, 26], Operations: ['34-33=1', '27-1=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,77 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 |
[
43,
77,
67,
60
] | 49 | [
"77-67=10",
"60/10=6",
"43+6=49"
] | Current State: 49:[43, 77, 67, 60], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [43, 60, 10]
Generated Node #2: [43, 60, 10] from Operation: 77-67=10
Current State: 49:[43, 60, 10], Operations: ['77-67=10']
Exploring Operation: 60/10=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 60/10=6
Current State: 49:[43, 6], Operations: ['77-67=10', '60/10=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[43, 77, 67, 60], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [43, 67, 17]
Generated Node #0,0: 49:[43, 67, 17] Operation: 77-60=17
Exploring Operation: 67-60=7, Resulting Numbers: [43, 77, 7]
Generated Node #0,1: 49:[43, 77, 7] Operation: 67-60=7
Exploring Operation: 77-67=10, Resulting Numbers: [43, 60, 10]
Generated Node #0,2: 49:[43, 60, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 49:[43, 60, 10], Operations: ['77-67=10']
Exploring Operation: 60-43=17, Resulting Numbers: [10, 17]
Generated Node #0,2,0: 49:[10, 17] Operation: 60-43=17
Exploring Operation: 60/10=6, Resulting Numbers: [43, 6]
Generated Node #0,2,1: 49:[43, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [43, 50]
Generated Node #0,2,2: 49:[43, 50] Operation: 60-10=50
Moving to Node #0,0
Current State: 49:[43, 67, 17], Operations: ['77-60=17']
Exploring Operation: 67-43=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 49:[17, 24] Operation: 67-43=24
Exploring Operation: 67-17=50, Resulting Numbers: [43, 50]
Generated Node #0,0,1: 49:[43, 50] Operation: 67-17=50
Exploring Operation: 43+17=60, Resulting Numbers: [67, 60]
Generated Node #0,0,2: 49:[67, 60] Operation: 43+17=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[43, 50], Operations: ['77-60=17', '67-17=50']
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[17, 24], Operations: ['77-60=17', '67-43=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[67, 60], Operations: ['77-60=17', '43+17=60']
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,49 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,49 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,49 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: 49:[43, 77, 7], Operations: ['67-60=7']
Exploring Operation: 77/7=11, Resulting Numbers: [43, 11]
Generated Node #0,1,0: 49:[43, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [43, 70]
Generated Node #0,1,1: 49:[43, 70] Operation: 77-7=70
Exploring Operation: 77-43=34, Resulting Numbers: [7, 34]
Generated Node #0,1,2: 49:[7, 34] Operation: 77-43=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[43, 11], Operations: ['67-60=7', '77/7=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,49 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[7, 34], Operations: ['67-60=7', '77-43=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,49 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[43, 70], Operations: ['67-60=7', '77-7=70']
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,49 unequal: No Solution
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 49:[43, 6], Operations: ['77-67=10', '60/10=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,49 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[43, 77, 67, 60], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [43, 60, 10]
Generated Node #0,2: 49:[43, 60, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 49:[43, 60, 10], Operations: ['77-67=10']
Exploring Operation: 60/10=6, Resulting Numbers: [43, 6]
Generated Node #0,2,1: 49:[43, 6] Operation: 60/10=6
Moving to Node #0,2,1
Current State: 49:[43, 6], Operations: ['77-67=10', '60/10=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
2,
17,
91,
26
] | 84 | [
"2+17=19",
"91-26=65",
"19+65=84"
] | Current State: 84:[2, 17, 91, 26], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [91, 26, 19]
Generated Node #2: [91, 26, 19] from Operation: 2+17=19
Current State: 84:[91, 26, 19], Operations: ['2+17=19']
Exploring Operation: 91-26=65, Resulting Numbers: [19, 65]
Generated Node #3: [19, 65] from Operation: 91-26=65
Current State: 84:[19, 65], Operations: ['2+17=19', '91-26=65']
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 17, 91, 26], Operations: []
Exploring Operation: 17-2=15, Resulting Numbers: [91, 26, 15]
Generated Node #0,0: 84:[91, 26, 15] Operation: 17-2=15
Exploring Operation: 91-2=89, Resulting Numbers: [17, 26, 89]
Generated Node #0,1: 84:[17, 26, 89] Operation: 91-2=89
Exploring Operation: 26-17=9, Resulting Numbers: [2, 91, 9]
Generated Node #0,2: 84:[2, 91, 9] Operation: 26-17=9
Exploring Operation: 2+26=28, Resulting Numbers: [17, 91, 28]
Generated Node #0,3: 84:[17, 91, 28] Operation: 2+26=28
Exploring Operation: 17+26=43, Resulting Numbers: [2, 91, 43]
Generated Node #0,4: 84:[2, 91, 43] Operation: 17+26=43
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[2, 91, 43], Operations: ['17+26=43']
Exploring Operation: 91-2=89, Resulting Numbers: [43, 89]
Generated Node #0,4,0: 84:[43, 89] Operation: 91-2=89
Exploring Operation: 43-2=41, Resulting Numbers: [91, 41]
Generated Node #0,4,1: 84:[91, 41] Operation: 43-2=41
Exploring Operation: 2*43=86, Resulting Numbers: [91, 86]
Generated Node #0,4,2: 84:[91, 86] Operation: 2*43=86
Exploring Operation: 91-43=48, Resulting Numbers: [2, 48]
Generated Node #0,4,3: 84:[2, 48] Operation: 91-43=48
Exploring Operation: 2+91=93, Resulting Numbers: [43, 93]
Generated Node #0,4,4: 84:[43, 93] Operation: 2+91=93
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[43, 89], Operations: ['17+26=43', '91-2=89']
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,84 unequal: No Solution
No 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: 84:[2, 48], Operations: ['17+26=43', '91-43=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No 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: 84:[91, 41], Operations: ['17+26=43', '43-2=41']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,84 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,84 unequal: No Solution
No 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: 84:[91, 86], Operations: ['17+26=43', '2*43=86']
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,84 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,84 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No 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: 84:[43, 93], Operations: ['17+26=43', '2+91=93']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 43*93=3999, Resulting Numbers: [3999]
3999,84 unequal: No Solution
Exploring Operation: 43+93=136, Resulting Numbers: [136]
136,84 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: 84:[2, 91, 9], Operations: ['26-17=9']
Exploring Operation: 9-2=7, Resulting Numbers: [91, 7]
Generated Node #0,2,0: 84:[91, 7] Operation: 9-2=7
Exploring Operation: 2*9=18, Resulting Numbers: [91, 18]
Generated Node #0,2,1: 84:[91, 18] Operation: 2*9=18
Exploring Operation: 91-9=82, Resulting Numbers: [2, 82]
Generated Node #0,2,2: 84:[2, 82] Operation: 91-9=82
Exploring Operation: 2+9=11, Resulting Numbers: [91, 11]
Generated Node #0,2,3: 84:[91, 11] Operation: 2+9=11
Exploring Operation: 91-2=89, Resulting Numbers: [9, 89]
Generated Node #0,2,4: 84:[9, 89] Operation: 91-2=89
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[2, 82], Operations: ['26-17=9', '91-9=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,84 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[2, 17, 91, 26], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [2, 91, 9]
Generated Node #0,2: 84:[2, 91, 9] Operation: 26-17=9
Moving to Node #0,2
Current State: 84:[2, 91, 9], Operations: ['26-17=9']
Exploring Operation: 91-9=82, Resulting Numbers: [2, 82]
Generated Node #0,2,2: 84:[2, 82] Operation: 91-9=82
Moving to Node #0,2,2
Current State: 84:[2, 82], Operations: ['26-17=9', '91-9=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
44,
33,
1,
59
] | 47 | [
"44-33=11",
"59-1=58",
"58-11=47"
] | Current State: 47:[44, 33, 1, 59], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [1, 59, 11]
Generated Node #2: [1, 59, 11] from Operation: 44-33=11
Current State: 47:[1, 59, 11], Operations: ['44-33=11']
Exploring Operation: 59-1=58, Resulting Numbers: [11, 58]
Generated Node #3: [11, 58] from Operation: 59-1=58
Current State: 47:[11, 58], Operations: ['44-33=11', '59-1=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[44, 33, 1, 59], Operations: []
Exploring Operation: 44+1=45, Resulting Numbers: [33, 59, 45]
Generated Node #0,0: 47:[33, 59, 45] Operation: 44+1=45
Moving to Node #0,0
Current State: 47:[33, 59, 45], Operations: ['44+1=45']
Exploring Operation: 59-33=26, Resulting Numbers: [45, 26]
Generated Node #0,0,0: 47:[45, 26] Operation: 59-33=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[45, 26], Operations: ['44+1=45', '59-33=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,47 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 |
[
28,
50,
95,
66
] | 98 | [
"50-28=22",
"66/22=3",
"95+3=98"
] | Current State: 98:[28, 50, 95, 66], Operations: []
Exploring Operation: 50-28=22, Resulting Numbers: [95, 66, 22]
Generated Node #2: [95, 66, 22] from Operation: 50-28=22
Current State: 98:[95, 66, 22], Operations: ['50-28=22']
Exploring Operation: 66/22=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 66/22=3
Current State: 98:[95, 3], Operations: ['50-28=22', '66/22=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[28, 50, 95, 66], Operations: []
Exploring Operation: 28+66=94, Resulting Numbers: [50, 95, 94]
Generated Node #0,0: 98:[50, 95, 94] Operation: 28+66=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[50, 95, 94], Operations: ['28+66=94']
Exploring Operation: 95-94=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 98:[50, 1] Operation: 95-94=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[50, 1], Operations: ['28+66=94', '95-94=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
40,
15,
1
] | 50 | [
"26+40=66",
"15+1=16",
"66-16=50"
] | Current State: 50:[26, 40, 15, 1], Operations: []
Exploring Operation: 26+40=66, Resulting Numbers: [15, 1, 66]
Generated Node #2: [15, 1, 66] from Operation: 26+40=66
Current State: 50:[15, 1, 66], Operations: ['26+40=66']
Exploring Operation: 15+1=16, Resulting Numbers: [66, 16]
Generated Node #3: [66, 16] from Operation: 15+1=16
Current State: 50:[66, 16], Operations: ['26+40=66', '15+1=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[26, 40, 15, 1], Operations: []
Exploring Operation: 40-15=25, Resulting Numbers: [26, 1, 25]
Generated Node #0,0: 50:[26, 1, 25] Operation: 40-15=25
Moving to Node #0,0
Current State: 50:[26, 1, 25], Operations: ['40-15=25']
Exploring Operation: 26-1=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 50:[25, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[25, 25], Operations: ['40-15=25', '26-1=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[26, 40, 15, 1], Operations: []
Exploring Operation: 40-15=25, Resulting Numbers: [26, 1, 25]
Generated Node #0,0: 50:[26, 1, 25] Operation: 40-15=25
Moving to Node #0,0
Current State: 50:[26, 1, 25], Operations: ['40-15=25']
Exploring Operation: 26-1=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 50:[25, 25] Operation: 26-1=25
Moving to Node #0,0,0
Current State: 50:[25, 25], Operations: ['40-15=25', '26-1=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
42,
18,
37
] | 21 | [
"46-37=9",
"42*9=378",
"378/18=21"
] | Current State: 21:[46, 42, 18, 37], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [42, 18, 9]
Generated Node #2: [42, 18, 9] from Operation: 46-37=9
Current State: 21:[42, 18, 9], Operations: ['46-37=9']
Exploring Operation: 42*9=378, Resulting Numbers: [18, 378]
Generated Node #3: [18, 378] from Operation: 42*9=378
Current State: 21:[18, 378], Operations: ['46-37=9', '42*9=378']
Exploring Operation: 378/18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[46, 42, 18, 37], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [42, 18, 9]
Generated Node #0,0: 21:[42, 18, 9] Operation: 46-37=9
Exploring Operation: 46-42=4, Resulting Numbers: [18, 37, 4]
Generated Node #0,1: 21:[18, 37, 4] Operation: 46-42=4
Moving to Node #0,1
Current State: 21:[18, 37, 4], Operations: ['46-42=4']
Exploring Operation: 37-4=33, Resulting Numbers: [18, 33]
Generated Node #0,1,0: 21:[18, 33] Operation: 37-4=33
Exploring Operation: 37-18=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 21:[4, 19] Operation: 37-18=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[4, 19], Operations: ['46-42=4', '37-18=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,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,0
Current State: 21:[18, 33], Operations: ['46-42=4', '37-4=33']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,21 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: 21:[42, 18, 9], Operations: ['46-37=9']
Exploring Operation: 42-9=33, Resulting Numbers: [18, 33]
Generated Node #0,0,0: 21:[18, 33] Operation: 42-9=33
Exploring Operation: 42-18=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 21:[9, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[9, 24], Operations: ['46-37=9', '42-18=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,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,0,0
Current State: 21:[18, 33], Operations: ['46-37=9', '42-9=33']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,21 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 |
[
11,
43,
71,
3
] | 95 | [
"71-43=28",
"3*28=84",
"11+84=95"
] | Current State: 95:[11, 43, 71, 3], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [11, 3, 28]
Generated Node #2: [11, 3, 28] from Operation: 71-43=28
Current State: 95:[11, 3, 28], Operations: ['71-43=28']
Exploring Operation: 3*28=84, Resulting Numbers: [11, 84]
Generated Node #3: [11, 84] from Operation: 3*28=84
Current State: 95:[11, 84], Operations: ['71-43=28', '3*28=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[11, 43, 71, 3], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [71, 3, 32]
Generated Node #0,0: 95:[71, 3, 32] Operation: 43-11=32
Exploring Operation: 43+71=114, Resulting Numbers: [11, 3, 114]
Generated Node #0,1: 95:[11, 3, 114] Operation: 43+71=114
Exploring Operation: 71-43=28, Resulting Numbers: [11, 3, 28]
Generated Node #0,2: 95:[11, 3, 28] Operation: 71-43=28
Moving to Node #0,2
Current State: 95:[11, 3, 28], Operations: ['71-43=28']
Exploring Operation: 11-3=8, Resulting Numbers: [28, 8]
Generated Node #0,2,0: 95:[28, 8] Operation: 11-3=8
Exploring Operation: 28-3=25, Resulting Numbers: [11, 25]
Generated Node #0,2,1: 95:[11, 25] Operation: 28-3=25
Exploring Operation: 28-11=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 95:[3, 17] Operation: 28-11=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[3, 17], Operations: ['71-43=28', '28-11=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No 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: 95:[28, 8], Operations: ['71-43=28', '11-3=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,95 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No 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: 95:[11, 25], Operations: ['71-43=28', '28-3=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,95 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,95 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: 95:[11, 3, 114], Operations: ['43+71=114']
Exploring Operation: 11-3=8, Resulting Numbers: [114, 8]
Generated Node #0,1,0: 95:[114, 8] Operation: 11-3=8
Exploring Operation: 114-11=103, Resulting Numbers: [3, 103]
Generated Node #0,1,1: 95:[3, 103] Operation: 114-11=103
Exploring Operation: 114-3=111, Resulting Numbers: [11, 111]
Generated Node #0,1,2: 95:[11, 111] Operation: 114-3=111
Moving to Node #0,0
Current State: 95:[71, 3, 32], Operations: ['43-11=32']
Exploring Operation: 71+32=103, Resulting Numbers: [3, 103]
Generated Node #0,0,0: 95:[3, 103] Operation: 71+32=103
Exploring Operation: 3*32=96, Resulting Numbers: [71, 96]
Generated Node #0,0,1: 95:[71, 96] Operation: 3*32=96
Exploring Operation: 71-32=39, Resulting Numbers: [3, 39]
Generated Node #0,0,2: 95:[3, 39] Operation: 71-32=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[3, 103], Operations: ['43-11=32', '71+32=103']
Exploring Operation: 3+103=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 3*103=309, Resulting Numbers: [309]
309,95 unequal: No Solution
No 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: 95:[3, 39], Operations: ['43-11=32', '71-32=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[71, 96], Operations: ['43-11=32', '3*32=96']
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,95 unequal: No Solution
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,95 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 95:[3, 103], Operations: ['43+71=114', '114-11=103']
Exploring Operation: 3+103=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 3*103=309, Resulting Numbers: [309]
309,95 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[114, 8], Operations: ['43+71=114', '11-3=8']
Exploring Operation: 114-8=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 114*8=912, Resulting Numbers: [912]
912,95 unequal: No Solution
Exploring Operation: 114+8=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[11, 111], Operations: ['43+71=114', '114-3=111']
Exploring Operation: 111-11=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 11*111=1221, Resulting Numbers: [1221]
1221,95 unequal: No Solution
Exploring Operation: 11+111=122, Resulting Numbers: [122]
122,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
62,
97,
21
] | 12 | [
"68+62=130",
"97+21=118",
"130-118=12"
] | Current State: 12:[68, 62, 97, 21], Operations: []
Exploring Operation: 68+62=130, Resulting Numbers: [97, 21, 130]
Generated Node #2: [97, 21, 130] from Operation: 68+62=130
Current State: 12:[97, 21, 130], Operations: ['68+62=130']
Exploring Operation: 97+21=118, Resulting Numbers: [130, 118]
Generated Node #3: [130, 118] from Operation: 97+21=118
Current State: 12:[130, 118], Operations: ['68+62=130', '97+21=118']
Exploring Operation: 130-118=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[68, 62, 97, 21], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [62, 21, 29]
Generated Node #0,0: 12:[62, 21, 29] Operation: 97-68=29
Moving to Node #0,0
Current State: 12:[62, 21, 29], Operations: ['97-68=29']
Exploring Operation: 62-29=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 12:[21, 33] Operation: 62-29=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[21, 33], Operations: ['97-68=29', '62-29=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[68, 62, 97, 21], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [62, 21, 29]
Generated Node #0,0: 12:[62, 21, 29] Operation: 97-68=29
Moving to Node #0,0
Current State: 12:[62, 21, 29], Operations: ['97-68=29']
Exploring Operation: 62-29=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 12:[21, 33] Operation: 62-29=33
Moving to Node #0,0,0
Current State: 12:[21, 33], Operations: ['97-68=29', '62-29=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
82,
41,
70,
95
] | 42 | [
"82+41=123",
"70+95=165",
"165-123=42"
] | Current State: 42:[82, 41, 70, 95], Operations: []
Exploring Operation: 82+41=123, Resulting Numbers: [70, 95, 123]
Generated Node #2: [70, 95, 123] from Operation: 82+41=123
Current State: 42:[70, 95, 123], Operations: ['82+41=123']
Exploring Operation: 70+95=165, Resulting Numbers: [123, 165]
Generated Node #3: [123, 165] from Operation: 70+95=165
Current State: 42:[123, 165], Operations: ['82+41=123', '70+95=165']
Exploring Operation: 165-123=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[82, 41, 70, 95], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [41, 95, 12]
Generated Node #0,0: 42:[41, 95, 12] Operation: 82-70=12
Exploring Operation: 95-41=54, Resulting Numbers: [82, 70, 54]
Generated Node #0,1: 42:[82, 70, 54] Operation: 95-41=54
Exploring Operation: 95-70=25, Resulting Numbers: [82, 41, 25]
Generated Node #0,2: 42:[82, 41, 25] Operation: 95-70=25
Exploring Operation: 95-82=13, Resulting Numbers: [41, 70, 13]
Generated Node #0,3: 42:[41, 70, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[41, 70, 13], Operations: ['95-82=13']
Exploring Operation: 41-13=28, Resulting Numbers: [70, 28]
Generated Node #0,3,0: 42:[70, 28] Operation: 41-13=28
Exploring Operation: 41+13=54, Resulting Numbers: [70, 54]
Generated Node #0,3,1: 42:[70, 54] Operation: 41+13=54
Exploring Operation: 70-41=29, Resulting Numbers: [13, 29]
Generated Node #0,3,2: 42:[13, 29] Operation: 70-41=29
Exploring Operation: 70-13=57, Resulting Numbers: [41, 57]
Generated Node #0,3,3: 42:[41, 57] Operation: 70-13=57
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[13, 29], Operations: ['95-82=13', '70-41=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[82, 41, 70, 95], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [41, 70, 13]
Generated Node #0,3: 42:[41, 70, 13] Operation: 95-82=13
Moving to Node #0,3
Current State: 42:[41, 70, 13], Operations: ['95-82=13']
Exploring Operation: 70-41=29, Resulting Numbers: [13, 29]
Generated Node #0,3,2: 42:[13, 29] Operation: 70-41=29
Moving to Node #0,3,2
Current State: 42:[13, 29], Operations: ['95-82=13', '70-41=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
19,
86,
13,
93
] | 68 | [
"19*13=247",
"86+93=179",
"247-179=68"
] | Current State: 68:[19, 86, 13, 93], Operations: []
Exploring Operation: 19*13=247, Resulting Numbers: [86, 93, 247]
Generated Node #2: [86, 93, 247] from Operation: 19*13=247
Current State: 68:[86, 93, 247], Operations: ['19*13=247']
Exploring Operation: 86+93=179, Resulting Numbers: [247, 179]
Generated Node #3: [247, 179] from Operation: 86+93=179
Current State: 68:[247, 179], Operations: ['19*13=247', '86+93=179']
Exploring Operation: 247-179=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 86, 13, 93], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [19, 13, 7]
Generated Node #0,0: 68:[19, 13, 7] Operation: 93-86=7
Exploring Operation: 93-19=74, Resulting Numbers: [86, 13, 74]
Generated Node #0,1: 68:[86, 13, 74] Operation: 93-19=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[19, 13, 7], Operations: ['93-86=7']
Exploring Operation: 13-7=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 68:[19, 6] Operation: 13-7=6
Exploring Operation: 19+13=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 68:[7, 32] Operation: 19+13=32
Moving to Node #0,0,0
Current State: 68:[19, 6], Operations: ['93-86=7', '13-7=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[7, 32], Operations: ['93-86=7', '19+13=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[86, 13, 74], Operations: ['93-19=74']
Exploring Operation: 86-13=73, Resulting Numbers: [74, 73]
Generated Node #0,1,0: 68:[74, 73] Operation: 86-13=73
Exploring Operation: 86-74=12, Resulting Numbers: [13, 12]
Generated Node #0,1,1: 68:[13, 12] Operation: 86-74=12
Moving to Node #0,1,1
Current State: 68:[13, 12], Operations: ['93-19=74', '86-74=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[74, 73], Operations: ['93-19=74', '86-13=73']
Exploring Operation: 74+73=147, Resulting Numbers: [147]
147,68 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,68 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 |
[
64,
66,
97,
16
] | 17 | [
"64+66=130",
"97+16=113",
"130-113=17"
] | Current State: 17:[64, 66, 97, 16], Operations: []
Exploring Operation: 64+66=130, Resulting Numbers: [97, 16, 130]
Generated Node #2: [97, 16, 130] from Operation: 64+66=130
Current State: 17:[97, 16, 130], Operations: ['64+66=130']
Exploring Operation: 97+16=113, Resulting Numbers: [130, 113]
Generated Node #3: [130, 113] from Operation: 97+16=113
Current State: 17:[130, 113], Operations: ['64+66=130', '97+16=113']
Exploring Operation: 130-113=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[64, 66, 97, 16], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [64, 16, 31]
Generated Node #0,0: 17:[64, 16, 31] Operation: 97-66=31
Exploring Operation: 97-64=33, Resulting Numbers: [66, 16, 33]
Generated Node #0,1: 17:[66, 16, 33] Operation: 97-64=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[64, 16, 31], Operations: ['97-66=31']
Exploring Operation: 64/16=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 17:[31, 4] Operation: 64/16=4
Exploring Operation: 64-31=33, Resulting Numbers: [16, 33]
Generated Node #0,0,1: 17:[16, 33] Operation: 64-31=33
Moving to Node #0,0,1
Current State: 17:[16, 33], Operations: ['97-66=31', '64-31=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[64, 66, 97, 16], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [64, 16, 31]
Generated Node #0,0: 17:[64, 16, 31] Operation: 97-66=31
Moving to Node #0,0
Current State: 17:[64, 16, 31], Operations: ['97-66=31']
Exploring Operation: 64-31=33, Resulting Numbers: [16, 33]
Generated Node #0,0,1: 17:[16, 33] Operation: 64-31=33
Moving to Node #0,0,1
Current State: 17:[16, 33], Operations: ['97-66=31', '64-31=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
67,
4,
39,
44
] | 95 | [
"67+39=106",
"44/4=11",
"106-11=95"
] | Current State: 95:[67, 4, 39, 44], Operations: []
Exploring Operation: 67+39=106, Resulting Numbers: [4, 44, 106]
Generated Node #2: [4, 44, 106] from Operation: 67+39=106
Current State: 95:[4, 44, 106], Operations: ['67+39=106']
Exploring Operation: 44/4=11, Resulting Numbers: [106, 11]
Generated Node #3: [106, 11] from Operation: 44/4=11
Current State: 95:[106, 11], Operations: ['67+39=106', '44/4=11']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[67, 4, 39, 44], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [4, 44, 28]
Generated Node #0,0: 95:[4, 44, 28] Operation: 67-39=28
Exploring Operation: 67-44=23, Resulting Numbers: [4, 39, 23]
Generated Node #0,1: 95:[4, 39, 23] Operation: 67-44=23
Exploring Operation: 67+39=106, Resulting Numbers: [4, 44, 106]
Generated Node #0,2: 95:[4, 44, 106] Operation: 67+39=106
Exploring Operation: 67+44=111, Resulting Numbers: [4, 39, 111]
Generated Node #0,3: 95:[4, 39, 111] Operation: 67+44=111
Exploring Operation: 44-39=5, Resulting Numbers: [67, 4, 5]
Generated Node #0,4: 95:[67, 4, 5] Operation: 44-39=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[4, 39, 23], Operations: ['67-44=23']
Exploring Operation: 39-23=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 95:[4, 16] Operation: 39-23=16
Exploring Operation: 23-4=19, Resulting Numbers: [39, 19]
Generated Node #0,1,1: 95:[39, 19] Operation: 23-4=19
Exploring Operation: 4+39=43, Resulting Numbers: [23, 43]
Generated Node #0,1,2: 95:[23, 43] Operation: 4+39=43
Exploring Operation: 4*23=92, Resulting Numbers: [39, 92]
Generated Node #0,1,3: 95:[39, 92] Operation: 4*23=92
Exploring Operation: 39-4=35, Resulting Numbers: [23, 35]
Generated Node #0,1,4: 95:[23, 35] Operation: 39-4=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[4, 16], Operations: ['67-44=23', '39-23=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No 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: 95:[39, 19], Operations: ['67-44=23', '23-4=19']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,95 unequal: No Solution
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,95 unequal: No Solution
No 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: 95:[23, 35], Operations: ['67-44=23', '39-4=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,95 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[39, 92], Operations: ['67-44=23', '4*23=92']
Exploring Operation: 39+92=131, Resulting Numbers: [131]
131,95 unequal: No Solution
Exploring Operation: 39*92=3588, Resulting Numbers: [3588]
3588,95 unequal: No Solution
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,95 unequal: No Solution
No 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: 95:[23, 43], Operations: ['67-44=23', '4+39=43']
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,95 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,95 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: 95:[67, 4, 5], Operations: ['44-39=5']
Exploring Operation: 4+5=9, Resulting Numbers: [67, 9]
Generated Node #0,4,0: 95:[67, 9] Operation: 4+5=9
Exploring Operation: 4*5=20, Resulting Numbers: [67, 20]
Generated Node #0,4,1: 95:[67, 20] Operation: 4*5=20
Exploring Operation: 67+4=71, Resulting Numbers: [5, 71]
Generated Node #0,4,2: 95:[5, 71] Operation: 67+4=71
Exploring Operation: 67+5=72, Resulting Numbers: [4, 72]
Generated Node #0,4,3: 95:[4, 72] Operation: 67+5=72
Exploring Operation: 67-4=63, Resulting Numbers: [5, 63]
Generated Node #0,4,4: 95:[5, 63] Operation: 67-4=63
Moving to Node #0,4,2
Current State: 95:[5, 71], Operations: ['44-39=5', '67+4=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[4, 72], Operations: ['44-39=5', '67+5=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,95 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Moving to Node #0,4,1
Current State: 95:[67, 20], Operations: ['44-39=5', '4*5=20']
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,95 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[67, 9], Operations: ['44-39=5', '4+5=9']
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,95 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[5, 63], Operations: ['44-39=5', '67-4=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,95 unequal: No Solution
No 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: 95:[4, 44, 28], Operations: ['67-39=28']
Exploring Operation: 28/4=7, Resulting Numbers: [44, 7]
Generated Node #0,0,0: 95:[44, 7] Operation: 28/4=7
Exploring Operation: 44-4=40, Resulting Numbers: [28, 40]
Generated Node #0,0,1: 95:[28, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [28, 11]
Generated Node #0,0,2: 95:[28, 11] Operation: 44/4=11
Exploring Operation: 44-28=16, Resulting Numbers: [4, 16]
Generated Node #0,0,3: 95:[4, 16] Operation: 44-28=16
Exploring Operation: 44+28=72, Resulting Numbers: [4, 72]
Generated Node #0,0,4: 95:[4, 72] Operation: 44+28=72
Moving to Node #0,0,3
Current State: 95:[4, 16], Operations: ['67-39=28', '44-28=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[28, 11], Operations: ['67-39=28', '44/4=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,95 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[4, 72], Operations: ['67-39=28', '44+28=72']
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,95 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[44, 7], Operations: ['67-39=28', '28/4=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,95 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,95 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[28, 40], Operations: ['67-39=28', '44-4=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,95 unequal: No Solution
No 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: 95:[4, 44, 106], Operations: ['67+39=106']
Exploring Operation: 44/4=11, Resulting Numbers: [106, 11]
Generated Node #0,2,0: 95:[106, 11] Operation: 44/4=11
Exploring Operation: 4+44=48, Resulting Numbers: [106, 48]
Generated Node #0,2,1: 95:[106, 48] Operation: 4+44=48
Exploring Operation: 106-4=102, Resulting Numbers: [44, 102]
Generated Node #0,2,2: 95:[44, 102] Operation: 106-4=102
Exploring Operation: 106-44=62, Resulting Numbers: [4, 62]
Generated Node #0,2,3: 95:[4, 62] Operation: 106-44=62
Exploring Operation: 44-4=40, Resulting Numbers: [106, 40]
Generated Node #0,2,4: 95:[106, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[106, 11], Operations: ['67+39=106', '44/4=11']
Exploring Operation: 106*11=1166, Resulting Numbers: [1166]
1166,95 unequal: No Solution
Exploring Operation: 106+11=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[67, 4, 39, 44], Operations: []
Exploring Operation: 67+39=106, Resulting Numbers: [4, 44, 106]
Generated Node #0,2: 95:[4, 44, 106] Operation: 67+39=106
Moving to Node #0,2
Current State: 95:[4, 44, 106], Operations: ['67+39=106']
Exploring Operation: 44/4=11, Resulting Numbers: [106, 11]
Generated Node #0,2,0: 95:[106, 11] Operation: 44/4=11
Moving to Node #0,2,0
Current State: 95:[106, 11], Operations: ['67+39=106', '44/4=11']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.929688 | hs_5 | sum_heuristic |
[
31,
9,
70,
32
] | 10 | [
"31+32=63",
"9*70=630",
"630/63=10"
] | Current State: 10:[31, 9, 70, 32], Operations: []
Exploring Operation: 31+32=63, Resulting Numbers: [9, 70, 63]
Generated Node #2: [9, 70, 63] from Operation: 31+32=63
Current State: 10:[9, 70, 63], Operations: ['31+32=63']
Exploring Operation: 9*70=630, Resulting Numbers: [63, 630]
Generated Node #3: [63, 630] from Operation: 9*70=630
Current State: 10:[63, 630], Operations: ['31+32=63', '9*70=630']
Exploring Operation: 630/63=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[31, 9, 70, 32], Operations: []
Exploring Operation: 31-9=22, Resulting Numbers: [70, 32, 22]
Generated Node #0,0: 10:[70, 32, 22] Operation: 31-9=22
Exploring Operation: 70-9=61, Resulting Numbers: [31, 32, 61]
Generated Node #0,1: 10:[31, 32, 61] Operation: 70-9=61
Exploring Operation: 70-32=38, Resulting Numbers: [31, 9, 38]
Generated Node #0,2: 10:[31, 9, 38] Operation: 70-32=38
Exploring Operation: 70-31=39, Resulting Numbers: [9, 32, 39]
Generated Node #0,3: 10:[9, 32, 39] Operation: 70-31=39
Exploring Operation: 32-31=1, Resulting Numbers: [9, 70, 1]
Generated Node #0,4: 10:[9, 70, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[31, 9, 38], Operations: ['70-32=38']
Exploring Operation: 38-9=29, Resulting Numbers: [31, 29]
Generated Node #0,2,0: 10:[31, 29] Operation: 38-9=29
Exploring Operation: 31+9=40, Resulting Numbers: [38, 40]
Generated Node #0,2,1: 10:[38, 40] Operation: 31+9=40
Exploring Operation: 9+38=47, Resulting Numbers: [31, 47]
Generated Node #0,2,2: 10:[31, 47] Operation: 9+38=47
Exploring Operation: 38-31=7, Resulting Numbers: [9, 7]
Generated Node #0,2,3: 10:[9, 7] Operation: 38-31=7
Exploring Operation: 31-9=22, Resulting Numbers: [38, 22]
Generated Node #0,2,4: 10:[38, 22] Operation: 31-9=22
Moving to Node #0,2,3
Current State: 10:[9, 7], Operations: ['70-32=38', '38-31=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,10 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[38, 22], Operations: ['70-32=38', '31-9=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[31, 29], Operations: ['70-32=38', '38-9=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,10 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[38, 40], Operations: ['70-32=38', '31+9=40']
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,10 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[31, 47], Operations: ['70-32=38', '9+38=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[9, 32, 39], Operations: ['70-31=39']
Exploring Operation: 39-32=7, Resulting Numbers: [9, 7]
Generated Node #0,3,0: 10:[9, 7] Operation: 39-32=7
Exploring Operation: 32-9=23, Resulting Numbers: [39, 23]
Generated Node #0,3,1: 10:[39, 23] Operation: 32-9=23
Exploring Operation: 39-9=30, Resulting Numbers: [32, 30]
Generated Node #0,3,2: 10:[32, 30] Operation: 39-9=30
Exploring Operation: 9+32=41, Resulting Numbers: [39, 41]
Generated Node #0,3,3: 10:[39, 41] Operation: 9+32=41
Exploring Operation: 9+39=48, Resulting Numbers: [32, 48]
Generated Node #0,3,4: 10:[32, 48] Operation: 9+39=48
Moving to Node #0,3,0
Current State: 10:[9, 7], Operations: ['70-31=39', '39-32=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,10 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[32, 30], Operations: ['70-31=39', '39-9=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,10 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[39, 23], Operations: ['70-31=39', '32-9=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,10 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[39, 41], Operations: ['70-31=39', '9+32=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,10 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[32, 48], Operations: ['70-31=39', '9+39=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[9, 70, 1], Operations: ['32-31=1']
Exploring Operation: 9*1=9, Resulting Numbers: [70, 9]
Generated Node #0,4,0: 10:[70, 9] Operation: 9*1=9
Exploring Operation: 9+1=10, Resulting Numbers: [70, 10]
Generated Node #0,4,1: 10:[70, 10] Operation: 9+1=10
Exploring Operation: 9/1=9, Resulting Numbers: [70, 9]
Generated Node #0,4,2: 10:[70, 9] Operation: 9/1=9
Exploring Operation: 70-9=61, Resulting Numbers: [1, 61]
Generated Node #0,4,3: 10:[1, 61] Operation: 70-9=61
Exploring Operation: 70-1=69, Resulting Numbers: [9, 69]
Generated Node #0,4,4: 10:[9, 69] Operation: 70-1=69
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[1, 61], Operations: ['32-31=1', '70-9=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 10:[70, 10], Operations: ['32-31=1', '9+1=10']
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,10 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[9, 69], Operations: ['32-31=1', '70-1=69']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,10 unequal: No Solution
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 10:[70, 9], Operations: ['32-31=1', '9*1=9']
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,10 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[70, 9], Operations: ['32-31=1', '9/1=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,10 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[70, 32, 22], Operations: ['31-9=22']
Exploring Operation: 32-22=10, Resulting Numbers: [70, 10]
Generated Node #0,0,0: 10:[70, 10] Operation: 32-22=10
Exploring Operation: 70-32=38, Resulting Numbers: [22, 38]
Generated Node #0,0,1: 10:[22, 38] Operation: 70-32=38
Exploring Operation: 70+22=92, Resulting Numbers: [32, 92]
Generated Node #0,0,2: 10:[32, 92] Operation: 70+22=92
Exploring Operation: 70-22=48, Resulting Numbers: [32, 48]
Generated Node #0,0,3: 10:[32, 48] Operation: 70-22=48
Exploring Operation: 70+32=102, Resulting Numbers: [22, 102]
Generated Node #0,0,4: 10:[22, 102] Operation: 70+32=102
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[22, 38], Operations: ['31-9=22', '70-32=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,10 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[70, 10], Operations: ['31-9=22', '32-22=10']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[32, 48], Operations: ['31-9=22', '70-22=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,10 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[32, 92], Operations: ['31-9=22', '70+22=92']
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,10 unequal: No Solution
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,10 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 10:[22, 102], Operations: ['31-9=22', '70+32=102']
Exploring Operation: 102-22=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 22*102=2244, Resulting Numbers: [2244]
2244,10 unequal: No Solution
Exploring Operation: 22+102=124, Resulting Numbers: [124]
124,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[31, 32, 61], Operations: ['70-9=61']
Exploring Operation: 61-31=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 10:[32, 30] Operation: 61-31=30
Exploring Operation: 31+32=63, Resulting Numbers: [61, 63]
Generated Node #0,1,1: 10:[61, 63] Operation: 31+32=63
Exploring Operation: 32-31=1, Resulting Numbers: [61, 1]
Generated Node #0,1,2: 10:[61, 1] Operation: 32-31=1
Exploring Operation: 61-32=29, Resulting Numbers: [31, 29]
Generated Node #0,1,3: 10:[31, 29] Operation: 61-32=29
Exploring Operation: 31+61=92, Resulting Numbers: [32, 92]
Generated Node #0,1,4: 10:[32, 92] Operation: 31+61=92
Moving to Node #0,1,3
Current State: 10:[31, 29], Operations: ['70-9=61', '61-32=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,10 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[32, 30], Operations: ['70-9=61', '61-31=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,10 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[61, 1], Operations: ['70-9=61', '32-31=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[61, 63], Operations: ['70-9=61', '31+32=63']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,10 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[32, 92], Operations: ['70-9=61', '31+61=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,10 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,10 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,10 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 |
[
68,
84,
21,
82
] | 77 | [
"84-68=16",
"82-21=61",
"16+61=77"
] | Current State: 77:[68, 84, 21, 82], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [21, 82, 16]
Generated Node #2: [21, 82, 16] from Operation: 84-68=16
Current State: 77:[21, 82, 16], Operations: ['84-68=16']
Exploring Operation: 82-21=61, Resulting Numbers: [16, 61]
Generated Node #3: [16, 61] from Operation: 82-21=61
Current State: 77:[16, 61], Operations: ['84-68=16', '82-21=61']
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[68, 84, 21, 82], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [68, 82, 4]
Generated Node #0,0: 77:[68, 82, 4] Operation: 84/21=4
Exploring Operation: 84-68=16, Resulting Numbers: [21, 82, 16]
Generated Node #0,1: 77:[21, 82, 16] Operation: 84-68=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[68, 82, 4], Operations: ['84/21=4']
Exploring Operation: 82-68=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 77:[4, 14] Operation: 82-68=14
Exploring Operation: 68+4=72, Resulting Numbers: [82, 72]
Generated Node #0,0,1: 77:[82, 72] Operation: 68+4=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[4, 14], Operations: ['84/21=4', '82-68=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,77 unequal: No Solution
No 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: 77:[82, 72], Operations: ['84/21=4', '68+4=72']
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,77 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: 77:[21, 82, 16], Operations: ['84-68=16']
Exploring Operation: 21-16=5, Resulting Numbers: [82, 5]
Generated Node #0,1,0: 77:[82, 5] Operation: 21-16=5
Exploring Operation: 82-21=61, Resulting Numbers: [16, 61]
Generated Node #0,1,1: 77:[16, 61] Operation: 82-21=61
Moving to Node #0,1,0
Current State: 77:[82, 5], Operations: ['84-68=16', '21-16=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[68, 84, 21, 82], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [21, 82, 16]
Generated Node #0,1: 77:[21, 82, 16] Operation: 84-68=16
Moving to Node #0,1
Current State: 77:[21, 82, 16], Operations: ['84-68=16']
Exploring Operation: 21-16=5, Resulting Numbers: [82, 5]
Generated Node #0,1,0: 77:[82, 5] Operation: 21-16=5
Moving to Node #0,1,0
Current State: 77:[82, 5], Operations: ['84-68=16', '21-16=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
31,
93,
4,
86
] | 55 | [
"31+93=124",
"124/4=31",
"86-31=55"
] | Current State: 55:[31, 93, 4, 86], Operations: []
Exploring Operation: 31+93=124, Resulting Numbers: [4, 86, 124]
Generated Node #2: [4, 86, 124] from Operation: 31+93=124
Current State: 55:[4, 86, 124], Operations: ['31+93=124']
Exploring Operation: 124/4=31, Resulting Numbers: [86, 31]
Generated Node #3: [86, 31] from Operation: 124/4=31
Current State: 55:[86, 31], Operations: ['31+93=124', '124/4=31']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[31, 93, 4, 86], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [31, 4, 7]
Generated Node #0,0: 55:[31, 4, 7] Operation: 93-86=7
Exploring Operation: 93/31=3, Resulting Numbers: [4, 86, 3]
Generated Node #0,1: 55:[4, 86, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[31, 4, 7], Operations: ['93-86=7']
Exploring Operation: 31-7=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 55:[4, 24] Operation: 31-7=24
Exploring Operation: 31-4=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 55:[7, 27] Operation: 31-4=27
Moving to Node #0,0,0
Current State: 55:[4, 24], Operations: ['93-86=7', '31-7=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[7, 27], Operations: ['93-86=7', '31-4=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,55 unequal: No Solution
No 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: 55:[4, 86, 3], Operations: ['93/31=3']
Exploring Operation: 86-4=82, Resulting Numbers: [3, 82]
Generated Node #0,1,0: 55:[3, 82] Operation: 86-4=82
Exploring Operation: 86-3=83, Resulting Numbers: [4, 83]
Generated Node #0,1,1: 55:[4, 83] Operation: 86-3=83
Moving to Node #0,1,0
Current State: 55:[3, 82], Operations: ['93/31=3', '86-4=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,55 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[4, 83], Operations: ['93/31=3', '86-3=83']
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
19,
94,
43
] | 63 | [
"6*19=114",
"94-43=51",
"114-51=63"
] | Current State: 63:[6, 19, 94, 43], Operations: []
Exploring Operation: 6*19=114, Resulting Numbers: [94, 43, 114]
Generated Node #2: [94, 43, 114] from Operation: 6*19=114
Current State: 63:[94, 43, 114], Operations: ['6*19=114']
Exploring Operation: 94-43=51, Resulting Numbers: [114, 51]
Generated Node #3: [114, 51] from Operation: 94-43=51
Current State: 63:[114, 51], Operations: ['6*19=114', '94-43=51']
Exploring Operation: 114-51=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[6, 19, 94, 43], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [6, 19, 51]
Generated Node #0,0: 63:[6, 19, 51] Operation: 94-43=51
Moving to Node #0,0
Current State: 63:[6, 19, 51], Operations: ['94-43=51']
Exploring Operation: 6+51=57, Resulting Numbers: [19, 57]
Generated Node #0,0,0: 63:[19, 57] Operation: 6+51=57
Moving to Node #0,0,0
Current State: 63:[19, 57], Operations: ['94-43=51', '6+51=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
14,
85,
61
] | 37 | [
"92-85=7",
"14*7=98",
"98-61=37"
] | Current State: 37:[92, 14, 85, 61], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [14, 61, 7]
Generated Node #2: [14, 61, 7] from Operation: 92-85=7
Current State: 37:[14, 61, 7], Operations: ['92-85=7']
Exploring Operation: 14*7=98, Resulting Numbers: [61, 98]
Generated Node #3: [61, 98] from Operation: 14*7=98
Current State: 37:[61, 98], Operations: ['92-85=7', '14*7=98']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[92, 14, 85, 61], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [14, 85, 31]
Generated Node #0,0: 37:[14, 85, 31] Operation: 92-61=31
Exploring Operation: 92-85=7, Resulting Numbers: [14, 61, 7]
Generated Node #0,1: 37:[14, 61, 7] Operation: 92-85=7
Moving to Node #0,0
Current State: 37:[14, 85, 31], Operations: ['92-61=31']
Exploring Operation: 85-31=54, Resulting Numbers: [14, 54]
Generated Node #0,0,0: 37:[14, 54] Operation: 85-31=54
Exploring Operation: 85-14=71, Resulting Numbers: [31, 71]
Generated Node #0,0,1: 37:[31, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[14, 54], Operations: ['92-61=31', '85-31=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[31, 71], Operations: ['92-61=31', '85-14=71']
Exploring Operation: 31+71=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,37 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: 37:[14, 61, 7], Operations: ['92-85=7']
Exploring Operation: 61-14=47, Resulting Numbers: [7, 47]
Generated Node #0,1,0: 37:[7, 47] Operation: 61-14=47
Exploring Operation: 14+7=21, Resulting Numbers: [61, 21]
Generated Node #0,1,1: 37:[61, 21] Operation: 14+7=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[7, 47], Operations: ['92-85=7', '61-14=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[61, 21], Operations: ['92-85=7', '14+7=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,37 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 |
[
41,
72,
28,
27
] | 70 | [
"41-27=14",
"28/14=2",
"72-2=70"
] | Current State: 70:[41, 72, 28, 27], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [72, 28, 14]
Generated Node #2: [72, 28, 14] from Operation: 41-27=14
Current State: 70:[72, 28, 14], Operations: ['41-27=14']
Exploring Operation: 28/14=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 28/14=2
Current State: 70:[72, 2], Operations: ['41-27=14', '28/14=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[41, 72, 28, 27], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [41, 72, 1]
Generated Node #0,0: 70:[41, 72, 1] Operation: 28-27=1
Exploring Operation: 41+28=69, Resulting Numbers: [72, 27, 69]
Generated Node #0,1: 70:[72, 27, 69] Operation: 41+28=69
Exploring Operation: 41-27=14, Resulting Numbers: [72, 28, 14]
Generated Node #0,2: 70:[72, 28, 14] Operation: 41-27=14
Moving to Node #0,0
Current State: 70:[41, 72, 1], Operations: ['28-27=1']
Exploring Operation: 72-1=71, Resulting Numbers: [41, 71]
Generated Node #0,0,0: 70:[41, 71] Operation: 72-1=71
Exploring Operation: 72-41=31, Resulting Numbers: [1, 31]
Generated Node #0,0,1: 70:[1, 31] Operation: 72-41=31
Exploring Operation: 41-1=40, Resulting Numbers: [72, 40]
Generated Node #0,0,2: 70:[72, 40] Operation: 41-1=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[1, 31], Operations: ['28-27=1', '72-41=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,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:[41, 71], Operations: ['28-27=1', '72-1=71']
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,70 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,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,2
Current State: 70:[72, 40], Operations: ['28-27=1', '41-1=40']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 72+40=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 72*40=2880, Resulting Numbers: [2880]
2880,70 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: 70:[72, 28, 14], Operations: ['41-27=14']
Exploring Operation: 28-14=14, Resulting Numbers: [72, 14]
Generated Node #0,2,0: 70:[72, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [72, 2]
Generated Node #0,2,1: 70:[72, 2] Operation: 28/14=2
Exploring Operation: 72-28=44, Resulting Numbers: [14, 44]
Generated Node #0,2,2: 70:[14, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[72, 14], Operations: ['41-27=14', '28-14=14']
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,70 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,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,1
Current State: 70:[72, 2], Operations: ['41-27=14', '28/14=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[41, 72, 28, 27], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [72, 28, 14]
Generated Node #0,2: 70:[72, 28, 14] Operation: 41-27=14
Moving to Node #0,2
Current State: 70:[72, 28, 14], Operations: ['41-27=14']
Exploring Operation: 28/14=2, Resulting Numbers: [72, 2]
Generated Node #0,2,1: 70:[72, 2] Operation: 28/14=2
Moving to Node #0,2,1
Current State: 70:[72, 2], Operations: ['41-27=14', '28/14=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
29,
81,
35,
13
] | 62 | [
"29+81=110",
"35+13=48",
"110-48=62"
] | Current State: 62:[29, 81, 35, 13], Operations: []
Exploring Operation: 29+81=110, Resulting Numbers: [35, 13, 110]
Generated Node #2: [35, 13, 110] from Operation: 29+81=110
Current State: 62:[35, 13, 110], Operations: ['29+81=110']
Exploring Operation: 35+13=48, Resulting Numbers: [110, 48]
Generated Node #3: [110, 48] from Operation: 35+13=48
Current State: 62:[110, 48], Operations: ['29+81=110', '35+13=48']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[29, 81, 35, 13], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [29, 35, 68]
Generated Node #0,0: 62:[29, 35, 68] Operation: 81-13=68
Exploring Operation: 81-29=52, Resulting Numbers: [35, 13, 52]
Generated Node #0,1: 62:[35, 13, 52] Operation: 81-29=52
Moving to Node #0,0
Current State: 62:[29, 35, 68], Operations: ['81-13=68']
Exploring Operation: 29+35=64, Resulting Numbers: [68, 64]
Generated Node #0,0,0: 62:[68, 64] Operation: 29+35=64
Exploring Operation: 68-35=33, Resulting Numbers: [29, 33]
Generated Node #0,0,1: 62:[29, 33] Operation: 68-35=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[29, 33], Operations: ['81-13=68', '68-35=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[29, 81, 35, 13], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [29, 35, 68]
Generated Node #0,0: 62:[29, 35, 68] Operation: 81-13=68
Moving to Node #0,0
Current State: 62:[29, 35, 68], Operations: ['81-13=68']
Exploring Operation: 68-35=33, Resulting Numbers: [29, 33]
Generated Node #0,0,1: 62:[29, 33] Operation: 68-35=33
Moving to Node #0,0,1
Current State: 62:[29, 33], Operations: ['81-13=68', '68-35=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
24,
22,
85,
38
] | 49 | [
"24-22=2",
"85-38=47",
"2+47=49"
] | Current State: 49:[24, 22, 85, 38], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [85, 38, 2]
Generated Node #2: [85, 38, 2] from Operation: 24-22=2
Current State: 49:[85, 38, 2], Operations: ['24-22=2']
Exploring Operation: 85-38=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 85-38=47
Current State: 49:[2, 47], Operations: ['24-22=2', '85-38=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 22, 85, 38], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [24, 22, 47]
Generated Node #0,0: 49:[24, 22, 47] Operation: 85-38=47
Exploring Operation: 85-24=61, Resulting Numbers: [22, 38, 61]
Generated Node #0,1: 49:[22, 38, 61] Operation: 85-24=61
Moving to Node #0,0
Current State: 49:[24, 22, 47], Operations: ['85-38=47']
Exploring Operation: 24+22=46, Resulting Numbers: [47, 46]
Generated Node #0,0,0: 49:[47, 46] Operation: 24+22=46
Exploring Operation: 24-22=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[47, 46], Operations: ['85-38=47', '24+22=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['85-38=47', '24-22=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[24, 22, 85, 38], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [24, 22, 47]
Generated Node #0,0: 49:[24, 22, 47] Operation: 85-38=47
Moving to Node #0,0
Current State: 49:[24, 22, 47], Operations: ['85-38=47']
Exploring Operation: 24-22=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 24-22=2
Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['85-38=47', '24-22=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
63,
57,
53,
75
] | 16 | [
"63-57=6",
"75-53=22",
"22-6=16"
] | Current State: 16:[63, 57, 53, 75], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [53, 75, 6]
Generated Node #2: [53, 75, 6] from Operation: 63-57=6
Current State: 16:[53, 75, 6], Operations: ['63-57=6']
Exploring Operation: 75-53=22, Resulting Numbers: [6, 22]
Generated Node #3: [6, 22] from Operation: 75-53=22
Current State: 16:[6, 22], Operations: ['63-57=6', '75-53=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[63, 57, 53, 75], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [63, 53, 18]
Generated Node #0,0: 16:[63, 53, 18] Operation: 75-57=18
Exploring Operation: 75-63=12, Resulting Numbers: [57, 53, 12]
Generated Node #0,1: 16:[57, 53, 12] Operation: 75-63=12
Exploring Operation: 75-53=22, Resulting Numbers: [63, 57, 22]
Generated Node #0,2: 16:[63, 57, 22] Operation: 75-53=22
Moving to Node #0,1
Current State: 16:[57, 53, 12], Operations: ['75-63=12']
Exploring Operation: 57-53=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 16:[12, 4] Operation: 57-53=4
Exploring Operation: 53-12=41, Resulting Numbers: [57, 41]
Generated Node #0,1,1: 16:[57, 41] Operation: 53-12=41
Exploring Operation: 57-12=45, Resulting Numbers: [53, 45]
Generated Node #0,1,2: 16:[53, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[12, 4], Operations: ['75-63=12', '57-53=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[63, 57, 53, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [57, 53, 12]
Generated Node #0,1: 16:[57, 53, 12] Operation: 75-63=12
Moving to Node #0,1
Current State: 16:[57, 53, 12], Operations: ['75-63=12']
Exploring Operation: 57-53=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 16:[12, 4] Operation: 57-53=4
Moving to Node #0,1,0
Current State: 16:[12, 4], Operations: ['75-63=12', '57-53=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
38,
30,
48,
29
] | 23 | [
"38-30=8",
"48/8=6",
"29-6=23"
] | Current State: 23:[38, 30, 48, 29], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [48, 29, 8]
Generated Node #2: [48, 29, 8] from Operation: 38-30=8
Current State: 23:[48, 29, 8], Operations: ['38-30=8']
Exploring Operation: 48/8=6, Resulting Numbers: [29, 6]
Generated Node #3: [29, 6] from Operation: 48/8=6
Current State: 23:[29, 6], Operations: ['38-30=8', '48/8=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[38, 30, 48, 29], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [38, 30, 19]
Generated Node #0,0: 23:[38, 30, 19] Operation: 48-29=19
Exploring Operation: 48-38=10, Resulting Numbers: [30, 29, 10]
Generated Node #0,1: 23:[30, 29, 10] Operation: 48-38=10
Exploring Operation: 48-30=18, Resulting Numbers: [38, 29, 18]
Generated Node #0,2: 23:[38, 29, 18] Operation: 48-30=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[38, 30, 19], Operations: ['48-29=19']
Exploring Operation: 38-19=19, Resulting Numbers: [30, 19]
Generated Node #0,0,0: 23:[30, 19] Operation: 38-19=19
Exploring Operation: 30-19=11, Resulting Numbers: [38, 11]
Generated Node #0,0,1: 23:[38, 11] Operation: 30-19=11
Exploring Operation: 38-30=8, Resulting Numbers: [19, 8]
Generated Node #0,0,2: 23:[19, 8] Operation: 38-30=8
Moving to Node #0,0,0
Current State: 23:[30, 19], Operations: ['48-29=19', '38-19=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,23 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[19, 8], Operations: ['48-29=19', '38-30=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[38, 11], Operations: ['48-29=19', '30-19=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,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
Current State: 23:[30, 29, 10], Operations: ['48-38=10']
Exploring Operation: 29-10=19, Resulting Numbers: [30, 19]
Generated Node #0,1,0: 23:[30, 19] Operation: 29-10=19
Exploring Operation: 30+10=40, Resulting Numbers: [29, 40]
Generated Node #0,1,1: 23:[29, 40] Operation: 30+10=40
Exploring Operation: 30-10=20, Resulting Numbers: [29, 20]
Generated Node #0,1,2: 23:[29, 20] Operation: 30-10=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[29, 20], Operations: ['48-38=10', '30-10=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,23 unequal: No Solution
No 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: 23:[30, 19], Operations: ['48-38=10', '29-10=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,23 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,23 unequal: No Solution
No 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: 23:[29, 40], Operations: ['48-38=10', '30+10=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[38, 29, 18], Operations: ['48-30=18']
Exploring Operation: 38-18=20, Resulting Numbers: [29, 20]
Generated Node #0,2,0: 23:[29, 20] Operation: 38-18=20
Exploring Operation: 29-18=11, Resulting Numbers: [38, 11]
Generated Node #0,2,1: 23:[38, 11] Operation: 29-18=11
Exploring Operation: 38-29=9, Resulting Numbers: [18, 9]
Generated Node #0,2,2: 23:[18, 9] Operation: 38-29=9
Moving to Node #0,2,0
Current State: 23:[29, 20], Operations: ['48-30=18', '38-18=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[18, 9], Operations: ['48-30=18', '38-29=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[38, 11], Operations: ['48-30=18', '29-18=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,23 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 |
[
74,
28,
51,
80
] | 75 | [
"74-28=46",
"80-51=29",
"46+29=75"
] | Current State: 75:[74, 28, 51, 80], Operations: []
Exploring Operation: 74-28=46, Resulting Numbers: [51, 80, 46]
Generated Node #2: [51, 80, 46] from Operation: 74-28=46
Current State: 75:[51, 80, 46], Operations: ['74-28=46']
Exploring Operation: 80-51=29, Resulting Numbers: [46, 29]
Generated Node #3: [46, 29] from Operation: 80-51=29
Current State: 75:[46, 29], Operations: ['74-28=46', '80-51=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[74, 28, 51, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [74, 28, 29]
Generated Node #0,0: 75:[74, 28, 29] Operation: 80-51=29
Exploring Operation: 51-28=23, Resulting Numbers: [74, 80, 23]
Generated Node #0,1: 75:[74, 80, 23] Operation: 51-28=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[74, 28, 29], Operations: ['80-51=29']
Exploring Operation: 29-28=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 75:[74, 1] Operation: 29-28=1
Exploring Operation: 28+29=57, Resulting Numbers: [74, 57]
Generated Node #0,0,1: 75:[74, 57] Operation: 28+29=57
Moving to Node #0,0,0
Current State: 75:[74, 1], Operations: ['80-51=29', '29-28=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[74, 28, 51, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [74, 28, 29]
Generated Node #0,0: 75:[74, 28, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 75:[74, 28, 29], Operations: ['80-51=29']
Exploring Operation: 29-28=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 75:[74, 1] Operation: 29-28=1
Moving to Node #0,0,0
Current State: 75:[74, 1], Operations: ['80-51=29', '29-28=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
53,
81,
80,
28
] | 79 | [
"81-53=28",
"28/28=1",
"80-1=79"
] | Current State: 79:[53, 81, 80, 28], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [80, 28, 28]
Generated Node #2: [80, 28, 28] from Operation: 81-53=28
Current State: 79:[80, 28, 28], Operations: ['81-53=28']
Exploring Operation: 28/28=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 28/28=1
Current State: 79:[80, 1], Operations: ['81-53=28', '28/28=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 81, 80, 28], Operations: []
Exploring Operation: 53+28=81, Resulting Numbers: [81, 80, 81]
Generated Node #0,0: 79:[81, 80, 81] Operation: 53+28=81
Moving to Node #0,0
Current State: 79:[81, 80, 81], Operations: ['53+28=81']
Exploring Operation: 81/81=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 79:[80, 1] Operation: 81/81=1
Moving to Node #0,0,0
Current State: 79:[80, 1], Operations: ['53+28=81', '81/81=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[53, 81, 80, 28], Operations: []
Exploring Operation: 53+28=81, Resulting Numbers: [81, 80, 81]
Generated Node #0,0: 79:[81, 80, 81] Operation: 53+28=81
Moving to Node #0,0
Current State: 79:[81, 80, 81], Operations: ['53+28=81']
Exploring Operation: 81/81=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 79:[80, 1] Operation: 81/81=1
Moving to Node #0,0,0
Current State: 79:[80, 1], Operations: ['53+28=81', '81/81=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
29,
15,
3,
29
] | 70 | [
"29+15=44",
"29-3=26",
"44+26=70"
] | Current State: 70:[29, 15, 3, 29], Operations: []
Exploring Operation: 29+15=44, Resulting Numbers: [3, 44]
Generated Node #2: [3, 44] from Operation: 29+15=44
Current State: 70:[3, 44], Operations: ['29+15=44']
Exploring Operation: 29-3=26, Resulting Numbers: [44, 26]
Generated Node #3: [44, 26] from Operation: 29-3=26
Current State: 70:[44, 26], Operations: ['29+15=44', '29-3=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[29, 15, 3, 29], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [3, 29, 14]
Generated Node #0,0: 70:[3, 29, 14] Operation: 29-15=14
Exploring Operation: 29-29=0, Resulting Numbers: [15, 3, 0]
Generated Node #0,1: 70:[15, 3, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [15, 3, 1]
Generated Node #0,2: 70:[15, 3, 1] Operation: 29/29=1
Moving to Node #0,2
Current State: 70:[15, 3, 1], Operations: ['29/29=1']
Exploring Operation: 15-1=14, Resulting Numbers: [3, 14]
Generated Node #0,2,0: 70:[3, 14] Operation: 15-1=14
Exploring Operation: 3-1=2, Resulting Numbers: [15, 2]
Generated Node #0,2,1: 70:[15, 2] Operation: 3-1=2
Exploring Operation: 15/3=5, Resulting Numbers: [1, 5]
Generated Node #0,2,2: 70:[1, 5] Operation: 15/3=5
Moving to Node #0,1
Current State: 70:[15, 3, 0], Operations: ['29-29=0']
Exploring Operation: 15+0=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 70:[3, 15] Operation: 15+0=15
Exploring Operation: 15/3=5, Resulting Numbers: [0, 5]
Generated Node #0,1,1: 70:[0, 5] Operation: 15/3=5
Exploring Operation: 15-0=15, Resulting Numbers: [3, 15]
Generated Node #0,1,2: 70:[3, 15] Operation: 15-0=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[3, 15], Operations: ['29-29=0', '15+0=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,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,1,1
Current State: 70:[0, 5], Operations: ['29-29=0', '15/3=5']
Exploring Operation: 0*5=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 0+5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,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,1,2
Current State: 70:[3, 15], Operations: ['29-29=0', '15-0=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,70 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: 70:[3, 29, 14], Operations: ['29-15=14']
Exploring Operation: 3+29=32, Resulting Numbers: [14, 32]
Generated Node #0,0,0: 70:[14, 32] Operation: 3+29=32
Exploring Operation: 14-3=11, Resulting Numbers: [29, 11]
Generated Node #0,0,1: 70:[29, 11] Operation: 14-3=11
Exploring Operation: 29-14=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 70:[3, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[3, 15], Operations: ['29-15=14', '29-14=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,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:[14, 32], Operations: ['29-15=14', '3+29=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,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,1
Current State: 70:[29, 11], Operations: ['29-15=14', '14-3=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,70 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 70:[3, 14], Operations: ['29/29=1', '15-1=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[15, 2], Operations: ['29/29=1', '3-1=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[1, 5], Operations: ['29/29=1', '15/3=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
68,
93,
5
] | 45 | [
"65+68=133",
"93-5=88",
"133-88=45"
] | Current State: 45:[65, 68, 93, 5], Operations: []
Exploring Operation: 65+68=133, Resulting Numbers: [93, 5, 133]
Generated Node #2: [93, 5, 133] from Operation: 65+68=133
Current State: 45:[93, 5, 133], Operations: ['65+68=133']
Exploring Operation: 93-5=88, Resulting Numbers: [133, 88]
Generated Node #3: [133, 88] from Operation: 93-5=88
Current State: 45:[133, 88], Operations: ['65+68=133', '93-5=88']
Exploring Operation: 133-88=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[65, 68, 93, 5], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [93, 5, 3]
Generated Node #0,0: 45:[93, 5, 3] Operation: 68-65=3
Exploring Operation: 65/5=13, Resulting Numbers: [68, 93, 13]
Generated Node #0,1: 45:[68, 93, 13] Operation: 65/5=13
Exploring Operation: 93-68=25, Resulting Numbers: [65, 5, 25]
Generated Node #0,2: 45:[65, 5, 25] Operation: 93-68=25
Exploring Operation: 93-65=28, Resulting Numbers: [68, 5, 28]
Generated Node #0,3: 45:[68, 5, 28] Operation: 93-65=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[65, 5, 25], Operations: ['93-68=25']
Exploring Operation: 65-25=40, Resulting Numbers: [5, 40]
Generated Node #0,2,0: 45:[5, 40] Operation: 65-25=40
Exploring Operation: 25/5=5, Resulting Numbers: [65, 5]
Generated Node #0,2,1: 45:[65, 5] Operation: 25/5=5
Exploring Operation: 65-5=60, Resulting Numbers: [25, 60]
Generated Node #0,2,2: 45:[25, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [25, 13]
Generated Node #0,2,3: 45:[25, 13] Operation: 65/5=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[5, 40], Operations: ['93-68=25', '65-25=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[65, 68, 93, 5], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [65, 5, 25]
Generated Node #0,2: 45:[65, 5, 25] Operation: 93-68=25
Moving to Node #0,2
Current State: 45:[65, 5, 25], Operations: ['93-68=25']
Exploring Operation: 65-25=40, Resulting Numbers: [5, 40]
Generated Node #0,2,0: 45:[5, 40] Operation: 65-25=40
Moving to Node #0,2,0
Current State: 45:[5, 40], Operations: ['93-68=25', '65-25=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
43,
72,
70,
97
] | 70 | [
"43+97=140",
"72-70=2",
"140/2=70"
] | Current State: 70:[43, 72, 70, 97], Operations: []
Exploring Operation: 43+97=140, Resulting Numbers: [72, 70, 140]
Generated Node #2: [72, 70, 140] from Operation: 43+97=140
Current State: 70:[72, 70, 140], Operations: ['43+97=140']
Exploring Operation: 72-70=2, Resulting Numbers: [140, 2]
Generated Node #3: [140, 2] from Operation: 72-70=2
Current State: 70:[140, 2], Operations: ['43+97=140', '72-70=2']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[43, 72, 70, 97], Operations: []
Exploring Operation: 97-43=54, Resulting Numbers: [72, 70, 54]
Generated Node #0,0: 70:[72, 70, 54] Operation: 97-43=54
Exploring Operation: 72-43=29, Resulting Numbers: [70, 97, 29]
Generated Node #0,1: 70:[70, 97, 29] Operation: 72-43=29
Exploring Operation: 97-72=25, Resulting Numbers: [43, 70, 25]
Generated Node #0,2: 70:[43, 70, 25] Operation: 97-72=25
Exploring Operation: 72-70=2, Resulting Numbers: [43, 97, 2]
Generated Node #0,3: 70:[43, 97, 2] Operation: 72-70=2
Exploring Operation: 97-70=27, Resulting Numbers: [43, 72, 27]
Generated Node #0,4: 70:[43, 72, 27] Operation: 97-70=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[72, 70, 54], Operations: ['97-43=54']
Exploring Operation: 72-70=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 70:[54, 2] Operation: 72-70=2
Exploring Operation: 72-54=18, Resulting Numbers: [70, 18]
Generated Node #0,0,1: 70:[70, 18] Operation: 72-54=18
Exploring Operation: 70+54=124, Resulting Numbers: [72, 124]
Generated Node #0,0,2: 70:[72, 124] Operation: 70+54=124
Exploring Operation: 70-54=16, Resulting Numbers: [72, 16]
Generated Node #0,0,3: 70:[72, 16] Operation: 70-54=16
Exploring Operation: 72+54=126, Resulting Numbers: [70, 126]
Generated Node #0,0,4: 70:[70, 126] Operation: 72+54=126
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[70, 18], Operations: ['97-43=54', '72-54=18']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,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,3
Current State: 70:[72, 16], Operations: ['97-43=54', '70-54=16']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,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,0
Current State: 70:[54, 2], Operations: ['97-43=54', '72-70=2']
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,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:[72, 124], Operations: ['97-43=54', '70+54=124']
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 72+124=196, Resulting Numbers: [196]
196,70 unequal: No Solution
Exploring Operation: 72*124=8928, Resulting Numbers: [8928]
8928,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,4
Current State: 70:[70, 126], Operations: ['97-43=54', '72+54=126']
Exploring Operation: 70*126=8820, Resulting Numbers: [8820]
8820,70 unequal: No Solution
Exploring Operation: 126-70=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 70+126=196, Resulting Numbers: [196]
196,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,2
Current State: 70:[43, 70, 25], Operations: ['97-72=25']
Exploring Operation: 70+25=95, Resulting Numbers: [43, 95]
Generated Node #0,2,0: 70:[43, 95] Operation: 70+25=95
Exploring Operation: 43-25=18, Resulting Numbers: [70, 18]
Generated Node #0,2,1: 70:[70, 18] Operation: 43-25=18
Exploring Operation: 70-43=27, Resulting Numbers: [25, 27]
Generated Node #0,2,2: 70:[25, 27] Operation: 70-43=27
Exploring Operation: 70-25=45, Resulting Numbers: [43, 45]
Generated Node #0,2,3: 70:[43, 45] Operation: 70-25=45
Exploring Operation: 43+25=68, Resulting Numbers: [70, 68]
Generated Node #0,2,4: 70:[70, 68] Operation: 43+25=68
Moving to Node #0,2,4
Current State: 70:[70, 68], Operations: ['97-72=25', '43+25=68']
Exploring Operation: 70*68=4760, Resulting Numbers: [4760]
4760,70 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[70, 18], Operations: ['97-72=25', '43-25=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[25, 27], Operations: ['97-72=25', '70-43=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,70 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[43, 45], Operations: ['97-72=25', '70-25=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,70 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[43, 95], Operations: ['97-72=25', '70+25=95']
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,70 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,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,4
Current State: 70:[43, 72, 27], Operations: ['97-70=27']
Exploring Operation: 72-27=45, Resulting Numbers: [43, 45]
Generated Node #0,4,0: 70:[43, 45] Operation: 72-27=45
Exploring Operation: 72+27=99, Resulting Numbers: [43, 99]
Generated Node #0,4,1: 70:[43, 99] Operation: 72+27=99
Exploring Operation: 43+27=70, Resulting Numbers: [72, 70]
Generated Node #0,4,2: 70:[72, 70] Operation: 43+27=70
Exploring Operation: 43-27=16, Resulting Numbers: [72, 16]
Generated Node #0,4,3: 70:[72, 16] Operation: 43-27=16
Exploring Operation: 72-43=29, Resulting Numbers: [27, 29]
Generated Node #0,4,4: 70:[27, 29] Operation: 72-43=29
Moving to Node #0,4,2
Current State: 70:[72, 70], Operations: ['97-70=27', '43+27=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,70 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[72, 16], Operations: ['97-70=27', '43-27=16']
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,70 unequal: No Solution
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[27, 29], Operations: ['97-70=27', '72-43=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[43, 45], Operations: ['97-70=27', '72-27=45']
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,70 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[43, 99], Operations: ['97-70=27', '72+27=99']
Exploring Operation: 43+99=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 43*99=4257, Resulting Numbers: [4257]
4257,70 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,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,1
Current State: 70:[70, 97, 29], Operations: ['72-43=29']
Exploring Operation: 70+29=99, Resulting Numbers: [97, 99]
Generated Node #0,1,0: 70:[97, 99] Operation: 70+29=99
Exploring Operation: 97+29=126, Resulting Numbers: [70, 126]
Generated Node #0,1,1: 70:[70, 126] Operation: 97+29=126
Exploring Operation: 97-29=68, Resulting Numbers: [70, 68]
Generated Node #0,1,2: 70:[70, 68] Operation: 97-29=68
Exploring Operation: 70-29=41, Resulting Numbers: [97, 41]
Generated Node #0,1,3: 70:[97, 41] Operation: 70-29=41
Exploring Operation: 97-70=27, Resulting Numbers: [29, 27]
Generated Node #0,1,4: 70:[29, 27] Operation: 97-70=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[70, 68], Operations: ['72-43=29', '97-29=68']
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 70*68=4760, Resulting Numbers: [4760]
4760,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[29, 27], Operations: ['72-43=29', '97-70=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,70 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[97, 41], Operations: ['72-43=29', '70-29=41']
Exploring Operation: 97+41=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 97*41=3977, Resulting Numbers: [3977]
3977,70 unequal: No Solution
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[97, 99], Operations: ['72-43=29', '70+29=99']
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,70 unequal: No Solution
Exploring Operation: 97*99=9603, Resulting Numbers: [9603]
9603,70 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[70, 126], Operations: ['72-43=29', '97+29=126']
Exploring Operation: 126-70=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 70+126=196, Resulting Numbers: [196]
196,70 unequal: No Solution
Exploring Operation: 70*126=8820, Resulting Numbers: [8820]
8820,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[43, 97, 2], Operations: ['72-70=2']
Exploring Operation: 43+2=45, Resulting Numbers: [97, 45]
Generated Node #0,3,0: 70:[97, 45] Operation: 43+2=45
Exploring Operation: 97-43=54, Resulting Numbers: [2, 54]
Generated Node #0,3,1: 70:[2, 54] Operation: 97-43=54
Exploring Operation: 43-2=41, Resulting Numbers: [97, 41]
Generated Node #0,3,2: 70:[97, 41] Operation: 43-2=41
Exploring Operation: 97+2=99, Resulting Numbers: [43, 99]
Generated Node #0,3,3: 70:[43, 99] Operation: 97+2=99
Exploring Operation: 97-2=95, Resulting Numbers: [43, 95]
Generated Node #0,3,4: 70:[43, 95] Operation: 97-2=95
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[2, 54], Operations: ['72-70=2', '97-43=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,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,3,2
Current State: 70:[97, 41], Operations: ['72-70=2', '43-2=41']
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 97*41=3977, Resulting Numbers: [3977]
3977,70 unequal: No Solution
Exploring Operation: 97+41=138, Resulting Numbers: [138]
138,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,3,4
Current State: 70:[43, 95], Operations: ['72-70=2', '97-2=95']
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,70 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,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,3,0
Current State: 70:[97, 45], Operations: ['72-70=2', '43+2=45']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 97+45=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 97*45=4365, Resulting Numbers: [4365]
4365,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,3,3
Current State: 70:[43, 99], Operations: ['72-70=2', '97+2=99']
Exploring Operation: 43+99=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 43*99=4257, Resulting Numbers: [4257]
4257,70 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,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_5 | mult_heuristic |
[
13,
70,
81,
67
] | 65 | [
"13+70=83",
"81+67=148",
"148-83=65"
] | Current State: 65:[13, 70, 81, 67], Operations: []
Exploring Operation: 13+70=83, Resulting Numbers: [81, 67, 83]
Generated Node #2: [81, 67, 83] from Operation: 13+70=83
Current State: 65:[81, 67, 83], Operations: ['13+70=83']
Exploring Operation: 81+67=148, Resulting Numbers: [83, 148]
Generated Node #3: [83, 148] from Operation: 81+67=148
Current State: 65:[83, 148], Operations: ['13+70=83', '81+67=148']
Exploring Operation: 148-83=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[13, 70, 81, 67], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [70, 67, 68]
Generated Node #0,0: 65:[70, 67, 68] Operation: 81-13=68
Exploring Operation: 81-67=14, Resulting Numbers: [13, 70, 14]
Generated Node #0,1: 65:[13, 70, 14] Operation: 81-67=14
Exploring Operation: 70-67=3, Resulting Numbers: [13, 81, 3]
Generated Node #0,2: 65:[13, 81, 3] Operation: 70-67=3
Exploring Operation: 70-13=57, Resulting Numbers: [81, 67, 57]
Generated Node #0,3: 65:[81, 67, 57] Operation: 70-13=57
Exploring Operation: 81-70=11, Resulting Numbers: [13, 67, 11]
Generated Node #0,4: 65:[13, 67, 11] Operation: 81-70=11
Moving to Node #0,4
Current State: 65:[13, 67, 11], Operations: ['81-70=11']
Exploring Operation: 13-11=2, Resulting Numbers: [67, 2]
Generated Node #0,4,0: 65:[67, 2] Operation: 13-11=2
Exploring Operation: 67-11=56, Resulting Numbers: [13, 56]
Generated Node #0,4,1: 65:[13, 56] Operation: 67-11=56
Exploring Operation: 67+11=78, Resulting Numbers: [13, 78]
Generated Node #0,4,2: 65:[13, 78] Operation: 67+11=78
Exploring Operation: 67-13=54, Resulting Numbers: [11, 54]
Generated Node #0,4,3: 65:[11, 54] Operation: 67-13=54
Exploring Operation: 13+11=24, Resulting Numbers: [67, 24]
Generated Node #0,4,4: 65:[67, 24] Operation: 13+11=24
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[67, 2], Operations: ['81-70=11', '13-11=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[13, 70, 81, 67], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [13, 67, 11]
Generated Node #0,4: 65:[13, 67, 11] Operation: 81-70=11
Moving to Node #0,4
Current State: 65:[13, 67, 11], Operations: ['81-70=11']
Exploring Operation: 13-11=2, Resulting Numbers: [67, 2]
Generated Node #0,4,0: 65:[67, 2] Operation: 13-11=2
Moving to Node #0,4,0
Current State: 65:[67, 2], Operations: ['81-70=11', '13-11=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
6,
90,
10,
30
] | 13 | [
"6+10=16",
"90/30=3",
"16-3=13"
] | Current State: 13:[6, 90, 10, 30], Operations: []
Exploring Operation: 6+10=16, Resulting Numbers: [90, 30, 16]
Generated Node #2: [90, 30, 16] from Operation: 6+10=16
Current State: 13:[90, 30, 16], Operations: ['6+10=16']
Exploring Operation: 90/30=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 90/30=3
Current State: 13:[16, 3], Operations: ['6+10=16', '90/30=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 90, 10, 30], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [10, 30, 15]
Generated Node #0,0: 13:[10, 30, 15] Operation: 90/6=15
Exploring Operation: 90/30=3, Resulting Numbers: [6, 10, 3]
Generated Node #0,1: 13:[6, 10, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[6, 10, 3], Operations: ['90/30=3']
Exploring Operation: 6+3=9, Resulting Numbers: [10, 9]
Generated Node #0,1,0: 13:[10, 9] Operation: 6+3=9
Exploring Operation: 10+3=13, Resulting Numbers: [6, 13]
Generated Node #0,1,1: 13:[6, 13] Operation: 10+3=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[10, 9], Operations: ['90/30=3', '6+3=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No 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: 13:[6, 13], Operations: ['90/30=3', '10+3=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,13 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: 13:[10, 30, 15], Operations: ['90/6=15']
Exploring Operation: 30-15=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 13:[10, 15] Operation: 30-15=15
Exploring Operation: 30-10=20, Resulting Numbers: [15, 20]
Generated Node #0,0,1: 13:[15, 20] Operation: 30-10=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[10, 15], Operations: ['90/6=15', '30-15=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No 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: 13:[15, 20], Operations: ['90/6=15', '30-10=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,13 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 |
[
12,
16,
76,
64
] | 84 | [
"12+76=88",
"64/16=4",
"88-4=84"
] | Current State: 84:[12, 16, 76, 64], Operations: []
Exploring Operation: 12+76=88, Resulting Numbers: [16, 64, 88]
Generated Node #2: [16, 64, 88] from Operation: 12+76=88
Current State: 84:[16, 64, 88], Operations: ['12+76=88']
Exploring Operation: 64/16=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 64/16=4
Current State: 84:[88, 4], Operations: ['12+76=88', '64/16=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 16, 76, 64], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [12, 76, 4]
Generated Node #0,0: 84:[12, 76, 4] Operation: 64/16=4
Exploring Operation: 16+64=80, Resulting Numbers: [12, 76, 80]
Generated Node #0,1: 84:[12, 76, 80] Operation: 16+64=80
Exploring Operation: 76-64=12, Resulting Numbers: [12, 16, 12]
Generated Node #0,2: 84:[12, 16, 12] Operation: 76-64=12
Moving to Node #0,2
Current State: 84:[12, 16, 12], Operations: ['76-64=12']
Exploring Operation: 16-12=4, Resulting Numbers: [12, 4]
Generated Node #0,2,0: 84:[12, 4] Operation: 16-12=4
Exploring Operation: 12+16=28, Resulting Numbers: [12, 28]
Generated Node #0,2,1: 84:[12, 28] Operation: 12+16=28
Exploring Operation: 16+12=28, Resulting Numbers: [12, 28]
Generated Node #0,2,2: 84:[12, 28] Operation: 16+12=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[12, 4], Operations: ['76-64=12', '16-12=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[12, 28], Operations: ['76-64=12', '12+16=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[12, 28], Operations: ['76-64=12', '16+12=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,84 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: 84:[12, 76, 4], Operations: ['64/16=4']
Exploring Operation: 12+76=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 84:[4, 88] Operation: 12+76=88
Exploring Operation: 76/4=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 84:[12, 19] Operation: 76/4=19
Exploring Operation: 76+4=80, Resulting Numbers: [12, 80]
Generated Node #0,0,2: 84:[12, 80] Operation: 76+4=80
Moving to Node #0,1
Current State: 84:[12, 76, 80], Operations: ['16+64=80']
Exploring Operation: 12+76=88, Resulting Numbers: [80, 88]
Generated Node #0,1,0: 84:[80, 88] Operation: 12+76=88
Exploring Operation: 12+80=92, Resulting Numbers: [76, 92]
Generated Node #0,1,1: 84:[76, 92] Operation: 12+80=92
Exploring Operation: 80-76=4, Resulting Numbers: [12, 4]
Generated Node #0,1,2: 84:[12, 4] Operation: 80-76=4
Moving to Node #0,1,2
Current State: 84:[12, 4], Operations: ['16+64=80', '80-76=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[12, 19], Operations: ['64/16=4', '76/4=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[12, 80], Operations: ['64/16=4', '76+4=80']
Exploring Operation: 12*80=960, Resulting Numbers: [960]
960,84 unequal: No Solution
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,84 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[4, 88], Operations: ['64/16=4', '12+76=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[12, 16, 76, 64], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [12, 76, 4]
Generated Node #0,0: 84:[12, 76, 4] Operation: 64/16=4
Moving to Node #0,0
Current State: 84:[12, 76, 4], Operations: ['64/16=4']
Exploring Operation: 12+76=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 84:[4, 88] Operation: 12+76=88
Moving to Node #0,0,0
Current State: 84:[4, 88], Operations: ['64/16=4', '12+76=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
84,
71,
82,
51
] | 61 | [
"84-82=2",
"71+51=122",
"122/2=61"
] | Current State: 61:[84, 71, 82, 51], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [71, 51, 2]
Generated Node #2: [71, 51, 2] from Operation: 84-82=2
Current State: 61:[71, 51, 2], Operations: ['84-82=2']
Exploring Operation: 71+51=122, Resulting Numbers: [2, 122]
Generated Node #3: [2, 122] from Operation: 71+51=122
Current State: 61:[2, 122], Operations: ['84-82=2', '71+51=122']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[84, 71, 82, 51], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [71, 82, 33]
Generated Node #0,0: 61:[71, 82, 33] Operation: 84-51=33
Exploring Operation: 82-51=31, Resulting Numbers: [84, 71, 31]
Generated Node #0,1: 61:[84, 71, 31] Operation: 82-51=31
Moving to Node #0,0
Current State: 61:[71, 82, 33], Operations: ['84-51=33']
Exploring Operation: 82-33=49, Resulting Numbers: [71, 49]
Generated Node #0,0,0: 61:[71, 49] Operation: 82-33=49
Exploring Operation: 71-33=38, Resulting Numbers: [82, 38]
Generated Node #0,0,1: 61:[82, 38] Operation: 71-33=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[71, 49], Operations: ['84-51=33', '82-33=49']
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No 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: 61:[82, 38], Operations: ['84-51=33', '71-33=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,61 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: 61:[84, 71, 31], Operations: ['82-51=31']
Exploring Operation: 71-31=40, Resulting Numbers: [84, 40]
Generated Node #0,1,0: 61:[84, 40] Operation: 71-31=40
Exploring Operation: 84-31=53, Resulting Numbers: [71, 53]
Generated Node #0,1,1: 61:[71, 53] Operation: 84-31=53
Moving to Node #0,1,1
Current State: 61:[71, 53], Operations: ['82-51=31', '84-31=53']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 71+53=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[84, 40], Operations: ['82-51=31', '71-31=40']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
61,
84,
66
] | 27 | [
"84*66=5544",
"5544/63=88",
"88-61=27"
] | Current State: 27:[63, 61, 84, 66], Operations: []
Exploring Operation: 84*66=5544, Resulting Numbers: [63, 61, 5544]
Generated Node #2: [63, 61, 5544] from Operation: 84*66=5544
Current State: 27:[63, 61, 5544], Operations: ['84*66=5544']
Exploring Operation: 5544/63=88, Resulting Numbers: [61, 88]
Generated Node #3: [61, 88] from Operation: 5544/63=88
Current State: 27:[61, 88], Operations: ['84*66=5544', '5544/63=88']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[63, 61, 84, 66], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [63, 61, 18]
Generated Node #0,0: 27:[63, 61, 18] Operation: 84-66=18
Exploring Operation: 84-61=23, Resulting Numbers: [63, 66, 23]
Generated Node #0,1: 27:[63, 66, 23] Operation: 84-61=23
Exploring Operation: 84-63=21, Resulting Numbers: [61, 66, 21]
Generated Node #0,2: 27:[61, 66, 21] Operation: 84-63=21
Moving to Node #0,0
Current State: 27:[63, 61, 18], Operations: ['84-66=18']
Exploring Operation: 63-18=45, Resulting Numbers: [61, 45]
Generated Node #0,0,0: 27:[61, 45] Operation: 63-18=45
Exploring Operation: 63-61=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 27:[18, 2] Operation: 63-61=2
Exploring Operation: 61-18=43, Resulting Numbers: [63, 43]
Generated Node #0,0,2: 27:[63, 43] Operation: 61-18=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[18, 2], Operations: ['84-66=18', '63-61=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No 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: 27:[61, 45], Operations: ['84-66=18', '63-18=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,27 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,27 unequal: No Solution
No 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: 27:[63, 43], Operations: ['84-66=18', '61-18=43']
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,27 unequal: No Solution
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,27 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,27 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: 27:[63, 66, 23], Operations: ['84-61=23']
Exploring Operation: 66-23=43, Resulting Numbers: [63, 43]
Generated Node #0,1,0: 27:[63, 43] Operation: 66-23=43
Exploring Operation: 63-23=40, Resulting Numbers: [66, 40]
Generated Node #0,1,1: 27:[66, 40] Operation: 63-23=40
Exploring Operation: 66-63=3, Resulting Numbers: [23, 3]
Generated Node #0,1,2: 27:[23, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[23, 3], Operations: ['84-61=23', '66-63=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[63, 43], Operations: ['84-61=23', '66-23=43']
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,27 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,27 unequal: No Solution
No 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: 27:[66, 40], Operations: ['84-61=23', '63-23=40']
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,27 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,27 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: 27:[61, 66, 21], Operations: ['84-63=21']
Exploring Operation: 61-21=40, Resulting Numbers: [66, 40]
Generated Node #0,2,0: 27:[66, 40] Operation: 61-21=40
Exploring Operation: 66-21=45, Resulting Numbers: [61, 45]
Generated Node #0,2,1: 27:[61, 45] Operation: 66-21=45
Exploring Operation: 66-61=5, Resulting Numbers: [21, 5]
Generated Node #0,2,2: 27:[21, 5] Operation: 66-61=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[21, 5], Operations: ['84-63=21', '66-61=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No 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: 27:[66, 40], Operations: ['84-63=21', '61-21=40']
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,27 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,27 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No 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: 27:[61, 45], Operations: ['84-63=21', '66-21=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,27 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
69,
94,
3,
99
] | 84 | [
"99-69=30",
"30/3=10",
"94-10=84"
] | Current State: 84:[69, 94, 3, 99], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [94, 3, 30]
Generated Node #2: [94, 3, 30] from Operation: 99-69=30
Current State: 84:[94, 3, 30], Operations: ['99-69=30']
Exploring Operation: 30/3=10, Resulting Numbers: [94, 10]
Generated Node #3: [94, 10] from Operation: 30/3=10
Current State: 84:[94, 10], Operations: ['99-69=30', '30/3=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[69, 94, 3, 99], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [69, 3, 5]
Generated Node #0,0: 84:[69, 3, 5] Operation: 99-94=5
Exploring Operation: 99-69=30, Resulting Numbers: [94, 3, 30]
Generated Node #0,1: 84:[94, 3, 30] Operation: 99-69=30
Exploring Operation: 94-69=25, Resulting Numbers: [3, 99, 25]
Generated Node #0,2: 84:[3, 99, 25] Operation: 94-69=25
Exploring Operation: 69/3=23, Resulting Numbers: [94, 99, 23]
Generated Node #0,3: 84:[94, 99, 23] Operation: 69/3=23
Moving to Node #0,1
Current State: 84:[94, 3, 30], Operations: ['99-69=30']
Exploring Operation: 94+3=97, Resulting Numbers: [30, 97]
Generated Node #0,1,0: 84:[30, 97] Operation: 94+3=97
Exploring Operation: 94-3=91, Resulting Numbers: [30, 91]
Generated Node #0,1,1: 84:[30, 91] Operation: 94-3=91
Exploring Operation: 30-3=27, Resulting Numbers: [94, 27]
Generated Node #0,1,2: 84:[94, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [94, 10]
Generated Node #0,1,3: 84:[94, 10] Operation: 30/3=10
Moving to Node #0,0
Current State: 84:[69, 3, 5], Operations: ['99-94=5']
Exploring Operation: 5-3=2, Resulting Numbers: [69, 2]
Generated Node #0,0,0: 84:[69, 2] Operation: 5-3=2
Exploring Operation: 69+5=74, Resulting Numbers: [3, 74]
Generated Node #0,0,1: 84:[3, 74] Operation: 69+5=74
Exploring Operation: 69/3=23, Resulting Numbers: [5, 23]
Generated Node #0,0,2: 84:[5, 23] Operation: 69/3=23
Exploring Operation: 69+3=72, Resulting Numbers: [5, 72]
Generated Node #0,0,3: 84:[5, 72] Operation: 69+3=72
Moving to Node #0,2
Current State: 84:[3, 99, 25], Operations: ['94-69=25']
Exploring Operation: 99-25=74, Resulting Numbers: [3, 74]
Generated Node #0,2,0: 84:[3, 74] Operation: 99-25=74
Exploring Operation: 3+25=28, Resulting Numbers: [99, 28]
Generated Node #0,2,1: 84:[99, 28] Operation: 3+25=28
Exploring Operation: 99/3=33, Resulting Numbers: [25, 33]
Generated Node #0,2,2: 84:[25, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [25, 96]
Generated Node #0,2,3: 84:[25, 96] Operation: 99-3=96
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[25, 33], Operations: ['94-69=25', '99/3=33']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,84 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[3, 74], Operations: ['94-69=25', '99-25=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,84 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[99, 28], Operations: ['94-69=25', '3+25=28']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 99+28=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 99*28=2772, Resulting Numbers: [2772]
2772,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[25, 96], Operations: ['94-69=25', '99-3=96']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,84 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: 84:[94, 99, 23], Operations: ['69/3=23']
Exploring Operation: 94-23=71, Resulting Numbers: [99, 71]
Generated Node #0,3,0: 84:[99, 71] Operation: 94-23=71
Exploring Operation: 94+23=117, Resulting Numbers: [99, 117]
Generated Node #0,3,1: 84:[99, 117] Operation: 94+23=117
Exploring Operation: 99-94=5, Resulting Numbers: [23, 5]
Generated Node #0,3,2: 84:[23, 5] Operation: 99-94=5
Exploring Operation: 99-23=76, Resulting Numbers: [94, 76]
Generated Node #0,3,3: 84:[94, 76] Operation: 99-23=76
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[23, 5], Operations: ['69/3=23', '99-94=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[94, 76], Operations: ['69/3=23', '99-23=76']
Exploring Operation: 94+76=170, Resulting Numbers: [170]
170,84 unequal: No Solution
Exploring Operation: 94*76=7144, Resulting Numbers: [7144]
7144,84 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[99, 71], Operations: ['69/3=23', '94-23=71']
Exploring Operation: 99*71=7029, Resulting Numbers: [7029]
7029,84 unequal: No Solution
Exploring Operation: 99+71=170, Resulting Numbers: [170]
170,84 unequal: No Solution
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[99, 117], Operations: ['69/3=23', '94+23=117']
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 99+117=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Exploring Operation: 99*117=11583, Resulting Numbers: [11583]
11583,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 84:[5, 23], Operations: ['99-94=5', '69/3=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[30, 91], Operations: ['99-69=30', '94-3=91']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 30*91=2730, Resulting Numbers: [2730]
2730,84 unequal: No Solution
Exploring Operation: 30+91=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[3, 74], Operations: ['99-94=5', '69+5=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[94, 27], Operations: ['99-69=30', '30-3=27']
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,84 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[94, 10], Operations: ['99-69=30', '30/3=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,84 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[69, 94, 3, 99], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [94, 3, 30]
Generated Node #0,1: 84:[94, 3, 30] Operation: 99-69=30
Moving to Node #0,1
Current State: 84:[94, 3, 30], Operations: ['99-69=30']
Exploring Operation: 30/3=10, Resulting Numbers: [94, 10]
Generated Node #0,1,3: 84:[94, 10] Operation: 30/3=10
Moving to Node #0,1,3
Current State: 84:[94, 10], Operations: ['99-69=30', '30/3=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.945313 | hs_4 | sum_heuristic |
[
87,
59,
3,
66
] | 50 | [
"87-59=28",
"66/3=22",
"28+22=50"
] | Current State: 50:[87, 59, 3, 66], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [3, 66, 28]
Generated Node #2: [3, 66, 28] from Operation: 87-59=28
Current State: 50:[3, 66, 28], Operations: ['87-59=28']
Exploring Operation: 66/3=22, Resulting Numbers: [28, 22]
Generated Node #3: [28, 22] from Operation: 66/3=22
Current State: 50:[28, 22], Operations: ['87-59=28', '66/3=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[87, 59, 3, 66], Operations: []
Exploring Operation: 87-66=21, Resulting Numbers: [59, 3, 21]
Generated Node #0,0: 50:[59, 3, 21] Operation: 87-66=21
Exploring Operation: 87-59=28, Resulting Numbers: [3, 66, 28]
Generated Node #0,1: 50:[3, 66, 28] Operation: 87-59=28
Moving to Node #0,0
Current State: 50:[59, 3, 21], Operations: ['87-66=21']
Exploring Operation: 59-3=56, Resulting Numbers: [21, 56]
Generated Node #0,0,0: 50:[21, 56] Operation: 59-3=56
Exploring Operation: 3+21=24, Resulting Numbers: [59, 24]
Generated Node #0,0,1: 50:[59, 24] Operation: 3+21=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[21, 56], Operations: ['87-66=21', '59-3=56']
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,50 unequal: No Solution
No 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: 50:[59, 24], Operations: ['87-66=21', '3+21=24']
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,50 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: 50:[3, 66, 28], Operations: ['87-59=28']
Exploring Operation: 66-28=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 50:[3, 38] Operation: 66-28=38
Exploring Operation: 66/3=22, Resulting Numbers: [28, 22]
Generated Node #0,1,1: 50:[28, 22] Operation: 66/3=22
Moving to Node #0,1,1
Current State: 50:[28, 22], Operations: ['87-59=28', '66/3=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[87, 59, 3, 66], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [3, 66, 28]
Generated Node #0,1: 50:[3, 66, 28] Operation: 87-59=28
Moving to Node #0,1
Current State: 50:[3, 66, 28], Operations: ['87-59=28']
Exploring Operation: 66/3=22, Resulting Numbers: [28, 22]
Generated Node #0,1,1: 50:[28, 22] Operation: 66/3=22
Moving to Node #0,1,1
Current State: 50:[28, 22], Operations: ['87-59=28', '66/3=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
4,
53,
71,
97
] | 11 | [
"71+97=168",
"168/4=42",
"53-42=11"
] | Current State: 11:[4, 53, 71, 97], Operations: []
Exploring Operation: 71+97=168, Resulting Numbers: [4, 53, 168]
Generated Node #2: [4, 53, 168] from Operation: 71+97=168
Current State: 11:[4, 53, 168], Operations: ['71+97=168']
Exploring Operation: 168/4=42, Resulting Numbers: [53, 42]
Generated Node #3: [53, 42] from Operation: 168/4=42
Current State: 11:[53, 42], Operations: ['71+97=168', '168/4=42']
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 53, 71, 97], Operations: []
Exploring Operation: 53-4=49, Resulting Numbers: [71, 97, 49]
Generated Node #0,0: 11:[71, 97, 49] Operation: 53-4=49
Exploring Operation: 71-4=67, Resulting Numbers: [53, 97, 67]
Generated Node #0,1: 11:[53, 97, 67] Operation: 71-4=67
Exploring Operation: 71-53=18, Resulting Numbers: [4, 97, 18]
Generated Node #0,2: 11:[4, 97, 18] Operation: 71-53=18
Exploring Operation: 97-53=44, Resulting Numbers: [4, 71, 44]
Generated Node #0,3: 11:[4, 71, 44] Operation: 97-53=44
Exploring Operation: 97-71=26, Resulting Numbers: [4, 53, 26]
Generated Node #0,4: 11:[4, 53, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[4, 53, 26], Operations: ['97-71=26']
Exploring Operation: 53-4=49, Resulting Numbers: [26, 49]
Generated Node #0,4,0: 11:[26, 49] Operation: 53-4=49
Exploring Operation: 4+53=57, Resulting Numbers: [26, 57]
Generated Node #0,4,1: 11:[26, 57] Operation: 4+53=57
Exploring Operation: 26-4=22, Resulting Numbers: [53, 22]
Generated Node #0,4,2: 11:[53, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [53, 30]
Generated Node #0,4,3: 11:[53, 30] Operation: 4+26=30
Exploring Operation: 53-26=27, Resulting Numbers: [4, 27]
Generated Node #0,4,4: 11:[4, 27] Operation: 53-26=27
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 11:[4, 27], Operations: ['97-71=26', '53-26=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,11 unequal: No Solution
No 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: 11:[26, 49], Operations: ['97-71=26', '53-4=49']
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 26*49=1274, Resulting Numbers: [1274]
1274,11 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,11 unequal: No Solution
No 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: 11:[53, 22], Operations: ['97-71=26', '26-4=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,11 unequal: No Solution
No 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: 11:[26, 57], Operations: ['97-71=26', '4+53=57']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,11 unequal: No Solution
No 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: 11:[53, 30], Operations: ['97-71=26', '4+26=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,11 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,11 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: 11:[4, 97, 18], Operations: ['71-53=18']
Exploring Operation: 97-18=79, Resulting Numbers: [4, 79]
Generated Node #0,2,0: 11:[4, 79] Operation: 97-18=79
Exploring Operation: 97-4=93, Resulting Numbers: [18, 93]
Generated Node #0,2,1: 11:[18, 93] Operation: 97-4=93
Exploring Operation: 4+18=22, Resulting Numbers: [97, 22]
Generated Node #0,2,2: 11:[97, 22] Operation: 4+18=22
Exploring Operation: 4+97=101, Resulting Numbers: [18, 101]
Generated Node #0,2,3: 11:[18, 101] Operation: 4+97=101
Exploring Operation: 18-4=14, Resulting Numbers: [97, 14]
Generated Node #0,2,4: 11:[97, 14] Operation: 18-4=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[4, 79], Operations: ['71-53=18', '97-18=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,11 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,11 unequal: No Solution
No 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: 11:[18, 93], Operations: ['71-53=18', '97-4=93']
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,11 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,11 unequal: No Solution
No 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: 11:[97, 14], Operations: ['71-53=18', '18-4=14']
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,11 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,11 unequal: No Solution
No 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: 11:[97, 22], Operations: ['71-53=18', '4+18=22']
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,11 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,11 unequal: No Solution
No 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: 11:[18, 101], Operations: ['71-53=18', '4+97=101']
Exploring Operation: 18+101=119, Resulting Numbers: [119]
119,11 unequal: No Solution
Exploring Operation: 101-18=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 18*101=1818, Resulting Numbers: [1818]
1818,11 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: 11:[4, 71, 44], Operations: ['97-53=44']
Exploring Operation: 44/4=11, Resulting Numbers: [71, 11]
Generated Node #0,3,0: 11:[71, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [71, 40]
Generated Node #0,3,1: 11:[71, 40] Operation: 44-4=40
Exploring Operation: 4+71=75, Resulting Numbers: [44, 75]
Generated Node #0,3,2: 11:[44, 75] Operation: 4+71=75
Exploring Operation: 71-4=67, Resulting Numbers: [44, 67]
Generated Node #0,3,3: 11:[44, 67] Operation: 71-4=67
Exploring Operation: 71-44=27, Resulting Numbers: [4, 27]
Generated Node #0,3,4: 11:[4, 27] Operation: 71-44=27
Moving to Node #0,3,4
Current State: 11:[4, 27], Operations: ['97-53=44', '71-44=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[71, 11], Operations: ['97-53=44', '44/4=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,11 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[71, 40], Operations: ['97-53=44', '44-4=40']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,11 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[44, 67], Operations: ['97-53=44', '71-4=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[44, 75], Operations: ['97-53=44', '4+71=75']
Exploring Operation: 44+75=119, Resulting Numbers: [119]
119,11 unequal: No Solution
Exploring Operation: 44*75=3300, Resulting Numbers: [3300]
3300,11 unequal: No Solution
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,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
Current State: 11:[71, 97, 49], Operations: ['53-4=49']
Exploring Operation: 97-49=48, Resulting Numbers: [71, 48]
Generated Node #0,0,0: 11:[71, 48] Operation: 97-49=48
Exploring Operation: 71+49=120, Resulting Numbers: [97, 120]
Generated Node #0,0,1: 11:[97, 120] Operation: 71+49=120
Exploring Operation: 71-49=22, Resulting Numbers: [97, 22]
Generated Node #0,0,2: 11:[97, 22] Operation: 71-49=22
Exploring Operation: 71+97=168, Resulting Numbers: [49, 168]
Generated Node #0,0,3: 11:[49, 168] Operation: 71+97=168
Exploring Operation: 97-71=26, Resulting Numbers: [49, 26]
Generated Node #0,0,4: 11:[49, 26] Operation: 97-71=26
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[49, 26], Operations: ['53-4=49', '97-71=26']
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,11 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,11 unequal: No Solution
No 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: 11:[71, 48], Operations: ['53-4=49', '97-49=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,11 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,11 unequal: No Solution
No 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: 11:[97, 22], Operations: ['53-4=49', '71-49=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,11 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,11 unequal: No Solution
No 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: 11:[97, 120], Operations: ['53-4=49', '71+49=120']
Exploring Operation: 97+120=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 97*120=11640, Resulting Numbers: [11640]
11640,11 unequal: No Solution
No 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: 11:[49, 168], Operations: ['53-4=49', '71+97=168']
Exploring Operation: 49+168=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Exploring Operation: 49*168=8232, Resulting Numbers: [8232]
8232,11 unequal: No Solution
Exploring Operation: 168-49=119, Resulting Numbers: [119]
119,11 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: 11:[53, 97, 67], Operations: ['71-4=67']
Exploring Operation: 97-67=30, Resulting Numbers: [53, 30]
Generated Node #0,1,0: 11:[53, 30] Operation: 97-67=30
Exploring Operation: 67-53=14, Resulting Numbers: [97, 14]
Generated Node #0,1,1: 11:[97, 14] Operation: 67-53=14
Exploring Operation: 53+97=150, Resulting Numbers: [67, 150]
Generated Node #0,1,2: 11:[67, 150] Operation: 53+97=150
Exploring Operation: 97-53=44, Resulting Numbers: [67, 44]
Generated Node #0,1,3: 11:[67, 44] Operation: 97-53=44
Exploring Operation: 53+67=120, Resulting Numbers: [97, 120]
Generated Node #0,1,4: 11:[97, 120] Operation: 53+67=120
Moving to Node #0,1,0
Current State: 11:[53, 30], Operations: ['71-4=67', '97-67=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,11 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[67, 44], Operations: ['71-4=67', '97-53=44']
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,11 unequal: No Solution
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[97, 14], Operations: ['71-4=67', '67-53=14']
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,11 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[67, 150], Operations: ['71-4=67', '53+97=150']
Exploring Operation: 67*150=10050, Resulting Numbers: [10050]
10050,11 unequal: No Solution
Exploring Operation: 67+150=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Exploring Operation: 150-67=83, Resulting Numbers: [83]
83,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[97, 120], Operations: ['71-4=67', '53+67=120']
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 97+120=217, Resulting Numbers: [217]
217,11 unequal: No Solution
Exploring Operation: 97*120=11640, Resulting Numbers: [11640]
11640,11 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 |
[
52,
6,
63,
14
] | 39 | [
"52*63=3276",
"6*14=84",
"3276/84=39"
] | Current State: 39:[52, 6, 63, 14], Operations: []
Exploring Operation: 52*63=3276, Resulting Numbers: [6, 14, 3276]
Generated Node #2: [6, 14, 3276] from Operation: 52*63=3276
Current State: 39:[6, 14, 3276], Operations: ['52*63=3276']
Exploring Operation: 6*14=84, Resulting Numbers: [3276, 84]
Generated Node #3: [3276, 84] from Operation: 6*14=84
Current State: 39:[3276, 84], Operations: ['52*63=3276', '6*14=84']
Exploring Operation: 3276/84=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[52, 6, 63, 14], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [52, 6, 49]
Generated Node #0,0: 39:[52, 6, 49] Operation: 63-14=49
Exploring Operation: 63-52=11, Resulting Numbers: [6, 14, 11]
Generated Node #0,1: 39:[6, 14, 11] Operation: 63-52=11
Exploring Operation: 52-14=38, Resulting Numbers: [6, 63, 38]
Generated Node #0,2: 39:[6, 63, 38] Operation: 52-14=38
Exploring Operation: 63-6=57, Resulting Numbers: [52, 14, 57]
Generated Node #0,3: 39:[52, 14, 57] Operation: 63-6=57
Exploring Operation: 52-6=46, Resulting Numbers: [63, 14, 46]
Generated Node #0,4: 39:[63, 14, 46] Operation: 52-6=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[6, 14, 11], Operations: ['63-52=11']
Exploring Operation: 14-11=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 39:[6, 3] Operation: 14-11=3
Exploring Operation: 14-6=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 39:[11, 8] Operation: 14-6=8
Exploring Operation: 6+11=17, Resulting Numbers: [14, 17]
Generated Node #0,1,2: 39:[14, 17] Operation: 6+11=17
Exploring Operation: 6+14=20, Resulting Numbers: [11, 20]
Generated Node #0,1,3: 39:[11, 20] Operation: 6+14=20
Exploring Operation: 11-6=5, Resulting Numbers: [14, 5]
Generated Node #0,1,4: 39:[14, 5] Operation: 11-6=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[6, 3], Operations: ['63-52=11', '14-11=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No 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: 39:[14, 5], Operations: ['63-52=11', '11-6=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,39 unequal: No Solution
No 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: 39:[14, 17], Operations: ['63-52=11', '6+11=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,39 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No 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: 39:[11, 8], Operations: ['63-52=11', '14-6=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[11, 20], Operations: ['63-52=11', '6+14=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,39 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: 39:[52, 6, 49], Operations: ['63-14=49']
Exploring Operation: 52-49=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 39:[6, 3] Operation: 52-49=3
Exploring Operation: 6+49=55, Resulting Numbers: [52, 55]
Generated Node #0,0,1: 39:[52, 55] Operation: 6+49=55
Exploring Operation: 52+6=58, Resulting Numbers: [49, 58]
Generated Node #0,0,2: 39:[49, 58] Operation: 52+6=58
Exploring Operation: 52-6=46, Resulting Numbers: [49, 46]
Generated Node #0,0,3: 39:[49, 46] Operation: 52-6=46
Exploring Operation: 49-6=43, Resulting Numbers: [52, 43]
Generated Node #0,0,4: 39:[52, 43] Operation: 49-6=43
Moving to Node #0,0,0
Current State: 39:[6, 3], Operations: ['63-14=49', '52-49=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[52, 43], Operations: ['63-14=49', '49-6=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[49, 46], Operations: ['63-14=49', '52-6=46']
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,39 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[52, 55], Operations: ['63-14=49', '6+49=55']
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,39 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[49, 58], Operations: ['63-14=49', '52+6=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,39 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,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,2
Current State: 39:[6, 63, 38], Operations: ['52-14=38']
Exploring Operation: 63-6=57, Resulting Numbers: [38, 57]
Generated Node #0,2,0: 39:[38, 57] Operation: 63-6=57
Exploring Operation: 38-6=32, Resulting Numbers: [63, 32]
Generated Node #0,2,1: 39:[63, 32] Operation: 38-6=32
Exploring Operation: 6+38=44, Resulting Numbers: [63, 44]
Generated Node #0,2,2: 39:[63, 44] Operation: 6+38=44
Exploring Operation: 6+63=69, Resulting Numbers: [38, 69]
Generated Node #0,2,3: 39:[38, 69] Operation: 6+63=69
Exploring Operation: 63-38=25, Resulting Numbers: [6, 25]
Generated Node #0,2,4: 39:[6, 25] Operation: 63-38=25
Moving to Node #0,2,4
Current State: 39:[6, 25], Operations: ['52-14=38', '63-38=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,39 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[38, 57], Operations: ['52-14=38', '63-6=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[63, 44], Operations: ['52-14=38', '6+38=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,39 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[63, 32], Operations: ['52-14=38', '38-6=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,39 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[38, 69], Operations: ['52-14=38', '6+63=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,39 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,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,3
Current State: 39:[52, 14, 57], Operations: ['63-6=57']
Exploring Operation: 57-52=5, Resulting Numbers: [14, 5]
Generated Node #0,3,0: 39:[14, 5] Operation: 57-52=5
Exploring Operation: 57-14=43, Resulting Numbers: [52, 43]
Generated Node #0,3,1: 39:[52, 43] Operation: 57-14=43
Exploring Operation: 52-14=38, Resulting Numbers: [57, 38]
Generated Node #0,3,2: 39:[57, 38] Operation: 52-14=38
Exploring Operation: 14+57=71, Resulting Numbers: [52, 71]
Generated Node #0,3,3: 39:[52, 71] Operation: 14+57=71
Exploring Operation: 52+14=66, Resulting Numbers: [57, 66]
Generated Node #0,3,4: 39:[57, 66] Operation: 52+14=66
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[14, 5], Operations: ['63-6=57', '57-52=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No 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: 39:[52, 43], Operations: ['63-6=57', '57-14=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,39 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No 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: 39:[57, 38], Operations: ['63-6=57', '52-14=38']
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,39 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No 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: 39:[52, 71], Operations: ['63-6=57', '14+57=71']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,39 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,39 unequal: No Solution
No 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: 39:[57, 66], Operations: ['63-6=57', '52+14=66']
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,39 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,39 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: 39:[63, 14, 46], Operations: ['52-6=46']
Exploring Operation: 63-14=49, Resulting Numbers: [46, 49]
Generated Node #0,4,0: 39:[46, 49] Operation: 63-14=49
Exploring Operation: 46-14=32, Resulting Numbers: [63, 32]
Generated Node #0,4,1: 39:[63, 32] Operation: 46-14=32
Exploring Operation: 14+46=60, Resulting Numbers: [63, 60]
Generated Node #0,4,2: 39:[63, 60] Operation: 14+46=60
Exploring Operation: 63+14=77, Resulting Numbers: [46, 77]
Generated Node #0,4,3: 39:[46, 77] Operation: 63+14=77
Exploring Operation: 63-46=17, Resulting Numbers: [14, 17]
Generated Node #0,4,4: 39:[14, 17] Operation: 63-46=17
Moving to Node #0,4,4
Current State: 39:[14, 17], Operations: ['52-6=46', '63-46=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[46, 49], Operations: ['52-6=46', '63-14=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[63, 32], Operations: ['52-6=46', '46-14=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[63, 60], Operations: ['52-6=46', '14+46=60']
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,39 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[46, 77], Operations: ['52-6=46', '63+14=77']
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,39 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,39 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 |
[
25,
69,
10,
75
] | 33 | [
"25*69=1725",
"1725/75=23",
"10+23=33"
] | Current State: 33:[25, 69, 10, 75], Operations: []
Exploring Operation: 25*69=1725, Resulting Numbers: [10, 75, 1725]
Generated Node #2: [10, 75, 1725] from Operation: 25*69=1725
Current State: 33:[10, 75, 1725], Operations: ['25*69=1725']
Exploring Operation: 1725/75=23, Resulting Numbers: [10, 23]
Generated Node #3: [10, 23] from Operation: 1725/75=23
Current State: 33:[10, 23], Operations: ['25*69=1725', '1725/75=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[25, 69, 10, 75], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [25, 10, 6]
Generated Node #0,0: 33:[25, 10, 6] Operation: 75-69=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[25, 10, 6], Operations: ['75-69=6']
Exploring Operation: 25+6=31, Resulting Numbers: [10, 31]
Generated Node #0,0,0: 33:[10, 31] Operation: 25+6=31
Moving to Node #0,0,0
Current State: 33:[10, 31], Operations: ['75-69=6', '25+6=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
77,
3,
9
] | 93 | [
"48*3=144",
"144/9=16",
"77+16=93"
] | Current State: 93:[48, 77, 3, 9], Operations: []
Exploring Operation: 48*3=144, Resulting Numbers: [77, 9, 144]
Generated Node #2: [77, 9, 144] from Operation: 48*3=144
Current State: 93:[77, 9, 144], Operations: ['48*3=144']
Exploring Operation: 144/9=16, Resulting Numbers: [77, 16]
Generated Node #3: [77, 16] from Operation: 144/9=16
Current State: 93:[77, 16], Operations: ['48*3=144', '144/9=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[48, 77, 3, 9], Operations: []
Exploring Operation: 77-48=29, Resulting Numbers: [3, 9, 29]
Generated Node #0,0: 93:[3, 9, 29] Operation: 77-48=29
Moving to Node #0,0
Current State: 93:[3, 9, 29], Operations: ['77-48=29']
Exploring Operation: 9/3=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 93:[29, 3] Operation: 9/3=3
Moving to Node #0,0,0
Current State: 93:[29, 3], Operations: ['77-48=29', '9/3=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,93 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
69,
14,
62
] | 83 | [
"69-62=7",
"14*7=98",
"98-15=83"
] | Current State: 83:[15, 69, 14, 62], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [15, 14, 7]
Generated Node #2: [15, 14, 7] from Operation: 69-62=7
Current State: 83:[15, 14, 7], Operations: ['69-62=7']
Exploring Operation: 14*7=98, Resulting Numbers: [15, 98]
Generated Node #3: [15, 98] from Operation: 14*7=98
Current State: 83:[15, 98], Operations: ['69-62=7', '14*7=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[15, 69, 14, 62], Operations: []
Exploring Operation: 15+62=77, Resulting Numbers: [69, 14, 77]
Generated Node #0,0: 83:[69, 14, 77] Operation: 15+62=77
Exploring Operation: 69+14=83, Resulting Numbers: [15, 62, 83]
Generated Node #0,1: 83:[15, 62, 83] Operation: 69+14=83
Exploring Operation: 15+14=29, Resulting Numbers: [69, 62, 29]
Generated Node #0,2: 83:[69, 62, 29] Operation: 15+14=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[69, 14, 77], Operations: ['15+62=77']
Exploring Operation: 14+77=91, Resulting Numbers: [69, 91]
Generated Node #0,0,0: 83:[69, 91] Operation: 14+77=91
Exploring Operation: 69+14=83, Resulting Numbers: [77, 83]
Generated Node #0,0,1: 83:[77, 83] Operation: 69+14=83
Exploring Operation: 69-14=55, Resulting Numbers: [77, 55]
Generated Node #0,0,2: 83:[77, 55] Operation: 69-14=55
Moving to Node #0,0,1
Current State: 83:[77, 83], Operations: ['15+62=77', '69+14=83']
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 77*83=6391, Resulting Numbers: [6391]
6391,83 unequal: No Solution
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[69, 91], Operations: ['15+62=77', '14+77=91']
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[77, 55], Operations: ['15+62=77', '69-14=55']
Exploring Operation: 77*55=4235, Resulting Numbers: [4235]
4235,83 unequal: No Solution
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 77+55=132, Resulting Numbers: [132]
132,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[15, 62, 83], Operations: ['69+14=83']
Exploring Operation: 15+83=98, Resulting Numbers: [62, 98]
Generated Node #0,1,0: 83:[62, 98] Operation: 15+83=98
Exploring Operation: 15+62=77, Resulting Numbers: [83, 77]
Generated Node #0,1,1: 83:[83, 77] Operation: 15+62=77
Exploring Operation: 62-15=47, Resulting Numbers: [83, 47]
Generated Node #0,1,2: 83:[83, 47] Operation: 62-15=47
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[83, 77], Operations: ['69+14=83', '15+62=77']
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 83+77=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 83*77=6391, Resulting Numbers: [6391]
6391,83 unequal: No Solution
No 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: 83:[62, 98], Operations: ['69+14=83', '15+83=98']
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,83 unequal: No Solution
No 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: 83:[83, 47], Operations: ['69+14=83', '62-15=47']
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,83 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,83 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: 83:[69, 62, 29], Operations: ['15+14=29']
Exploring Operation: 69-29=40, Resulting Numbers: [62, 40]
Generated Node #0,2,0: 83:[62, 40] Operation: 69-29=40
Exploring Operation: 69+29=98, Resulting Numbers: [62, 98]
Generated Node #0,2,1: 83:[62, 98] Operation: 69+29=98
Exploring Operation: 62+29=91, Resulting Numbers: [69, 91]
Generated Node #0,2,2: 83:[69, 91] Operation: 62+29=91
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[69, 91], Operations: ['15+14=29', '62+29=91']
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,83 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,83 unequal: No Solution
No 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: 83:[62, 98], Operations: ['15+14=29', '69+29=98']
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,83 unequal: No Solution
No 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: 83:[62, 40], Operations: ['15+14=29', '69-29=40']
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,83 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,83 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 |
[
8,
4,
72,
72
] | 31 | [
"8*4=32",
"72/72=1",
"32-1=31"
] | Current State: 31:[8, 4, 72, 72], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [72, 72, 32]
Generated Node #2: [72, 72, 32] from Operation: 8*4=32
Current State: 31:[72, 72, 32], Operations: ['8*4=32']
Exploring Operation: 72/72=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 72/72=1
Current State: 31:[32, 1], Operations: ['8*4=32', '72/72=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[8, 4, 72, 72], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [8, 4, 0]
Generated Node #0,0: 31:[8, 4, 0] Operation: 72-72=0
Exploring Operation: 72/72=1, Resulting Numbers: [8, 4, 1]
Generated Node #0,1: 31:[8, 4, 1] Operation: 72/72=1
Exploring Operation: 8*4=32, Resulting Numbers: [72, 72, 32]
Generated Node #0,2: 31:[72, 72, 32] Operation: 8*4=32
Exploring Operation: 72/4=18, Resulting Numbers: [8, 72, 18]
Generated Node #0,3: 31:[8, 72, 18] Operation: 72/4=18
Exploring Operation: 72/4=18, Resulting Numbers: [8, 72, 18]
Generated Node #0,4: 31:[8, 72, 18] Operation: 72/4=18
Moving to Node #0,3
Current State: 31:[8, 72, 18], Operations: ['72/4=18']
Exploring Operation: 8+18=26, Resulting Numbers: [72, 26]
Generated Node #0,3,0: 31:[72, 26] Operation: 8+18=26
Exploring Operation: 72-18=54, Resulting Numbers: [8, 54]
Generated Node #0,3,1: 31:[8, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [8, 4]
Generated Node #0,3,2: 31:[8, 4] Operation: 72/18=4
Exploring Operation: 72/8=9, Resulting Numbers: [18, 9]
Generated Node #0,3,3: 31:[18, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [18, 64]
Generated Node #0,3,4: 31:[18, 64] Operation: 72-8=64
Moving to Node #0,4
Current State: 31:[8, 72, 18], Operations: ['72/4=18']
Exploring Operation: 72/18=4, Resulting Numbers: [8, 4]
Generated Node #0,4,0: 31:[8, 4] Operation: 72/18=4
Exploring Operation: 72/8=9, Resulting Numbers: [18, 9]
Generated Node #0,4,1: 31:[18, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [18, 64]
Generated Node #0,4,2: 31:[18, 64] Operation: 72-8=64
Exploring Operation: 8+18=26, Resulting Numbers: [72, 26]
Generated Node #0,4,3: 31:[72, 26] Operation: 8+18=26
Exploring Operation: 72-18=54, Resulting Numbers: [8, 54]
Generated Node #0,4,4: 31:[8, 54] Operation: 72-18=54
Moving to Node #0,1
Current State: 31:[8, 4, 1], Operations: ['72/72=1']
Exploring Operation: 4+1=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 31:[8, 5] Operation: 4+1=5
Exploring Operation: 8+1=9, Resulting Numbers: [4, 9]
Generated Node #0,1,1: 31:[4, 9] Operation: 8+1=9
Exploring Operation: 8+4=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 31:[1, 12] Operation: 8+4=12
Exploring Operation: 8*4=32, Resulting Numbers: [1, 32]
Generated Node #0,1,3: 31:[1, 32] Operation: 8*4=32
Exploring Operation: 8*1=8, Resulting Numbers: [4, 8]
Generated Node #0,1,4: 31:[4, 8] Operation: 8*1=8
Moving to Node #0,0
Current State: 31:[8, 4, 0], Operations: ['72-72=0']
Exploring Operation: 8-0=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 31:[4, 8] Operation: 8-0=8
Exploring Operation: 8*4=32, Resulting Numbers: [0, 32]
Generated Node #0,0,1: 31:[0, 32] Operation: 8*4=32
Exploring Operation: 4+0=4, Resulting Numbers: [8, 4]
Generated Node #0,0,2: 31:[8, 4] Operation: 4+0=4
Exploring Operation: 8+4=12, Resulting Numbers: [0, 12]
Generated Node #0,0,3: 31:[0, 12] Operation: 8+4=12
Exploring Operation: 8+0=8, Resulting Numbers: [4, 8]
Generated Node #0,0,4: 31:[4, 8] Operation: 8+0=8
Moving to Node #0,2
Current State: 31:[72, 72, 32], Operations: ['8*4=32']
Exploring Operation: 72+72=144, Resulting Numbers: [32, 144]
Generated Node #0,2,0: 31:[32, 144] Operation: 72+72=144
Exploring Operation: 72-72=0, Resulting Numbers: [32, 0]
Generated Node #0,2,1: 31:[32, 0] Operation: 72-72=0
Exploring Operation: 72-32=40, Resulting Numbers: [72, 40]
Generated Node #0,2,2: 31:[72, 40] Operation: 72-32=40
Exploring Operation: 72/72=1, Resulting Numbers: [32, 1]
Generated Node #0,2,3: 31:[32, 1] Operation: 72/72=1
Exploring Operation: 72-32=40, Resulting Numbers: [72, 40]
Generated Node #0,2,4: 31:[72, 40] Operation: 72-32=40
Moving to Node #0,1,3
Current State: 31:[1, 32], Operations: ['72/72=1', '8*4=32']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[8, 4, 72, 72], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [8, 4, 1]
Generated Node #0,1: 31:[8, 4, 1] Operation: 72/72=1
Moving to Node #0,1
Current State: 31:[8, 4, 1], Operations: ['72/72=1']
Exploring Operation: 8*4=32, Resulting Numbers: [1, 32]
Generated Node #0,1,3: 31:[1, 32] Operation: 8*4=32
Moving to Node #0,1,3
Current State: 31:[1, 32], Operations: ['72/72=1', '8*4=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.96875 | hs_5 | sum_heuristic |
[
25,
73,
78,
60
] | 19 | [
"73-60=13",
"78/13=6",
"25-6=19"
] | Current State: 19:[25, 73, 78, 60], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [25, 78, 13]
Generated Node #2: [25, 78, 13] from Operation: 73-60=13
Current State: 19:[25, 78, 13], Operations: ['73-60=13']
Exploring Operation: 78/13=6, Resulting Numbers: [25, 6]
Generated Node #3: [25, 6] from Operation: 78/13=6
Current State: 19:[25, 6], Operations: ['73-60=13', '78/13=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[25, 73, 78, 60], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [25, 60, 5]
Generated Node #0,0: 19:[25, 60, 5] Operation: 78-73=5
Exploring Operation: 78-60=18, Resulting Numbers: [25, 73, 18]
Generated Node #0,1: 19:[25, 73, 18] Operation: 78-60=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[25, 60, 5], Operations: ['78-73=5']
Exploring Operation: 60-25=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 19:[5, 35] Operation: 60-25=35
Exploring Operation: 60/5=12, Resulting Numbers: [25, 12]
Generated Node #0,0,1: 19:[25, 12] Operation: 60/5=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[25, 12], Operations: ['78-73=5', '60/5=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,19 unequal: No Solution
No 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: 19:[5, 35], Operations: ['78-73=5', '60-25=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,19 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: 19:[25, 73, 18], Operations: ['78-60=18']
Exploring Operation: 73-25=48, Resulting Numbers: [18, 48]
Generated Node #0,1,0: 19:[18, 48] Operation: 73-25=48
Exploring Operation: 73-18=55, Resulting Numbers: [25, 55]
Generated Node #0,1,1: 19:[25, 55] Operation: 73-18=55
Moving to Node #0,1,0
Current State: 19:[18, 48], Operations: ['78-60=18', '73-25=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[25, 55], Operations: ['78-60=18', '73-18=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,19 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 |
[
4,
41,
66,
51
] | 89 | [
"41+51=92",
"92/4=23",
"66+23=89"
] | Current State: 89:[4, 41, 66, 51], Operations: []
Exploring Operation: 41+51=92, Resulting Numbers: [4, 66, 92]
Generated Node #2: [4, 66, 92] from Operation: 41+51=92
Current State: 89:[4, 66, 92], Operations: ['41+51=92']
Exploring Operation: 92/4=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 92/4=23
Current State: 89:[66, 23], Operations: ['41+51=92', '92/4=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[4, 41, 66, 51], Operations: []
Exploring Operation: 4+66=70, Resulting Numbers: [41, 51, 70]
Generated Node #0,0: 89:[41, 51, 70] Operation: 4+66=70
Exploring Operation: 4+41=45, Resulting Numbers: [66, 51, 45]
Generated Node #0,1: 89:[66, 51, 45] Operation: 4+41=45
Exploring Operation: 41+51=92, Resulting Numbers: [4, 66, 92]
Generated Node #0,2: 89:[4, 66, 92] Operation: 41+51=92
Exploring Operation: 4+51=55, Resulting Numbers: [41, 66, 55]
Generated Node #0,3: 89:[41, 66, 55] Operation: 4+51=55
Moving to Node #0,0
Current State: 89:[41, 51, 70], Operations: ['4+66=70']
Exploring Operation: 41+51=92, Resulting Numbers: [70, 92]
Generated Node #0,0,0: 89:[70, 92] Operation: 41+51=92
Exploring Operation: 41+70=111, Resulting Numbers: [51, 111]
Generated Node #0,0,1: 89:[51, 111] Operation: 41+70=111
Exploring Operation: 51+70=121, Resulting Numbers: [41, 121]
Generated Node #0,0,2: 89:[41, 121] Operation: 51+70=121
Exploring Operation: 51-41=10, Resulting Numbers: [70, 10]
Generated Node #0,0,3: 89:[70, 10] Operation: 51-41=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[70, 92], Operations: ['4+66=70', '41+51=92']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[51, 111], Operations: ['4+66=70', '41+70=111']
Exploring Operation: 51+111=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 51*111=5661, Resulting Numbers: [5661]
5661,89 unequal: No Solution
Exploring Operation: 111-51=60, Resulting Numbers: [60]
60,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[41, 121], Operations: ['4+66=70', '51+70=121']
Exploring Operation: 41+121=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 41*121=4961, Resulting Numbers: [4961]
4961,89 unequal: No Solution
Exploring Operation: 121-41=80, Resulting Numbers: [80]
80,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[70, 10], Operations: ['4+66=70', '51-41=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,89 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[41, 66, 55], Operations: ['4+51=55']
Exploring Operation: 66-41=25, Resulting Numbers: [55, 25]
Generated Node #0,3,0: 89:[55, 25] Operation: 66-41=25
Exploring Operation: 66+55=121, Resulting Numbers: [41, 121]
Generated Node #0,3,1: 89:[41, 121] Operation: 66+55=121
Exploring Operation: 41+55=96, Resulting Numbers: [66, 96]
Generated Node #0,3,2: 89:[66, 96] Operation: 41+55=96
Exploring Operation: 41+66=107, Resulting Numbers: [55, 107]
Generated Node #0,3,3: 89:[55, 107] Operation: 41+66=107
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[66, 96], Operations: ['4+51=55', '41+55=96']
Exploring Operation: 66*96=6336, Resulting Numbers: [6336]
6336,89 unequal: No Solution
Exploring Operation: 66+96=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,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,3,3
Current State: 89:[55, 107], Operations: ['4+51=55', '41+66=107']
Exploring Operation: 55*107=5885, Resulting Numbers: [5885]
5885,89 unequal: No Solution
Exploring Operation: 107-55=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 55+107=162, Resulting Numbers: [162]
162,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,3,1
Current State: 89:[41, 121], Operations: ['4+51=55', '66+55=121']
Exploring Operation: 121-41=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 41*121=4961, Resulting Numbers: [4961]
4961,89 unequal: No Solution
Exploring Operation: 41+121=162, Resulting Numbers: [162]
162,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,3,0
Current State: 89:[55, 25], Operations: ['4+51=55', '66-41=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,89 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: 89:[66, 51, 45], Operations: ['4+41=45']
Exploring Operation: 66-45=21, Resulting Numbers: [51, 21]
Generated Node #0,1,0: 89:[51, 21] Operation: 66-45=21
Exploring Operation: 66+51=117, Resulting Numbers: [45, 117]
Generated Node #0,1,1: 89:[45, 117] Operation: 66+51=117
Exploring Operation: 66+45=111, Resulting Numbers: [51, 111]
Generated Node #0,1,2: 89:[51, 111] Operation: 66+45=111
Exploring Operation: 51+45=96, Resulting Numbers: [66, 96]
Generated Node #0,1,3: 89:[66, 96] Operation: 51+45=96
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[66, 96], Operations: ['4+41=45', '51+45=96']
Exploring Operation: 66*96=6336, Resulting Numbers: [6336]
6336,89 unequal: No Solution
Exploring Operation: 66+96=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,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,2
Current State: 89:[51, 111], Operations: ['4+41=45', '66+45=111']
Exploring Operation: 51+111=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 111-51=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 51*111=5661, Resulting Numbers: [5661]
5661,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,1
Current State: 89:[45, 117], Operations: ['4+41=45', '66+51=117']
Exploring Operation: 45+117=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 45*117=5265, Resulting Numbers: [5265]
5265,89 unequal: No Solution
Exploring Operation: 117-45=72, Resulting Numbers: [72]
72,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,0
Current State: 89:[51, 21], Operations: ['4+41=45', '66-45=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,89 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,89 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: 89:[4, 66, 92], Operations: ['41+51=92']
Exploring Operation: 4+66=70, Resulting Numbers: [92, 70]
Generated Node #0,2,0: 89:[92, 70] Operation: 4+66=70
Exploring Operation: 92-4=88, Resulting Numbers: [66, 88]
Generated Node #0,2,1: 89:[66, 88] Operation: 92-4=88
Exploring Operation: 4+92=96, Resulting Numbers: [66, 96]
Generated Node #0,2,2: 89:[66, 96] Operation: 4+92=96
Exploring Operation: 66-4=62, Resulting Numbers: [92, 62]
Generated Node #0,2,3: 89:[92, 62] Operation: 66-4=62
Moving to Node #0,2,0
Current State: 89:[92, 70], Operations: ['41+51=92', '4+66=70']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,89 unequal: No Solution
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[66, 88], Operations: ['41+51=92', '92-4=88']
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,89 unequal: No Solution
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[92, 62], Operations: ['41+51=92', '66-4=62']
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 92+62=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 92*62=5704, Resulting Numbers: [5704]
5704,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[66, 96], Operations: ['41+51=92', '4+92=96']
Exploring Operation: 66+96=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 66*96=6336, Resulting Numbers: [6336]
6336,89 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
1,
19,
23,
39
] | 43 | [
"1*19=19",
"23+39=62",
"62-19=43"
] | Current State: 43:[1, 19, 23, 39], Operations: []
Exploring Operation: 1*19=19, Resulting Numbers: [23, 39, 19]
Generated Node #2: [23, 39, 19] from Operation: 1*19=19
Current State: 43:[23, 39, 19], Operations: ['1*19=19']
Exploring Operation: 23+39=62, Resulting Numbers: [19, 62]
Generated Node #3: [19, 62] from Operation: 23+39=62
Current State: 43:[19, 62], Operations: ['1*19=19', '23+39=62']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[1, 19, 23, 39], Operations: []
Exploring Operation: 1*19=19, Resulting Numbers: [23, 39, 19]
Generated Node #0,0: 43:[23, 39, 19] Operation: 1*19=19
Exploring Operation: 1+23=24, Resulting Numbers: [19, 39, 24]
Generated Node #0,1: 43:[19, 39, 24] Operation: 1+23=24
Exploring Operation: 19+23=42, Resulting Numbers: [1, 39, 42]
Generated Node #0,2: 43:[1, 39, 42] Operation: 19+23=42
Exploring Operation: 1+39=40, Resulting Numbers: [19, 23, 40]
Generated Node #0,3: 43:[19, 23, 40] Operation: 1+39=40
Exploring Operation: 1+19=20, Resulting Numbers: [23, 39, 20]
Generated Node #0,4: 43:[23, 39, 20] Operation: 1+19=20
Moving to Node #0,1
Current State: 43:[19, 39, 24], Operations: ['1+23=24']
Exploring Operation: 39-19=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 43:[24, 20] Operation: 39-19=20
Exploring Operation: 19+24=43, Resulting Numbers: [39, 43]
Generated Node #0,1,1: 43:[39, 43] Operation: 19+24=43
Exploring Operation: 24-19=5, Resulting Numbers: [39, 5]
Generated Node #0,1,2: 43:[39, 5] Operation: 24-19=5
Exploring Operation: 39+24=63, Resulting Numbers: [19, 63]
Generated Node #0,1,3: 43:[19, 63] Operation: 39+24=63
Exploring Operation: 19+39=58, Resulting Numbers: [24, 58]
Generated Node #0,1,4: 43:[24, 58] Operation: 19+39=58
Moving to Node #0,3
Current State: 43:[19, 23, 40], Operations: ['1+39=40']
Exploring Operation: 19+23=42, Resulting Numbers: [40, 42]
Generated Node #0,3,0: 43:[40, 42] Operation: 19+23=42
Exploring Operation: 19+40=59, Resulting Numbers: [23, 59]
Generated Node #0,3,1: 43:[23, 59] Operation: 19+40=59
Exploring Operation: 23-19=4, Resulting Numbers: [40, 4]
Generated Node #0,3,2: 43:[40, 4] Operation: 23-19=4
Exploring Operation: 40-19=21, Resulting Numbers: [23, 21]
Generated Node #0,3,3: 43:[23, 21] Operation: 40-19=21
Exploring Operation: 23+40=63, Resulting Numbers: [19, 63]
Generated Node #0,3,4: 43:[19, 63] Operation: 23+40=63
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[40, 42], Operations: ['1+39=40', '19+23=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No 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: 43:[23, 59], Operations: ['1+39=40', '19+40=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,43 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,43 unequal: No Solution
No 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: 43:[40, 4], Operations: ['1+39=40', '23-19=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,43 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No 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: 43:[23, 21], Operations: ['1+39=40', '40-19=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,43 unequal: No Solution
No 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: 43:[19, 63], Operations: ['1+39=40', '23+40=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,43 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,43 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: 43:[1, 39, 42], Operations: ['19+23=42']
Exploring Operation: 1*42=42, Resulting Numbers: [39, 42]
Generated Node #0,2,0: 43:[39, 42] Operation: 1*42=42
Exploring Operation: 1*39=39, Resulting Numbers: [42, 39]
Generated Node #0,2,1: 43:[42, 39] Operation: 1*39=39
Exploring Operation: 1+39=40, Resulting Numbers: [42, 40]
Generated Node #0,2,2: 43:[42, 40] Operation: 1+39=40
Exploring Operation: 39/1=39, Resulting Numbers: [42, 39]
Generated Node #0,2,3: 43:[42, 39] Operation: 39/1=39
Exploring Operation: 1+42=43, Resulting Numbers: [39, 43]
Generated Node #0,2,4: 43:[39, 43] Operation: 1+42=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[42, 40], Operations: ['19+23=42', '1+39=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No 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: 43:[39, 43], Operations: ['19+23=42', '1+42=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,43 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No 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: 43:[39, 42], Operations: ['19+23=42', '1*42=42']
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,43 unequal: No Solution
No 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: 43:[42, 39], Operations: ['19+23=42', '1*39=39']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,43 unequal: No Solution
No 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: 43:[42, 39], Operations: ['19+23=42', '39/1=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 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: 43:[23, 39, 20], Operations: ['1+19=20']
Exploring Operation: 23-20=3, Resulting Numbers: [39, 3]
Generated Node #0,4,0: 43:[39, 3] Operation: 23-20=3
Exploring Operation: 23+20=43, Resulting Numbers: [39, 43]
Generated Node #0,4,1: 43:[39, 43] Operation: 23+20=43
Exploring Operation: 39-20=19, Resulting Numbers: [23, 19]
Generated Node #0,4,2: 43:[23, 19] Operation: 39-20=19
Exploring Operation: 39+20=59, Resulting Numbers: [23, 59]
Generated Node #0,4,3: 43:[23, 59] Operation: 39+20=59
Exploring Operation: 23+39=62, Resulting Numbers: [20, 62]
Generated Node #0,4,4: 43:[20, 62] Operation: 23+39=62
Moving to Node #0,0
Current State: 43:[23, 39, 19], Operations: ['1*19=19']
Exploring Operation: 39+19=58, Resulting Numbers: [23, 58]
Generated Node #0,0,0: 43:[23, 58] Operation: 39+19=58
Exploring Operation: 23-19=4, Resulting Numbers: [39, 4]
Generated Node #0,0,1: 43:[39, 4] Operation: 23-19=4
Exploring Operation: 23+19=42, Resulting Numbers: [39, 42]
Generated Node #0,0,2: 43:[39, 42] Operation: 23+19=42
Exploring Operation: 39-19=20, Resulting Numbers: [23, 20]
Generated Node #0,0,3: 43:[23, 20] Operation: 39-19=20
Exploring Operation: 23+39=62, Resulting Numbers: [19, 62]
Generated Node #0,0,4: 43:[19, 62] Operation: 23+39=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[39, 42], Operations: ['1*19=19', '23+19=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
No 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: 43:[23, 58], Operations: ['1*19=19', '39+19=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,43 unequal: No Solution
No 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: 43:[39, 4], Operations: ['1*19=19', '23-19=4']
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,43 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[1, 19, 23, 39], Operations: []
Exploring Operation: 1*19=19, Resulting Numbers: [23, 39, 19]
Generated Node #0,0: 43:[23, 39, 19] Operation: 1*19=19
Moving to Node #0,0
Current State: 43:[23, 39, 19], Operations: ['1*19=19']
Exploring Operation: 23-19=4, Resulting Numbers: [39, 4]
Generated Node #0,0,1: 43:[39, 4] Operation: 23-19=4
Moving to Node #0,0,1
Current State: 43:[39, 4], Operations: ['1*19=19', '23-19=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.936632 | hs_5 | mult_heuristic |
[
17,
69,
71,
8
] | 42 | [
"71-69=2",
"17*2=34",
"8+34=42"
] | Current State: 42:[17, 69, 71, 8], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [17, 8, 2]
Generated Node #2: [17, 8, 2] from Operation: 71-69=2
Current State: 42:[17, 8, 2], Operations: ['71-69=2']
Exploring Operation: 17*2=34, Resulting Numbers: [8, 34]
Generated Node #3: [8, 34] from Operation: 17*2=34
Current State: 42:[8, 34], Operations: ['71-69=2', '17*2=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[17, 69, 71, 8], Operations: []
Exploring Operation: 71-17=54, Resulting Numbers: [69, 8, 54]
Generated Node #0,0: 42:[69, 8, 54] Operation: 71-17=54
Exploring Operation: 71-69=2, Resulting Numbers: [17, 8, 2]
Generated Node #0,1: 42:[17, 8, 2] Operation: 71-69=2
Exploring Operation: 69-17=52, Resulting Numbers: [71, 8, 52]
Generated Node #0,2: 42:[71, 8, 52] Operation: 69-17=52
Exploring Operation: 71-8=63, Resulting Numbers: [17, 69, 63]
Generated Node #0,3: 42:[17, 69, 63] Operation: 71-8=63
Exploring Operation: 69-8=61, Resulting Numbers: [17, 71, 61]
Generated Node #0,4: 42:[17, 71, 61] Operation: 69-8=61
Moving to Node #0,1
Current State: 42:[17, 8, 2], Operations: ['71-69=2']
Exploring Operation: 17-8=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 42:[2, 9] Operation: 17-8=9
Exploring Operation: 17+2=19, Resulting Numbers: [8, 19]
Generated Node #0,1,1: 42:[8, 19] Operation: 17+2=19
Exploring Operation: 17+8=25, Resulting Numbers: [2, 25]
Generated Node #0,1,2: 42:[2, 25] Operation: 17+8=25
Exploring Operation: 8-2=6, Resulting Numbers: [17, 6]
Generated Node #0,1,3: 42:[17, 6] Operation: 8-2=6
Exploring Operation: 17-2=15, Resulting Numbers: [8, 15]
Generated Node #0,1,4: 42:[8, 15] Operation: 17-2=15
Moving to Node #0,2
Current State: 42:[71, 8, 52], Operations: ['69-17=52']
Exploring Operation: 71-8=63, Resulting Numbers: [52, 63]
Generated Node #0,2,0: 42:[52, 63] Operation: 71-8=63
Exploring Operation: 71+8=79, Resulting Numbers: [52, 79]
Generated Node #0,2,1: 42:[52, 79] Operation: 71+8=79
Exploring Operation: 71-52=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 42:[8, 19] Operation: 71-52=19
Exploring Operation: 8+52=60, Resulting Numbers: [71, 60]
Generated Node #0,2,3: 42:[71, 60] Operation: 8+52=60
Exploring Operation: 52-8=44, Resulting Numbers: [71, 44]
Generated Node #0,2,4: 42:[71, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[8, 19], Operations: ['69-17=52', '71-52=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,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,2,0
Current State: 42:[52, 63], Operations: ['69-17=52', '71-8=63']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,42 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,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,2,4
Current State: 42:[71, 44], Operations: ['69-17=52', '52-8=44']
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,42 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,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,2,1
Current State: 42:[52, 79], Operations: ['69-17=52', '71+8=79']
Exploring Operation: 52+79=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 52*79=4108, Resulting Numbers: [4108]
4108,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,2,3
Current State: 42:[71, 60], Operations: ['69-17=52', '8+52=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,42 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: 42:[69, 8, 54], Operations: ['71-17=54']
Exploring Operation: 69+8=77, Resulting Numbers: [54, 77]
Generated Node #0,0,0: 42:[54, 77] Operation: 69+8=77
Exploring Operation: 8+54=62, Resulting Numbers: [69, 62]
Generated Node #0,0,1: 42:[69, 62] Operation: 8+54=62
Exploring Operation: 54-8=46, Resulting Numbers: [69, 46]
Generated Node #0,0,2: 42:[69, 46] Operation: 54-8=46
Exploring Operation: 69-8=61, Resulting Numbers: [54, 61]
Generated Node #0,0,3: 42:[54, 61] Operation: 69-8=61
Exploring Operation: 69-54=15, Resulting Numbers: [8, 15]
Generated Node #0,0,4: 42:[8, 15] Operation: 69-54=15
Moving to Node #0,3
Current State: 42:[17, 69, 63], Operations: ['71-8=63']
Exploring Operation: 63-17=46, Resulting Numbers: [69, 46]
Generated Node #0,3,0: 42:[69, 46] Operation: 63-17=46
Exploring Operation: 69-63=6, Resulting Numbers: [17, 6]
Generated Node #0,3,1: 42:[17, 6] Operation: 69-63=6
Exploring Operation: 17+63=80, Resulting Numbers: [69, 80]
Generated Node #0,3,2: 42:[69, 80] Operation: 17+63=80
Exploring Operation: 69-17=52, Resulting Numbers: [63, 52]
Generated Node #0,3,3: 42:[63, 52] Operation: 69-17=52
Exploring Operation: 17+69=86, Resulting Numbers: [63, 86]
Generated Node #0,3,4: 42:[63, 86] Operation: 17+69=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[17, 6], Operations: ['71-8=63', '69-63=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[69, 46], Operations: ['71-8=63', '63-17=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[63, 52], Operations: ['71-8=63', '69-17=52']
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,42 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,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,2
Current State: 42:[69, 80], Operations: ['71-8=63', '17+63=80']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 69+80=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 69*80=5520, Resulting Numbers: [5520]
5520,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,4
Current State: 42:[63, 86], Operations: ['71-8=63', '17+69=86']
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 63*86=5418, Resulting Numbers: [5418]
5418,42 unequal: No Solution
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,42 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: 42:[17, 71, 61], Operations: ['69-8=61']
Exploring Operation: 61-17=44, Resulting Numbers: [71, 44]
Generated Node #0,4,0: 42:[71, 44] Operation: 61-17=44
Exploring Operation: 71-61=10, Resulting Numbers: [17, 10]
Generated Node #0,4,1: 42:[17, 10] Operation: 71-61=10
Exploring Operation: 17+61=78, Resulting Numbers: [71, 78]
Generated Node #0,4,2: 42:[71, 78] Operation: 17+61=78
Exploring Operation: 17+71=88, Resulting Numbers: [61, 88]
Generated Node #0,4,3: 42:[61, 88] Operation: 17+71=88
Exploring Operation: 71-17=54, Resulting Numbers: [61, 54]
Generated Node #0,4,4: 42:[61, 54] Operation: 71-17=54
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[17, 10], Operations: ['69-8=61', '71-61=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,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,4,0
Current State: 42:[71, 44], Operations: ['69-8=61', '61-17=44']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,42 unequal: No Solution
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,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,4,4
Current State: 42:[61, 54], Operations: ['69-8=61', '71-17=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,42 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,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,4,2
Current State: 42:[71, 78], Operations: ['69-8=61', '17+61=78']
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,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,4,3
Current State: 42:[61, 88], Operations: ['69-8=61', '17+71=88']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,42 unequal: No Solution
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,42 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: 42:[2, 9], Operations: ['71-69=2', '17-8=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[8, 15], Operations: ['71-17=54', '69-54=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,42 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[8, 15], Operations: ['71-69=2', '17-2=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,42 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[8, 19], Operations: ['71-69=2', '17+2=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[17, 6], Operations: ['71-69=2', '8-2=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[2, 25], Operations: ['71-69=2', '17+8=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[69, 46], Operations: ['71-17=54', '54-8=46']
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,42 unequal: No Solution
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[54, 61], Operations: ['71-17=54', '69-8=61']
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,42 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,42 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[69, 62], Operations: ['71-17=54', '8+54=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[54, 77], Operations: ['71-17=54', '69+8=77']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,42 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,42 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
50,
4,
88
] | 59 | [
"50-13=37",
"88/4=22",
"37+22=59"
] | Current State: 59:[13, 50, 4, 88], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [4, 88, 37]
Generated Node #2: [4, 88, 37] from Operation: 50-13=37
Current State: 59:[4, 88, 37], Operations: ['50-13=37']
Exploring Operation: 88/4=22, Resulting Numbers: [37, 22]
Generated Node #3: [37, 22] from Operation: 88/4=22
Current State: 59:[37, 22], Operations: ['50-13=37', '88/4=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[13, 50, 4, 88], Operations: []
Exploring Operation: 13*4=52, Resulting Numbers: [50, 88, 52]
Generated Node #0,0: 59:[50, 88, 52] Operation: 13*4=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[50, 88, 52], Operations: ['13*4=52']
Exploring Operation: 88-50=38, Resulting Numbers: [52, 38]
Generated Node #0,0,0: 59:[52, 38] Operation: 88-50=38
Moving to Node #0,0,0
Current State: 59:[52, 38], Operations: ['13*4=52', '88-50=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
87,
77,
48
] | 24 | [
"14+87=101",
"77+48=125",
"125-101=24"
] | Current State: 24:[14, 87, 77, 48], Operations: []
Exploring Operation: 14+87=101, Resulting Numbers: [77, 48, 101]
Generated Node #2: [77, 48, 101] from Operation: 14+87=101
Current State: 24:[77, 48, 101], Operations: ['14+87=101']
Exploring Operation: 77+48=125, Resulting Numbers: [101, 125]
Generated Node #3: [101, 125] from Operation: 77+48=125
Current State: 24:[101, 125], Operations: ['14+87=101', '77+48=125']
Exploring Operation: 125-101=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[14, 87, 77, 48], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [14, 48, 10]
Generated Node #0,0: 24:[14, 48, 10] Operation: 87-77=10
Exploring Operation: 87-48=39, Resulting Numbers: [14, 77, 39]
Generated Node #0,1: 24:[14, 77, 39] Operation: 87-48=39
Moving to Node #0,0
Current State: 24:[14, 48, 10], Operations: ['87-77=10']
Exploring Operation: 48-10=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 24:[14, 38] Operation: 48-10=38
Exploring Operation: 48-14=34, Resulting Numbers: [10, 34]
Generated Node #0,0,1: 24:[10, 34] Operation: 48-14=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[10, 34], Operations: ['87-77=10', '48-14=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[14, 87, 77, 48], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [14, 48, 10]
Generated Node #0,0: 24:[14, 48, 10] Operation: 87-77=10
Moving to Node #0,0
Current State: 24:[14, 48, 10], Operations: ['87-77=10']
Exploring Operation: 48-14=34, Resulting Numbers: [10, 34]
Generated Node #0,0,1: 24:[10, 34] Operation: 48-14=34
Moving to Node #0,0,1
Current State: 24:[10, 34], Operations: ['87-77=10', '48-14=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
82,
42,
76,
84
] | 35 | [
"82*42=3444",
"3444/84=41",
"76-41=35"
] | Current State: 35:[82, 42, 76, 84], Operations: []
Exploring Operation: 82*42=3444, Resulting Numbers: [76, 84, 3444]
Generated Node #2: [76, 84, 3444] from Operation: 82*42=3444
Current State: 35:[76, 84, 3444], Operations: ['82*42=3444']
Exploring Operation: 3444/84=41, Resulting Numbers: [76, 41]
Generated Node #3: [76, 41] from Operation: 3444/84=41
Current State: 35:[76, 41], Operations: ['82*42=3444', '3444/84=41']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[82, 42, 76, 84], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [82, 42, 8]
Generated Node #0,0: 35:[82, 42, 8] Operation: 84-76=8
Exploring Operation: 84-82=2, Resulting Numbers: [42, 76, 2]
Generated Node #0,1: 35:[42, 76, 2] Operation: 84-82=2
Exploring Operation: 82-76=6, Resulting Numbers: [42, 84, 6]
Generated Node #0,2: 35:[42, 84, 6] Operation: 82-76=6
Moving to Node #0,1
Current State: 35:[42, 76, 2], Operations: ['84-82=2']
Exploring Operation: 76-42=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 35:[2, 34] Operation: 76-42=34
Exploring Operation: 42-2=40, Resulting Numbers: [76, 40]
Generated Node #0,1,1: 35:[76, 40] Operation: 42-2=40
Exploring Operation: 76/2=38, Resulting Numbers: [42, 38]
Generated Node #0,1,2: 35:[42, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 35:[82, 42, 8], Operations: ['84-76=8']
Exploring Operation: 82-42=40, Resulting Numbers: [8, 40]
Generated Node #0,0,0: 35:[8, 40] Operation: 82-42=40
Exploring Operation: 82-8=74, Resulting Numbers: [42, 74]
Generated Node #0,0,1: 35:[42, 74] Operation: 82-8=74
Exploring Operation: 42-8=34, Resulting Numbers: [82, 34]
Generated Node #0,0,2: 35:[82, 34] Operation: 42-8=34
Moving to Node #0,2
Current State: 35:[42, 84, 6], Operations: ['82-76=6']
Exploring Operation: 84/6=14, Resulting Numbers: [42, 14]
Generated Node #0,2,0: 35:[42, 14] Operation: 84/6=14
Exploring Operation: 84/42=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 35:[6, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [6, 42]
Generated Node #0,2,2: 35:[6, 42] Operation: 84-42=42
Moving to Node #0,1,0
Current State: 35:[2, 34], Operations: ['84-82=2', '76-42=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[6, 2], Operations: ['82-76=6', '84/42=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[8, 40], Operations: ['84-76=8', '82-42=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[6, 42], Operations: ['82-76=6', '84-42=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[42, 38], Operations: ['84-82=2', '76/2=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[42, 14], Operations: ['82-76=6', '84/6=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[42, 74], Operations: ['84-76=8', '82-8=74']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,35 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[76, 40], Operations: ['84-82=2', '42-2=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[82, 34], Operations: ['84-76=8', '42-8=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
42,
3,
43,
2
] | 86 | [
"42+3=45",
"43-2=41",
"45+41=86"
] | Current State: 86:[42, 3, 43, 2], Operations: []
Exploring Operation: 42+3=45, Resulting Numbers: [43, 2, 45]
Generated Node #2: [43, 2, 45] from Operation: 42+3=45
Current State: 86:[43, 2, 45], Operations: ['42+3=45']
Exploring Operation: 43-2=41, Resulting Numbers: [45, 41]
Generated Node #3: [45, 41] from Operation: 43-2=41
Current State: 86:[45, 41], Operations: ['42+3=45', '43-2=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[42, 3, 43, 2], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [3, 2, 1]
Generated Node #0,0: 86:[3, 2, 1] Operation: 43-42=1
Exploring Operation: 42+2=44, Resulting Numbers: [3, 43, 44]
Generated Node #0,1: 86:[3, 43, 44] Operation: 42+2=44
Exploring Operation: 3-2=1, Resulting Numbers: [42, 43, 1]
Generated Node #0,2: 86:[42, 43, 1] Operation: 3-2=1
Exploring Operation: 42+43=85, Resulting Numbers: [3, 2, 85]
Generated Node #0,3: 86:[3, 2, 85] Operation: 42+43=85
Exploring Operation: 42+3=45, Resulting Numbers: [43, 2, 45]
Generated Node #0,4: 86:[43, 2, 45] Operation: 42+3=45
Moving to Node #0,0
Current State: 86:[3, 2, 1], Operations: ['43-42=1']
Exploring Operation: 3/1=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 86:[2, 3] Operation: 3/1=3
Exploring Operation: 2/1=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 86:[3, 2] Operation: 2/1=2
Exploring Operation: 3-1=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 86:[2, 2] Operation: 3-1=2
Exploring Operation: 2*1=2, Resulting Numbers: [3, 2]
Generated Node #0,0,3: 86:[3, 2] Operation: 2*1=2
Exploring Operation: 3*1=3, Resulting Numbers: [2, 3]
Generated Node #0,0,4: 86:[2, 3] Operation: 3*1=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[2, 2], Operations: ['43-42=1', '3-1=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,86 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No 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: 86:[2, 3], Operations: ['43-42=1', '3/1=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No 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: 86:[3, 2], Operations: ['43-42=1', '2/1=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No 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: 86:[3, 2], Operations: ['43-42=1', '2*1=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
No 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: 86:[2, 3], Operations: ['43-42=1', '3*1=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,86 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: 86:[42, 43, 1], Operations: ['3-2=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43, 43]
Generated Node #0,2,0: 86:[43, 43] Operation: 42+1=43
Exploring Operation: 42*1=42, Resulting Numbers: [43, 42]
Generated Node #0,2,1: 86:[43, 42] Operation: 42*1=42
Exploring Operation: 43/1=43, Resulting Numbers: [42, 43]
Generated Node #0,2,2: 86:[42, 43] Operation: 43/1=43
Exploring Operation: 43*1=43, Resulting Numbers: [42, 43]
Generated Node #0,2,3: 86:[42, 43] Operation: 43*1=43
Exploring Operation: 42/1=42, Resulting Numbers: [43, 42]
Generated Node #0,2,4: 86:[43, 42] Operation: 42/1=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[43, 43], Operations: ['3-2=1', '42+1=43']
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,86 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[42, 3, 43, 2], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [42, 43, 1]
Generated Node #0,2: 86:[42, 43, 1] Operation: 3-2=1
Moving to Node #0,2
Current State: 86:[42, 43, 1], Operations: ['3-2=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43, 43]
Generated Node #0,2,0: 86:[43, 43] Operation: 42+1=43
Moving to Node #0,2,0
Current State: 86:[43, 43], Operations: ['3-2=1', '42+1=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
11,
80,
30,
2
] | 24 | [
"11-2=9",
"80*9=720",
"720/30=24"
] | Current State: 24:[11, 80, 30, 2], Operations: []
Exploring Operation: 11-2=9, Resulting Numbers: [80, 30, 9]
Generated Node #2: [80, 30, 9] from Operation: 11-2=9
Current State: 24:[80, 30, 9], Operations: ['11-2=9']
Exploring Operation: 80*9=720, Resulting Numbers: [30, 720]
Generated Node #3: [30, 720] from Operation: 80*9=720
Current State: 24:[30, 720], Operations: ['11-2=9', '80*9=720']
Exploring Operation: 720/30=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[11, 80, 30, 2], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [11, 30, 40]
Generated Node #0,0: 24:[11, 30, 40] Operation: 80/2=40
Exploring Operation: 80-30=50, Resulting Numbers: [11, 2, 50]
Generated Node #0,1: 24:[11, 2, 50] Operation: 80-30=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[11, 30, 40], Operations: ['80/2=40']
Exploring Operation: 40-30=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 24:[11, 10] Operation: 40-30=10
Exploring Operation: 40-11=29, Resulting Numbers: [30, 29]
Generated Node #0,0,1: 24:[30, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[11, 10], Operations: ['80/2=40', '40-30=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,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,0,1
Current State: 24:[30, 29], Operations: ['80/2=40', '40-11=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[11, 2, 50], Operations: ['80-30=50']
Exploring Operation: 50-11=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 24:[2, 39] Operation: 50-11=39
Exploring Operation: 50/2=25, Resulting Numbers: [11, 25]
Generated Node #0,1,1: 24:[11, 25] Operation: 50/2=25
Moving to Node #0,1,1
Current State: 24:[11, 25], Operations: ['80-30=50', '50/2=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[2, 39], Operations: ['80-30=50', '50-11=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,24 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 |
[
71,
2,
81,
18
] | 16 | [
"81-71=10",
"18-10=8",
"2*8=16"
] | Current State: 16:[71, 2, 81, 18], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [2, 18, 10]
Generated Node #2: [2, 18, 10] from Operation: 81-71=10
Current State: 16:[2, 18, 10], Operations: ['81-71=10']
Exploring Operation: 18-10=8, Resulting Numbers: [2, 8]
Generated Node #3: [2, 8] from Operation: 18-10=8
Current State: 16:[2, 8], Operations: ['81-71=10', '18-10=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[71, 2, 81, 18], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [71, 2, 63]
Generated Node #0,0: 16:[71, 2, 63] Operation: 81-18=63
Exploring Operation: 71-2=69, Resulting Numbers: [81, 18, 69]
Generated Node #0,1: 16:[81, 18, 69] Operation: 71-2=69
Exploring Operation: 81-2=79, Resulting Numbers: [71, 18, 79]
Generated Node #0,2: 16:[71, 18, 79] Operation: 81-2=79
Exploring Operation: 71-18=53, Resulting Numbers: [2, 81, 53]
Generated Node #0,3: 16:[2, 81, 53] Operation: 71-18=53
Exploring Operation: 81-71=10, Resulting Numbers: [2, 18, 10]
Generated Node #0,4: 16:[2, 18, 10] Operation: 81-71=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[2, 18, 10], Operations: ['81-71=10']
Exploring Operation: 10-2=8, Resulting Numbers: [18, 8]
Generated Node #0,4,0: 16:[18, 8] Operation: 10-2=8
Exploring Operation: 18-2=16, Resulting Numbers: [10, 16]
Generated Node #0,4,1: 16:[10, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [10, 9]
Generated Node #0,4,2: 16:[10, 9] Operation: 18/2=9
Exploring Operation: 10/2=5, Resulting Numbers: [18, 5]
Generated Node #0,4,3: 16:[18, 5] Operation: 10/2=5
Exploring Operation: 18-10=8, Resulting Numbers: [2, 8]
Generated Node #0,4,4: 16:[2, 8] Operation: 18-10=8
Moving to Node #0,4,4
Current State: 16:[2, 8], Operations: ['81-71=10', '18-10=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[71, 2, 81, 18], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [2, 18, 10]
Generated Node #0,4: 16:[2, 18, 10] Operation: 81-71=10
Moving to Node #0,4
Current State: 16:[2, 18, 10], Operations: ['81-71=10']
Exploring Operation: 18-10=8, Resulting Numbers: [2, 8]
Generated Node #0,4,4: 16:[2, 8] Operation: 18-10=8
Moving to Node #0,4,4
Current State: 16:[2, 8], Operations: ['81-71=10', '18-10=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
1,
97,
81,
14
] | 31 | [
"1+97=98",
"81-14=67",
"98-67=31"
] | Current State: 31:[1, 97, 81, 14], Operations: []
Exploring Operation: 1+97=98, Resulting Numbers: [81, 14, 98]
Generated Node #2: [81, 14, 98] from Operation: 1+97=98
Current State: 31:[81, 14, 98], Operations: ['1+97=98']
Exploring Operation: 81-14=67, Resulting Numbers: [98, 67]
Generated Node #3: [98, 67] from Operation: 81-14=67
Current State: 31:[98, 67], Operations: ['1+97=98', '81-14=67']
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[1, 97, 81, 14], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [1, 14, 16]
Generated Node #0,0: 31:[1, 14, 16] Operation: 97-81=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[1, 14, 16], Operations: ['97-81=16']
Exploring Operation: 1+14=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 31:[16, 15] Operation: 1+14=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[16, 15], Operations: ['97-81=16', '1+14=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[1, 97, 81, 14], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [1, 14, 16]
Generated Node #0,0: 31:[1, 14, 16] Operation: 97-81=16
Moving to Node #0,0
Current State: 31:[1, 14, 16], Operations: ['97-81=16']
Exploring Operation: 1+14=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 31:[16, 15] Operation: 1+14=15
Moving to Node #0,0,0
Current State: 31:[16, 15], Operations: ['97-81=16', '1+14=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
1,
56,
20,
47
] | 29 | [
"1*56=56",
"47-20=27",
"56-27=29"
] | Current State: 29:[1, 56, 20, 47], Operations: []
Exploring Operation: 1*56=56, Resulting Numbers: [20, 47, 56]
Generated Node #2: [20, 47, 56] from Operation: 1*56=56
Current State: 29:[20, 47, 56], Operations: ['1*56=56']
Exploring Operation: 47-20=27, Resulting Numbers: [56, 27]
Generated Node #3: [56, 27] from Operation: 47-20=27
Current State: 29:[56, 27], Operations: ['1*56=56', '47-20=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[1, 56, 20, 47], Operations: []
Exploring Operation: 56-1=55, Resulting Numbers: [20, 47, 55]
Generated Node #0,0: 29:[20, 47, 55] Operation: 56-1=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[20, 47, 55], Operations: ['56-1=55']
Exploring Operation: 55-20=35, Resulting Numbers: [47, 35]
Generated Node #0,0,0: 29:[47, 35] Operation: 55-20=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[47, 35], Operations: ['56-1=55', '55-20=35']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
16,
7,
99
] | 75 | [
"47-16=31",
"7+99=106",
"106-31=75"
] | Current State: 75:[47, 16, 7, 99], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [7, 99, 31]
Generated Node #2: [7, 99, 31] from Operation: 47-16=31
Current State: 75:[7, 99, 31], Operations: ['47-16=31']
Exploring Operation: 7+99=106, Resulting Numbers: [31, 106]
Generated Node #3: [31, 106] from Operation: 7+99=106
Current State: 75:[31, 106], Operations: ['47-16=31', '7+99=106']
Exploring Operation: 106-31=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[47, 16, 7, 99], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [7, 99, 31]
Generated Node #0,0: 75:[7, 99, 31] Operation: 47-16=31
Exploring Operation: 99-16=83, Resulting Numbers: [47, 7, 83]
Generated Node #0,1: 75:[47, 7, 83] Operation: 99-16=83
Exploring Operation: 99-47=52, Resulting Numbers: [16, 7, 52]
Generated Node #0,2: 75:[16, 7, 52] Operation: 99-47=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[16, 7, 52], Operations: ['99-47=52']
Exploring Operation: 52-16=36, Resulting Numbers: [7, 36]
Generated Node #0,2,0: 75:[7, 36] Operation: 52-16=36
Exploring Operation: 7+52=59, Resulting Numbers: [16, 59]
Generated Node #0,2,1: 75:[16, 59] Operation: 7+52=59
Exploring Operation: 16+52=68, Resulting Numbers: [7, 68]
Generated Node #0,2,2: 75:[7, 68] Operation: 16+52=68
Moving to Node #0,2,2
Current State: 75:[7, 68], Operations: ['99-47=52', '16+52=68']
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[47, 16, 7, 99], Operations: []
Exploring Operation: 99-47=52, Resulting Numbers: [16, 7, 52]
Generated Node #0,2: 75:[16, 7, 52] Operation: 99-47=52
Moving to Node #0,2
Current State: 75:[16, 7, 52], Operations: ['99-47=52']
Exploring Operation: 16+52=68, Resulting Numbers: [7, 68]
Generated Node #0,2,2: 75:[7, 68] Operation: 16+52=68
Moving to Node #0,2,2
Current State: 75:[7, 68], Operations: ['99-47=52', '16+52=68']
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
64,
19,
36,
90
] | 34 | [
"64-19=45",
"90/45=2",
"36-2=34"
] | Current State: 34:[64, 19, 36, 90], Operations: []
Exploring Operation: 64-19=45, Resulting Numbers: [36, 90, 45]
Generated Node #2: [36, 90, 45] from Operation: 64-19=45
Current State: 34:[36, 90, 45], Operations: ['64-19=45']
Exploring Operation: 90/45=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 90/45=2
Current State: 34:[36, 2], Operations: ['64-19=45', '90/45=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[64, 19, 36, 90], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [19, 36, 26]
Generated Node #0,0: 34:[19, 36, 26] Operation: 90-64=26
Moving to Node #0,0
Current State: 34:[19, 36, 26], Operations: ['90-64=26']
Exploring Operation: 26-19=7, Resulting Numbers: [36, 7]
Generated Node #0,0,0: 34:[36, 7] Operation: 26-19=7
Moving to Node #0,0,0
Current State: 34:[36, 7], Operations: ['90-64=26', '26-19=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
10,
95,
93
] | 65 | [
"13*10=130",
"95-93=2",
"130/2=65"
] | Current State: 65:[13, 10, 95, 93], Operations: []
Exploring Operation: 13*10=130, Resulting Numbers: [95, 93, 130]
Generated Node #2: [95, 93, 130] from Operation: 13*10=130
Current State: 65:[95, 93, 130], Operations: ['13*10=130']
Exploring Operation: 95-93=2, Resulting Numbers: [130, 2]
Generated Node #3: [130, 2] from Operation: 95-93=2
Current State: 65:[130, 2], Operations: ['13*10=130', '95-93=2']
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[13, 10, 95, 93], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [13, 95, 83]
Generated Node #0,0: 65:[13, 95, 83] Operation: 93-10=83
Exploring Operation: 93-13=80, Resulting Numbers: [10, 95, 80]
Generated Node #0,1: 65:[10, 95, 80] Operation: 93-13=80
Exploring Operation: 95-13=82, Resulting Numbers: [10, 93, 82]
Generated Node #0,2: 65:[10, 93, 82] Operation: 95-13=82
Exploring Operation: 95-10=85, Resulting Numbers: [13, 93, 85]
Generated Node #0,3: 65:[13, 93, 85] Operation: 95-10=85
Exploring Operation: 95-93=2, Resulting Numbers: [13, 10, 2]
Generated Node #0,4: 65:[13, 10, 2] Operation: 95-93=2
Moving to Node #0,4
Current State: 65:[13, 10, 2], Operations: ['95-93=2']
Exploring Operation: 10+2=12, Resulting Numbers: [13, 12]
Generated Node #0,4,0: 65:[13, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [13, 5]
Generated Node #0,4,1: 65:[13, 5] Operation: 10/2=5
Exploring Operation: 13-10=3, Resulting Numbers: [2, 3]
Generated Node #0,4,2: 65:[2, 3] Operation: 13-10=3
Exploring Operation: 10-2=8, Resulting Numbers: [13, 8]
Generated Node #0,4,3: 65:[13, 8] Operation: 10-2=8
Exploring Operation: 13+2=15, Resulting Numbers: [10, 15]
Generated Node #0,4,4: 65:[10, 15] Operation: 13+2=15
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 65:[13, 5], Operations: ['95-93=2', '10/2=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[13, 10, 95, 93], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [13, 10, 2]
Generated Node #0,4: 65:[13, 10, 2] Operation: 95-93=2
Moving to Node #0,4
Current State: 65:[13, 10, 2], Operations: ['95-93=2']
Exploring Operation: 10/2=5, Resulting Numbers: [13, 5]
Generated Node #0,4,1: 65:[13, 5] Operation: 10/2=5
Moving to Node #0,4,1
Current State: 65:[13, 5], Operations: ['95-93=2', '10/2=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
42,
18,
5,
9
] | 93 | [
"18+9=27",
"5*27=135",
"135-42=93"
] | Current State: 93:[42, 18, 5, 9], Operations: []
Exploring Operation: 18+9=27, Resulting Numbers: [42, 5, 27]
Generated Node #2: [42, 5, 27] from Operation: 18+9=27
Current State: 93:[42, 5, 27], Operations: ['18+9=27']
Exploring Operation: 5*27=135, Resulting Numbers: [42, 135]
Generated Node #3: [42, 135] from Operation: 5*27=135
Current State: 93:[42, 135], Operations: ['18+9=27', '5*27=135']
Exploring Operation: 135-42=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[42, 18, 5, 9], Operations: []
Exploring Operation: 42-9=33, Resulting Numbers: [18, 5, 33]
Generated Node #0,0: 93:[18, 5, 33] Operation: 42-9=33
Exploring Operation: 18/9=2, Resulting Numbers: [42, 5, 2]
Generated Node #0,1: 93:[42, 5, 2] Operation: 18/9=2
Exploring Operation: 42-18=24, Resulting Numbers: [5, 9, 24]
Generated Node #0,2: 93:[5, 9, 24] Operation: 42-18=24
Exploring Operation: 18+9=27, Resulting Numbers: [42, 5, 27]
Generated Node #0,3: 93:[42, 5, 27] Operation: 18+9=27
Moving to Node #0,1
Current State: 93:[42, 5, 2], Operations: ['18/9=2']
Exploring Operation: 42*2=84, Resulting Numbers: [5, 84]
Generated Node #0,1,0: 93:[5, 84] Operation: 42*2=84
Exploring Operation: 42-5=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 93:[2, 37] Operation: 42-5=37
Exploring Operation: 42-2=40, Resulting Numbers: [5, 40]
Generated Node #0,1,2: 93:[5, 40] Operation: 42-2=40
Exploring Operation: 5-2=3, Resulting Numbers: [42, 3]
Generated Node #0,1,3: 93:[42, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[2, 37], Operations: ['18/9=2', '42-5=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No 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: 93:[5, 84], Operations: ['18/9=2', '42*2=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,93 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,93 unequal: No Solution
No 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: 93:[5, 40], Operations: ['18/9=2', '42-2=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,93 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,93 unequal: No Solution
No 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: 93:[42, 3], Operations: ['18/9=2', '5-2=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,93 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: 93:[5, 9, 24], Operations: ['42-18=24']
Exploring Operation: 9+24=33, Resulting Numbers: [5, 33]
Generated Node #0,2,0: 93:[5, 33] Operation: 9+24=33
Exploring Operation: 9-5=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 93:[24, 4] Operation: 9-5=4
Exploring Operation: 24-9=15, Resulting Numbers: [5, 15]
Generated Node #0,2,2: 93:[5, 15] Operation: 24-9=15
Exploring Operation: 5+24=29, Resulting Numbers: [9, 29]
Generated Node #0,2,3: 93:[9, 29] Operation: 5+24=29
Moving to Node #0,3
Current State: 93:[42, 5, 27], Operations: ['18+9=27']
Exploring Operation: 42-27=15, Resulting Numbers: [5, 15]
Generated Node #0,3,0: 93:[5, 15] Operation: 42-27=15
Exploring Operation: 5+27=32, Resulting Numbers: [42, 32]
Generated Node #0,3,1: 93:[42, 32] Operation: 5+27=32
Exploring Operation: 42+5=47, Resulting Numbers: [27, 47]
Generated Node #0,3,2: 93:[27, 47] Operation: 42+5=47
Exploring Operation: 42-5=37, Resulting Numbers: [27, 37]
Generated Node #0,3,3: 93:[27, 37] Operation: 42-5=37
Moving to Node #0,0
Current State: 93:[18, 5, 33], Operations: ['42-9=33']
Exploring Operation: 18*5=90, Resulting Numbers: [33, 90]
Generated Node #0,0,0: 93:[33, 90] Operation: 18*5=90
Exploring Operation: 18+5=23, Resulting Numbers: [33, 23]
Generated Node #0,0,1: 93:[33, 23] Operation: 18+5=23
Exploring Operation: 18-5=13, Resulting Numbers: [33, 13]
Generated Node #0,0,2: 93:[33, 13] Operation: 18-5=13
Exploring Operation: 33-18=15, Resulting Numbers: [5, 15]
Generated Node #0,0,3: 93:[5, 15] Operation: 33-18=15
Moving to Node #0,2,0
Current State: 93:[5, 33], Operations: ['42-18=24', '9+24=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[33, 90], Operations: ['42-9=33', '18*5=90']
Exploring Operation: 33*90=2970, Resulting Numbers: [2970]
2970,93 unequal: No Solution
Exploring Operation: 33+90=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[9, 29], Operations: ['42-18=24', '5+24=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,93 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[24, 4], Operations: ['42-18=24', '9-5=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[27, 37], Operations: ['18+9=27', '42-5=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,93 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[33, 23], Operations: ['42-9=33', '18+5=23']
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,93 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[42, 32], Operations: ['18+9=27', '5+27=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[33, 13], Operations: ['42-9=33', '18-5=13']
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,93 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[5, 15], Operations: ['18+9=27', '42-27=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[5, 15], Operations: ['42-9=33', '33-18=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[5, 15], Operations: ['42-18=24', '24-9=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[27, 47], Operations: ['18+9=27', '42+5=47']
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,93 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
96,
34,
9,
40
] | 10 | [
"96+34=130",
"130-40=90",
"90/9=10"
] | Current State: 10:[96, 34, 9, 40], Operations: []
Exploring Operation: 96+34=130, Resulting Numbers: [9, 40, 130]
Generated Node #2: [9, 40, 130] from Operation: 96+34=130
Current State: 10:[9, 40, 130], Operations: ['96+34=130']
Exploring Operation: 130-40=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 130-40=90
Current State: 10:[9, 90], Operations: ['96+34=130', '130-40=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[96, 34, 9, 40], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [34, 9, 56]
Generated Node #0,0: 10:[34, 9, 56] Operation: 96-40=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[34, 9, 56], Operations: ['96-40=56']
Exploring Operation: 56-34=22, Resulting Numbers: [9, 22]
Generated Node #0,0,0: 10:[9, 22] Operation: 56-34=22
Moving to Node #0,0,0
Current State: 10:[9, 22], Operations: ['96-40=56', '56-34=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,10 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 |
[
1,
64,
58,
94
] | 100 | [
"1*64=64",
"94-58=36",
"64+36=100"
] | Current State: 100:[1, 64, 58, 94], Operations: []
Exploring Operation: 1*64=64, Resulting Numbers: [58, 94, 64]
Generated Node #2: [58, 94, 64] from Operation: 1*64=64
Current State: 100:[58, 94, 64], Operations: ['1*64=64']
Exploring Operation: 94-58=36, Resulting Numbers: [64, 36]
Generated Node #3: [64, 36] from Operation: 94-58=36
Current State: 100:[64, 36], Operations: ['1*64=64', '94-58=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[1, 64, 58, 94], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [1, 94, 6]
Generated Node #0,0: 100:[1, 94, 6] Operation: 64-58=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[1, 94, 6], Operations: ['64-58=6']
Exploring Operation: 94+6=100, Resulting Numbers: [1, 100]
Generated Node #0,0,0: 100:[1, 100] Operation: 94+6=100
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[1, 100], Operations: ['64-58=6', '94+6=100']
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[1, 64, 58, 94], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [1, 94, 6]
Generated Node #0,0: 100:[1, 94, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 100:[1, 94, 6], Operations: ['64-58=6']
Exploring Operation: 94+6=100, Resulting Numbers: [1, 100]
Generated Node #0,0,0: 100:[1, 100] Operation: 94+6=100
Moving to Node #0,0,0
Current State: 100:[1, 100], Operations: ['64-58=6', '94+6=100']
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
15,
48,
69,
40
] | 34 | [
"15+48=63",
"69-40=29",
"63-29=34"
] | Current State: 34:[15, 48, 69, 40], Operations: []
Exploring Operation: 15+48=63, Resulting Numbers: [69, 40, 63]
Generated Node #2: [69, 40, 63] from Operation: 15+48=63
Current State: 34:[69, 40, 63], Operations: ['15+48=63']
Exploring Operation: 69-40=29, Resulting Numbers: [63, 29]
Generated Node #3: [63, 29] from Operation: 69-40=29
Current State: 34:[63, 29], Operations: ['15+48=63', '69-40=29']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 48, 69, 40], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [48, 40, 54]
Generated Node #0,0: 34:[48, 40, 54] Operation: 69-15=54
Exploring Operation: 69-40=29, Resulting Numbers: [15, 48, 29]
Generated Node #0,1: 34:[15, 48, 29] Operation: 69-40=29
Exploring Operation: 69-48=21, Resulting Numbers: [15, 40, 21]
Generated Node #0,2: 34:[15, 40, 21] Operation: 69-48=21
Exploring Operation: 48-15=33, Resulting Numbers: [69, 40, 33]
Generated Node #0,3: 34:[69, 40, 33] Operation: 48-15=33
Moving to Node #0,2
Current State: 34:[15, 40, 21], Operations: ['69-48=21']
Exploring Operation: 40-21=19, Resulting Numbers: [15, 19]
Generated Node #0,2,0: 34:[15, 19] Operation: 40-21=19
Exploring Operation: 15+21=36, Resulting Numbers: [40, 36]
Generated Node #0,2,1: 34:[40, 36] Operation: 15+21=36
Exploring Operation: 21-15=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 34:[40, 6] Operation: 21-15=6
Exploring Operation: 40-15=25, Resulting Numbers: [21, 25]
Generated Node #0,2,3: 34:[21, 25] Operation: 40-15=25
Moving to Node #0,1
Current State: 34:[15, 48, 29], Operations: ['69-40=29']
Exploring Operation: 15+29=44, Resulting Numbers: [48, 44]
Generated Node #0,1,0: 34:[48, 44] Operation: 15+29=44
Exploring Operation: 48-29=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 34:[15, 19] Operation: 48-29=19
Exploring Operation: 48-15=33, Resulting Numbers: [29, 33]
Generated Node #0,1,2: 34:[29, 33] Operation: 48-15=33
Exploring Operation: 29-15=14, Resulting Numbers: [48, 14]
Generated Node #0,1,3: 34:[48, 14] Operation: 29-15=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[15, 19], Operations: ['69-40=29', '48-29=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,34 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[15, 48, 69, 40], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [15, 48, 29]
Generated Node #0,1: 34:[15, 48, 29] Operation: 69-40=29
Moving to Node #0,1
Current State: 34:[15, 48, 29], Operations: ['69-40=29']
Exploring Operation: 48-29=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 34:[15, 19] Operation: 48-29=19
Moving to Node #0,1,1
Current State: 34:[15, 19], Operations: ['69-40=29', '48-29=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
51,
60,
7,
88
] | 86 | [
"60-51=9",
"7+88=95",
"95-9=86"
] | Current State: 86:[51, 60, 7, 88], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [7, 88, 9]
Generated Node #2: [7, 88, 9] from Operation: 60-51=9
Current State: 86:[7, 88, 9], Operations: ['60-51=9']
Exploring Operation: 7+88=95, Resulting Numbers: [9, 95]
Generated Node #3: [9, 95] from Operation: 7+88=95
Current State: 86:[9, 95], Operations: ['60-51=9', '7+88=95']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[51, 60, 7, 88], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [60, 88, 44]
Generated Node #0,0: 86:[60, 88, 44] Operation: 51-7=44
Exploring Operation: 60-51=9, Resulting Numbers: [7, 88, 9]
Generated Node #0,1: 86:[7, 88, 9] Operation: 60-51=9
Moving to Node #0,1
Current State: 86:[7, 88, 9], Operations: ['60-51=9']
Exploring Operation: 88-7=81, Resulting Numbers: [9, 81]
Generated Node #0,1,0: 86:[9, 81] Operation: 88-7=81
Exploring Operation: 9-7=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 86:[88, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[88, 2], Operations: ['60-51=9', '9-7=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[51, 60, 7, 88], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [7, 88, 9]
Generated Node #0,1: 86:[7, 88, 9] Operation: 60-51=9
Moving to Node #0,1
Current State: 86:[7, 88, 9], Operations: ['60-51=9']
Exploring Operation: 9-7=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 86:[88, 2] Operation: 9-7=2
Moving to Node #0,1,1
Current State: 86:[88, 2], Operations: ['60-51=9', '9-7=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
96,
92,
27,
77
] | 100 | [
"96-92=4",
"27+77=104",
"104-4=100"
] | Current State: 100:[96, 92, 27, 77], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [27, 77, 4]
Generated Node #2: [27, 77, 4] from Operation: 96-92=4
Current State: 100:[27, 77, 4], Operations: ['96-92=4']
Exploring Operation: 27+77=104, Resulting Numbers: [4, 104]
Generated Node #3: [4, 104] from Operation: 27+77=104
Current State: 100:[4, 104], Operations: ['96-92=4', '27+77=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[96, 92, 27, 77], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [92, 27, 19]
Generated Node #0,0: 100:[92, 27, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[92, 27, 19], Operations: ['96-77=19']
Exploring Operation: 27-19=8, Resulting Numbers: [92, 8]
Generated Node #0,0,0: 100:[92, 8] Operation: 27-19=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[92, 8], Operations: ['96-77=19', '27-19=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[96, 92, 27, 77], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [92, 27, 19]
Generated Node #0,0: 100:[92, 27, 19] Operation: 96-77=19
Moving to Node #0,0
Current State: 100:[92, 27, 19], Operations: ['96-77=19']
Exploring Operation: 27-19=8, Resulting Numbers: [92, 8]
Generated Node #0,0,0: 100:[92, 8] Operation: 27-19=8
Moving to Node #0,0,0
Current State: 100:[92, 8], Operations: ['96-77=19', '27-19=8']
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
55,
49,
43
] | 46 | [
"74+55=129",
"129/43=3",
"49-3=46"
] | Current State: 46:[74, 55, 49, 43], Operations: []
Exploring Operation: 74+55=129, Resulting Numbers: [49, 43, 129]
Generated Node #2: [49, 43, 129] from Operation: 74+55=129
Current State: 46:[49, 43, 129], Operations: ['74+55=129']
Exploring Operation: 129/43=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 129/43=3
Current State: 46:[49, 3], Operations: ['74+55=129', '129/43=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[74, 55, 49, 43], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [74, 43, 6]
Generated Node #0,0: 46:[74, 43, 6] Operation: 55-49=6
Exploring Operation: 55-43=12, Resulting Numbers: [74, 49, 12]
Generated Node #0,1: 46:[74, 49, 12] Operation: 55-43=12
Exploring Operation: 74-49=25, Resulting Numbers: [55, 43, 25]
Generated Node #0,2: 46:[55, 43, 25] Operation: 74-49=25
Exploring Operation: 74-55=19, Resulting Numbers: [49, 43, 19]
Generated Node #0,3: 46:[49, 43, 19] Operation: 74-55=19
Exploring Operation: 74-43=31, Resulting Numbers: [55, 49, 31]
Generated Node #0,4: 46:[55, 49, 31] Operation: 74-43=31
Moving to Node #0,3
Current State: 46:[49, 43, 19], Operations: ['74-55=19']
Exploring Operation: 49-43=6, Resulting Numbers: [19, 6]
Generated Node #0,3,0: 46:[19, 6] Operation: 49-43=6
Exploring Operation: 49-19=30, Resulting Numbers: [43, 30]
Generated Node #0,3,1: 46:[43, 30] Operation: 49-19=30
Exploring Operation: 49+19=68, Resulting Numbers: [43, 68]
Generated Node #0,3,2: 46:[43, 68] Operation: 49+19=68
Exploring Operation: 43+19=62, Resulting Numbers: [49, 62]
Generated Node #0,3,3: 46:[49, 62] Operation: 43+19=62
Exploring Operation: 43-19=24, Resulting Numbers: [49, 24]
Generated Node #0,3,4: 46:[49, 24] Operation: 43-19=24
Moving to Node #0,2
Current State: 46:[55, 43, 25], Operations: ['74-49=25']
Exploring Operation: 55-43=12, Resulting Numbers: [25, 12]
Generated Node #0,2,0: 46:[25, 12] Operation: 55-43=12
Exploring Operation: 55-25=30, Resulting Numbers: [43, 30]
Generated Node #0,2,1: 46:[43, 30] Operation: 55-25=30
Exploring Operation: 43+25=68, Resulting Numbers: [55, 68]
Generated Node #0,2,2: 46:[55, 68] Operation: 43+25=68
Exploring Operation: 43-25=18, Resulting Numbers: [55, 18]
Generated Node #0,2,3: 46:[55, 18] Operation: 43-25=18
Exploring Operation: 55+25=80, Resulting Numbers: [43, 80]
Generated Node #0,2,4: 46:[43, 80] Operation: 55+25=80
Moving to Node #0,4
Current State: 46:[55, 49, 31], Operations: ['74-43=31']
Exploring Operation: 49+31=80, Resulting Numbers: [55, 80]
Generated Node #0,4,0: 46:[55, 80] Operation: 49+31=80
Exploring Operation: 55-31=24, Resulting Numbers: [49, 24]
Generated Node #0,4,1: 46:[49, 24] Operation: 55-31=24
Exploring Operation: 55-49=6, Resulting Numbers: [31, 6]
Generated Node #0,4,2: 46:[31, 6] Operation: 55-49=6
Exploring Operation: 55+31=86, Resulting Numbers: [49, 86]
Generated Node #0,4,3: 46:[49, 86] Operation: 55+31=86
Exploring Operation: 49-31=18, Resulting Numbers: [55, 18]
Generated Node #0,4,4: 46:[55, 18] Operation: 49-31=18
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 46:[49, 24], Operations: ['74-43=31', '55-31=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,46 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,46 unequal: No Solution
No 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: 46:[31, 6], Operations: ['74-43=31', '55-49=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,46 unequal: No Solution
No 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: 46:[55, 18], Operations: ['74-43=31', '49-31=18']
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,46 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,46 unequal: No Solution
No 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: 46:[55, 80], Operations: ['74-43=31', '49+31=80']
Exploring Operation: 55*80=4400, Resulting Numbers: [4400]
4400,46 unequal: No Solution
Exploring Operation: 55+80=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,46 unequal: No Solution
No 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: 46:[49, 86], Operations: ['74-43=31', '55+31=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,46 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,46 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: 46:[74, 43, 6], Operations: ['55-49=6']
Exploring Operation: 74-6=68, Resulting Numbers: [43, 68]
Generated Node #0,0,0: 46:[43, 68] Operation: 74-6=68
Exploring Operation: 74-43=31, Resulting Numbers: [6, 31]
Generated Node #0,0,1: 46:[6, 31] Operation: 74-43=31
Exploring Operation: 43+6=49, Resulting Numbers: [74, 49]
Generated Node #0,0,2: 46:[74, 49] Operation: 43+6=49
Exploring Operation: 74+6=80, Resulting Numbers: [43, 80]
Generated Node #0,0,3: 46:[43, 80] Operation: 74+6=80
Exploring Operation: 43-6=37, Resulting Numbers: [74, 37]
Generated Node #0,0,4: 46:[74, 37] Operation: 43-6=37
Moving to Node #0,1
Current State: 46:[74, 49, 12], Operations: ['55-43=12']
Exploring Operation: 74+12=86, Resulting Numbers: [49, 86]
Generated Node #0,1,0: 46:[49, 86] Operation: 74+12=86
Exploring Operation: 49+12=61, Resulting Numbers: [74, 61]
Generated Node #0,1,1: 46:[74, 61] Operation: 49+12=61
Exploring Operation: 74-49=25, Resulting Numbers: [12, 25]
Generated Node #0,1,2: 46:[12, 25] Operation: 74-49=25
Exploring Operation: 74-12=62, Resulting Numbers: [49, 62]
Generated Node #0,1,3: 46:[49, 62] Operation: 74-12=62
Exploring Operation: 49-12=37, Resulting Numbers: [74, 37]
Generated Node #0,1,4: 46:[74, 37] Operation: 49-12=37
Moving to Node #0,3,4
Current State: 46:[49, 24], Operations: ['74-55=19', '43-19=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,46 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[19, 6], Operations: ['74-55=19', '49-43=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,46 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[43, 30], Operations: ['74-55=19', '49-19=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[43, 30], Operations: ['74-49=25', '55-25=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,46 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[25, 12], Operations: ['74-49=25', '55-43=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,46 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[6, 31], Operations: ['55-49=6', '74-43=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,46 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[12, 25], Operations: ['55-43=12', '74-49=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,46 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[55, 18], Operations: ['74-49=25', '43-25=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,46 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[49, 62], Operations: ['55-43=12', '74-12=62']
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,46 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[49, 62], Operations: ['74-55=19', '43+19=62']
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[43, 68], Operations: ['55-49=6', '74-6=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[43, 68], Operations: ['74-55=19', '49+19=68']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,46 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[74, 49], Operations: ['55-49=6', '43+6=49']
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,46 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[55, 68], Operations: ['74-49=25', '43+25=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,46 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[74, 37], Operations: ['55-49=6', '43-6=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,46 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[43, 80], Operations: ['74-49=25', '55+25=80']
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[74, 37], Operations: ['55-43=12', '49-12=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,46 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[43, 80], Operations: ['55-49=6', '74+6=80']
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,46 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[49, 86], Operations: ['55-43=12', '74+12=86']
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,46 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[74, 61], Operations: ['55-43=12', '49+12=61']
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,46 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,46 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
25,
3,
91
] | 38 | [
"18+25=43",
"3*43=129",
"129-91=38"
] | Current State: 38:[18, 25, 3, 91], Operations: []
Exploring Operation: 18+25=43, Resulting Numbers: [3, 91, 43]
Generated Node #2: [3, 91, 43] from Operation: 18+25=43
Current State: 38:[3, 91, 43], Operations: ['18+25=43']
Exploring Operation: 3*43=129, Resulting Numbers: [91, 129]
Generated Node #3: [91, 129] from Operation: 3*43=129
Current State: 38:[91, 129], Operations: ['18+25=43', '3*43=129']
Exploring Operation: 129-91=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[18, 25, 3, 91], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [18, 3, 66]
Generated Node #0,0: 38:[18, 3, 66] Operation: 91-25=66
Exploring Operation: 18+25=43, Resulting Numbers: [3, 91, 43]
Generated Node #0,1: 38:[3, 91, 43] Operation: 18+25=43
Exploring Operation: 91-3=88, Resulting Numbers: [18, 25, 88]
Generated Node #0,2: 38:[18, 25, 88] Operation: 91-3=88
Exploring Operation: 25-3=22, Resulting Numbers: [18, 91, 22]
Generated Node #0,3: 38:[18, 91, 22] Operation: 25-3=22
Exploring Operation: 91-18=73, Resulting Numbers: [25, 3, 73]
Generated Node #0,4: 38:[25, 3, 73] Operation: 91-18=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[18, 3, 66], Operations: ['91-25=66']
Exploring Operation: 66-18=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 38:[3, 48] Operation: 66-18=48
Exploring Operation: 18-3=15, Resulting Numbers: [66, 15]
Generated Node #0,0,1: 38:[66, 15] Operation: 18-3=15
Exploring Operation: 66-3=63, Resulting Numbers: [18, 63]
Generated Node #0,0,2: 38:[18, 63] Operation: 66-3=63
Exploring Operation: 18+3=21, Resulting Numbers: [66, 21]
Generated Node #0,0,3: 38:[66, 21] Operation: 18+3=21
Exploring Operation: 66/3=22, Resulting Numbers: [18, 22]
Generated Node #0,0,4: 38:[18, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 38:[18, 22], Operations: ['91-25=66', '66/3=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,38 unequal: No Solution
No 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: 38:[3, 48], Operations: ['91-25=66', '66-18=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
No 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: 38:[18, 63], Operations: ['91-25=66', '66-3=63']
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,38 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,38 unequal: No Solution
No 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: 38:[66, 21], Operations: ['91-25=66', '18+3=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,38 unequal: No Solution
No 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: 38:[66, 15], Operations: ['91-25=66', '18-3=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,38 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[25, 3, 73], Operations: ['91-18=73']
Exploring Operation: 3+73=76, Resulting Numbers: [25, 76]
Generated Node #0,4,0: 38:[25, 76] Operation: 3+73=76
Exploring Operation: 25-3=22, Resulting Numbers: [73, 22]
Generated Node #0,4,1: 38:[73, 22] Operation: 25-3=22
Exploring Operation: 25+3=28, Resulting Numbers: [73, 28]
Generated Node #0,4,2: 38:[73, 28] Operation: 25+3=28
Exploring Operation: 73-25=48, Resulting Numbers: [3, 48]
Generated Node #0,4,3: 38:[3, 48] Operation: 73-25=48
Exploring Operation: 73-3=70, Resulting Numbers: [25, 70]
Generated Node #0,4,4: 38:[25, 70] Operation: 73-3=70
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 38:[3, 48], Operations: ['91-18=73', '73-25=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No 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: 38:[73, 22], Operations: ['91-18=73', '25-3=22']
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,38 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No 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: 38:[25, 70], Operations: ['91-18=73', '73-3=70']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,38 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,38 unequal: No Solution
No 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: 38:[25, 76], Operations: ['91-18=73', '3+73=76']
Exploring Operation: 25*76=1900, Resulting Numbers: [1900]
1900,38 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,38 unequal: No Solution
No 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: 38:[73, 28], Operations: ['91-18=73', '25+3=28']
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,38 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[18, 25, 88], Operations: ['91-3=88']
Exploring Operation: 88-25=63, Resulting Numbers: [18, 63]
Generated Node #0,2,0: 38:[18, 63] Operation: 88-25=63
Exploring Operation: 18+25=43, Resulting Numbers: [88, 43]
Generated Node #0,2,1: 38:[88, 43] Operation: 18+25=43
Exploring Operation: 18+88=106, Resulting Numbers: [25, 106]
Generated Node #0,2,2: 38:[25, 106] Operation: 18+88=106
Exploring Operation: 25-18=7, Resulting Numbers: [88, 7]
Generated Node #0,2,3: 38:[88, 7] Operation: 25-18=7
Exploring Operation: 88-18=70, Resulting Numbers: [25, 70]
Generated Node #0,2,4: 38:[25, 70] Operation: 88-18=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[18, 63], Operations: ['91-3=88', '88-25=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,38 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,38 unequal: No Solution
No 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: 38:[25, 70], Operations: ['91-3=88', '88-18=70']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,38 unequal: No Solution
No 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: 38:[88, 43], Operations: ['91-3=88', '18+25=43']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,38 unequal: No Solution
No 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: 38:[88, 7], Operations: ['91-3=88', '25-18=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,38 unequal: No Solution
No 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: 38:[25, 106], Operations: ['91-3=88', '18+88=106']
Exploring Operation: 106-25=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 25+106=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 25*106=2650, Resulting Numbers: [2650]
2650,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[18, 91, 22], Operations: ['25-3=22']
Exploring Operation: 91-22=69, Resulting Numbers: [18, 69]
Generated Node #0,3,0: 38:[18, 69] Operation: 91-22=69
Exploring Operation: 91-18=73, Resulting Numbers: [22, 73]
Generated Node #0,3,1: 38:[22, 73] Operation: 91-18=73
Exploring Operation: 18+22=40, Resulting Numbers: [91, 40]
Generated Node #0,3,2: 38:[91, 40] Operation: 18+22=40
Exploring Operation: 18+91=109, Resulting Numbers: [22, 109]
Generated Node #0,3,3: 38:[22, 109] Operation: 18+91=109
Exploring Operation: 22-18=4, Resulting Numbers: [91, 4]
Generated Node #0,3,4: 38:[91, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[18, 69], Operations: ['25-3=22', '91-22=69']
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,38 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No 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: 38:[22, 73], Operations: ['25-3=22', '91-18=73']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 22*73=1606, Resulting Numbers: [1606]
1606,38 unequal: No Solution
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,38 unequal: No Solution
No 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: 38:[91, 40], Operations: ['25-3=22', '18+22=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,38 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No 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: 38:[91, 4], Operations: ['25-3=22', '22-18=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,38 unequal: No Solution
No 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: 38:[22, 109], Operations: ['25-3=22', '18+91=109']
Exploring Operation: 22*109=2398, Resulting Numbers: [2398]
2398,38 unequal: No Solution
Exploring Operation: 22+109=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 109-22=87, Resulting Numbers: [87]
87,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[3, 91, 43], Operations: ['18+25=43']
Exploring Operation: 3+43=46, Resulting Numbers: [91, 46]
Generated Node #0,1,0: 38:[91, 46] Operation: 3+43=46
Exploring Operation: 91-43=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 38:[3, 48] Operation: 91-43=48
Exploring Operation: 3+91=94, Resulting Numbers: [43, 94]
Generated Node #0,1,2: 38:[43, 94] Operation: 3+91=94
Exploring Operation: 91-3=88, Resulting Numbers: [43, 88]
Generated Node #0,1,3: 38:[43, 88] Operation: 91-3=88
Exploring Operation: 43-3=40, Resulting Numbers: [91, 40]
Generated Node #0,1,4: 38:[91, 40] Operation: 43-3=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[3, 48], Operations: ['18+25=43', '91-43=48']
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 38:[43, 88], Operations: ['18+25=43', '91-3=88']
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,38 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,38 unequal: No Solution
No 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: 38:[91, 40], Operations: ['18+25=43', '43-3=40']
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,38 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,38 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No 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: 38:[91, 46], Operations: ['18+25=43', '3+43=46']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,38 unequal: No Solution
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,38 unequal: No Solution
No 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: 38:[43, 94], Operations: ['18+25=43', '3+91=94']
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,38 unequal: No Solution
Exploring Operation: 43*94=4042, Resulting Numbers: [4042]
4042,38 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
55,
65,
10
] | 41 | [
"89-55=34",
"65+10=75",
"75-34=41"
] | Current State: 41:[89, 55, 65, 10], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [65, 10, 34]
Generated Node #2: [65, 10, 34] from Operation: 89-55=34
Current State: 41:[65, 10, 34], Operations: ['89-55=34']
Exploring Operation: 65+10=75, Resulting Numbers: [34, 75]
Generated Node #3: [34, 75] from Operation: 65+10=75
Current State: 41:[34, 75], Operations: ['89-55=34', '65+10=75']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[89, 55, 65, 10], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [65, 10, 34]
Generated Node #0,0: 41:[65, 10, 34] Operation: 89-55=34
Moving to Node #0,0
Current State: 41:[65, 10, 34], Operations: ['89-55=34']
Exploring Operation: 65-10=55, Resulting Numbers: [34, 55]
Generated Node #0,0,0: 41:[34, 55] Operation: 65-10=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[34, 55], Operations: ['89-55=34', '65-10=55']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
13,
40,
60
] | 29 | [
"36+13=49",
"60-40=20",
"49-20=29"
] | Current State: 29:[36, 13, 40, 60], Operations: []
Exploring Operation: 36+13=49, Resulting Numbers: [40, 60, 49]
Generated Node #2: [40, 60, 49] from Operation: 36+13=49
Current State: 29:[40, 60, 49], Operations: ['36+13=49']
Exploring Operation: 60-40=20, Resulting Numbers: [49, 20]
Generated Node #3: [49, 20] from Operation: 60-40=20
Current State: 29:[49, 20], Operations: ['36+13=49', '60-40=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[36, 13, 40, 60], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [36, 60, 27]
Generated Node #0,0: 29:[36, 60, 27] Operation: 40-13=27
Exploring Operation: 60-13=47, Resulting Numbers: [36, 40, 47]
Generated Node #0,1: 29:[36, 40, 47] Operation: 60-13=47
Exploring Operation: 60-40=20, Resulting Numbers: [36, 13, 20]
Generated Node #0,2: 29:[36, 13, 20] Operation: 60-40=20
Exploring Operation: 60-36=24, Resulting Numbers: [13, 40, 24]
Generated Node #0,3: 29:[13, 40, 24] Operation: 60-36=24
Moving to Node #0,2
Current State: 29:[36, 13, 20], Operations: ['60-40=20']
Exploring Operation: 36-20=16, Resulting Numbers: [13, 16]
Generated Node #0,2,0: 29:[13, 16] Operation: 36-20=16
Exploring Operation: 13+20=33, Resulting Numbers: [36, 33]
Generated Node #0,2,1: 29:[36, 33] Operation: 13+20=33
Exploring Operation: 36+13=49, Resulting Numbers: [20, 49]
Generated Node #0,2,2: 29:[20, 49] Operation: 36+13=49
Exploring Operation: 36-13=23, Resulting Numbers: [20, 23]
Generated Node #0,2,3: 29:[20, 23] Operation: 36-13=23
Moving to Node #0,3
Current State: 29:[13, 40, 24], Operations: ['60-36=24']
Exploring Operation: 40-13=27, Resulting Numbers: [24, 27]
Generated Node #0,3,0: 29:[24, 27] Operation: 40-13=27
Exploring Operation: 13+40=53, Resulting Numbers: [24, 53]
Generated Node #0,3,1: 29:[24, 53] Operation: 13+40=53
Exploring Operation: 24-13=11, Resulting Numbers: [40, 11]
Generated Node #0,3,2: 29:[40, 11] Operation: 24-13=11
Exploring Operation: 13+24=37, Resulting Numbers: [40, 37]
Generated Node #0,3,3: 29:[40, 37] Operation: 13+24=37
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[24, 27], Operations: ['60-36=24', '40-13=27']
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[40, 37], Operations: ['60-36=24', '13+24=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,29 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[24, 53], Operations: ['60-36=24', '13+40=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,29 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[36, 13, 40, 60], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [13, 40, 24]
Generated Node #0,3: 29:[13, 40, 24] Operation: 60-36=24
Moving to Node #0,3
Current State: 29:[13, 40, 24], Operations: ['60-36=24']
Exploring Operation: 13+40=53, Resulting Numbers: [24, 53]
Generated Node #0,3,1: 29:[24, 53] Operation: 13+40=53
Moving to Node #0,3,1
Current State: 29:[24, 53], Operations: ['60-36=24', '13+40=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
73,
34,
7,
80
] | 48 | [
"73-34=39",
"7+80=87",
"87-39=48"
] | Current State: 48:[73, 34, 7, 80], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [7, 80, 39]
Generated Node #2: [7, 80, 39] from Operation: 73-34=39
Current State: 48:[7, 80, 39], Operations: ['73-34=39']
Exploring Operation: 7+80=87, Resulting Numbers: [39, 87]
Generated Node #3: [39, 87] from Operation: 7+80=87
Current State: 48:[39, 87], Operations: ['73-34=39', '7+80=87']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[73, 34, 7, 80], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [34, 80, 66]
Generated Node #0,0: 48:[34, 80, 66] Operation: 73-7=66
Exploring Operation: 80-73=7, Resulting Numbers: [34, 7, 7]
Generated Node #0,1: 48:[34, 7, 7] Operation: 80-73=7
Exploring Operation: 80-34=46, Resulting Numbers: [73, 7, 46]
Generated Node #0,2: 48:[73, 7, 46] Operation: 80-34=46
Exploring Operation: 34-7=27, Resulting Numbers: [73, 80, 27]
Generated Node #0,3: 48:[73, 80, 27] Operation: 34-7=27
Exploring Operation: 73-34=39, Resulting Numbers: [7, 80, 39]
Generated Node #0,4: 48:[7, 80, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[34, 7, 7], Operations: ['80-73=7']
Exploring Operation: 7*7=49, Resulting Numbers: [34, 49]
Generated Node #0,1,0: 48:[34, 49] Operation: 7*7=49
Exploring Operation: 34-7=27, Resulting Numbers: [7, 27]
Generated Node #0,1,1: 48:[7, 27] Operation: 34-7=27
Exploring Operation: 34+7=41, Resulting Numbers: [7, 41]
Generated Node #0,1,2: 48:[7, 41] Operation: 34+7=41
Exploring Operation: 34-7=27, Resulting Numbers: [7, 27]
Generated Node #0,1,3: 48:[7, 27] Operation: 34-7=27
Exploring Operation: 34+7=41, Resulting Numbers: [7, 41]
Generated Node #0,1,4: 48:[7, 41] Operation: 34+7=41
Moving to Node #0,1,1
Current State: 48:[7, 27], Operations: ['80-73=7', '34-7=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[7, 27], Operations: ['80-73=7', '34-7=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[7, 41], Operations: ['80-73=7', '34+7=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[73, 34, 7, 80], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [34, 7, 7]
Generated Node #0,1: 48:[34, 7, 7] Operation: 80-73=7
Moving to Node #0,1
Current State: 48:[34, 7, 7], Operations: ['80-73=7']
Exploring Operation: 34+7=41, Resulting Numbers: [7, 41]
Generated Node #0,1,2: 48:[7, 41] Operation: 34+7=41
Moving to Node #0,1,2
Current State: 48:[7, 41], Operations: ['80-73=7', '34+7=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
79,
20,
66,
1
] | 34 | [
"79+20=99",
"66-1=65",
"99-65=34"
] | Current State: 34:[79, 20, 66, 1], Operations: []
Exploring Operation: 79+20=99, Resulting Numbers: [66, 1, 99]
Generated Node #2: [66, 1, 99] from Operation: 79+20=99
Current State: 34:[66, 1, 99], Operations: ['79+20=99']
Exploring Operation: 66-1=65, Resulting Numbers: [99, 65]
Generated Node #3: [99, 65] from Operation: 66-1=65
Current State: 34:[99, 65], Operations: ['79+20=99', '66-1=65']
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[79, 20, 66, 1], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [79, 1, 46]
Generated Node #0,0: 34:[79, 1, 46] Operation: 66-20=46
Exploring Operation: 79-66=13, Resulting Numbers: [20, 1, 13]
Generated Node #0,1: 34:[20, 1, 13] Operation: 79-66=13
Exploring Operation: 79-20=59, Resulting Numbers: [66, 1, 59]
Generated Node #0,2: 34:[66, 1, 59] Operation: 79-20=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[20, 1, 13], Operations: ['79-66=13']
Exploring Operation: 20-13=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 34:[1, 7] Operation: 20-13=7
Exploring Operation: 20-1=19, Resulting Numbers: [13, 19]
Generated Node #0,1,1: 34:[13, 19] Operation: 20-1=19
Exploring Operation: 20+13=33, Resulting Numbers: [1, 33]
Generated Node #0,1,2: 34:[1, 33] Operation: 20+13=33
Moving to Node #0,1,2
Current State: 34:[1, 33], Operations: ['79-66=13', '20+13=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[79, 20, 66, 1], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [20, 1, 13]
Generated Node #0,1: 34:[20, 1, 13] Operation: 79-66=13
Moving to Node #0,1
Current State: 34:[20, 1, 13], Operations: ['79-66=13']
Exploring Operation: 20+13=33, Resulting Numbers: [1, 33]
Generated Node #0,1,2: 34:[1, 33] Operation: 20+13=33
Moving to Node #0,1,2
Current State: 34:[1, 33], Operations: ['79-66=13', '20+13=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
13,
54,
17,
13
] | 98 | [
"13*13=169",
"54+17=71",
"169-71=98"
] | Current State: 98:[13, 54, 17, 13], Operations: []
Exploring Operation: 13*13=169, Resulting Numbers: [54, 17, 169]
Generated Node #2: [54, 17, 169] from Operation: 13*13=169
Current State: 98:[54, 17, 169], Operations: ['13*13=169']
Exploring Operation: 54+17=71, Resulting Numbers: [169, 71]
Generated Node #3: [169, 71] from Operation: 54+17=71
Current State: 98:[169, 71], Operations: ['13*13=169', '54+17=71']
Exploring Operation: 169-71=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[13, 54, 17, 13], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [54, 13, 4]
Generated Node #0,0: 98:[54, 13, 4] Operation: 17-13=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[54, 13, 4], Operations: ['17-13=4']
Exploring Operation: 54-4=50, Resulting Numbers: [13, 50]
Generated Node #0,0,0: 98:[13, 50] Operation: 54-4=50
Moving to Node #0,0,0
Current State: 98:[13, 50], Operations: ['17-13=4', '54-4=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,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 | sum_heuristic |
[
88,
3,
96,
22
] | 42 | [
"96-88=8",
"22-8=14",
"3*14=42"
] | Current State: 42:[88, 3, 96, 22], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [3, 22, 8]
Generated Node #2: [3, 22, 8] from Operation: 96-88=8
Current State: 42:[3, 22, 8], Operations: ['96-88=8']
Exploring Operation: 22-8=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 22-8=14
Current State: 42:[3, 14], Operations: ['96-88=8', '22-8=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[88, 3, 96, 22], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [3, 96, 66]
Generated Node #0,0: 42:[3, 96, 66] Operation: 88-22=66
Exploring Operation: 96/3=32, Resulting Numbers: [88, 22, 32]
Generated Node #0,1: 42:[88, 22, 32] Operation: 96/3=32
Exploring Operation: 96-88=8, Resulting Numbers: [3, 22, 8]
Generated Node #0,2: 42:[3, 22, 8] Operation: 96-88=8
Exploring Operation: 88/22=4, Resulting Numbers: [3, 96, 4]
Generated Node #0,3: 42:[3, 96, 4] Operation: 88/22=4
Moving to Node #0,2
Current State: 42:[3, 22, 8], Operations: ['96-88=8']
Exploring Operation: 8-3=5, Resulting Numbers: [22, 5]
Generated Node #0,2,0: 42:[22, 5] Operation: 8-3=5
Exploring Operation: 22-3=19, Resulting Numbers: [8, 19]
Generated Node #0,2,1: 42:[8, 19] Operation: 22-3=19
Exploring Operation: 3+8=11, Resulting Numbers: [22, 11]
Generated Node #0,2,2: 42:[22, 11] Operation: 3+8=11
Exploring Operation: 22-8=14, Resulting Numbers: [3, 14]
Generated Node #0,2,3: 42:[3, 14] Operation: 22-8=14
Moving to Node #0,3
Current State: 42:[3, 96, 4], Operations: ['88/22=4']
Exploring Operation: 96-4=92, Resulting Numbers: [3, 92]
Generated Node #0,3,0: 42:[3, 92] Operation: 96-4=92
Exploring Operation: 96/3=32, Resulting Numbers: [4, 32]
Generated Node #0,3,1: 42:[4, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [4, 93]
Generated Node #0,3,2: 42:[4, 93] Operation: 96-3=93
Exploring Operation: 96/4=24, Resulting Numbers: [3, 24]
Generated Node #0,3,3: 42:[3, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[3, 24], Operations: ['88/22=4', '96/4=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[4, 32], Operations: ['88/22=4', '96/3=32']
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[3, 92], Operations: ['88/22=4', '96-4=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,42 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,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,2
Current State: 42:[4, 93], Operations: ['88/22=4', '96-3=93']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 4+93=97, Resulting Numbers: [97]
97,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 1
No solution found in sub search
Moving to Node #0,1
Current State: 42:[88, 22, 32], Operations: ['96/3=32']
Exploring Operation: 88/22=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 42:[32, 4] Operation: 88/22=4
Exploring Operation: 88-22=66, Resulting Numbers: [32, 66]
Generated Node #0,1,1: 42:[32, 66] Operation: 88-22=66
Exploring Operation: 88-32=56, Resulting Numbers: [22, 56]
Generated Node #0,1,2: 42:[22, 56] Operation: 88-32=56
Exploring Operation: 32-22=10, Resulting Numbers: [88, 10]
Generated Node #0,1,3: 42:[88, 10] Operation: 32-22=10
Moving to Node #0,0
Current State: 42:[3, 96, 66], Operations: ['88-22=66']
Exploring Operation: 96-3=93, Resulting Numbers: [66, 93]
Generated Node #0,0,0: 42:[66, 93] Operation: 96-3=93
Exploring Operation: 96-66=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 42:[3, 30] Operation: 96-66=30
Exploring Operation: 96/3=32, Resulting Numbers: [66, 32]
Generated Node #0,0,2: 42:[66, 32] Operation: 96/3=32
Exploring Operation: 66/3=22, Resulting Numbers: [96, 22]
Generated Node #0,0,3: 42:[96, 22] Operation: 66/3=22
Moving to Node #0,2,3
Current State: 42:[3, 14], Operations: ['96-88=8', '22-8=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[88, 3, 96, 22], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [3, 22, 8]
Generated Node #0,2: 42:[3, 22, 8] Operation: 96-88=8
Moving to Node #0,2
Current State: 42:[3, 22, 8], Operations: ['96-88=8']
Exploring Operation: 22-8=14, Resulting Numbers: [3, 14]
Generated Node #0,2,3: 42:[3, 14] Operation: 22-8=14
Moving to Node #0,2,3
Current State: 42:[3, 14], Operations: ['96-88=8', '22-8=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
42,
19,
53,
84
] | 30 | [
"42+19=61",
"84-53=31",
"61-31=30"
] | Current State: 30:[42, 19, 53, 84], Operations: []
Exploring Operation: 42+19=61, Resulting Numbers: [53, 84, 61]
Generated Node #2: [53, 84, 61] from Operation: 42+19=61
Current State: 30:[53, 84, 61], Operations: ['42+19=61']
Exploring Operation: 84-53=31, Resulting Numbers: [61, 31]
Generated Node #3: [61, 31] from Operation: 84-53=31
Current State: 30:[61, 31], Operations: ['42+19=61', '84-53=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[42, 19, 53, 84], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [19, 53, 2]
Generated Node #0,0: 30:[19, 53, 2] Operation: 84/42=2
Exploring Operation: 84-53=31, Resulting Numbers: [42, 19, 31]
Generated Node #0,1: 30:[42, 19, 31] Operation: 84-53=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[42, 19, 31], Operations: ['84-53=31']
Exploring Operation: 42-31=11, Resulting Numbers: [19, 11]
Generated Node #0,1,0: 30:[19, 11] Operation: 42-31=11
Exploring Operation: 42-19=23, Resulting Numbers: [31, 23]
Generated Node #0,1,1: 30:[31, 23] Operation: 42-19=23
Moving to Node #0,1,0
Current State: 30:[19, 11], Operations: ['84-53=31', '42-31=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[42, 19, 53, 84], Operations: []
Exploring Operation: 84-53=31, Resulting Numbers: [42, 19, 31]
Generated Node #0,1: 30:[42, 19, 31] Operation: 84-53=31
Moving to Node #0,1
Current State: 30:[42, 19, 31], Operations: ['84-53=31']
Exploring Operation: 42-31=11, Resulting Numbers: [19, 11]
Generated Node #0,1,0: 30:[19, 11] Operation: 42-31=11
Moving to Node #0,1,0
Current State: 30:[19, 11], Operations: ['84-53=31', '42-31=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
75,
89,
2,
90
] | 74 | [
"89-75=14",
"90-2=88",
"88-14=74"
] | Current State: 74:[75, 89, 2, 90], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [2, 90, 14]
Generated Node #2: [2, 90, 14] from Operation: 89-75=14
Current State: 74:[2, 90, 14], Operations: ['89-75=14']
Exploring Operation: 90-2=88, Resulting Numbers: [14, 88]
Generated Node #3: [14, 88] from Operation: 90-2=88
Current State: 74:[14, 88], Operations: ['89-75=14', '90-2=88']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[75, 89, 2, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [75, 2, 1]
Generated Node #0,0: 74:[75, 2, 1] Operation: 90-89=1
Exploring Operation: 90-75=15, Resulting Numbers: [89, 2, 15]
Generated Node #0,1: 74:[89, 2, 15] Operation: 90-75=15
Exploring Operation: 89-75=14, Resulting Numbers: [2, 90, 14]
Generated Node #0,2: 74:[2, 90, 14] Operation: 89-75=14
Exploring Operation: 90/2=45, Resulting Numbers: [75, 89, 45]
Generated Node #0,3: 74:[75, 89, 45] Operation: 90/2=45
Moving to Node #0,0
Current State: 74:[75, 2, 1], Operations: ['90-89=1']
Exploring Operation: 75-1=74, Resulting Numbers: [2, 74]
Generated Node #0,0,0: 74:[2, 74] Operation: 75-1=74
Exploring Operation: 75*1=75, Resulting Numbers: [2, 75]
Generated Node #0,0,1: 74:[2, 75] Operation: 75*1=75
Exploring Operation: 2*1=2, Resulting Numbers: [75, 2]
Generated Node #0,0,2: 74:[75, 2] Operation: 2*1=2
Exploring Operation: 75/1=75, Resulting Numbers: [2, 75]
Generated Node #0,0,3: 74:[2, 75] Operation: 75/1=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[2, 74], Operations: ['90-89=1', '75-1=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,74 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No 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: 74:[2, 75], Operations: ['90-89=1', '75*1=75']
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No 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: 74:[75, 2], Operations: ['90-89=1', '2*1=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,74 unequal: No Solution
No 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: 74:[2, 75], Operations: ['90-89=1', '75/1=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,74 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: 74:[75, 89, 45], Operations: ['90/2=45']
Exploring Operation: 75-45=30, Resulting Numbers: [89, 30]
Generated Node #0,3,0: 74:[89, 30] Operation: 75-45=30
Exploring Operation: 89-75=14, Resulting Numbers: [45, 14]
Generated Node #0,3,1: 74:[45, 14] Operation: 89-75=14
Exploring Operation: 89-45=44, Resulting Numbers: [75, 44]
Generated Node #0,3,2: 74:[75, 44] Operation: 89-45=44
Exploring Operation: 75+45=120, Resulting Numbers: [89, 120]
Generated Node #0,3,3: 74:[89, 120] Operation: 75+45=120
Moving to Node #0,2
Current State: 74:[2, 90, 14], Operations: ['89-75=14']
Exploring Operation: 90-14=76, Resulting Numbers: [2, 76]
Generated Node #0,2,0: 74:[2, 76] Operation: 90-14=76
Exploring Operation: 14/2=7, Resulting Numbers: [90, 7]
Generated Node #0,2,1: 74:[90, 7] Operation: 14/2=7
Exploring Operation: 90/2=45, Resulting Numbers: [14, 45]
Generated Node #0,2,2: 74:[14, 45] Operation: 90/2=45
Exploring Operation: 2*14=28, Resulting Numbers: [90, 28]
Generated Node #0,2,3: 74:[90, 28] Operation: 2*14=28
Moving to Node #0,1
Current State: 74:[89, 2, 15], Operations: ['90-75=15']
Exploring Operation: 89-2=87, Resulting Numbers: [15, 87]
Generated Node #0,1,0: 74:[15, 87] Operation: 89-2=87
Exploring Operation: 89-15=74, Resulting Numbers: [2, 74]
Generated Node #0,1,1: 74:[2, 74] Operation: 89-15=74
Exploring Operation: 2*15=30, Resulting Numbers: [89, 30]
Generated Node #0,1,2: 74:[89, 30] Operation: 2*15=30
Exploring Operation: 15-2=13, Resulting Numbers: [89, 13]
Generated Node #0,1,3: 74:[89, 13] Operation: 15-2=13
Moving to Node #0,1,1
Current State: 74:[2, 74], Operations: ['90-75=15', '89-15=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[2, 76], Operations: ['89-75=14', '90-14=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[75, 89, 2, 90], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [2, 90, 14]
Generated Node #0,2: 74:[2, 90, 14] Operation: 89-75=14
Moving to Node #0,2
Current State: 74:[2, 90, 14], Operations: ['89-75=14']
Exploring Operation: 90-14=76, Resulting Numbers: [2, 76]
Generated Node #0,2,0: 74:[2, 76] Operation: 90-14=76
Moving to Node #0,2,0
Current State: 74:[2, 76], Operations: ['89-75=14', '90-14=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.961806 | hs_4 | mult_heuristic |
[
14,
37,
44,
13
] | 17 | [
"14*44=616",
"13+616=629",
"629/37=17"
] | Current State: 17:[14, 37, 44, 13], Operations: []
Exploring Operation: 14*44=616, Resulting Numbers: [37, 13, 616]
Generated Node #2: [37, 13, 616] from Operation: 14*44=616
Current State: 17:[37, 13, 616], Operations: ['14*44=616']
Exploring Operation: 13+616=629, Resulting Numbers: [37, 629]
Generated Node #3: [37, 629] from Operation: 13+616=629
Current State: 17:[37, 629], Operations: ['14*44=616', '13+616=629']
Exploring Operation: 629/37=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[14, 37, 44, 13], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [14, 13, 7]
Generated Node #0,0: 17:[14, 13, 7] Operation: 44-37=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[14, 13, 7], Operations: ['44-37=7']
Exploring Operation: 13+7=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 17:[14, 20] Operation: 13+7=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[14, 20], Operations: ['44-37=7', '13+7=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
12,
61,
10
] | 31 | [
"25*12=300",
"300/10=30",
"61-30=31"
] | Current State: 31:[25, 12, 61, 10], Operations: []
Exploring Operation: 25*12=300, Resulting Numbers: [61, 10, 300]
Generated Node #2: [61, 10, 300] from Operation: 25*12=300
Current State: 31:[61, 10, 300], Operations: ['25*12=300']
Exploring Operation: 300/10=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 300/10=30
Current State: 31:[61, 30], Operations: ['25*12=300', '300/10=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[25, 12, 61, 10], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [12, 10, 36]
Generated Node #0,0: 31:[12, 10, 36] Operation: 61-25=36
Exploring Operation: 61-12=49, Resulting Numbers: [25, 10, 49]
Generated Node #0,1: 31:[25, 10, 49] Operation: 61-12=49
Moving to Node #0,0
Current State: 31:[12, 10, 36], Operations: ['61-25=36']
Exploring Operation: 36-10=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 31:[12, 26] Operation: 36-10=26
Exploring Operation: 12+10=22, Resulting Numbers: [36, 22]
Generated Node #0,0,1: 31:[36, 22] Operation: 12+10=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[36, 22], Operations: ['61-25=36', '12+10=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[12, 26], Operations: ['61-25=36', '36-10=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,31 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: 31:[25, 10, 49], Operations: ['61-12=49']
Exploring Operation: 25+10=35, Resulting Numbers: [49, 35]
Generated Node #0,1,0: 31:[49, 35] Operation: 25+10=35
Exploring Operation: 49-10=39, Resulting Numbers: [25, 39]
Generated Node #0,1,1: 31:[25, 39] Operation: 49-10=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[25, 39], Operations: ['61-12=49', '49-10=39']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[49, 35], Operations: ['61-12=49', '25+10=35']
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,31 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 |
[
7,
22,
13,
13
] | 15 | [
"7*22=154",
"13*13=169",
"169-154=15"
] | Current State: 15:[7, 22, 13, 13], Operations: []
Exploring Operation: 7*22=154, Resulting Numbers: [13, 13, 154]
Generated Node #2: [13, 13, 154] from Operation: 7*22=154
Current State: 15:[13, 13, 154], Operations: ['7*22=154']
Exploring Operation: 13*13=169, Resulting Numbers: [154, 169]
Generated Node #3: [154, 169] from Operation: 13*13=169
Current State: 15:[154, 169], Operations: ['7*22=154', '13*13=169']
Exploring Operation: 169-154=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 22, 13, 13], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [7, 13, 9]
Generated Node #0,0: 15:[7, 13, 9] Operation: 22-13=9
Exploring Operation: 13-7=6, Resulting Numbers: [22, 13, 6]
Generated Node #0,1: 15:[22, 13, 6] Operation: 13-7=6
Exploring Operation: 22-13=9, Resulting Numbers: [7, 13, 9]
Generated Node #0,2: 15:[7, 13, 9] Operation: 22-13=9
Exploring Operation: 22-7=15, Resulting Numbers: [13, 13, 15]
Generated Node #0,3: 15:[13, 13, 15] Operation: 22-7=15
Moving to Node #0,3
Current State: 15:[13, 13, 15], Operations: ['22-7=15']
Exploring Operation: 13-13=0, Resulting Numbers: [15, 0]
Generated Node #0,3,0: 15:[15, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [15, 1]
Generated Node #0,3,1: 15:[15, 1] Operation: 13/13=1
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,2: 15:[13, 2] Operation: 15-13=2
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,3: 15:[13, 2] Operation: 15-13=2
Moving to Node #0,2
Current State: 15:[7, 13, 9], Operations: ['22-13=9']
Exploring Operation: 13-7=6, Resulting Numbers: [9, 6]
Generated Node #0,2,0: 15:[9, 6] Operation: 13-7=6
Exploring Operation: 7+9=16, Resulting Numbers: [13, 16]
Generated Node #0,2,1: 15:[13, 16] Operation: 7+9=16
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 15:[7, 4] Operation: 13-9=4
Exploring Operation: 9-7=2, Resulting Numbers: [13, 2]
Generated Node #0,2,3: 15:[13, 2] Operation: 9-7=2
Moving to Node #0,0
Current State: 15:[7, 13, 9], Operations: ['22-13=9']
Exploring Operation: 13-7=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 15:[9, 6] Operation: 13-7=6
Exploring Operation: 7+9=16, Resulting Numbers: [13, 16]
Generated Node #0,0,1: 15:[13, 16] Operation: 7+9=16
Exploring Operation: 9-7=2, Resulting Numbers: [13, 2]
Generated Node #0,0,2: 15:[13, 2] Operation: 9-7=2
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #0,0,3: 15:[7, 4] Operation: 13-9=4
Moving to Node #0,1
Current State: 15:[22, 13, 6], Operations: ['13-7=6']
Exploring Operation: 13-6=7, Resulting Numbers: [22, 7]
Generated Node #0,1,0: 15:[22, 7] Operation: 13-6=7
Exploring Operation: 13+6=19, Resulting Numbers: [22, 19]
Generated Node #0,1,1: 15:[22, 19] Operation: 13+6=19
Exploring Operation: 22-6=16, Resulting Numbers: [13, 16]
Generated Node #0,1,2: 15:[13, 16] Operation: 22-6=16
Exploring Operation: 22-13=9, Resulting Numbers: [6, 9]
Generated Node #0,1,3: 15:[6, 9] Operation: 22-13=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[13, 16], Operations: ['13-7=6', '22-6=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,15 unequal: No Solution
No 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: 15:[6, 9], Operations: ['13-7=6', '22-13=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[7, 22, 13, 13], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [22, 13, 6]
Generated Node #0,1: 15:[22, 13, 6] Operation: 13-7=6
Moving to Node #0,1
Current State: 15:[22, 13, 6], Operations: ['13-7=6']
Exploring Operation: 22-13=9, Resulting Numbers: [6, 9]
Generated Node #0,1,3: 15:[6, 9] Operation: 22-13=9
Moving to Node #0,1,3
Current State: 15:[6, 9], Operations: ['13-7=6', '22-13=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
19,
11,
30,
5
] | 66 | [
"30-19=11",
"11*5=55",
"11+55=66"
] | Current State: 66:[19, 11, 30, 5], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [11, 5, 11]
Generated Node #2: [11, 5, 11] from Operation: 30-19=11
Current State: 66:[11, 5, 11], Operations: ['30-19=11']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,66 equal: Goal Reached
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[19, 11, 30, 5], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [30, 5, 8]
Generated Node #0,0: 66:[30, 5, 8] Operation: 19-11=8
Exploring Operation: 19+5=24, Resulting Numbers: [11, 30, 24]
Generated Node #0,1: 66:[11, 30, 24] Operation: 19+5=24
Exploring Operation: 30+5=35, Resulting Numbers: [19, 11, 35]
Generated Node #0,2: 66:[19, 11, 35] Operation: 30+5=35
Exploring Operation: 30-19=11, Resulting Numbers: [11, 5, 11]
Generated Node #0,3: 66:[11, 5, 11] Operation: 30-19=11
Exploring Operation: 30/5=6, Resulting Numbers: [19, 11, 6]
Generated Node #0,4: 66:[19, 11, 6] Operation: 30/5=6
Moving to Node #0,3
Current State: 66:[11, 5, 11], Operations: ['30-19=11']
Exploring Operation: 11-5=6, Resulting Numbers: [11, 6]
Generated Node #0,3,0: 66:[11, 6] Operation: 11-5=6
Exploring Operation: 11-5=6, Resulting Numbers: [11, 6]
Generated Node #0,3,1: 66:[11, 6] Operation: 11-5=6
Exploring Operation: 11/11=1, Resulting Numbers: [5, 1]
Generated Node #0,3,2: 66:[5, 1] Operation: 11/11=1
Exploring Operation: 11-11=0, Resulting Numbers: [5, 0]
Generated Node #0,3,3: 66:[5, 0] Operation: 11-11=0
Exploring Operation: 11+11=22, Resulting Numbers: [5, 22]
Generated Node #0,3,4: 66:[5, 22] Operation: 11+11=22
Moving to Node #0,4
Current State: 66:[19, 11, 6], Operations: ['30/5=6']
Exploring Operation: 19-6=13, Resulting Numbers: [11, 13]
Generated Node #0,4,0: 66:[11, 13] Operation: 19-6=13
Exploring Operation: 19+11=30, Resulting Numbers: [6, 30]
Generated Node #0,4,1: 66:[6, 30] Operation: 19+11=30
Exploring Operation: 19+6=25, Resulting Numbers: [11, 25]
Generated Node #0,4,2: 66:[11, 25] Operation: 19+6=25
Exploring Operation: 11*6=66, Resulting Numbers: [19, 66]
Generated Node #0,4,3: 66:[19, 66] Operation: 11*6=66
Exploring Operation: 19-11=8, Resulting Numbers: [6, 8]
Generated Node #0,4,4: 66:[6, 8] Operation: 19-11=8
Moving to Node #0,1
Current State: 66:[11, 30, 24], Operations: ['19+5=24']
Exploring Operation: 30-24=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 30-24=6
Exploring Operation: 30-11=19, Resulting Numbers: [24, 19]
Generated Node #0,1,1: 66:[24, 19] Operation: 30-11=19
Exploring Operation: 11+30=41, Resulting Numbers: [24, 41]
Generated Node #0,1,2: 66:[24, 41] Operation: 11+30=41
Exploring Operation: 11+24=35, Resulting Numbers: [30, 35]
Generated Node #0,1,3: 66:[30, 35] Operation: 11+24=35
Exploring Operation: 24-11=13, Resulting Numbers: [30, 13]
Generated Node #0,1,4: 66:[30, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['19+5=24', '30-24=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[19, 11, 30, 5], Operations: []
Exploring Operation: 19+5=24, Resulting Numbers: [11, 30, 24]
Generated Node #0,1: 66:[11, 30, 24] Operation: 19+5=24
Moving to Node #0,1
Current State: 66:[11, 30, 24], Operations: ['19+5=24']
Exploring Operation: 30-24=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 30-24=6
Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['19+5=24', '30-24=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
67,
78,
76,
22
] | 12 | [
"67+76=143",
"78*22=1716",
"1716/143=12"
] | Current State: 12:[67, 78, 76, 22], Operations: []
Exploring Operation: 67+76=143, Resulting Numbers: [78, 22, 143]
Generated Node #2: [78, 22, 143] from Operation: 67+76=143
Current State: 12:[78, 22, 143], Operations: ['67+76=143']
Exploring Operation: 78*22=1716, Resulting Numbers: [143, 1716]
Generated Node #3: [143, 1716] from Operation: 78*22=1716
Current State: 12:[143, 1716], Operations: ['67+76=143', '78*22=1716']
Exploring Operation: 1716/143=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[67, 78, 76, 22], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [67, 22, 2]
Generated Node #0,0: 12:[67, 22, 2] Operation: 78-76=2
Exploring Operation: 76-67=9, Resulting Numbers: [78, 22, 9]
Generated Node #0,1: 12:[78, 22, 9] Operation: 76-67=9
Exploring Operation: 78-67=11, Resulting Numbers: [76, 22, 11]
Generated Node #0,2: 12:[76, 22, 11] Operation: 78-67=11
Exploring Operation: 67-22=45, Resulting Numbers: [78, 76, 45]
Generated Node #0,3: 12:[78, 76, 45] Operation: 67-22=45
Moving to Node #0,0
Current State: 12:[67, 22, 2], Operations: ['78-76=2']
Exploring Operation: 22/2=11, Resulting Numbers: [67, 11]
Generated Node #0,0,0: 12:[67, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [67, 20]
Generated Node #0,0,1: 12:[67, 20] Operation: 22-2=20
Exploring Operation: 67-22=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 12:[2, 45] Operation: 67-22=45
Exploring Operation: 67-2=65, Resulting Numbers: [22, 65]
Generated Node #0,0,3: 12:[22, 65] Operation: 67-2=65
Moving to Node #0,2
Current State: 12:[76, 22, 11], Operations: ['78-67=11']
Exploring Operation: 76-22=54, Resulting Numbers: [11, 54]
Generated Node #0,2,0: 12:[11, 54] Operation: 76-22=54
Exploring Operation: 76-11=65, Resulting Numbers: [22, 65]
Generated Node #0,2,1: 12:[22, 65] Operation: 76-11=65
Exploring Operation: 22-11=11, Resulting Numbers: [76, 11]
Generated Node #0,2,2: 12:[76, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [76, 2]
Generated Node #0,2,3: 12:[76, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[11, 54], Operations: ['78-67=11', '76-22=54']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 11*54=594, Resulting Numbers: [594]
594,12 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[22, 65], Operations: ['78-67=11', '76-11=65']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,12 unequal: No Solution
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[76, 2], Operations: ['78-67=11', '22/11=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[76, 11], Operations: ['78-67=11', '22-11=11']
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,12 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,12 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: 12:[78, 22, 9], Operations: ['76-67=9']
Exploring Operation: 22-9=13, Resulting Numbers: [78, 13]
Generated Node #0,1,0: 12:[78, 13] Operation: 22-9=13
Exploring Operation: 78-9=69, Resulting Numbers: [22, 69]
Generated Node #0,1,1: 12:[22, 69] Operation: 78-9=69
Exploring Operation: 78+9=87, Resulting Numbers: [22, 87]
Generated Node #0,1,2: 12:[22, 87] Operation: 78+9=87
Exploring Operation: 78-22=56, Resulting Numbers: [9, 56]
Generated Node #0,1,3: 12:[9, 56] Operation: 78-22=56
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[9, 56], Operations: ['76-67=9', '78-22=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,12 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[78, 13], Operations: ['76-67=9', '22-9=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,12 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[22, 69], Operations: ['76-67=9', '78-9=69']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,12 unequal: No Solution
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[22, 87], Operations: ['76-67=9', '78+9=87']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 22*87=1914, Resulting Numbers: [1914]
1914,12 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: 12:[78, 76, 45], Operations: ['67-22=45']
Exploring Operation: 78-45=33, Resulting Numbers: [76, 33]
Generated Node #0,3,0: 12:[76, 33] Operation: 78-45=33
Exploring Operation: 76-45=31, Resulting Numbers: [78, 31]
Generated Node #0,3,1: 12:[78, 31] Operation: 76-45=31
Exploring Operation: 78+76=154, Resulting Numbers: [45, 154]
Generated Node #0,3,2: 12:[45, 154] Operation: 78+76=154
Exploring Operation: 78-76=2, Resulting Numbers: [45, 2]
Generated Node #0,3,3: 12:[45, 2] Operation: 78-76=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[45, 2], Operations: ['67-22=45', '78-76=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,12 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[76, 33], Operations: ['67-22=45', '78-45=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,12 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[78, 31], Operations: ['67-22=45', '76-45=31']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,12 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[45, 154], Operations: ['67-22=45', '78+76=154']
Exploring Operation: 154-45=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 45+154=199, Resulting Numbers: [199]
199,12 unequal: No Solution
Exploring Operation: 45*154=6930, Resulting Numbers: [6930]
6930,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 12:[2, 45], Operations: ['78-76=2', '67-22=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,12 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[67, 11], Operations: ['78-76=2', '22/2=11']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,12 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[22, 65], Operations: ['78-76=2', '67-2=65']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[67, 20], Operations: ['78-76=2', '22-2=20']
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,12 unequal: No Solution
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
59,
2,
81
] | 42 | [
"96-59=37",
"81-2=79",
"79-37=42"
] | Current State: 42:[96, 59, 2, 81], Operations: []
Exploring Operation: 96-59=37, Resulting Numbers: [2, 81, 37]
Generated Node #2: [2, 81, 37] from Operation: 96-59=37
Current State: 42:[2, 81, 37], Operations: ['96-59=37']
Exploring Operation: 81-2=79, Resulting Numbers: [37, 79]
Generated Node #3: [37, 79] from Operation: 81-2=79
Current State: 42:[37, 79], Operations: ['96-59=37', '81-2=79']
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[96, 59, 2, 81], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [59, 2, 15]
Generated Node #0,0: 42:[59, 2, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[59, 2, 15], Operations: ['96-81=15']
Exploring Operation: 59-15=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 42:[2, 44] Operation: 59-15=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[2, 44], Operations: ['96-81=15', '59-15=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[96, 59, 2, 81], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [59, 2, 15]
Generated Node #0,0: 42:[59, 2, 15] Operation: 96-81=15
Moving to Node #0,0
Current State: 42:[59, 2, 15], Operations: ['96-81=15']
Exploring Operation: 59-15=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 42:[2, 44] Operation: 59-15=44
Moving to Node #0,0,0
Current State: 42:[2, 44], Operations: ['96-81=15', '59-15=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
91,
59,
29,
17
] | 14 | [
"91-59=32",
"29+17=46",
"46-32=14"
] | Current State: 14:[91, 59, 29, 17], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [29, 17, 32]
Generated Node #2: [29, 17, 32] from Operation: 91-59=32
Current State: 14:[29, 17, 32], Operations: ['91-59=32']
Exploring Operation: 29+17=46, Resulting Numbers: [32, 46]
Generated Node #3: [32, 46] from Operation: 29+17=46
Current State: 14:[32, 46], Operations: ['91-59=32', '29+17=46']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[91, 59, 29, 17], Operations: []
Exploring Operation: 91-29=62, Resulting Numbers: [59, 17, 62]
Generated Node #0,0: 14:[59, 17, 62] Operation: 91-29=62
Exploring Operation: 91-59=32, Resulting Numbers: [29, 17, 32]
Generated Node #0,1: 14:[29, 17, 32] Operation: 91-59=32
Exploring Operation: 59-29=30, Resulting Numbers: [91, 17, 30]
Generated Node #0,2: 14:[91, 17, 30] Operation: 59-29=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[29, 17, 32], Operations: ['91-59=32']
Exploring Operation: 32-29=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 14:[17, 3] Operation: 32-29=3
Exploring Operation: 29-17=12, Resulting Numbers: [32, 12]
Generated Node #0,1,1: 14:[32, 12] Operation: 29-17=12
Exploring Operation: 32-17=15, Resulting Numbers: [29, 15]
Generated Node #0,1,2: 14:[29, 15] Operation: 32-17=15
Moving to Node #0,1,0
Current State: 14:[17, 3], Operations: ['91-59=32', '32-29=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[91, 59, 29, 17], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [29, 17, 32]
Generated Node #0,1: 14:[29, 17, 32] Operation: 91-59=32
Moving to Node #0,1
Current State: 14:[29, 17, 32], Operations: ['91-59=32']
Exploring Operation: 32-29=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 14:[17, 3] Operation: 32-29=3
Moving to Node #0,1,0
Current State: 14:[17, 3], Operations: ['91-59=32', '32-29=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
32,
16,
30,
39
] | 98 | [
"39-32=7",
"30-16=14",
"7*14=98"
] | Current State: 98:[32, 16, 30, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [16, 30, 7]
Generated Node #2: [16, 30, 7] from Operation: 39-32=7
Current State: 98:[16, 30, 7], Operations: ['39-32=7']
Exploring Operation: 30-16=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 30-16=14
Current State: 98:[7, 14], Operations: ['39-32=7', '30-16=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[32, 16, 30, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [16, 30, 7]
Generated Node #0,0: 98:[16, 30, 7] Operation: 39-32=7
Exploring Operation: 32-30=2, Resulting Numbers: [16, 39, 2]
Generated Node #0,1: 98:[16, 39, 2] Operation: 32-30=2
Exploring Operation: 39-30=9, Resulting Numbers: [32, 16, 9]
Generated Node #0,2: 98:[32, 16, 9] Operation: 39-30=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[16, 39, 2], Operations: ['32-30=2']
Exploring Operation: 16-2=14, Resulting Numbers: [39, 14]
Generated Node #0,1,0: 98:[39, 14] Operation: 16-2=14
Exploring Operation: 39-16=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 98:[2, 23] Operation: 39-16=23
Exploring Operation: 16+39=55, Resulting Numbers: [2, 55]
Generated Node #0,1,2: 98:[2, 55] Operation: 16+39=55
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[2, 55], Operations: ['32-30=2', '16+39=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,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,1,1
Current State: 98:[2, 23], Operations: ['32-30=2', '39-16=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,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,1,0
Current State: 98:[39, 14], Operations: ['32-30=2', '16-2=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,98 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,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,0
Current State: 98:[16, 30, 7], Operations: ['39-32=7']
Exploring Operation: 30-16=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 98:[7, 14] Operation: 30-16=14
Exploring Operation: 30-7=23, Resulting Numbers: [16, 23]
Generated Node #0,0,1: 98:[16, 23] Operation: 30-7=23
Exploring Operation: 16+30=46, Resulting Numbers: [7, 46]
Generated Node #0,0,2: 98:[7, 46] Operation: 16+30=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[7, 14], Operations: ['39-32=7', '30-16=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[32, 16, 30, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [16, 30, 7]
Generated Node #0,0: 98:[16, 30, 7] Operation: 39-32=7
Moving to Node #0,0
Current State: 98:[16, 30, 7], Operations: ['39-32=7']
Exploring Operation: 30-16=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 98:[7, 14] Operation: 30-16=14
Moving to Node #0,0,0
Current State: 98:[7, 14], Operations: ['39-32=7', '30-16=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.980035 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.