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 |
|---|---|---|---|---|---|---|---|---|
[
57,
63,
19,
18
] | 84 | [
"57/19=3",
"63+18=81",
"3+81=84"
] | Current State: 84:[57, 63, 19, 18], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [63, 18, 3]
Generated Node #2: [63, 18, 3] from Operation: 57/19=3
Current State: 84:[63, 18, 3], Operations: ['57/19=3']
Exploring Operation: 63+18=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 63+18=81
Current State: 84:[3, 81], Operations: ['57/19=3', '63+18=81']
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[57, 63, 19, 18], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [19, 18, 6]
Generated Node #0,0: 84:[19, 18, 6] Operation: 63-57=6
Moving to Node #0,0
Current State: 84:[19, 18, 6], Operations: ['63-57=6']
Exploring Operation: 19-18=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 84:[6, 1] Operation: 19-18=1
Moving to Node #0,0,0
Current State: 84:[6, 1], Operations: ['63-57=6', '19-18=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
14,
4,
39
] | 66 | [
"44-39=5",
"14*5=70",
"70-4=66"
] | Current State: 66:[44, 14, 4, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [14, 4, 5]
Generated Node #2: [14, 4, 5] from Operation: 44-39=5
Current State: 66:[14, 4, 5], Operations: ['44-39=5']
Exploring Operation: 14*5=70, Resulting Numbers: [4, 70]
Generated Node #3: [4, 70] from Operation: 14*5=70
Current State: 66:[4, 70], Operations: ['44-39=5', '14*5=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[44, 14, 4, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [14, 4, 5]
Generated Node #0,0: 66:[14, 4, 5] Operation: 44-39=5
Moving to Node #0,0
Current State: 66:[14, 4, 5], Operations: ['44-39=5']
Exploring Operation: 14-4=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 66:[5, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[5, 10], Operations: ['44-39=5', '14-4=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,66 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 |
[
23,
56,
2,
97
] | 36 | [
"23+56=79",
"97-79=18",
"2*18=36"
] | Current State: 36:[23, 56, 2, 97], Operations: []
Exploring Operation: 23+56=79, Resulting Numbers: [2, 97, 79]
Generated Node #2: [2, 97, 79] from Operation: 23+56=79
Current State: 36:[2, 97, 79], Operations: ['23+56=79']
Exploring Operation: 97-79=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 97-79=18
Current State: 36:[2, 18], Operations: ['23+56=79', '97-79=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[23, 56, 2, 97], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [23, 2, 41]
Generated Node #0,0: 36:[23, 2, 41] Operation: 97-56=41
Exploring Operation: 56/2=28, Resulting Numbers: [23, 97, 28]
Generated Node #0,1: 36:[23, 97, 28] Operation: 56/2=28
Exploring Operation: 23-2=21, Resulting Numbers: [56, 97, 21]
Generated Node #0,2: 36:[56, 97, 21] Operation: 23-2=21
Exploring Operation: 97-23=74, Resulting Numbers: [56, 2, 74]
Generated Node #0,3: 36:[56, 2, 74] Operation: 97-23=74
Exploring Operation: 56-23=33, Resulting Numbers: [2, 97, 33]
Generated Node #0,4: 36:[2, 97, 33] Operation: 56-23=33
Moving to Node #0,0
Current State: 36:[23, 2, 41], Operations: ['97-56=41']
Exploring Operation: 23+2=25, Resulting Numbers: [41, 25]
Generated Node #0,0,0: 36:[41, 25] Operation: 23+2=25
Exploring Operation: 41-23=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 36:[2, 18] Operation: 41-23=18
Exploring Operation: 41-2=39, Resulting Numbers: [23, 39]
Generated Node #0,0,2: 36:[23, 39] Operation: 41-2=39
Exploring Operation: 2+41=43, Resulting Numbers: [23, 43]
Generated Node #0,0,3: 36:[23, 43] Operation: 2+41=43
Exploring Operation: 23-2=21, Resulting Numbers: [41, 21]
Generated Node #0,0,4: 36:[41, 21] Operation: 23-2=21
Moving to Node #0,3
Current State: 36:[56, 2, 74], Operations: ['97-23=74']
Exploring Operation: 56/2=28, Resulting Numbers: [74, 28]
Generated Node #0,3,0: 36:[74, 28] Operation: 56/2=28
Exploring Operation: 74-2=72, Resulting Numbers: [56, 72]
Generated Node #0,3,1: 36:[56, 72] Operation: 74-2=72
Exploring Operation: 56-2=54, Resulting Numbers: [74, 54]
Generated Node #0,3,2: 36:[74, 54] Operation: 56-2=54
Exploring Operation: 74/2=37, Resulting Numbers: [56, 37]
Generated Node #0,3,3: 36:[56, 37] Operation: 74/2=37
Exploring Operation: 74-56=18, Resulting Numbers: [2, 18]
Generated Node #0,3,4: 36:[2, 18] Operation: 74-56=18
Moving to Node #0,4
Current State: 36:[2, 97, 33], Operations: ['56-23=33']
Exploring Operation: 2+97=99, Resulting Numbers: [33, 99]
Generated Node #0,4,0: 36:[33, 99] Operation: 2+97=99
Exploring Operation: 97-33=64, Resulting Numbers: [2, 64]
Generated Node #0,4,1: 36:[2, 64] Operation: 97-33=64
Exploring Operation: 2+33=35, Resulting Numbers: [97, 35]
Generated Node #0,4,2: 36:[97, 35] Operation: 2+33=35
Exploring Operation: 33-2=31, Resulting Numbers: [97, 31]
Generated Node #0,4,3: 36:[97, 31] Operation: 33-2=31
Exploring Operation: 97-2=95, Resulting Numbers: [33, 95]
Generated Node #0,4,4: 36:[33, 95] Operation: 97-2=95
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[2, 64], Operations: ['56-23=33', '97-33=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[97, 35], Operations: ['56-23=33', '2+33=35']
Exploring Operation: 97*35=3395, Resulting Numbers: [3395]
3395,36 unequal: No Solution
Exploring Operation: 97+35=132, Resulting Numbers: [132]
132,36 unequal: No Solution
Exploring Operation: 97-35=62, Resulting Numbers: [62]
62,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[33, 95], Operations: ['56-23=33', '97-2=95']
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 33*95=3135, Resulting Numbers: [3135]
3135,36 unequal: No Solution
Exploring Operation: 33+95=128, Resulting Numbers: [128]
128,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[33, 99], Operations: ['56-23=33', '2+97=99']
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 33*99=3267, Resulting Numbers: [3267]
3267,36 unequal: No Solution
Exploring Operation: 33+99=132, Resulting Numbers: [132]
132,36 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[97, 31], Operations: ['56-23=33', '33-2=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,36 unequal: No Solution
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[23, 97, 28], Operations: ['56/2=28']
Exploring Operation: 28-23=5, Resulting Numbers: [97, 5]
Generated Node #0,1,0: 36:[97, 5] Operation: 28-23=5
Exploring Operation: 97-23=74, Resulting Numbers: [28, 74]
Generated Node #0,1,1: 36:[28, 74] Operation: 97-23=74
Exploring Operation: 23+28=51, Resulting Numbers: [97, 51]
Generated Node #0,1,2: 36:[97, 51] Operation: 23+28=51
Exploring Operation: 23+97=120, Resulting Numbers: [28, 120]
Generated Node #0,1,3: 36:[28, 120] Operation: 23+97=120
Exploring Operation: 97-28=69, Resulting Numbers: [23, 69]
Generated Node #0,1,4: 36:[23, 69] Operation: 97-28=69
Moving to Node #0,2
Current State: 36:[56, 97, 21], Operations: ['23-2=21']
Exploring Operation: 97+21=118, Resulting Numbers: [56, 118]
Generated Node #0,2,0: 36:[56, 118] Operation: 97+21=118
Exploring Operation: 56-21=35, Resulting Numbers: [97, 35]
Generated Node #0,2,1: 36:[97, 35] Operation: 56-21=35
Exploring Operation: 97-56=41, Resulting Numbers: [21, 41]
Generated Node #0,2,2: 36:[21, 41] Operation: 97-56=41
Exploring Operation: 97-21=76, Resulting Numbers: [56, 76]
Generated Node #0,2,3: 36:[56, 76] Operation: 97-21=76
Exploring Operation: 56+21=77, Resulting Numbers: [97, 77]
Generated Node #0,2,4: 36:[97, 77] Operation: 56+21=77
Moving to Node #0,0,1
Current State: 36:[2, 18], Operations: ['97-56=41', '41-23=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[23, 56, 2, 97], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [23, 2, 41]
Generated Node #0,0: 36:[23, 2, 41] Operation: 97-56=41
Moving to Node #0,0
Current State: 36:[23, 2, 41], Operations: ['97-56=41']
Exploring Operation: 41-23=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 36:[2, 18] Operation: 41-23=18
Moving to Node #0,0,1
Current State: 36:[2, 18], Operations: ['97-56=41', '41-23=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
9,
63,
18,
5
] | 73 | [
"18/9=2",
"5*2=10",
"63+10=73"
] | Current State: 73:[9, 63, 18, 5], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [63, 5, 2]
Generated Node #2: [63, 5, 2] from Operation: 18/9=2
Current State: 73:[63, 5, 2], Operations: ['18/9=2']
Exploring Operation: 5*2=10, Resulting Numbers: [63, 10]
Generated Node #3: [63, 10] from Operation: 5*2=10
Current State: 73:[63, 10], Operations: ['18/9=2', '5*2=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[9, 63, 18, 5], Operations: []
Exploring Operation: 9+63=72, Resulting Numbers: [18, 5, 72]
Generated Node #0,0: 73:[18, 5, 72] Operation: 9+63=72
Exploring Operation: 9*5=45, Resulting Numbers: [63, 18, 45]
Generated Node #0,1: 73:[63, 18, 45] Operation: 9*5=45
Exploring Operation: 18*5=90, Resulting Numbers: [9, 63, 90]
Generated Node #0,2: 73:[9, 63, 90] Operation: 18*5=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[9, 63, 90], Operations: ['18*5=90']
Exploring Operation: 9+63=72, Resulting Numbers: [90, 72]
Generated Node #0,2,0: 73:[90, 72] Operation: 9+63=72
Exploring Operation: 63-9=54, Resulting Numbers: [90, 54]
Generated Node #0,2,1: 73:[90, 54] Operation: 63-9=54
Exploring Operation: 90-9=81, Resulting Numbers: [63, 81]
Generated Node #0,2,2: 73:[63, 81] Operation: 90-9=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[90, 72], Operations: ['18*5=90', '9+63=72']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,73 unequal: No Solution
No 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: 73:[63, 81], Operations: ['18*5=90', '90-9=81']
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 63*81=5103, Resulting Numbers: [5103]
5103,73 unequal: No Solution
Exploring Operation: 63+81=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No 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: 73:[90, 54], Operations: ['18*5=90', '63-9=54']
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,73 unequal: No Solution
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,73 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: 73:[63, 18, 45], Operations: ['9*5=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63, 63]
Generated Node #0,1,0: 73:[63, 63] Operation: 18+45=63
Exploring Operation: 63+18=81, Resulting Numbers: [45, 81]
Generated Node #0,1,1: 73:[45, 81] Operation: 63+18=81
Exploring Operation: 63-18=45, Resulting Numbers: [45, 45]
Generated Node #0,1,2: 73:[45, 45] Operation: 63-18=45
Moving to Node #0,1,0
Current State: 73:[63, 63], Operations: ['9*5=45', '18+45=63']
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 63+63=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[45, 81], Operations: ['9*5=45', '63+18=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 45*81=3645, Resulting Numbers: [3645]
3645,73 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[45, 45], Operations: ['9*5=45', '63-18=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[18, 5, 72], Operations: ['9+63=72']
Exploring Operation: 18*5=90, Resulting Numbers: [72, 90]
Generated Node #0,0,0: 73:[72, 90] Operation: 18*5=90
Exploring Operation: 5+72=77, Resulting Numbers: [18, 77]
Generated Node #0,0,1: 73:[18, 77] Operation: 5+72=77
Exploring Operation: 18+5=23, Resulting Numbers: [72, 23]
Generated Node #0,0,2: 73:[72, 23] Operation: 18+5=23
Moving to Node #0,0,0
Current State: 73:[72, 90], Operations: ['9+63=72', '18*5=90']
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,73 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[72, 23], Operations: ['9+63=72', '18+5=23']
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,73 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[18, 77], Operations: ['9+63=72', '5+72=77']
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,73 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,73 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 |
[
71,
28,
57,
44
] | 58 | [
"71-28=43",
"57+44=101",
"101-43=58"
] | Current State: 58:[71, 28, 57, 44], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [57, 44, 43]
Generated Node #2: [57, 44, 43] from Operation: 71-28=43
Current State: 58:[57, 44, 43], Operations: ['71-28=43']
Exploring Operation: 57+44=101, Resulting Numbers: [43, 101]
Generated Node #3: [43, 101] from Operation: 57+44=101
Current State: 58:[43, 101], Operations: ['71-28=43', '57+44=101']
Exploring Operation: 101-43=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[71, 28, 57, 44], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [28, 44, 14]
Generated Node #0,0: 58:[28, 44, 14] Operation: 71-57=14
Exploring Operation: 57-28=29, Resulting Numbers: [71, 44, 29]
Generated Node #0,1: 58:[71, 44, 29] Operation: 57-28=29
Exploring Operation: 71-44=27, Resulting Numbers: [28, 57, 27]
Generated Node #0,2: 58:[28, 57, 27] Operation: 71-44=27
Exploring Operation: 44-28=16, Resulting Numbers: [71, 57, 16]
Generated Node #0,3: 58:[71, 57, 16] Operation: 44-28=16
Exploring Operation: 57-44=13, Resulting Numbers: [71, 28, 13]
Generated Node #0,4: 58:[71, 28, 13] Operation: 57-44=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[28, 57, 27], Operations: ['71-44=27']
Exploring Operation: 57+27=84, Resulting Numbers: [28, 84]
Generated Node #0,2,0: 58:[28, 84] Operation: 57+27=84
Exploring Operation: 57-28=29, Resulting Numbers: [27, 29]
Generated Node #0,2,1: 58:[27, 29] Operation: 57-28=29
Exploring Operation: 28-27=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 58:[57, 1] Operation: 28-27=1
Exploring Operation: 28+27=55, Resulting Numbers: [57, 55]
Generated Node #0,2,3: 58:[57, 55] Operation: 28+27=55
Exploring Operation: 57-27=30, Resulting Numbers: [28, 30]
Generated Node #0,2,4: 58:[28, 30] Operation: 57-27=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[27, 29], Operations: ['71-44=27', '57-28=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,58 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No 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: 58:[57, 1], Operations: ['71-44=27', '28-27=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[71, 28, 57, 44], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [28, 57, 27]
Generated Node #0,2: 58:[28, 57, 27] Operation: 71-44=27
Moving to Node #0,2
Current State: 58:[28, 57, 27], Operations: ['71-44=27']
Exploring Operation: 28-27=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 58:[57, 1] Operation: 28-27=1
Moving to Node #0,2,2
Current State: 58:[57, 1], Operations: ['71-44=27', '28-27=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
24,
80,
23,
39
] | 40 | [
"80-24=56",
"39-23=16",
"56-16=40"
] | Current State: 40:[24, 80, 23, 39], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [23, 39, 56]
Generated Node #2: [23, 39, 56] from Operation: 80-24=56
Current State: 40:[23, 39, 56], Operations: ['80-24=56']
Exploring Operation: 39-23=16, Resulting Numbers: [56, 16]
Generated Node #3: [56, 16] from Operation: 39-23=16
Current State: 40:[56, 16], Operations: ['80-24=56', '39-23=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[24, 80, 23, 39], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [80, 39, 1]
Generated Node #0,0: 40:[80, 39, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [80, 39, 47]
Generated Node #0,1: 40:[80, 39, 47] Operation: 24+23=47
Exploring Operation: 80-24=56, Resulting Numbers: [23, 39, 56]
Generated Node #0,2: 40:[23, 39, 56] Operation: 80-24=56
Exploring Operation: 80-39=41, Resulting Numbers: [24, 23, 41]
Generated Node #0,3: 40:[24, 23, 41] Operation: 80-39=41
Exploring Operation: 80-23=57, Resulting Numbers: [24, 39, 57]
Generated Node #0,4: 40:[24, 39, 57] Operation: 80-23=57
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[24, 23, 41], Operations: ['80-39=41']
Exploring Operation: 24-23=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 40:[41, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [41, 47]
Generated Node #0,3,1: 40:[41, 47] Operation: 24+23=47
Exploring Operation: 24+41=65, Resulting Numbers: [23, 65]
Generated Node #0,3,2: 40:[23, 65] Operation: 24+41=65
Exploring Operation: 41-23=18, Resulting Numbers: [24, 18]
Generated Node #0,3,3: 40:[24, 18] Operation: 41-23=18
Exploring Operation: 41-24=17, Resulting Numbers: [23, 17]
Generated Node #0,3,4: 40:[23, 17] Operation: 41-24=17
Moving to Node #0,3,0
Current State: 40:[41, 1], Operations: ['80-39=41', '24-23=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[24, 80, 23, 39], Operations: []
Exploring Operation: 80-39=41, Resulting Numbers: [24, 23, 41]
Generated Node #0,3: 40:[24, 23, 41] Operation: 80-39=41
Moving to Node #0,3
Current State: 40:[24, 23, 41], Operations: ['80-39=41']
Exploring Operation: 24-23=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 40:[41, 1] Operation: 24-23=1
Moving to Node #0,3,0
Current State: 40:[41, 1], Operations: ['80-39=41', '24-23=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
62,
79,
6,
47
] | 58 | [
"79-62=17",
"47-6=41",
"17+41=58"
] | Current State: 58:[62, 79, 6, 47], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [6, 47, 17]
Generated Node #2: [6, 47, 17] from Operation: 79-62=17
Current State: 58:[6, 47, 17], Operations: ['79-62=17']
Exploring Operation: 47-6=41, Resulting Numbers: [17, 41]
Generated Node #3: [17, 41] from Operation: 47-6=41
Current State: 58:[17, 41], Operations: ['79-62=17', '47-6=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[62, 79, 6, 47], Operations: []
Exploring Operation: 79-47=32, Resulting Numbers: [62, 6, 32]
Generated Node #0,0: 58:[62, 6, 32] Operation: 79-47=32
Exploring Operation: 79-62=17, Resulting Numbers: [6, 47, 17]
Generated Node #0,1: 58:[6, 47, 17] Operation: 79-62=17
Exploring Operation: 79-6=73, Resulting Numbers: [62, 47, 73]
Generated Node #0,2: 58:[62, 47, 73] Operation: 79-6=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[62, 6, 32], Operations: ['79-47=32']
Exploring Operation: 62-6=56, Resulting Numbers: [32, 56]
Generated Node #0,0,0: 58:[32, 56] Operation: 62-6=56
Exploring Operation: 62-32=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 58:[6, 30] Operation: 62-32=30
Exploring Operation: 32-6=26, Resulting Numbers: [62, 26]
Generated Node #0,0,2: 58:[62, 26] Operation: 32-6=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[32, 56], Operations: ['79-47=32', '62-6=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,58 unequal: No Solution
No 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: 58:[6, 30], Operations: ['79-47=32', '62-32=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No 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: 58:[62, 26], Operations: ['79-47=32', '32-6=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,58 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,58 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: 58:[6, 47, 17], Operations: ['79-62=17']
Exploring Operation: 6+47=53, Resulting Numbers: [17, 53]
Generated Node #0,1,0: 58:[17, 53] Operation: 6+47=53
Exploring Operation: 47-17=30, Resulting Numbers: [6, 30]
Generated Node #0,1,1: 58:[6, 30] Operation: 47-17=30
Exploring Operation: 47+17=64, Resulting Numbers: [6, 64]
Generated Node #0,1,2: 58:[6, 64] Operation: 47+17=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[6, 30], Operations: ['79-62=17', '47-17=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,58 unequal: No Solution
No 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: 58:[6, 64], Operations: ['79-62=17', '47+17=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[62, 79, 6, 47], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [6, 47, 17]
Generated Node #0,1: 58:[6, 47, 17] Operation: 79-62=17
Moving to Node #0,1
Current State: 58:[6, 47, 17], Operations: ['79-62=17']
Exploring Operation: 47+17=64, Resulting Numbers: [6, 64]
Generated Node #0,1,2: 58:[6, 64] Operation: 47+17=64
Moving to Node #0,1,2
Current State: 58:[6, 64], Operations: ['79-62=17', '47+17=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
55,
29,
30,
2
] | 69 | [
"55+29=84",
"30/2=15",
"84-15=69"
] | Current State: 69:[55, 29, 30, 2], Operations: []
Exploring Operation: 55+29=84, Resulting Numbers: [30, 2, 84]
Generated Node #2: [30, 2, 84] from Operation: 55+29=84
Current State: 69:[30, 2, 84], Operations: ['55+29=84']
Exploring Operation: 30/2=15, Resulting Numbers: [84, 15]
Generated Node #3: [84, 15] from Operation: 30/2=15
Current State: 69:[84, 15], Operations: ['55+29=84', '30/2=15']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[55, 29, 30, 2], Operations: []
Exploring Operation: 30-29=1, Resulting Numbers: [55, 2, 1]
Generated Node #0,0: 69:[55, 2, 1] Operation: 30-29=1
Exploring Operation: 55-29=26, Resulting Numbers: [30, 2, 26]
Generated Node #0,1: 69:[30, 2, 26] Operation: 55-29=26
Exploring Operation: 55-30=25, Resulting Numbers: [29, 2, 25]
Generated Node #0,2: 69:[29, 2, 25] Operation: 55-30=25
Moving to Node #0,2
Current State: 69:[29, 2, 25], Operations: ['55-30=25']
Exploring Operation: 29-25=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 69:[2, 4] Operation: 29-25=4
Exploring Operation: 29-2=27, Resulting Numbers: [25, 27]
Generated Node #0,2,1: 69:[25, 27] Operation: 29-2=27
Exploring Operation: 25-2=23, Resulting Numbers: [29, 23]
Generated Node #0,2,2: 69:[29, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[2, 4], Operations: ['55-30=25', '29-25=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[25, 27], Operations: ['55-30=25', '29-2=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,69 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[29, 23], Operations: ['55-30=25', '25-2=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,69 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: 69:[30, 2, 26], Operations: ['55-29=26']
Exploring Operation: 30-26=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 69:[2, 4] Operation: 30-26=4
Exploring Operation: 30-2=28, Resulting Numbers: [26, 28]
Generated Node #0,1,1: 69:[26, 28] Operation: 30-2=28
Exploring Operation: 26-2=24, Resulting Numbers: [30, 24]
Generated Node #0,1,2: 69:[30, 24] Operation: 26-2=24
Moving to Node #0,0
Current State: 69:[55, 2, 1], Operations: ['30-29=1']
Exploring Operation: 55+1=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 69:[2, 56] Operation: 55+1=56
Exploring Operation: 2+1=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 69:[55, 3] Operation: 2+1=3
Exploring Operation: 55+2=57, Resulting Numbers: [1, 57]
Generated Node #0,0,2: 69:[1, 57] Operation: 55+2=57
Moving to Node #0,1,0
Current State: 69:[2, 4], Operations: ['55-29=26', '30-26=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[30, 24], Operations: ['55-29=26', '26-2=24']
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,69 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[26, 28], Operations: ['55-29=26', '30-2=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,69 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[1, 57], Operations: ['30-29=1', '55+2=57']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[2, 56], Operations: ['30-29=1', '55+1=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[55, 3], Operations: ['30-29=1', '2+1=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,69 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,69 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
67,
55,
40
] | 59 | [
"67-57=10",
"40/10=4",
"55+4=59"
] | Current State: 59:[57, 67, 55, 40], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [55, 40, 10]
Generated Node #2: [55, 40, 10] from Operation: 67-57=10
Current State: 59:[55, 40, 10], Operations: ['67-57=10']
Exploring Operation: 40/10=4, Resulting Numbers: [55, 4]
Generated Node #3: [55, 4] from Operation: 40/10=4
Current State: 59:[55, 4], Operations: ['67-57=10', '40/10=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[57, 67, 55, 40], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [57, 55, 27]
Generated Node #0,0: 59:[57, 55, 27] Operation: 67-40=27
Exploring Operation: 55+40=95, Resulting Numbers: [57, 67, 95]
Generated Node #0,1: 59:[57, 67, 95] Operation: 55+40=95
Moving to Node #0,0
Current State: 59:[57, 55, 27], Operations: ['67-40=27']
Exploring Operation: 57+27=84, Resulting Numbers: [55, 84]
Generated Node #0,0,0: 59:[55, 84] Operation: 57+27=84
Exploring Operation: 55+27=82, Resulting Numbers: [57, 82]
Generated Node #0,0,1: 59:[57, 82] Operation: 55+27=82
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[57, 82], Operations: ['67-40=27', '55+27=82']
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 57+82=139, Resulting Numbers: [139]
139,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[55, 84], Operations: ['67-40=27', '57+27=84']
Exploring Operation: 55+84=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,59 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: 59:[57, 67, 95], Operations: ['55+40=95']
Exploring Operation: 95-57=38, Resulting Numbers: [67, 38]
Generated Node #0,1,0: 59:[67, 38] Operation: 95-57=38
Exploring Operation: 95-67=28, Resulting Numbers: [57, 28]
Generated Node #0,1,1: 59:[57, 28] Operation: 95-67=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[67, 38], Operations: ['55+40=95', '95-57=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[57, 28], Operations: ['55+40=95', '95-67=28']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,59 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,
28,
36,
37
] | 28 | [
"28/7=4",
"36/4=9",
"37-9=28"
] | Current State: 28:[7, 28, 36, 37], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [36, 37, 4]
Generated Node #2: [36, 37, 4] from Operation: 28/7=4
Current State: 28:[36, 37, 4], Operations: ['28/7=4']
Exploring Operation: 36/4=9, Resulting Numbers: [37, 9]
Generated Node #3: [37, 9] from Operation: 36/4=9
Current State: 28:[37, 9], Operations: ['28/7=4', '36/4=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[7, 28, 36, 37], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [7, 28, 1]
Generated Node #0,0: 28:[7, 28, 1] Operation: 37-36=1
Moving to Node #0,0
Current State: 28:[7, 28, 1], Operations: ['37-36=1']
Exploring Operation: 7*1=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 28:[28, 7] Operation: 7*1=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[28, 7], Operations: ['37-36=1', '7*1=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,28 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 |
[
52,
67,
77,
90
] | 28 | [
"67-52=15",
"90-77=13",
"15+13=28"
] | Current State: 28:[52, 67, 77, 90], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [77, 90, 15]
Generated Node #2: [77, 90, 15] from Operation: 67-52=15
Current State: 28:[77, 90, 15], Operations: ['67-52=15']
Exploring Operation: 90-77=13, Resulting Numbers: [15, 13]
Generated Node #3: [15, 13] from Operation: 90-77=13
Current State: 28:[15, 13], Operations: ['67-52=15', '90-77=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[52, 67, 77, 90], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [67, 77, 38]
Generated Node #0,0: 28:[67, 77, 38] Operation: 90-52=38
Exploring Operation: 77-67=10, Resulting Numbers: [52, 90, 10]
Generated Node #0,1: 28:[52, 90, 10] Operation: 77-67=10
Exploring Operation: 90-77=13, Resulting Numbers: [52, 67, 13]
Generated Node #0,2: 28:[52, 67, 13] Operation: 90-77=13
Exploring Operation: 90-67=23, Resulting Numbers: [52, 77, 23]
Generated Node #0,3: 28:[52, 77, 23] Operation: 90-67=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[52, 67, 13], Operations: ['90-77=13']
Exploring Operation: 52/13=4, Resulting Numbers: [67, 4]
Generated Node #0,2,0: 28:[67, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [67, 39]
Generated Node #0,2,1: 28:[67, 39] Operation: 52-13=39
Exploring Operation: 67-13=54, Resulting Numbers: [52, 54]
Generated Node #0,2,2: 28:[52, 54] Operation: 67-13=54
Exploring Operation: 67-52=15, Resulting Numbers: [13, 15]
Generated Node #0,2,3: 28:[13, 15] Operation: 67-52=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 28:[13, 15], Operations: ['90-77=13', '67-52=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[52, 67, 77, 90], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [52, 67, 13]
Generated Node #0,2: 28:[52, 67, 13] Operation: 90-77=13
Moving to Node #0,2
Current State: 28:[52, 67, 13], Operations: ['90-77=13']
Exploring Operation: 67-52=15, Resulting Numbers: [13, 15]
Generated Node #0,2,3: 28:[13, 15] Operation: 67-52=15
Moving to Node #0,2,3
Current State: 28:[13, 15], Operations: ['90-77=13', '67-52=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
67,
79,
61,
28
] | 89 | [
"67-61=6",
"28*6=168",
"168-79=89"
] | Current State: 89:[67, 79, 61, 28], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [79, 28, 6]
Generated Node #2: [79, 28, 6] from Operation: 67-61=6
Current State: 89:[79, 28, 6], Operations: ['67-61=6']
Exploring Operation: 28*6=168, Resulting Numbers: [79, 168]
Generated Node #3: [79, 168] from Operation: 28*6=168
Current State: 89:[79, 168], Operations: ['67-61=6', '28*6=168']
Exploring Operation: 168-79=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[67, 79, 61, 28], Operations: []
Exploring Operation: 67+28=95, Resulting Numbers: [79, 61, 95]
Generated Node #0,0: 89:[79, 61, 95] Operation: 67+28=95
Exploring Operation: 79+28=107, Resulting Numbers: [67, 61, 107]
Generated Node #0,1: 89:[67, 61, 107] Operation: 79+28=107
Exploring Operation: 61+28=89, Resulting Numbers: [67, 79, 89]
Generated Node #0,2: 89:[67, 79, 89] Operation: 61+28=89
Moving to Node #0,2
Current State: 89:[67, 79, 89], Operations: ['61+28=89']
Exploring Operation: 79-67=12, Resulting Numbers: [89, 12]
Generated Node #0,2,0: 89:[89, 12] Operation: 79-67=12
Exploring Operation: 67+79=146, Resulting Numbers: [89, 146]
Generated Node #0,2,1: 89:[89, 146] Operation: 67+79=146
Exploring Operation: 67+89=156, Resulting Numbers: [79, 156]
Generated Node #0,2,2: 89:[79, 156] Operation: 67+89=156
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[89, 146], Operations: ['61+28=89', '67+79=146']
Exploring Operation: 89+146=235, Resulting Numbers: [235]
235,89 unequal: No Solution
Exploring Operation: 89*146=12994, Resulting Numbers: [12994]
12994,89 unequal: No Solution
Exploring Operation: 146-89=57, Resulting Numbers: [57]
57,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[89, 12], Operations: ['61+28=89', '79-67=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,89 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[79, 156], Operations: ['61+28=89', '67+89=156']
Exploring Operation: 79*156=12324, Resulting Numbers: [12324]
12324,89 unequal: No Solution
Exploring Operation: 156-79=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 79+156=235, Resulting Numbers: [235]
235,89 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: 89:[79, 61, 95], Operations: ['67+28=95']
Exploring Operation: 95-61=34, Resulting Numbers: [79, 34]
Generated Node #0,0,0: 89:[79, 34] Operation: 95-61=34
Exploring Operation: 79-61=18, Resulting Numbers: [95, 18]
Generated Node #0,0,1: 89:[95, 18] Operation: 79-61=18
Exploring Operation: 79+61=140, Resulting Numbers: [95, 140]
Generated Node #0,0,2: 89:[95, 140] Operation: 79+61=140
Moving to Node #0,1
Current State: 89:[67, 61, 107], Operations: ['79+28=107']
Exploring Operation: 107-61=46, Resulting Numbers: [67, 46]
Generated Node #0,1,0: 89:[67, 46] Operation: 107-61=46
Exploring Operation: 67+61=128, Resulting Numbers: [107, 128]
Generated Node #0,1,1: 89:[107, 128] Operation: 67+61=128
Exploring Operation: 107-67=40, Resulting Numbers: [61, 40]
Generated Node #0,1,2: 89:[61, 40] Operation: 107-67=40
Moving to Node #0,0,2
Current State: 89:[95, 140], Operations: ['67+28=95', '79+61=140']
Exploring Operation: 95+140=235, Resulting Numbers: [235]
235,89 unequal: No Solution
Exploring Operation: 140-95=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 95*140=13300, Resulting Numbers: [13300]
13300,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[107, 128], Operations: ['79+28=107', '67+61=128']
Exploring Operation: 107*128=13696, Resulting Numbers: [13696]
13696,89 unequal: No Solution
Exploring Operation: 107+128=235, Resulting Numbers: [235]
235,89 unequal: No Solution
Exploring Operation: 128-107=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[67, 46], Operations: ['79+28=107', '107-61=46']
Exploring Operation: 67*46=3082, Resulting Numbers: [3082]
3082,89 unequal: No Solution
Exploring Operation: 67+46=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[79, 34], Operations: ['67+28=95', '95-61=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 79*34=2686, Resulting Numbers: [2686]
2686,89 unequal: No Solution
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[61, 40], Operations: ['79+28=107', '107-67=40']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,89 unequal: No Solution
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[95, 18], Operations: ['67+28=95', '79-61=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
76,
3,
85
] | 45 | [
"76-6=70",
"85-70=15",
"3*15=45"
] | Current State: 45:[6, 76, 3, 85], Operations: []
Exploring Operation: 76-6=70, Resulting Numbers: [3, 85, 70]
Generated Node #2: [3, 85, 70] from Operation: 76-6=70
Current State: 45:[3, 85, 70], Operations: ['76-6=70']
Exploring Operation: 85-70=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 85-70=15
Current State: 45:[3, 15], Operations: ['76-6=70', '85-70=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[6, 76, 3, 85], Operations: []
Exploring Operation: 76-6=70, Resulting Numbers: [3, 85, 70]
Generated Node #0,0: 45:[3, 85, 70] Operation: 76-6=70
Exploring Operation: 76-3=73, Resulting Numbers: [6, 85, 73]
Generated Node #0,1: 45:[6, 85, 73] Operation: 76-3=73
Exploring Operation: 85-76=9, Resulting Numbers: [6, 3, 9]
Generated Node #0,2: 45:[6, 3, 9] Operation: 85-76=9
Exploring Operation: 85-6=79, Resulting Numbers: [76, 3, 79]
Generated Node #0,3: 45:[76, 3, 79] Operation: 85-6=79
Moving to Node #0,2
Current State: 45:[6, 3, 9], Operations: ['85-76=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3, 3]
Generated Node #0,2,0: 45:[3, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 45:[3, 15] Operation: 6+9=15
Exploring Operation: 6+3=9, Resulting Numbers: [9, 9]
Generated Node #0,2,2: 45:[9, 9] Operation: 6+3=9
Exploring Operation: 6-3=3, Resulting Numbers: [9, 3]
Generated Node #0,2,3: 45:[9, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[3, 3], Operations: ['85-76=9', '9-6=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[3, 15], Operations: ['85-76=9', '6+9=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[6, 76, 3, 85], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [6, 3, 9]
Generated Node #0,2: 45:[6, 3, 9] Operation: 85-76=9
Moving to Node #0,2
Current State: 45:[6, 3, 9], Operations: ['85-76=9']
Exploring Operation: 6+9=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 45:[3, 15] Operation: 6+9=15
Moving to Node #0,2,1
Current State: 45:[3, 15], Operations: ['85-76=9', '6+9=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
76,
56,
30,
15
] | 96 | [
"76*30=2280",
"2280/15=152",
"152-56=96"
] | Current State: 96:[76, 56, 30, 15], Operations: []
Exploring Operation: 76*30=2280, Resulting Numbers: [56, 15, 2280]
Generated Node #2: [56, 15, 2280] from Operation: 76*30=2280
Current State: 96:[56, 15, 2280], Operations: ['76*30=2280']
Exploring Operation: 2280/15=152, Resulting Numbers: [56, 152]
Generated Node #3: [56, 152] from Operation: 2280/15=152
Current State: 96:[56, 152], Operations: ['76*30=2280', '2280/15=152']
Exploring Operation: 152-56=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[76, 56, 30, 15], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [56, 15, 46]
Generated Node #0,0: 96:[56, 15, 46] Operation: 76-30=46
Exploring Operation: 76-56=20, Resulting Numbers: [30, 15, 20]
Generated Node #0,1: 96:[30, 15, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[30, 15, 20], Operations: ['76-56=20']
Exploring Operation: 30-20=10, Resulting Numbers: [15, 10]
Generated Node #0,1,0: 96:[15, 10] Operation: 30-20=10
Exploring Operation: 30+20=50, Resulting Numbers: [15, 50]
Generated Node #0,1,1: 96:[15, 50] Operation: 30+20=50
Moving to Node #0,1,0
Current State: 96:[15, 10], Operations: ['76-56=20', '30-20=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[15, 50], Operations: ['76-56=20', '30+20=50']
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,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
Current State: 96:[56, 15, 46], Operations: ['76-30=46']
Exploring Operation: 56+46=102, Resulting Numbers: [15, 102]
Generated Node #0,0,0: 96:[15, 102] Operation: 56+46=102
Exploring Operation: 56-46=10, Resulting Numbers: [15, 10]
Generated Node #0,0,1: 96:[15, 10] Operation: 56-46=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[15, 10], Operations: ['76-30=46', '56-46=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,96 unequal: No Solution
No 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: 96:[15, 102], Operations: ['76-30=46', '56+46=102']
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
46,
25,
89
] | 41 | [
"59+46=105",
"89-25=64",
"105-64=41"
] | Current State: 41:[59, 46, 25, 89], Operations: []
Exploring Operation: 59+46=105, Resulting Numbers: [25, 89, 105]
Generated Node #2: [25, 89, 105] from Operation: 59+46=105
Current State: 41:[25, 89, 105], Operations: ['59+46=105']
Exploring Operation: 89-25=64, Resulting Numbers: [105, 64]
Generated Node #3: [105, 64] from Operation: 89-25=64
Current State: 41:[105, 64], Operations: ['59+46=105', '89-25=64']
Exploring Operation: 105-64=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[59, 46, 25, 89], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [46, 25, 30]
Generated Node #0,0: 41:[46, 25, 30] Operation: 89-59=30
Exploring Operation: 89-46=43, Resulting Numbers: [59, 25, 43]
Generated Node #0,1: 41:[59, 25, 43] Operation: 89-46=43
Moving to Node #0,0
Current State: 41:[46, 25, 30], Operations: ['89-59=30']
Exploring Operation: 25+30=55, Resulting Numbers: [46, 55]
Generated Node #0,0,0: 41:[46, 55] Operation: 25+30=55
Exploring Operation: 46-25=21, Resulting Numbers: [30, 21]
Generated Node #0,0,1: 41:[30, 21] Operation: 46-25=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[46, 55], Operations: ['89-59=30', '25+30=55']
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No 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: 41:[30, 21], Operations: ['89-59=30', '46-25=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,41 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: 41:[59, 25, 43], Operations: ['89-46=43']
Exploring Operation: 59-25=34, Resulting Numbers: [43, 34]
Generated Node #0,1,0: 41:[43, 34] Operation: 59-25=34
Exploring Operation: 59-43=16, Resulting Numbers: [25, 16]
Generated Node #0,1,1: 41:[25, 16] Operation: 59-43=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[43, 34], Operations: ['89-46=43', '59-25=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No 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: 41:[25, 16], Operations: ['89-46=43', '59-43=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[59, 46, 25, 89], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [59, 25, 43]
Generated Node #0,1: 41:[59, 25, 43] Operation: 89-46=43
Moving to Node #0,1
Current State: 41:[59, 25, 43], Operations: ['89-46=43']
Exploring Operation: 59-43=16, Resulting Numbers: [25, 16]
Generated Node #0,1,1: 41:[25, 16] Operation: 59-43=16
Moving to Node #0,1,1
Current State: 41:[25, 16], Operations: ['89-46=43', '59-43=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
62,
12,
12,
98
] | 36 | [
"62+12=74",
"12+98=110",
"110-74=36"
] | Current State: 36:[62, 12, 12, 98], Operations: []
Exploring Operation: 62+12=74, Resulting Numbers: [98, 74]
Generated Node #2: [98, 74] from Operation: 62+12=74
Current State: 36:[98, 74], Operations: ['62+12=74']
Exploring Operation: 12+98=110, Resulting Numbers: [74, 110]
Generated Node #3: [74, 110] from Operation: 12+98=110
Current State: 36:[74, 110], Operations: ['62+12=74', '12+98=110']
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[62, 12, 12, 98], Operations: []
Exploring Operation: 62-12=50, Resulting Numbers: [12, 98, 50]
Generated Node #0,0: 36:[12, 98, 50] Operation: 62-12=50
Exploring Operation: 98-12=86, Resulting Numbers: [62, 12, 86]
Generated Node #0,1: 36:[62, 12, 86] Operation: 98-12=86
Exploring Operation: 62-12=50, Resulting Numbers: [12, 98, 50]
Generated Node #0,2: 36:[12, 98, 50] Operation: 62-12=50
Exploring Operation: 98-62=36, Resulting Numbers: [12, 12, 36]
Generated Node #0,3: 36:[12, 12, 36] Operation: 98-62=36
Moving to Node #0,3
Current State: 36:[12, 12, 36], Operations: ['98-62=36']
Exploring Operation: 12/12=1, Resulting Numbers: [36, 1]
Generated Node #0,3,0: 36:[36, 1] Operation: 12/12=1
Exploring Operation: 36/12=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 36:[12, 3] Operation: 36/12=3
Exploring Operation: 36/12=3, Resulting Numbers: [12, 3]
Generated Node #0,3,2: 36:[12, 3] Operation: 36/12=3
Exploring Operation: 12-12=0, Resulting Numbers: [36, 0]
Generated Node #0,3,3: 36:[36, 0] Operation: 12-12=0
Moving to Node #0,1
Current State: 36:[62, 12, 86], Operations: ['98-12=86']
Exploring Operation: 62+12=74, Resulting Numbers: [86, 74]
Generated Node #0,1,0: 36:[86, 74] Operation: 62+12=74
Exploring Operation: 86-62=24, Resulting Numbers: [12, 24]
Generated Node #0,1,1: 36:[12, 24] Operation: 86-62=24
Exploring Operation: 86-12=74, Resulting Numbers: [62, 74]
Generated Node #0,1,2: 36:[62, 74] Operation: 86-12=74
Exploring Operation: 62-12=50, Resulting Numbers: [86, 50]
Generated Node #0,1,3: 36:[86, 50] Operation: 62-12=50
Moving to Node #0,0
Current State: 36:[12, 98, 50], Operations: ['62-12=50']
Exploring Operation: 12+98=110, Resulting Numbers: [50, 110]
Generated Node #0,0,0: 36:[50, 110] Operation: 12+98=110
Exploring Operation: 50-12=38, Resulting Numbers: [98, 38]
Generated Node #0,0,1: 36:[98, 38] Operation: 50-12=38
Exploring Operation: 98-12=86, Resulting Numbers: [50, 86]
Generated Node #0,0,2: 36:[50, 86] Operation: 98-12=86
Exploring Operation: 98-50=48, Resulting Numbers: [12, 48]
Generated Node #0,0,3: 36:[12, 48] Operation: 98-50=48
Moving to Node #0,2
Current State: 36:[12, 98, 50], Operations: ['62-12=50']
Exploring Operation: 98-50=48, Resulting Numbers: [12, 48]
Generated Node #0,2,0: 36:[12, 48] Operation: 98-50=48
Exploring Operation: 12+98=110, Resulting Numbers: [50, 110]
Generated Node #0,2,1: 36:[50, 110] Operation: 12+98=110
Exploring Operation: 98-12=86, Resulting Numbers: [50, 86]
Generated Node #0,2,2: 36:[50, 86] Operation: 98-12=86
Exploring Operation: 50-12=38, Resulting Numbers: [98, 38]
Generated Node #0,2,3: 36:[98, 38] Operation: 50-12=38
Moving to Node #0,3,1
Current State: 36:[12, 3], Operations: ['98-62=36', '36/12=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[62, 12, 12, 98], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [12, 12, 36]
Generated Node #0,3: 36:[12, 12, 36] Operation: 98-62=36
Moving to Node #0,3
Current State: 36:[12, 12, 36], Operations: ['98-62=36']
Exploring Operation: 36/12=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 36:[12, 3] Operation: 36/12=3
Moving to Node #0,3,1
Current State: 36:[12, 3], Operations: ['98-62=36', '36/12=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.977431 | hs_4 | mult_heuristic |
[
89,
28,
89,
80
] | 53 | [
"89/89=1",
"80-28=52",
"1+52=53"
] | Current State: 53:[89, 28, 89, 80], Operations: []
Exploring Operation: 89/89=1, Resulting Numbers: [28, 80, 1]
Generated Node #2: [28, 80, 1] from Operation: 89/89=1
Current State: 53:[28, 80, 1], Operations: ['89/89=1']
Exploring Operation: 80-28=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 80-28=52
Current State: 53:[1, 52], Operations: ['89/89=1', '80-28=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[89, 28, 89, 80], Operations: []
Exploring Operation: 89-28=61, Resulting Numbers: [89, 80, 61]
Generated Node #0,0: 53:[89, 80, 61] Operation: 89-28=61
Exploring Operation: 89-28=61, Resulting Numbers: [89, 80, 61]
Generated Node #0,1: 53:[89, 80, 61] Operation: 89-28=61
Moving to Node #0,0
Current State: 53:[89, 80, 61], Operations: ['89-28=61']
Exploring Operation: 89-61=28, Resulting Numbers: [80, 28]
Generated Node #0,0,0: 53:[80, 28] Operation: 89-61=28
Exploring Operation: 89-80=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 53:[61, 9] Operation: 89-80=9
Moving to Node #0,1
Current State: 53:[89, 80, 61], Operations: ['89-28=61']
Exploring Operation: 89-61=28, Resulting Numbers: [80, 28]
Generated Node #0,1,0: 53:[80, 28] Operation: 89-61=28
Exploring Operation: 89-80=9, Resulting Numbers: [61, 9]
Generated Node #0,1,1: 53:[61, 9] Operation: 89-80=9
Moving to Node #0,0,0
Current State: 53:[80, 28], Operations: ['89-28=61', '89-61=28']
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[80, 28], Operations: ['89-28=61', '89-61=28']
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[61, 9], Operations: ['89-28=61', '89-80=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[61, 9], Operations: ['89-28=61', '89-80=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
73,
72,
35,
27
] | 68 | [
"73+35=108",
"108/27=4",
"72-4=68"
] | Current State: 68:[73, 72, 35, 27], Operations: []
Exploring Operation: 73+35=108, Resulting Numbers: [72, 27, 108]
Generated Node #2: [72, 27, 108] from Operation: 73+35=108
Current State: 68:[72, 27, 108], Operations: ['73+35=108']
Exploring Operation: 108/27=4, Resulting Numbers: [72, 4]
Generated Node #3: [72, 4] from Operation: 108/27=4
Current State: 68:[72, 4], Operations: ['73+35=108', '108/27=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[73, 72, 35, 27], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [73, 72, 8]
Generated Node #0,0: 68:[73, 72, 8] Operation: 35-27=8
Exploring Operation: 73-35=38, Resulting Numbers: [72, 27, 38]
Generated Node #0,1: 68:[72, 27, 38] Operation: 73-35=38
Exploring Operation: 73-72=1, Resulting Numbers: [35, 27, 1]
Generated Node #0,2: 68:[35, 27, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[35, 27, 1], Operations: ['73-72=1']
Exploring Operation: 35+27=62, Resulting Numbers: [1, 62]
Generated Node #0,2,0: 68:[1, 62] Operation: 35+27=62
Exploring Operation: 35-1=34, Resulting Numbers: [27, 34]
Generated Node #0,2,1: 68:[27, 34] Operation: 35-1=34
Exploring Operation: 35-27=8, Resulting Numbers: [1, 8]
Generated Node #0,2,2: 68:[1, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[1, 8], Operations: ['73-72=1', '35-27=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
No 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: 68:[1, 62], Operations: ['73-72=1', '35+27=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,68 unequal: No Solution
No 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: 68:[27, 34], Operations: ['73-72=1', '35-1=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,68 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,68 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: 68:[73, 72, 8], Operations: ['35-27=8']
Exploring Operation: 72-8=64, Resulting Numbers: [73, 64]
Generated Node #0,0,0: 68:[73, 64] Operation: 72-8=64
Exploring Operation: 73-8=65, Resulting Numbers: [72, 65]
Generated Node #0,0,1: 68:[72, 65] Operation: 73-8=65
Exploring Operation: 73-72=1, Resulting Numbers: [8, 1]
Generated Node #0,0,2: 68:[8, 1] Operation: 73-72=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[8, 1], Operations: ['35-27=8', '73-72=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No 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: 68:[72, 65], Operations: ['35-27=8', '73-8=65']
Exploring Operation: 72+65=137, Resulting Numbers: [137]
137,68 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 72*65=4680, Resulting Numbers: [4680]
4680,68 unequal: No Solution
No 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: 68:[73, 64], Operations: ['35-27=8', '72-8=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,68 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,68 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: 68:[72, 27, 38], Operations: ['73-35=38']
Exploring Operation: 27+38=65, Resulting Numbers: [72, 65]
Generated Node #0,1,0: 68:[72, 65] Operation: 27+38=65
Exploring Operation: 38-27=11, Resulting Numbers: [72, 11]
Generated Node #0,1,1: 68:[72, 11] Operation: 38-27=11
Exploring Operation: 72-38=34, Resulting Numbers: [27, 34]
Generated Node #0,1,2: 68:[27, 34] Operation: 72-38=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[72, 65], Operations: ['73-35=38', '27+38=65']
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 72+65=137, Resulting Numbers: [137]
137,68 unequal: No Solution
Exploring Operation: 72*65=4680, Resulting Numbers: [4680]
4680,68 unequal: No Solution
No 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: 68:[27, 34], Operations: ['73-35=38', '72-38=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,68 unequal: No Solution
No 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: 68:[72, 11], Operations: ['73-35=38', '38-27=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,68 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 |
[
34,
65,
67,
38
] | 33 | [
"38-34=4",
"65+67=132",
"132/4=33"
] | Current State: 33:[34, 65, 67, 38], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [65, 67, 4]
Generated Node #2: [65, 67, 4] from Operation: 38-34=4
Current State: 33:[65, 67, 4], Operations: ['38-34=4']
Exploring Operation: 65+67=132, Resulting Numbers: [4, 132]
Generated Node #3: [4, 132] from Operation: 65+67=132
Current State: 33:[4, 132], Operations: ['38-34=4', '65+67=132']
Exploring Operation: 132/4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[34, 65, 67, 38], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [65, 38, 33]
Generated Node #0,0: 33:[65, 38, 33] Operation: 67-34=33
Exploring Operation: 67-65=2, Resulting Numbers: [34, 38, 2]
Generated Node #0,1: 33:[34, 38, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[34, 38, 2], Operations: ['67-65=2']
Exploring Operation: 38-2=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 33:[34, 36] Operation: 38-2=36
Exploring Operation: 38-34=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 33:[2, 4] Operation: 38-34=4
Moving to Node #0,1,1
Current State: 33:[2, 4], Operations: ['67-65=2', '38-34=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[34, 36], Operations: ['67-65=2', '38-2=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[65, 38, 33], Operations: ['67-34=33']
Exploring Operation: 65-33=32, Resulting Numbers: [38, 32]
Generated Node #0,0,0: 33:[38, 32] Operation: 65-33=32
Exploring Operation: 65-38=27, Resulting Numbers: [33, 27]
Generated Node #0,0,1: 33:[33, 27] Operation: 65-38=27
Moving to Node #0,0,0
Current State: 33:[38, 32], Operations: ['67-34=33', '65-33=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[33, 27], Operations: ['67-34=33', '65-38=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,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 |
[
81,
57,
53,
84
] | 19 | [
"81-53=28",
"57*28=1596",
"1596/84=19"
] | Current State: 19:[81, 57, 53, 84], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [57, 84, 28]
Generated Node #2: [57, 84, 28] from Operation: 81-53=28
Current State: 19:[57, 84, 28], Operations: ['81-53=28']
Exploring Operation: 57*28=1596, Resulting Numbers: [84, 1596]
Generated Node #3: [84, 1596] from Operation: 57*28=1596
Current State: 19:[84, 1596], Operations: ['81-53=28', '57*28=1596']
Exploring Operation: 1596/84=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[81, 57, 53, 84], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [57, 53, 3]
Generated Node #0,0: 19:[57, 53, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 19:[57, 53, 3], Operations: ['84-81=3']
Exploring Operation: 57-53=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 19:[3, 4] Operation: 57-53=4
Moving to Node #0,0,0
Current State: 19:[3, 4], Operations: ['84-81=3', '57-53=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
29,
35,
6
] | 36 | [
"36+29=65",
"35-6=29",
"65-29=36"
] | Current State: 36:[36, 29, 35, 6], Operations: []
Exploring Operation: 36+29=65, Resulting Numbers: [35, 6, 65]
Generated Node #2: [35, 6, 65] from Operation: 36+29=65
Current State: 36:[35, 6, 65], Operations: ['36+29=65']
Exploring Operation: 35-6=29, Resulting Numbers: [65, 29]
Generated Node #3: [65, 29] from Operation: 35-6=29
Current State: 36:[65, 29], Operations: ['36+29=65', '35-6=29']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[36, 29, 35, 6], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [35, 6, 7]
Generated Node #0,0: 36:[35, 6, 7] Operation: 36-29=7
Exploring Operation: 35-29=6, Resulting Numbers: [36, 6, 6]
Generated Node #0,1: 36:[36, 6, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[36, 6, 6], Operations: ['35-29=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 36:[6, 6] Operation: 36/6=6
Exploring Operation: 36/6=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 36:[6, 6] Operation: 36/6=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[6, 6], Operations: ['35-29=6', '36/6=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[36, 29, 35, 6], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [36, 6, 6]
Generated Node #0,1: 36:[36, 6, 6] Operation: 35-29=6
Moving to Node #0,1
Current State: 36:[36, 6, 6], Operations: ['35-29=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 36:[6, 6] Operation: 36/6=6
Moving to Node #0,1,0
Current State: 36:[6, 6], Operations: ['35-29=6', '36/6=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
75,
17,
6,
19
] | 25 | [
"19-17=2",
"75*2=150",
"150/6=25"
] | Current State: 25:[75, 17, 6, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [75, 6, 2]
Generated Node #2: [75, 6, 2] from Operation: 19-17=2
Current State: 25:[75, 6, 2], Operations: ['19-17=2']
Exploring Operation: 75*2=150, Resulting Numbers: [6, 150]
Generated Node #3: [6, 150] from Operation: 75*2=150
Current State: 25:[6, 150], Operations: ['19-17=2', '75*2=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 17, 6, 19], Operations: []
Exploring Operation: 75-17=58, Resulting Numbers: [6, 19, 58]
Generated Node #0,0: 25:[6, 19, 58] Operation: 75-17=58
Exploring Operation: 19-17=2, Resulting Numbers: [75, 6, 2]
Generated Node #0,1: 25:[75, 6, 2] Operation: 19-17=2
Exploring Operation: 75-6=69, Resulting Numbers: [17, 19, 69]
Generated Node #0,2: 25:[17, 19, 69] Operation: 75-6=69
Exploring Operation: 75-19=56, Resulting Numbers: [17, 6, 56]
Generated Node #0,3: 25:[17, 6, 56] Operation: 75-19=56
Moving to Node #0,0
Current State: 25:[6, 19, 58], Operations: ['75-17=58']
Exploring Operation: 19-6=13, Resulting Numbers: [58, 13]
Generated Node #0,0,0: 25:[58, 13] Operation: 19-6=13
Exploring Operation: 58-6=52, Resulting Numbers: [19, 52]
Generated Node #0,0,1: 25:[19, 52] Operation: 58-6=52
Exploring Operation: 6+19=25, Resulting Numbers: [58, 25]
Generated Node #0,0,2: 25:[58, 25] Operation: 6+19=25
Exploring Operation: 58-19=39, Resulting Numbers: [6, 39]
Generated Node #0,0,3: 25:[6, 39] Operation: 58-19=39
Moving to Node #0,3
Current State: 25:[17, 6, 56], Operations: ['75-19=56']
Exploring Operation: 17-6=11, Resulting Numbers: [56, 11]
Generated Node #0,3,0: 25:[56, 11] Operation: 17-6=11
Exploring Operation: 17+6=23, Resulting Numbers: [56, 23]
Generated Node #0,3,1: 25:[56, 23] Operation: 17+6=23
Exploring Operation: 56-17=39, Resulting Numbers: [6, 39]
Generated Node #0,3,2: 25:[6, 39] Operation: 56-17=39
Exploring Operation: 56-6=50, Resulting Numbers: [17, 50]
Generated Node #0,3,3: 25:[17, 50] Operation: 56-6=50
Moving to Node #0,1
Current State: 25:[75, 6, 2], Operations: ['19-17=2']
Exploring Operation: 6-2=4, Resulting Numbers: [75, 4]
Generated Node #0,1,0: 25:[75, 4] Operation: 6-2=4
Exploring Operation: 75-2=73, Resulting Numbers: [6, 73]
Generated Node #0,1,1: 25:[6, 73] Operation: 75-2=73
Exploring Operation: 6/2=3, Resulting Numbers: [75, 3]
Generated Node #0,1,2: 25:[75, 3] Operation: 6/2=3
Exploring Operation: 75-6=69, Resulting Numbers: [2, 69]
Generated Node #0,1,3: 25:[2, 69] Operation: 75-6=69
Moving to Node #0,2
Current State: 25:[17, 19, 69], Operations: ['75-6=69']
Exploring Operation: 17+19=36, Resulting Numbers: [69, 36]
Generated Node #0,2,0: 25:[69, 36] Operation: 17+19=36
Exploring Operation: 69-19=50, Resulting Numbers: [17, 50]
Generated Node #0,2,1: 25:[17, 50] Operation: 69-19=50
Exploring Operation: 69-17=52, Resulting Numbers: [19, 52]
Generated Node #0,2,2: 25:[19, 52] Operation: 69-17=52
Exploring Operation: 19-17=2, Resulting Numbers: [69, 2]
Generated Node #0,2,3: 25:[69, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[17, 50], Operations: ['75-6=69', '69-19=50']
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[19, 52], Operations: ['75-6=69', '69-17=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[69, 2], Operations: ['75-6=69', '19-17=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[69, 36], Operations: ['75-6=69', '17+19=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 25:[6, 39], Operations: ['75-17=58', '58-19=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[6, 39], Operations: ['75-19=56', '56-17=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[58, 25], Operations: ['75-17=58', '6+19=25']
Exploring Operation: 58*25=1450, Resulting Numbers: [1450]
1450,25 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 58+25=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[17, 50], Operations: ['75-19=56', '56-6=50']
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,25 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[56, 23], Operations: ['75-19=56', '17+6=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[19, 52], Operations: ['75-17=58', '58-6=52']
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,25 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[56, 11], Operations: ['75-19=56', '17-6=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,25 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[58, 13], Operations: ['75-17=58', '19-6=13']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[2, 69], Operations: ['19-17=2', '75-6=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[6, 73], Operations: ['19-17=2', '75-2=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,25 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[75, 4], Operations: ['19-17=2', '6-2=4']
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,25 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[75, 3], Operations: ['19-17=2', '6/2=3']
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,25 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[75, 17, 6, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [75, 6, 2]
Generated Node #0,1: 25:[75, 6, 2] Operation: 19-17=2
Moving to Node #0,1
Current State: 25:[75, 6, 2], Operations: ['19-17=2']
Exploring Operation: 6/2=3, Resulting Numbers: [75, 3]
Generated Node #0,1,2: 25:[75, 3] Operation: 6/2=3
Moving to Node #0,1,2
Current State: 25:[75, 3], Operations: ['19-17=2', '6/2=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.938368 | hs_4 | sum_heuristic |
[
2,
35,
10,
37
] | 49 | [
"2*37=74",
"35-10=25",
"74-25=49"
] | Current State: 49:[2, 35, 10, 37], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [35, 10, 74]
Generated Node #2: [35, 10, 74] from Operation: 2*37=74
Current State: 49:[35, 10, 74], Operations: ['2*37=74']
Exploring Operation: 35-10=25, Resulting Numbers: [74, 25]
Generated Node #3: [74, 25] from Operation: 35-10=25
Current State: 49:[74, 25], Operations: ['2*37=74', '35-10=25']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 35, 10, 37], Operations: []
Exploring Operation: 35+10=45, Resulting Numbers: [2, 37, 45]
Generated Node #0,0: 49:[2, 37, 45] Operation: 35+10=45
Exploring Operation: 37-35=2, Resulting Numbers: [2, 10, 2]
Generated Node #0,1: 49:[2, 10, 2] Operation: 37-35=2
Moving to Node #0,1
Current State: 49:[2, 10, 2], Operations: ['37-35=2']
Exploring Operation: 10-2=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 49:[2, 8] Operation: 10-2=8
Exploring Operation: 2+2=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 49:[10, 4] Operation: 2+2=4
Moving to Node #0,0
Current State: 49:[2, 37, 45], Operations: ['35+10=45']
Exploring Operation: 2+37=39, Resulting Numbers: [45, 39]
Generated Node #0,0,0: 49:[45, 39] Operation: 2+37=39
Exploring Operation: 45-37=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 49:[2, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[2, 8], Operations: ['35+10=45', '45-37=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,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:[45, 39], Operations: ['35+10=45', '2+37=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,49 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: 49:[2, 8], Operations: ['37-35=2', '10-2=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[10, 4], Operations: ['37-35=2', '2+2=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
76,
88,
90
] | 91 | [
"11+76=87",
"88+90=178",
"178-87=91"
] | Current State: 91:[11, 76, 88, 90], Operations: []
Exploring Operation: 11+76=87, Resulting Numbers: [88, 90, 87]
Generated Node #2: [88, 90, 87] from Operation: 11+76=87
Current State: 91:[88, 90, 87], Operations: ['11+76=87']
Exploring Operation: 88+90=178, Resulting Numbers: [87, 178]
Generated Node #3: [87, 178] from Operation: 88+90=178
Current State: 91:[87, 178], Operations: ['11+76=87', '88+90=178']
Exploring Operation: 178-87=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 76, 88, 90], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [11, 90, 12]
Generated Node #0,0: 91:[11, 90, 12] Operation: 88-76=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[11, 90, 12], Operations: ['88-76=12']
Exploring Operation: 12-11=1, Resulting Numbers: [90, 1]
Generated Node #0,0,0: 91:[90, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 91:[90, 1], Operations: ['88-76=12', '12-11=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[11, 76, 88, 90], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [11, 90, 12]
Generated Node #0,0: 91:[11, 90, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 91:[11, 90, 12], Operations: ['88-76=12']
Exploring Operation: 12-11=1, Resulting Numbers: [90, 1]
Generated Node #0,0,0: 91:[90, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 91:[90, 1], Operations: ['88-76=12', '12-11=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
97,
22,
37,
22
] | 37 | [
"22-22=0",
"97*0=0",
"37+0=37"
] | Current State: 37:[97, 22, 37, 22], Operations: []
Exploring Operation: 22-22=0, Resulting Numbers: [97, 37, 0]
Generated Node #2: [97, 37, 0] from Operation: 22-22=0
Current State: 37:[97, 37, 0], Operations: ['22-22=0']
Exploring Operation: 97*0=0, Resulting Numbers: [37, 0]
Generated Node #3: [37, 0] from Operation: 97*0=0
Current State: 37:[37, 0], Operations: ['22-22=0', '97*0=0']
Exploring Operation: 37+0=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[97, 22, 37, 22], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [22, 22, 60]
Generated Node #0,0: 37:[22, 22, 60] Operation: 97-37=60
Exploring Operation: 97-22=75, Resulting Numbers: [37, 22, 75]
Generated Node #0,1: 37:[37, 22, 75] Operation: 97-22=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[22, 22, 60], Operations: ['97-37=60']
Exploring Operation: 60-22=38, Resulting Numbers: [22, 38]
Generated Node #0,0,0: 37:[22, 38] Operation: 60-22=38
Exploring Operation: 60-22=38, Resulting Numbers: [22, 38]
Generated Node #0,0,1: 37:[22, 38] Operation: 60-22=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[22, 38], Operations: ['97-37=60', '60-22=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[22, 38], Operations: ['97-37=60', '60-22=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[37, 22, 75], Operations: ['97-22=75']
Exploring Operation: 75-22=53, Resulting Numbers: [37, 53]
Generated Node #0,1,0: 37:[37, 53] Operation: 75-22=53
Exploring Operation: 75-37=38, Resulting Numbers: [22, 38]
Generated Node #0,1,1: 37:[22, 38] Operation: 75-37=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[37, 53], Operations: ['97-22=75', '75-22=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[22, 38], Operations: ['97-22=75', '75-37=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
88,
39,
5
] | 43 | [
"88-1=87",
"39+5=44",
"87-44=43"
] | Current State: 43:[1, 88, 39, 5], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [39, 5, 87]
Generated Node #2: [39, 5, 87] from Operation: 88-1=87
Current State: 43:[39, 5, 87], Operations: ['88-1=87']
Exploring Operation: 39+5=44, Resulting Numbers: [87, 44]
Generated Node #3: [87, 44] from Operation: 39+5=44
Current State: 43:[87, 44], Operations: ['88-1=87', '39+5=44']
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[1, 88, 39, 5], Operations: []
Exploring Operation: 1+39=40, Resulting Numbers: [88, 5, 40]
Generated Node #0,0: 43:[88, 5, 40] Operation: 1+39=40
Exploring Operation: 1+5=6, Resulting Numbers: [88, 39, 6]
Generated Node #0,1: 43:[88, 39, 6] Operation: 1+5=6
Exploring Operation: 88-1=87, Resulting Numbers: [39, 5, 87]
Generated Node #0,2: 43:[39, 5, 87] Operation: 88-1=87
Moving to Node #0,0
Current State: 43:[88, 5, 40], Operations: ['1+39=40']
Exploring Operation: 5+40=45, Resulting Numbers: [88, 45]
Generated Node #0,0,0: 43:[88, 45] Operation: 5+40=45
Exploring Operation: 88-5=83, Resulting Numbers: [40, 83]
Generated Node #0,0,1: 43:[40, 83] Operation: 88-5=83
Exploring Operation: 88-40=48, Resulting Numbers: [5, 48]
Generated Node #0,0,2: 43:[5, 48] Operation: 88-40=48
Moving to Node #0,1
Current State: 43:[88, 39, 6], Operations: ['1+5=6']
Exploring Operation: 88-6=82, Resulting Numbers: [39, 82]
Generated Node #0,1,0: 43:[39, 82] Operation: 88-6=82
Exploring Operation: 88-39=49, Resulting Numbers: [6, 49]
Generated Node #0,1,1: 43:[6, 49] Operation: 88-39=49
Exploring Operation: 39+6=45, Resulting Numbers: [88, 45]
Generated Node #0,1,2: 43:[88, 45] Operation: 39+6=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[39, 82], Operations: ['1+5=6', '88-6=82']
Exploring Operation: 39*82=3198, Resulting Numbers: [3198]
3198,43 unequal: No Solution
Exploring Operation: 39+82=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[1, 88, 39, 5], Operations: []
Exploring Operation: 1+5=6, Resulting Numbers: [88, 39, 6]
Generated Node #0,1: 43:[88, 39, 6] Operation: 1+5=6
Moving to Node #0,1
Current State: 43:[88, 39, 6], Operations: ['1+5=6']
Exploring Operation: 88-6=82, Resulting Numbers: [39, 82]
Generated Node #0,1,0: 43:[39, 82] Operation: 88-6=82
Moving to Node #0,1,0
Current State: 43:[39, 82], Operations: ['1+5=6', '88-6=82']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
45,
16,
72,
54
] | 72 | [
"54-45=9",
"16*9=144",
"144-72=72"
] | Current State: 72:[45, 16, 72, 54], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [16, 72, 9]
Generated Node #2: [16, 72, 9] from Operation: 54-45=9
Current State: 72:[16, 72, 9], Operations: ['54-45=9']
Exploring Operation: 16*9=144, Resulting Numbers: [72, 144]
Generated Node #3: [72, 144] from Operation: 16*9=144
Current State: 72:[72, 144], Operations: ['54-45=9', '16*9=144']
Exploring Operation: 144-72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[45, 16, 72, 54], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [45, 16, 18]
Generated Node #0,0: 72:[45, 16, 18] Operation: 72-54=18
Exploring Operation: 16+54=70, Resulting Numbers: [45, 72, 70]
Generated Node #0,1: 72:[45, 72, 70] Operation: 16+54=70
Exploring Operation: 54-45=9, Resulting Numbers: [16, 72, 9]
Generated Node #0,2: 72:[16, 72, 9] Operation: 54-45=9
Exploring Operation: 54-16=38, Resulting Numbers: [45, 72, 38]
Generated Node #0,3: 72:[45, 72, 38] Operation: 54-16=38
Exploring Operation: 45-16=29, Resulting Numbers: [72, 54, 29]
Generated Node #0,4: 72:[72, 54, 29] Operation: 45-16=29
Moving to Node #0,2
Current State: 72:[16, 72, 9], Operations: ['54-45=9']
Exploring Operation: 72-9=63, Resulting Numbers: [16, 63]
Generated Node #0,2,0: 72:[16, 63] Operation: 72-9=63
Exploring Operation: 72+9=81, Resulting Numbers: [16, 81]
Generated Node #0,2,1: 72:[16, 81] Operation: 72+9=81
Exploring Operation: 16+9=25, Resulting Numbers: [72, 25]
Generated Node #0,2,2: 72:[72, 25] Operation: 16+9=25
Exploring Operation: 72/9=8, Resulting Numbers: [16, 8]
Generated Node #0,2,3: 72:[16, 8] Operation: 72/9=8
Exploring Operation: 16-9=7, Resulting Numbers: [72, 7]
Generated Node #0,2,4: 72:[72, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[72, 25], Operations: ['54-45=9', '16+9=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 72:[72, 7], Operations: ['54-45=9', '16-9=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[16, 8], Operations: ['54-45=9', '72/9=8']
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[16, 63], Operations: ['54-45=9', '72-9=63']
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[16, 81], Operations: ['54-45=9', '72+9=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,72 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,72 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: 72:[45, 72, 70], Operations: ['16+54=70']
Exploring Operation: 72-45=27, Resulting Numbers: [70, 27]
Generated Node #0,1,0: 72:[70, 27] Operation: 72-45=27
Exploring Operation: 45+70=115, Resulting Numbers: [72, 115]
Generated Node #0,1,1: 72:[72, 115] Operation: 45+70=115
Exploring Operation: 70-45=25, Resulting Numbers: [72, 25]
Generated Node #0,1,2: 72:[72, 25] Operation: 70-45=25
Exploring Operation: 72-70=2, Resulting Numbers: [45, 2]
Generated Node #0,1,3: 72:[45, 2] Operation: 72-70=2
Exploring Operation: 45+72=117, Resulting Numbers: [70, 117]
Generated Node #0,1,4: 72:[70, 117] Operation: 45+72=117
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[72, 25], Operations: ['16+54=70', '70-45=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[70, 27], Operations: ['16+54=70', '72-45=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[45, 2], Operations: ['16+54=70', '72-70=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[72, 115], Operations: ['16+54=70', '45+70=115']
Exploring Operation: 72*115=8280, Resulting Numbers: [8280]
8280,72 unequal: No Solution
Exploring Operation: 115-72=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 72+115=187, Resulting Numbers: [187]
187,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[70, 117], Operations: ['16+54=70', '45+72=117']
Exploring Operation: 70*117=8190, Resulting Numbers: [8190]
8190,72 unequal: No Solution
Exploring Operation: 70+117=187, Resulting Numbers: [187]
187,72 unequal: No Solution
Exploring Operation: 117-70=47, Resulting Numbers: [47]
47,72 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: 72:[45, 16, 18], Operations: ['72-54=18']
Exploring Operation: 45-18=27, Resulting Numbers: [16, 27]
Generated Node #0,0,0: 72:[16, 27] Operation: 45-18=27
Exploring Operation: 45+18=63, Resulting Numbers: [16, 63]
Generated Node #0,0,1: 72:[16, 63] Operation: 45+18=63
Exploring Operation: 45-16=29, Resulting Numbers: [18, 29]
Generated Node #0,0,2: 72:[18, 29] Operation: 45-16=29
Exploring Operation: 18-16=2, Resulting Numbers: [45, 2]
Generated Node #0,0,3: 72:[45, 2] Operation: 18-16=2
Exploring Operation: 45+16=61, Resulting Numbers: [18, 61]
Generated Node #0,0,4: 72:[18, 61] Operation: 45+16=61
Moving to Node #0,3
Current State: 72:[45, 72, 38], Operations: ['54-16=38']
Exploring Operation: 45+38=83, Resulting Numbers: [72, 83]
Generated Node #0,3,0: 72:[72, 83] Operation: 45+38=83
Exploring Operation: 45-38=7, Resulting Numbers: [72, 7]
Generated Node #0,3,1: 72:[72, 7] Operation: 45-38=7
Exploring Operation: 72-38=34, Resulting Numbers: [45, 34]
Generated Node #0,3,2: 72:[45, 34] Operation: 72-38=34
Exploring Operation: 72-45=27, Resulting Numbers: [38, 27]
Generated Node #0,3,3: 72:[38, 27] Operation: 72-45=27
Exploring Operation: 45+72=117, Resulting Numbers: [38, 117]
Generated Node #0,3,4: 72:[38, 117] Operation: 45+72=117
Moving to Node #0,4
Current State: 72:[72, 54, 29], Operations: ['45-16=29']
Exploring Operation: 54-29=25, Resulting Numbers: [72, 25]
Generated Node #0,4,0: 72:[72, 25] Operation: 54-29=25
Exploring Operation: 54+29=83, Resulting Numbers: [72, 83]
Generated Node #0,4,1: 72:[72, 83] Operation: 54+29=83
Exploring Operation: 72-54=18, Resulting Numbers: [29, 18]
Generated Node #0,4,2: 72:[29, 18] Operation: 72-54=18
Exploring Operation: 72+29=101, Resulting Numbers: [54, 101]
Generated Node #0,4,3: 72:[54, 101] Operation: 72+29=101
Exploring Operation: 72-29=43, Resulting Numbers: [54, 43]
Generated Node #0,4,4: 72:[54, 43] Operation: 72-29=43
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 72:[72, 25], Operations: ['45-16=29', '54-29=25']
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,72 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[29, 18], Operations: ['45-16=29', '72-54=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,72 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[72, 83], Operations: ['45-16=29', '54+29=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,72 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,72 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[54, 43], Operations: ['45-16=29', '72-29=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,72 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 72:[54, 101], Operations: ['45-16=29', '72+29=101']
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,72 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 72:[72, 7], Operations: ['54-16=38', '45-38=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,72 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[16, 27], Operations: ['72-54=18', '45-18=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[38, 27], Operations: ['54-16=38', '72-45=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,72 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[18, 29], Operations: ['72-54=18', '45-16=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[45, 2], Operations: ['72-54=18', '18-16=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[45, 34], Operations: ['54-16=38', '72-38=34']
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[18, 61], Operations: ['72-54=18', '45+16=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 18*61=1098, Resulting Numbers: [1098]
1098,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[16, 63], Operations: ['72-54=18', '45+18=63']
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,72 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[72, 83], Operations: ['54-16=38', '45+38=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,72 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,72 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[38, 117], Operations: ['54-16=38', '45+72=117']
Exploring Operation: 38*117=4446, Resulting Numbers: [4446]
4446,72 unequal: No Solution
Exploring Operation: 117-38=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 38+117=155, Resulting Numbers: [155]
155,72 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
52,
35,
28
] | 100 | [
"52-15=37",
"35+28=63",
"37+63=100"
] | Current State: 100:[15, 52, 35, 28], Operations: []
Exploring Operation: 52-15=37, Resulting Numbers: [35, 28, 37]
Generated Node #2: [35, 28, 37] from Operation: 52-15=37
Current State: 100:[35, 28, 37], Operations: ['52-15=37']
Exploring Operation: 35+28=63, Resulting Numbers: [37, 63]
Generated Node #3: [37, 63] from Operation: 35+28=63
Current State: 100:[37, 63], Operations: ['52-15=37', '35+28=63']
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 52, 35, 28], Operations: []
Exploring Operation: 15+35=50, Resulting Numbers: [52, 28, 50]
Generated Node #0,0: 100:[52, 28, 50] Operation: 15+35=50
Exploring Operation: 35-15=20, Resulting Numbers: [52, 28, 20]
Generated Node #0,1: 100:[52, 28, 20] Operation: 35-15=20
Exploring Operation: 35-28=7, Resulting Numbers: [15, 52, 7]
Generated Node #0,2: 100:[15, 52, 7] Operation: 35-28=7
Exploring Operation: 52-35=17, Resulting Numbers: [15, 28, 17]
Generated Node #0,3: 100:[15, 28, 17] Operation: 52-35=17
Moving to Node #0,0
Current State: 100:[52, 28, 50], Operations: ['15+35=50']
Exploring Operation: 52-28=24, Resulting Numbers: [50, 24]
Generated Node #0,0,0: 100:[50, 24] Operation: 52-28=24
Exploring Operation: 52+50=102, Resulting Numbers: [28, 102]
Generated Node #0,0,1: 100:[28, 102] Operation: 52+50=102
Exploring Operation: 50-28=22, Resulting Numbers: [52, 22]
Generated Node #0,0,2: 100:[52, 22] Operation: 50-28=22
Exploring Operation: 52-50=2, Resulting Numbers: [28, 2]
Generated Node #0,0,3: 100:[28, 2] Operation: 52-50=2
Moving to Node #0,1
Current State: 100:[52, 28, 20], Operations: ['35-15=20']
Exploring Operation: 28+20=48, Resulting Numbers: [52, 48]
Generated Node #0,1,0: 100:[52, 48] Operation: 28+20=48
Exploring Operation: 28-20=8, Resulting Numbers: [52, 8]
Generated Node #0,1,1: 100:[52, 8] Operation: 28-20=8
Exploring Operation: 52-20=32, Resulting Numbers: [28, 32]
Generated Node #0,1,2: 100:[28, 32] Operation: 52-20=32
Exploring Operation: 52-28=24, Resulting Numbers: [20, 24]
Generated Node #0,1,3: 100:[20, 24] Operation: 52-28=24
Moving to Node #0,2
Current State: 100:[15, 52, 7], Operations: ['35-28=7']
Exploring Operation: 15-7=8, Resulting Numbers: [52, 8]
Generated Node #0,2,0: 100:[52, 8] Operation: 15-7=8
Exploring Operation: 15+7=22, Resulting Numbers: [52, 22]
Generated Node #0,2,1: 100:[52, 22] Operation: 15+7=22
Exploring Operation: 52-7=45, Resulting Numbers: [15, 45]
Generated Node #0,2,2: 100:[15, 45] Operation: 52-7=45
Exploring Operation: 15*7=105, Resulting Numbers: [52, 105]
Generated Node #0,2,3: 100:[52, 105] Operation: 15*7=105
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[52, 8], Operations: ['35-28=7', '15-7=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,100 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[52, 22], Operations: ['35-28=7', '15+7=22']
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,100 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[52, 105], Operations: ['35-28=7', '15*7=105']
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 52+105=157, Resulting Numbers: [157]
157,100 unequal: No Solution
Exploring Operation: 52*105=5460, Resulting Numbers: [5460]
5460,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[15, 45], Operations: ['35-28=7', '52-7=45']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,100 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: 100:[15, 28, 17], Operations: ['52-35=17']
Exploring Operation: 28-15=13, Resulting Numbers: [17, 13]
Generated Node #0,3,0: 100:[17, 13] Operation: 28-15=13
Exploring Operation: 17-15=2, Resulting Numbers: [28, 2]
Generated Node #0,3,1: 100:[28, 2] Operation: 17-15=2
Exploring Operation: 15+28=43, Resulting Numbers: [17, 43]
Generated Node #0,3,2: 100:[17, 43] Operation: 15+28=43
Exploring Operation: 28-17=11, Resulting Numbers: [15, 11]
Generated Node #0,3,3: 100:[15, 11] Operation: 28-17=11
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[28, 2], Operations: ['52-35=17', '17-15=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[17, 13], Operations: ['52-35=17', '28-15=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[15, 11], Operations: ['52-35=17', '28-17=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[17, 43], Operations: ['52-35=17', '15+28=43']
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,100 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,100 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: 100:[50, 24], Operations: ['15+35=50', '52-28=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[20, 24], Operations: ['35-15=20', '52-28=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[28, 2], Operations: ['15+35=50', '52-50=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[52, 22], Operations: ['15+35=50', '50-28=22']
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[52, 48], Operations: ['35-15=20', '28+20=48']
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,100 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[15, 52, 35, 28], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [52, 28, 20]
Generated Node #0,1: 100:[52, 28, 20] Operation: 35-15=20
Moving to Node #0,1
Current State: 100:[52, 28, 20], Operations: ['35-15=20']
Exploring Operation: 28+20=48, Resulting Numbers: [52, 48]
Generated Node #0,1,0: 100:[52, 48] Operation: 28+20=48
Moving to Node #0,1,0
Current State: 100:[52, 48], Operations: ['35-15=20', '28+20=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.942708 | hs_4 | sum_heuristic |
[
51,
35,
42,
17
] | 21 | [
"51/17=3",
"42-35=7",
"3*7=21"
] | Current State: 21:[51, 35, 42, 17], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [35, 42, 3]
Generated Node #2: [35, 42, 3] from Operation: 51/17=3
Current State: 21:[35, 42, 3], Operations: ['51/17=3']
Exploring Operation: 42-35=7, Resulting Numbers: [3, 7]
Generated Node #3: [3, 7] from Operation: 42-35=7
Current State: 21:[3, 7], Operations: ['51/17=3', '42-35=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[51, 35, 42, 17], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [35, 17, 9]
Generated Node #0,0: 21:[35, 17, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 21:[35, 17, 9], Operations: ['51-42=9']
Exploring Operation: 35-17=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 21:[9, 18] Operation: 35-17=18
Moving to Node #0,0,0
Current State: 21:[9, 18], Operations: ['51-42=9', '35-17=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,21 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
47,
80,
56
] | 73 | [
"56-47=9",
"17*9=153",
"153-80=73"
] | Current State: 73:[17, 47, 80, 56], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [17, 80, 9]
Generated Node #2: [17, 80, 9] from Operation: 56-47=9
Current State: 73:[17, 80, 9], Operations: ['56-47=9']
Exploring Operation: 17*9=153, Resulting Numbers: [80, 153]
Generated Node #3: [80, 153] from Operation: 17*9=153
Current State: 73:[80, 153], Operations: ['56-47=9', '17*9=153']
Exploring Operation: 153-80=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 47, 80, 56], Operations: []
Exploring Operation: 17+56=73, Resulting Numbers: [47, 80, 73]
Generated Node #0,0: 73:[47, 80, 73] Operation: 17+56=73
Exploring Operation: 17+47=64, Resulting Numbers: [80, 56, 64]
Generated Node #0,1: 73:[80, 56, 64] Operation: 17+47=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[47, 80, 73], Operations: ['17+56=73']
Exploring Operation: 80-47=33, Resulting Numbers: [73, 33]
Generated Node #0,0,0: 73:[73, 33] Operation: 80-47=33
Exploring Operation: 47+80=127, Resulting Numbers: [73, 127]
Generated Node #0,0,1: 73:[73, 127] Operation: 47+80=127
Moving to Node #0,0,0
Current State: 73:[73, 33], Operations: ['17+56=73', '80-47=33']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[73, 127], Operations: ['17+56=73', '47+80=127']
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,73 unequal: No Solution
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[80, 56, 64], Operations: ['17+47=64']
Exploring Operation: 56+64=120, Resulting Numbers: [80, 120]
Generated Node #0,1,0: 73:[80, 120] Operation: 56+64=120
Exploring Operation: 80-56=24, Resulting Numbers: [64, 24]
Generated Node #0,1,1: 73:[64, 24] Operation: 80-56=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[80, 120], Operations: ['17+47=64', '56+64=120']
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 80+120=200, Resulting Numbers: [200]
200,73 unequal: No Solution
No 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: 73:[64, 24], Operations: ['17+47=64', '80-56=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
19,
36,
8
] | 75 | [
"66-19=47",
"36-8=28",
"47+28=75"
] | Current State: 75:[66, 19, 36, 8], Operations: []
Exploring Operation: 66-19=47, Resulting Numbers: [36, 8, 47]
Generated Node #2: [36, 8, 47] from Operation: 66-19=47
Current State: 75:[36, 8, 47], Operations: ['66-19=47']
Exploring Operation: 36-8=28, Resulting Numbers: [47, 28]
Generated Node #3: [47, 28] from Operation: 36-8=28
Current State: 75:[47, 28], Operations: ['66-19=47', '36-8=28']
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[66, 19, 36, 8], Operations: []
Exploring Operation: 36-19=17, Resulting Numbers: [66, 8, 17]
Generated Node #0,0: 75:[66, 8, 17] Operation: 36-19=17
Exploring Operation: 66-36=30, Resulting Numbers: [19, 8, 30]
Generated Node #0,1: 75:[19, 8, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[19, 8, 30], Operations: ['66-36=30']
Exploring Operation: 30-19=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 75:[8, 11] Operation: 30-19=11
Exploring Operation: 19+8=27, Resulting Numbers: [30, 27]
Generated Node #0,1,1: 75:[30, 27] Operation: 19+8=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[8, 11], Operations: ['66-36=30', '30-19=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No 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: 75:[30, 27], Operations: ['66-36=30', '19+8=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[66, 8, 17], Operations: ['36-19=17']
Exploring Operation: 8+17=25, Resulting Numbers: [66, 25]
Generated Node #0,0,0: 75:[66, 25] Operation: 8+17=25
Exploring Operation: 66+8=74, Resulting Numbers: [17, 74]
Generated Node #0,0,1: 75:[17, 74] Operation: 66+8=74
Moving to Node #0,0,1
Current State: 75:[17, 74], Operations: ['36-19=17', '66+8=74']
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,75 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[66, 25], Operations: ['36-19=17', '8+17=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,75 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,
51,
60,
6
] | 22 | [
"51-7=44",
"60+6=66",
"66-44=22"
] | Current State: 22:[7, 51, 60, 6], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [60, 6, 44]
Generated Node #2: [60, 6, 44] from Operation: 51-7=44
Current State: 22:[60, 6, 44], Operations: ['51-7=44']
Exploring Operation: 60+6=66, Resulting Numbers: [44, 66]
Generated Node #3: [44, 66] from Operation: 60+6=66
Current State: 22:[44, 66], Operations: ['51-7=44', '60+6=66']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[7, 51, 60, 6], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [7, 6, 9]
Generated Node #0,0: 22:[7, 6, 9] Operation: 60-51=9
Exploring Operation: 60/6=10, Resulting Numbers: [7, 51, 10]
Generated Node #0,1: 22:[7, 51, 10] Operation: 60/6=10
Moving to Node #0,0
Current State: 22:[7, 6, 9], Operations: ['60-51=9']
Exploring Operation: 7+6=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 22:[9, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [9, 1]
Generated Node #0,0,1: 22:[9, 1] Operation: 7-6=1
Moving to Node #0,1
Current State: 22:[7, 51, 10], Operations: ['60/6=10']
Exploring Operation: 51-10=41, Resulting Numbers: [7, 41]
Generated Node #0,1,0: 22:[7, 41] Operation: 51-10=41
Exploring Operation: 51-7=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 22:[10, 44] Operation: 51-7=44
Moving to Node #0,0,1
Current State: 22:[9, 1], Operations: ['60-51=9', '7-6=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[9, 13], Operations: ['60-51=9', '7+6=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[7, 51, 60, 6], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [7, 6, 9]
Generated Node #0,0: 22:[7, 6, 9] Operation: 60-51=9
Moving to Node #0,0
Current State: 22:[7, 6, 9], Operations: ['60-51=9']
Exploring Operation: 7+6=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 22:[9, 13] Operation: 7+6=13
Moving to Node #0,0,0
Current State: 22:[9, 13], Operations: ['60-51=9', '7+6=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
1,
1,
39,
53
] | 91 | [
"1*1=1",
"39+53=92",
"92-1=91"
] | Current State: 91:[1, 1, 39, 53], Operations: []
Exploring Operation: 1*1=1, Resulting Numbers: [39, 53, 1]
Generated Node #2: [39, 53, 1] from Operation: 1*1=1
Current State: 91:[39, 53, 1], Operations: ['1*1=1']
Exploring Operation: 39+53=92, Resulting Numbers: [1, 92]
Generated Node #3: [1, 92] from Operation: 39+53=92
Current State: 91:[1, 92], Operations: ['1*1=1', '39+53=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[1, 1, 39, 53], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [39, 53, 2]
Generated Node #0,0: 91:[39, 53, 2] Operation: 1+1=2
Exploring Operation: 39-1=38, Resulting Numbers: [1, 53, 38]
Generated Node #0,1: 91:[1, 53, 38] Operation: 39-1=38
Exploring Operation: 1+53=54, Resulting Numbers: [1, 39, 54]
Generated Node #0,2: 91:[1, 39, 54] Operation: 1+53=54
Exploring Operation: 53-39=14, Resulting Numbers: [1, 1, 14]
Generated Node #0,3: 91:[1, 1, 14] Operation: 53-39=14
Exploring Operation: 39+53=92, Resulting Numbers: [1, 1, 92]
Generated Node #0,4: 91:[1, 1, 92] Operation: 39+53=92
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[1, 1, 14], Operations: ['53-39=14']
Exploring Operation: 14-1=13, Resulting Numbers: [1, 13]
Generated Node #0,3,0: 91:[1, 13] Operation: 14-1=13
Exploring Operation: 1*1=1, Resulting Numbers: [14, 1]
Generated Node #0,3,1: 91:[14, 1] Operation: 1*1=1
Exploring Operation: 1+1=2, Resulting Numbers: [14, 2]
Generated Node #0,3,2: 91:[14, 2] Operation: 1+1=2
Exploring Operation: 14-1=13, Resulting Numbers: [1, 13]
Generated Node #0,3,3: 91:[1, 13] Operation: 14-1=13
Exploring Operation: 1/1=1, Resulting Numbers: [14, 1]
Generated Node #0,3,4: 91:[14, 1] Operation: 1/1=1
Moving to Node #0,3,0
Current State: 91:[1, 13], Operations: ['53-39=14', '14-1=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[1, 13], Operations: ['53-39=14', '14-1=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[14, 2], Operations: ['53-39=14', '1+1=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[14, 1], Operations: ['53-39=14', '1*1=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[14, 1], Operations: ['53-39=14', '1/1=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[1, 1, 92], Operations: ['39+53=92']
Exploring Operation: 1+1=2, Resulting Numbers: [92, 2]
Generated Node #0,4,0: 91:[92, 2] Operation: 1+1=2
Exploring Operation: 92-1=91, Resulting Numbers: [1, 91]
Generated Node #0,4,1: 91:[1, 91] Operation: 92-1=91
Exploring Operation: 1*1=1, Resulting Numbers: [92, 1]
Generated Node #0,4,2: 91:[92, 1] Operation: 1*1=1
Exploring Operation: 1/1=1, Resulting Numbers: [92, 1]
Generated Node #0,4,3: 91:[92, 1] Operation: 1/1=1
Exploring Operation: 92-1=91, Resulting Numbers: [1, 91]
Generated Node #0,4,4: 91:[1, 91] Operation: 92-1=91
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 91:[92, 2], Operations: ['39+53=92', '1+1=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,91 unequal: No Solution
No 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: 91:[1, 91], Operations: ['39+53=92', '92-1=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[1, 1, 39, 53], Operations: []
Exploring Operation: 39+53=92, Resulting Numbers: [1, 1, 92]
Generated Node #0,4: 91:[1, 1, 92] Operation: 39+53=92
Moving to Node #0,4
Current State: 91:[1, 1, 92], Operations: ['39+53=92']
Exploring Operation: 92-1=91, Resulting Numbers: [1, 91]
Generated Node #0,4,1: 91:[1, 91] Operation: 92-1=91
Moving to Node #0,4,1
Current State: 91:[1, 91], Operations: ['39+53=92', '92-1=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
83,
59,
51,
9
] | 100 | [
"83+59=142",
"51-9=42",
"142-42=100"
] | Current State: 100:[83, 59, 51, 9], Operations: []
Exploring Operation: 83+59=142, Resulting Numbers: [51, 9, 142]
Generated Node #2: [51, 9, 142] from Operation: 83+59=142
Current State: 100:[51, 9, 142], Operations: ['83+59=142']
Exploring Operation: 51-9=42, Resulting Numbers: [142, 42]
Generated Node #3: [142, 42] from Operation: 51-9=42
Current State: 100:[142, 42], Operations: ['83+59=142', '51-9=42']
Exploring Operation: 142-42=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[83, 59, 51, 9], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [51, 9, 24]
Generated Node #0,0: 100:[51, 9, 24] Operation: 83-59=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[51, 9, 24], Operations: ['83-59=24']
Exploring Operation: 51-24=27, Resulting Numbers: [9, 27]
Generated Node #0,0,0: 100:[9, 27] Operation: 51-24=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[9, 27], Operations: ['83-59=24', '51-24=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
52,
34,
46
] | 69 | [
"27*46=1242",
"52-34=18",
"1242/18=69"
] | Current State: 69:[27, 52, 34, 46], Operations: []
Exploring Operation: 27*46=1242, Resulting Numbers: [52, 34, 1242]
Generated Node #2: [52, 34, 1242] from Operation: 27*46=1242
Current State: 69:[52, 34, 1242], Operations: ['27*46=1242']
Exploring Operation: 52-34=18, Resulting Numbers: [1242, 18]
Generated Node #3: [1242, 18] from Operation: 52-34=18
Current State: 69:[1242, 18], Operations: ['27*46=1242', '52-34=18']
Exploring Operation: 1242/18=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[27, 52, 34, 46], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [27, 34, 6]
Generated Node #0,0: 69:[27, 34, 6] Operation: 52-46=6
Exploring Operation: 27+46=73, Resulting Numbers: [52, 34, 73]
Generated Node #0,1: 69:[52, 34, 73] Operation: 27+46=73
Exploring Operation: 46-34=12, Resulting Numbers: [27, 52, 12]
Generated Node #0,2: 69:[27, 52, 12] Operation: 46-34=12
Moving to Node #0,0
Current State: 69:[27, 34, 6], Operations: ['52-46=6']
Exploring Operation: 34-27=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 69:[6, 7] Operation: 34-27=7
Exploring Operation: 34-6=28, Resulting Numbers: [27, 28]
Generated Node #0,0,1: 69:[27, 28] Operation: 34-6=28
Exploring Operation: 27+34=61, Resulting Numbers: [6, 61]
Generated Node #0,0,2: 69:[6, 61] Operation: 27+34=61
Moving to Node #0,2
Current State: 69:[27, 52, 12], Operations: ['46-34=12']
Exploring Operation: 52-27=25, Resulting Numbers: [12, 25]
Generated Node #0,2,0: 69:[12, 25] Operation: 52-27=25
Exploring Operation: 27+52=79, Resulting Numbers: [12, 79]
Generated Node #0,2,1: 69:[12, 79] Operation: 27+52=79
Exploring Operation: 52+12=64, Resulting Numbers: [27, 64]
Generated Node #0,2,2: 69:[27, 64] Operation: 52+12=64
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[27, 64], Operations: ['46-34=12', '52+12=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,69 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[12, 25], Operations: ['46-34=12', '52-27=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[12, 79], Operations: ['46-34=12', '27+52=79']
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,69 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,69 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: 69:[52, 34, 73], Operations: ['27+46=73']
Exploring Operation: 52+34=86, Resulting Numbers: [73, 86]
Generated Node #0,1,0: 69:[73, 86] Operation: 52+34=86
Exploring Operation: 52-34=18, Resulting Numbers: [73, 18]
Generated Node #0,1,1: 69:[73, 18] Operation: 52-34=18
Exploring Operation: 73-52=21, Resulting Numbers: [34, 21]
Generated Node #0,1,2: 69:[34, 21] Operation: 73-52=21
Moving to Node #0,0,0
Current State: 69:[6, 7], Operations: ['52-46=6', '34-27=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[27, 28], Operations: ['52-46=6', '34-6=28']
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,69 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[73, 18], Operations: ['27+46=73', '52-34=18']
Exploring Operation: 73*18=1314, Resulting Numbers: [1314]
1314,69 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 73+18=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[6, 61], Operations: ['52-46=6', '27+34=61']
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,69 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[34, 21], Operations: ['27+46=73', '73-52=21']
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[73, 86], Operations: ['27+46=73', '52+34=86']
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,69 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
62,
49,
68
] | 63 | [
"19+49=68",
"68/68=1",
"62+1=63"
] | Current State: 63:[19, 62, 49, 68], Operations: []
Exploring Operation: 19+49=68, Resulting Numbers: [62, 68, 68]
Generated Node #2: [62, 68, 68] from Operation: 19+49=68
Current State: 63:[62, 68, 68], Operations: ['19+49=68']
Exploring Operation: 68/68=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 68/68=1
Current State: 63:[62, 1], Operations: ['19+49=68', '68/68=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[19, 62, 49, 68], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [19, 62, 19]
Generated Node #0,0: 63:[19, 62, 19] Operation: 68-49=19
Exploring Operation: 68-62=6, Resulting Numbers: [19, 49, 6]
Generated Node #0,1: 63:[19, 49, 6] Operation: 68-62=6
Exploring Operation: 62-49=13, Resulting Numbers: [19, 68, 13]
Generated Node #0,2: 63:[19, 68, 13] Operation: 62-49=13
Exploring Operation: 19+49=68, Resulting Numbers: [62, 68, 68]
Generated Node #0,3: 63:[62, 68, 68] Operation: 19+49=68
Exploring Operation: 49-19=30, Resulting Numbers: [62, 68, 30]
Generated Node #0,4: 63:[62, 68, 30] Operation: 49-19=30
Moving to Node #0,0
Current State: 63:[19, 62, 19], Operations: ['68-49=19']
Exploring Operation: 62+19=81, Resulting Numbers: [19, 81]
Generated Node #0,0,0: 63:[19, 81] Operation: 62+19=81
Exploring Operation: 19-19=0, Resulting Numbers: [62, 0]
Generated Node #0,0,1: 63:[62, 0] Operation: 19-19=0
Exploring Operation: 19+19=38, Resulting Numbers: [62, 38]
Generated Node #0,0,2: 63:[62, 38] Operation: 19+19=38
Exploring Operation: 19/19=1, Resulting Numbers: [62, 1]
Generated Node #0,0,3: 63:[62, 1] Operation: 19/19=1
Exploring Operation: 19+62=81, Resulting Numbers: [19, 81]
Generated Node #0,0,4: 63:[19, 81] Operation: 19+62=81
Moving to Node #0,3
Current State: 63:[62, 68, 68], Operations: ['19+49=68']
Exploring Operation: 68-68=0, Resulting Numbers: [62, 0]
Generated Node #0,3,0: 63:[62, 0] Operation: 68-68=0
Exploring Operation: 62+68=130, Resulting Numbers: [68, 130]
Generated Node #0,3,1: 63:[68, 130] Operation: 62+68=130
Exploring Operation: 68/68=1, Resulting Numbers: [62, 1]
Generated Node #0,3,2: 63:[62, 1] Operation: 68/68=1
Exploring Operation: 68-62=6, Resulting Numbers: [68, 6]
Generated Node #0,3,3: 63:[68, 6] Operation: 68-62=6
Exploring Operation: 68-62=6, Resulting Numbers: [68, 6]
Generated Node #0,3,4: 63:[68, 6] Operation: 68-62=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[62, 1], Operations: ['19+49=68', '68/68=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[19, 62, 49, 68], Operations: []
Exploring Operation: 19+49=68, Resulting Numbers: [62, 68, 68]
Generated Node #0,3: 63:[62, 68, 68] Operation: 19+49=68
Moving to Node #0,3
Current State: 63:[62, 68, 68], Operations: ['19+49=68']
Exploring Operation: 68/68=1, Resulting Numbers: [62, 1]
Generated Node #0,3,2: 63:[62, 1] Operation: 68/68=1
Moving to Node #0,3,2
Current State: 63:[62, 1], Operations: ['19+49=68', '68/68=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
65,
17,
72,
80
] | 39 | [
"72-65=7",
"17*7=119",
"119-80=39"
] | Current State: 39:[65, 17, 72, 80], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [17, 80, 7]
Generated Node #2: [17, 80, 7] from Operation: 72-65=7
Current State: 39:[17, 80, 7], Operations: ['72-65=7']
Exploring Operation: 17*7=119, Resulting Numbers: [80, 119]
Generated Node #3: [80, 119] from Operation: 17*7=119
Current State: 39:[80, 119], Operations: ['72-65=7', '17*7=119']
Exploring Operation: 119-80=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[65, 17, 72, 80], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [17, 72, 15]
Generated Node #0,0: 39:[17, 72, 15] Operation: 80-65=15
Exploring Operation: 80-72=8, Resulting Numbers: [65, 17, 8]
Generated Node #0,1: 39:[65, 17, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[65, 17, 8], Operations: ['80-72=8']
Exploring Operation: 65-17=48, Resulting Numbers: [8, 48]
Generated Node #0,1,0: 39:[8, 48] Operation: 65-17=48
Exploring Operation: 65-8=57, Resulting Numbers: [17, 57]
Generated Node #0,1,1: 39:[17, 57] Operation: 65-8=57
Moving to Node #0,1,0
Current State: 39:[8, 48], Operations: ['80-72=8', '65-17=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[17, 57], Operations: ['80-72=8', '65-8=57']
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,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,0
Current State: 39:[17, 72, 15], Operations: ['80-65=15']
Exploring Operation: 72-15=57, Resulting Numbers: [17, 57]
Generated Node #0,0,0: 39:[17, 57] Operation: 72-15=57
Exploring Operation: 72-17=55, Resulting Numbers: [15, 55]
Generated Node #0,0,1: 39:[15, 55] Operation: 72-17=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[15, 55], Operations: ['80-65=15', '72-17=55']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 15+55=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,0,0
Current State: 39:[17, 57], Operations: ['80-65=15', '72-15=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
83,
62,
36
] | 97 | [
"62+36=98",
"98/7=14",
"83+14=97"
] | Current State: 97:[7, 83, 62, 36], Operations: []
Exploring Operation: 62+36=98, Resulting Numbers: [7, 83, 98]
Generated Node #2: [7, 83, 98] from Operation: 62+36=98
Current State: 97:[7, 83, 98], Operations: ['62+36=98']
Exploring Operation: 98/7=14, Resulting Numbers: [83, 14]
Generated Node #3: [83, 14] from Operation: 98/7=14
Current State: 97:[83, 14], Operations: ['62+36=98', '98/7=14']
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[7, 83, 62, 36], Operations: []
Exploring Operation: 7+62=69, Resulting Numbers: [83, 36, 69]
Generated Node #0,0: 97:[83, 36, 69] Operation: 7+62=69
Exploring Operation: 7+83=90, Resulting Numbers: [62, 36, 90]
Generated Node #0,1: 97:[62, 36, 90] Operation: 7+83=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[83, 36, 69], Operations: ['7+62=69']
Exploring Operation: 83+36=119, Resulting Numbers: [69, 119]
Generated Node #0,0,0: 97:[69, 119] Operation: 83+36=119
Exploring Operation: 36+69=105, Resulting Numbers: [83, 105]
Generated Node #0,0,1: 97:[83, 105] Operation: 36+69=105
Moving to Node #0,0,1
Current State: 97:[83, 105], Operations: ['7+62=69', '36+69=105']
Exploring Operation: 105-83=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 83+105=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[69, 119], Operations: ['7+62=69', '83+36=119']
Exploring Operation: 69+119=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 119-69=50, Resulting Numbers: [50]
50,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[62, 36, 90], Operations: ['7+83=90']
Exploring Operation: 36+90=126, Resulting Numbers: [62, 126]
Generated Node #0,1,0: 97:[62, 126] Operation: 36+90=126
Exploring Operation: 62+36=98, Resulting Numbers: [90, 98]
Generated Node #0,1,1: 97:[90, 98] Operation: 62+36=98
Moving to Node #0,1,1
Current State: 97:[90, 98], Operations: ['7+83=90', '62+36=98']
Exploring Operation: 90+98=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[62, 126], Operations: ['7+83=90', '36+90=126']
Exploring Operation: 126-62=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Exploring Operation: 62+126=188, Resulting Numbers: [188]
188,97 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 |
[
63,
38,
80,
44
] | 82 | [
"63-44=19",
"38/19=2",
"80+2=82"
] | Current State: 82:[63, 38, 80, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [38, 80, 19]
Generated Node #2: [38, 80, 19] from Operation: 63-44=19
Current State: 82:[38, 80, 19], Operations: ['63-44=19']
Exploring Operation: 38/19=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 38/19=2
Current State: 82:[80, 2], Operations: ['63-44=19', '38/19=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[63, 38, 80, 44], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [80, 44, 25]
Generated Node #0,0: 82:[80, 44, 25] Operation: 63-38=25
Moving to Node #0,0
Current State: 82:[80, 44, 25], Operations: ['63-38=25']
Exploring Operation: 44+25=69, Resulting Numbers: [80, 69]
Generated Node #0,0,0: 82:[80, 69] Operation: 44+25=69
Moving to Node #0,0,0
Current State: 82:[80, 69], Operations: ['63-38=25', '44+25=69']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,82 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
14,
61,
61
] | 92 | [
"77+14=91",
"61/61=1",
"91+1=92"
] | Current State: 92:[77, 14, 61, 61], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [61, 61, 91]
Generated Node #2: [61, 61, 91] from Operation: 77+14=91
Current State: 92:[61, 61, 91], Operations: ['77+14=91']
Exploring Operation: 61/61=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 61/61=1
Current State: 92:[91, 1], Operations: ['77+14=91', '61/61=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[77, 14, 61, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [77, 14, 1]
Generated Node #0,0: 92:[77, 14, 1] Operation: 61/61=1
Exploring Operation: 61-61=0, Resulting Numbers: [77, 14, 0]
Generated Node #0,1: 92:[77, 14, 0] Operation: 61-61=0
Moving to Node #0,0
Current State: 92:[77, 14, 1], Operations: ['61/61=1']
Exploring Operation: 77+14=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 92:[1, 91] Operation: 77+14=91
Exploring Operation: 77-14=63, Resulting Numbers: [1, 63]
Generated Node #0,0,1: 92:[1, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[1, 91], Operations: ['61/61=1', '77+14=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[77, 14, 61, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [77, 14, 1]
Generated Node #0,0: 92:[77, 14, 1] Operation: 61/61=1
Moving to Node #0,0
Current State: 92:[77, 14, 1], Operations: ['61/61=1']
Exploring Operation: 77+14=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 92:[1, 91] Operation: 77+14=91
Moving to Node #0,0,0
Current State: 92:[1, 91], Operations: ['61/61=1', '77+14=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
70,
82,
51,
51
] | 90 | [
"82-70=12",
"51+51=102",
"102-12=90"
] | Current State: 90:[70, 82, 51, 51], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [51, 51, 12]
Generated Node #2: [51, 51, 12] from Operation: 82-70=12
Current State: 90:[51, 51, 12], Operations: ['82-70=12']
Exploring Operation: 51+51=102, Resulting Numbers: [12, 102]
Generated Node #3: [12, 102] from Operation: 51+51=102
Current State: 90:[12, 102], Operations: ['82-70=12', '51+51=102']
Exploring Operation: 102-12=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[70, 82, 51, 51], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [82, 51, 19]
Generated Node #0,0: 90:[82, 51, 19] Operation: 70-51=19
Exploring Operation: 82-70=12, Resulting Numbers: [51, 51, 12]
Generated Node #0,1: 90:[51, 51, 12] Operation: 82-70=12
Exploring Operation: 70-51=19, Resulting Numbers: [82, 51, 19]
Generated Node #0,2: 90:[82, 51, 19] Operation: 70-51=19
Moving to Node #0,1
Current State: 90:[51, 51, 12], Operations: ['82-70=12']
Exploring Operation: 51-12=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 90:[51, 39] Operation: 51-12=39
Exploring Operation: 51-51=0, Resulting Numbers: [12, 0]
Generated Node #0,1,1: 90:[12, 0] Operation: 51-51=0
Exploring Operation: 51/51=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 90:[12, 1] Operation: 51/51=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[12, 1], Operations: ['82-70=12', '51/51=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[12, 0], Operations: ['82-70=12', '51-51=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[51, 39], Operations: ['82-70=12', '51-12=39']
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[70, 82, 51, 51], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [51, 51, 12]
Generated Node #0,1: 90:[51, 51, 12] Operation: 82-70=12
Moving to Node #0,1
Current State: 90:[51, 51, 12], Operations: ['82-70=12']
Exploring Operation: 51-12=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 90:[51, 39] Operation: 51-12=39
Moving to Node #0,1,0
Current State: 90:[51, 39], Operations: ['82-70=12', '51-12=39']
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
35,
21,
6,
77
] | 85 | [
"35-21=14",
"77-6=71",
"14+71=85"
] | Current State: 85:[35, 21, 6, 77], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [6, 77, 14]
Generated Node #2: [6, 77, 14] from Operation: 35-21=14
Current State: 85:[6, 77, 14], Operations: ['35-21=14']
Exploring Operation: 77-6=71, Resulting Numbers: [14, 71]
Generated Node #3: [14, 71] from Operation: 77-6=71
Current State: 85:[14, 71], Operations: ['35-21=14', '77-6=71']
Exploring Operation: 14+71=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 21, 6, 77], Operations: []
Exploring Operation: 6+77=83, Resulting Numbers: [35, 21, 83]
Generated Node #0,0: 85:[35, 21, 83] Operation: 6+77=83
Exploring Operation: 35-21=14, Resulting Numbers: [6, 77, 14]
Generated Node #0,1: 85:[6, 77, 14] Operation: 35-21=14
Exploring Operation: 35-6=29, Resulting Numbers: [21, 77, 29]
Generated Node #0,2: 85:[21, 77, 29] Operation: 35-6=29
Exploring Operation: 21-6=15, Resulting Numbers: [35, 77, 15]
Generated Node #0,3: 85:[35, 77, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[6, 77, 14], Operations: ['35-21=14']
Exploring Operation: 6+77=83, Resulting Numbers: [14, 83]
Generated Node #0,1,0: 85:[14, 83] Operation: 6+77=83
Exploring Operation: 77+14=91, Resulting Numbers: [6, 91]
Generated Node #0,1,1: 85:[6, 91] Operation: 77+14=91
Exploring Operation: 6*14=84, Resulting Numbers: [77, 84]
Generated Node #0,1,2: 85:[77, 84] Operation: 6*14=84
Exploring Operation: 6+14=20, Resulting Numbers: [77, 20]
Generated Node #0,1,3: 85:[77, 20] Operation: 6+14=20
Moving to Node #0,1,0
Current State: 85:[14, 83], Operations: ['35-21=14', '6+77=83']
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,85 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[6, 91], Operations: ['35-21=14', '77+14=91']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[35, 21, 6, 77], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [6, 77, 14]
Generated Node #0,1: 85:[6, 77, 14] Operation: 35-21=14
Moving to Node #0,1
Current State: 85:[6, 77, 14], Operations: ['35-21=14']
Exploring Operation: 77+14=91, Resulting Numbers: [6, 91]
Generated Node #0,1,1: 85:[6, 91] Operation: 77+14=91
Moving to Node #0,1,1
Current State: 85:[6, 91], Operations: ['35-21=14', '77+14=91']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
71,
77,
39,
79
] | 55 | [
"71+39=110",
"79-77=2",
"110/2=55"
] | Current State: 55:[71, 77, 39, 79], Operations: []
Exploring Operation: 71+39=110, Resulting Numbers: [77, 79, 110]
Generated Node #2: [77, 79, 110] from Operation: 71+39=110
Current State: 55:[77, 79, 110], Operations: ['71+39=110']
Exploring Operation: 79-77=2, Resulting Numbers: [110, 2]
Generated Node #3: [110, 2] from Operation: 79-77=2
Current State: 55:[110, 2], Operations: ['71+39=110', '79-77=2']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[71, 77, 39, 79], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [71, 39, 2]
Generated Node #0,0: 55:[71, 39, 2] Operation: 79-77=2
Exploring Operation: 77-71=6, Resulting Numbers: [39, 79, 6]
Generated Node #0,1: 55:[39, 79, 6] Operation: 77-71=6
Moving to Node #0,0
Current State: 55:[71, 39, 2], Operations: ['79-77=2']
Exploring Operation: 71-2=69, Resulting Numbers: [39, 69]
Generated Node #0,0,0: 55:[39, 69] Operation: 71-2=69
Exploring Operation: 71-39=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 55:[2, 32] Operation: 71-39=32
Moving to Node #0,1
Current State: 55:[39, 79, 6], Operations: ['77-71=6']
Exploring Operation: 39+6=45, Resulting Numbers: [79, 45]
Generated Node #0,1,0: 55:[79, 45] Operation: 39+6=45
Exploring Operation: 79-39=40, Resulting Numbers: [6, 40]
Generated Node #0,1,1: 55:[6, 40] Operation: 79-39=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[6, 40], Operations: ['77-71=6', '79-39=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,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,0
Current State: 55:[79, 45], Operations: ['77-71=6', '39+6=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 55:[2, 32], Operations: ['79-77=2', '71-39=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[39, 69], Operations: ['79-77=2', '71-2=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,55 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
55,
43,
2
] | 40 | [
"55-50=5",
"43+2=45",
"45-5=40"
] | Current State: 40:[50, 55, 43, 2], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [43, 2, 5]
Generated Node #2: [43, 2, 5] from Operation: 55-50=5
Current State: 40:[43, 2, 5], Operations: ['55-50=5']
Exploring Operation: 43+2=45, Resulting Numbers: [5, 45]
Generated Node #3: [5, 45] from Operation: 43+2=45
Current State: 40:[5, 45], Operations: ['55-50=5', '43+2=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[50, 55, 43, 2], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [55, 43, 25]
Generated Node #0,0: 40:[55, 43, 25] Operation: 50/2=25
Exploring Operation: 50-43=7, Resulting Numbers: [55, 2, 7]
Generated Node #0,1: 40:[55, 2, 7] Operation: 50-43=7
Exploring Operation: 55-43=12, Resulting Numbers: [50, 2, 12]
Generated Node #0,2: 40:[50, 2, 12] Operation: 55-43=12
Exploring Operation: 55-50=5, Resulting Numbers: [43, 2, 5]
Generated Node #0,3: 40:[43, 2, 5] Operation: 55-50=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[43, 2, 5], Operations: ['55-50=5']
Exploring Operation: 2*5=10, Resulting Numbers: [43, 10]
Generated Node #0,3,0: 40:[43, 10] Operation: 2*5=10
Exploring Operation: 43-5=38, Resulting Numbers: [2, 38]
Generated Node #0,3,1: 40:[2, 38] Operation: 43-5=38
Exploring Operation: 43-2=41, Resulting Numbers: [5, 41]
Generated Node #0,3,2: 40:[5, 41] Operation: 43-2=41
Exploring Operation: 2+5=7, Resulting Numbers: [43, 7]
Generated Node #0,3,3: 40:[43, 7] Operation: 2+5=7
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[5, 41], Operations: ['55-50=5', '43-2=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,40 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 40:[2, 38], Operations: ['55-50=5', '43-5=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[50, 55, 43, 2], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [43, 2, 5]
Generated Node #0,3: 40:[43, 2, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 40:[43, 2, 5], Operations: ['55-50=5']
Exploring Operation: 43-5=38, Resulting Numbers: [2, 38]
Generated Node #0,3,1: 40:[2, 38] Operation: 43-5=38
Moving to Node #0,3,1
Current State: 40:[2, 38], Operations: ['55-50=5', '43-5=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
42,
19,
4,
98
] | 54 | [
"42+98=140",
"140/4=35",
"19+35=54"
] | Current State: 54:[42, 19, 4, 98], Operations: []
Exploring Operation: 42+98=140, Resulting Numbers: [19, 4, 140]
Generated Node #2: [19, 4, 140] from Operation: 42+98=140
Current State: 54:[19, 4, 140], Operations: ['42+98=140']
Exploring Operation: 140/4=35, Resulting Numbers: [19, 35]
Generated Node #3: [19, 35] from Operation: 140/4=35
Current State: 54:[19, 35], Operations: ['42+98=140', '140/4=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[42, 19, 4, 98], Operations: []
Exploring Operation: 42+19=61, Resulting Numbers: [4, 98, 61]
Generated Node #0,0: 54:[4, 98, 61] Operation: 42+19=61
Exploring Operation: 98-19=79, Resulting Numbers: [42, 4, 79]
Generated Node #0,1: 54:[42, 4, 79] Operation: 98-19=79
Exploring Operation: 42-19=23, Resulting Numbers: [4, 98, 23]
Generated Node #0,2: 54:[4, 98, 23] Operation: 42-19=23
Exploring Operation: 98-42=56, Resulting Numbers: [19, 4, 56]
Generated Node #0,3: 54:[19, 4, 56] Operation: 98-42=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[19, 4, 56], Operations: ['98-42=56']
Exploring Operation: 19-4=15, Resulting Numbers: [56, 15]
Generated Node #0,3,0: 54:[56, 15] Operation: 19-4=15
Exploring Operation: 56/4=14, Resulting Numbers: [19, 14]
Generated Node #0,3,1: 54:[19, 14] Operation: 56/4=14
Exploring Operation: 19+4=23, Resulting Numbers: [56, 23]
Generated Node #0,3,2: 54:[56, 23] Operation: 19+4=23
Exploring Operation: 56-4=52, Resulting Numbers: [19, 52]
Generated Node #0,3,3: 54:[19, 52] Operation: 56-4=52
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[19, 52], Operations: ['98-42=56', '56-4=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,54 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,54 unequal: No Solution
No 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: 54:[56, 15], Operations: ['98-42=56', '19-4=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,54 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,54 unequal: No Solution
No 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: 54:[19, 14], Operations: ['98-42=56', '56/4=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,54 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[56, 23], Operations: ['98-42=56', '19+4=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,54 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,54 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: 54:[42, 4, 79], Operations: ['98-19=79']
Exploring Operation: 42-4=38, Resulting Numbers: [79, 38]
Generated Node #0,1,0: 54:[79, 38] Operation: 42-4=38
Exploring Operation: 79-4=75, Resulting Numbers: [42, 75]
Generated Node #0,1,1: 54:[42, 75] Operation: 79-4=75
Exploring Operation: 42+4=46, Resulting Numbers: [79, 46]
Generated Node #0,1,2: 54:[79, 46] Operation: 42+4=46
Exploring Operation: 79-42=37, Resulting Numbers: [4, 37]
Generated Node #0,1,3: 54:[4, 37] Operation: 79-42=37
Moving to Node #0,1,3
Current State: 54:[4, 37], Operations: ['98-19=79', '79-42=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,54 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[79, 46], Operations: ['98-19=79', '42+4=46']
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,54 unequal: No Solution
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[42, 75], Operations: ['98-19=79', '79-4=75']
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,54 unequal: No Solution
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,54 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[79, 38], Operations: ['98-19=79', '42-4=38']
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,54 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[4, 98, 23], Operations: ['42-19=23']
Exploring Operation: 23-4=19, Resulting Numbers: [98, 19]
Generated Node #0,2,0: 54:[98, 19] Operation: 23-4=19
Exploring Operation: 98-4=94, Resulting Numbers: [23, 94]
Generated Node #0,2,1: 54:[23, 94] Operation: 98-4=94
Exploring Operation: 98-23=75, Resulting Numbers: [4, 75]
Generated Node #0,2,2: 54:[4, 75] Operation: 98-23=75
Exploring Operation: 4+23=27, Resulting Numbers: [98, 27]
Generated Node #0,2,3: 54:[98, 27] Operation: 4+23=27
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[4, 75], Operations: ['42-19=23', '98-23=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,54 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,54 unequal: No Solution
No 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: 54:[23, 94], Operations: ['42-19=23', '98-4=94']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 23*94=2162, Resulting Numbers: [2162]
2162,54 unequal: No Solution
Exploring Operation: 23+94=117, Resulting Numbers: [117]
117,54 unequal: No Solution
No 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: 54:[98, 27], Operations: ['42-19=23', '4+23=27']
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,54 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,54 unequal: No Solution
No 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: 54:[98, 19], Operations: ['42-19=23', '23-4=19']
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,54 unequal: No Solution
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,54 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,54 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: 54:[4, 98, 61], Operations: ['42+19=61']
Exploring Operation: 61-4=57, Resulting Numbers: [98, 57]
Generated Node #0,0,0: 54:[98, 57] Operation: 61-4=57
Exploring Operation: 4+98=102, Resulting Numbers: [61, 102]
Generated Node #0,0,1: 54:[61, 102] Operation: 4+98=102
Exploring Operation: 98-4=94, Resulting Numbers: [61, 94]
Generated Node #0,0,2: 54:[61, 94] Operation: 98-4=94
Exploring Operation: 98-61=37, Resulting Numbers: [4, 37]
Generated Node #0,0,3: 54:[4, 37] Operation: 98-61=37
Moving to Node #0,0,3
Current State: 54:[4, 37], Operations: ['42+19=61', '98-61=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[61, 94], Operations: ['42+19=61', '98-4=94']
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,54 unequal: No Solution
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,54 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[98, 57], Operations: ['42+19=61', '61-4=57']
Exploring Operation: 98-57=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 98*57=5586, Resulting Numbers: [5586]
5586,54 unequal: No Solution
Exploring Operation: 98+57=155, Resulting Numbers: [155]
155,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[61, 102], Operations: ['42+19=61', '4+98=102']
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,54 unequal: No Solution
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
27,
9,
1,
50
] | 100 | [
"27/9=3",
"3-1=2",
"50*2=100"
] | Current State: 100:[27, 9, 1, 50], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [1, 50, 3]
Generated Node #2: [1, 50, 3] from Operation: 27/9=3
Current State: 100:[1, 50, 3], Operations: ['27/9=3']
Exploring Operation: 3-1=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 3-1=2
Current State: 100:[50, 2], Operations: ['27/9=3', '3-1=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[27, 9, 1, 50], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [27, 50, 10]
Generated Node #0,0: 100:[27, 50, 10] Operation: 9+1=10
Exploring Operation: 27-1=26, Resulting Numbers: [9, 50, 26]
Generated Node #0,1: 100:[9, 50, 26] Operation: 27-1=26
Exploring Operation: 27/9=3, Resulting Numbers: [1, 50, 3]
Generated Node #0,2: 100:[1, 50, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[27, 50, 10], Operations: ['9+1=10']
Exploring Operation: 27-10=17, Resulting Numbers: [50, 17]
Generated Node #0,0,0: 100:[50, 17] Operation: 27-10=17
Exploring Operation: 50/10=5, Resulting Numbers: [27, 5]
Generated Node #0,0,1: 100:[27, 5] Operation: 50/10=5
Exploring Operation: 50-27=23, Resulting Numbers: [10, 23]
Generated Node #0,0,2: 100:[10, 23] Operation: 50-27=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[27, 5], Operations: ['9+1=10', '50/10=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,100 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,100 unequal: No Solution
No 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: 100:[10, 23], Operations: ['9+1=10', '50-27=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,100 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,100 unequal: No Solution
No 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: 100:[50, 17], Operations: ['9+1=10', '27-10=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,100 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[9, 50, 26], Operations: ['27-1=26']
Exploring Operation: 26-9=17, Resulting Numbers: [50, 17]
Generated Node #0,1,0: 100:[50, 17] Operation: 26-9=17
Exploring Operation: 50-26=24, Resulting Numbers: [9, 24]
Generated Node #0,1,1: 100:[9, 24] Operation: 50-26=24
Exploring Operation: 9+50=59, Resulting Numbers: [26, 59]
Generated Node #0,1,2: 100:[26, 59] Operation: 9+50=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[9, 24], Operations: ['27-1=26', '50-26=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,100 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,100 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,100 unequal: No Solution
No 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: 100:[50, 17], Operations: ['27-1=26', '26-9=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,100 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,100 unequal: No Solution
No 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: 100:[26, 59], Operations: ['27-1=26', '9+50=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,100 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[1, 50, 3], Operations: ['27/9=3']
Exploring Operation: 3-1=2, Resulting Numbers: [50, 2]
Generated Node #0,2,0: 100:[50, 2] Operation: 3-1=2
Exploring Operation: 1+3=4, Resulting Numbers: [50, 4]
Generated Node #0,2,1: 100:[50, 4] Operation: 1+3=4
Exploring Operation: 1*50=50, Resulting Numbers: [3, 50]
Generated Node #0,2,2: 100:[3, 50] Operation: 1*50=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[50, 2], Operations: ['27/9=3', '3-1=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[27, 9, 1, 50], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [1, 50, 3]
Generated Node #0,2: 100:[1, 50, 3] Operation: 27/9=3
Moving to Node #0,2
Current State: 100:[1, 50, 3], Operations: ['27/9=3']
Exploring Operation: 3-1=2, Resulting Numbers: [50, 2]
Generated Node #0,2,0: 100:[50, 2] Operation: 3-1=2
Moving to Node #0,2,0
Current State: 100:[50, 2], Operations: ['27/9=3', '3-1=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
15,
2,
12,
55
] | 47 | [
"15+55=70",
"70/2=35",
"12+35=47"
] | Current State: 47:[15, 2, 12, 55], Operations: []
Exploring Operation: 15+55=70, Resulting Numbers: [2, 12, 70]
Generated Node #2: [2, 12, 70] from Operation: 15+55=70
Current State: 47:[2, 12, 70], Operations: ['15+55=70']
Exploring Operation: 70/2=35, Resulting Numbers: [12, 35]
Generated Node #3: [12, 35] from Operation: 70/2=35
Current State: 47:[12, 35], Operations: ['15+55=70', '70/2=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[15, 2, 12, 55], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [12, 55, 30]
Generated Node #0,0: 47:[12, 55, 30] Operation: 15*2=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[12, 55, 30], Operations: ['15*2=30']
Exploring Operation: 12+30=42, Resulting Numbers: [55, 42]
Generated Node #0,0,0: 47:[55, 42] Operation: 12+30=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[55, 42], Operations: ['15*2=30', '12+30=42']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
86,
52,
29,
31
] | 94 | [
"86-52=34",
"29+31=60",
"34+60=94"
] | Current State: 94:[86, 52, 29, 31], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [29, 31, 34]
Generated Node #2: [29, 31, 34] from Operation: 86-52=34
Current State: 94:[29, 31, 34], Operations: ['86-52=34']
Exploring Operation: 29+31=60, Resulting Numbers: [34, 60]
Generated Node #3: [34, 60] from Operation: 29+31=60
Current State: 94:[34, 60], Operations: ['86-52=34', '29+31=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[86, 52, 29, 31], Operations: []
Exploring Operation: 86-31=55, Resulting Numbers: [52, 29, 55]
Generated Node #0,0: 94:[52, 29, 55] Operation: 86-31=55
Exploring Operation: 29+31=60, Resulting Numbers: [86, 52, 60]
Generated Node #0,1: 94:[86, 52, 60] Operation: 29+31=60
Exploring Operation: 31-29=2, Resulting Numbers: [86, 52, 2]
Generated Node #0,2: 94:[86, 52, 2] Operation: 31-29=2
Exploring Operation: 86-29=57, Resulting Numbers: [52, 31, 57]
Generated Node #0,3: 94:[52, 31, 57] Operation: 86-29=57
Moving to Node #0,2
Current State: 94:[86, 52, 2], Operations: ['31-29=2']
Exploring Operation: 86/2=43, Resulting Numbers: [52, 43]
Generated Node #0,2,0: 94:[52, 43] Operation: 86/2=43
Exploring Operation: 86-52=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 94:[2, 34] Operation: 86-52=34
Exploring Operation: 86+2=88, Resulting Numbers: [52, 88]
Generated Node #0,2,2: 94:[52, 88] Operation: 86+2=88
Exploring Operation: 52-2=50, Resulting Numbers: [86, 50]
Generated Node #0,2,3: 94:[86, 50] Operation: 52-2=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[52, 43], Operations: ['31-29=2', '86/2=43']
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[52, 88], Operations: ['31-29=2', '86+2=88']
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[86, 50], Operations: ['31-29=2', '52-2=50']
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[2, 34], Operations: ['31-29=2', '86-52=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,94 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: 94:[86, 52, 60], Operations: ['29+31=60']
Exploring Operation: 86-52=34, Resulting Numbers: [60, 34]
Generated Node #0,1,0: 94:[60, 34] Operation: 86-52=34
Exploring Operation: 86-60=26, Resulting Numbers: [52, 26]
Generated Node #0,1,1: 94:[52, 26] Operation: 86-60=26
Exploring Operation: 52+60=112, Resulting Numbers: [86, 112]
Generated Node #0,1,2: 94:[86, 112] Operation: 52+60=112
Exploring Operation: 60-52=8, Resulting Numbers: [86, 8]
Generated Node #0,1,3: 94:[86, 8] Operation: 60-52=8
Moving to Node #0,3
Current State: 94:[52, 31, 57], Operations: ['86-29=57']
Exploring Operation: 57-31=26, Resulting Numbers: [52, 26]
Generated Node #0,3,0: 94:[52, 26] Operation: 57-31=26
Exploring Operation: 57-52=5, Resulting Numbers: [31, 5]
Generated Node #0,3,1: 94:[31, 5] Operation: 57-52=5
Exploring Operation: 52+31=83, Resulting Numbers: [57, 83]
Generated Node #0,3,2: 94:[57, 83] Operation: 52+31=83
Exploring Operation: 31+57=88, Resulting Numbers: [52, 88]
Generated Node #0,3,3: 94:[52, 88] Operation: 31+57=88
Moving to Node #0,0
Current State: 94:[52, 29, 55], Operations: ['86-31=55']
Exploring Operation: 52+29=81, Resulting Numbers: [55, 81]
Generated Node #0,0,0: 94:[55, 81] Operation: 52+29=81
Exploring Operation: 55-29=26, Resulting Numbers: [52, 26]
Generated Node #0,0,1: 94:[52, 26] Operation: 55-29=26
Exploring Operation: 29+55=84, Resulting Numbers: [52, 84]
Generated Node #0,0,2: 94:[52, 84] Operation: 29+55=84
Exploring Operation: 55-52=3, Resulting Numbers: [29, 3]
Generated Node #0,0,3: 94:[29, 3] Operation: 55-52=3
Moving to Node #0,3,3
Current State: 94:[52, 88], Operations: ['86-29=57', '31+57=88']
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,94 unequal: No Solution
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[86, 8], Operations: ['29+31=60', '60-52=8']
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,94 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[86, 52, 29, 31], Operations: []
Exploring Operation: 29+31=60, Resulting Numbers: [86, 52, 60]
Generated Node #0,1: 94:[86, 52, 60] Operation: 29+31=60
Moving to Node #0,1
Current State: 94:[86, 52, 60], Operations: ['29+31=60']
Exploring Operation: 60-52=8, Resulting Numbers: [86, 8]
Generated Node #0,1,3: 94:[86, 8] Operation: 60-52=8
Moving to Node #0,1,3
Current State: 94:[86, 8], Operations: ['29+31=60', '60-52=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.962674 | hs_4 | mult_heuristic |
[
38,
22,
51,
6
] | 41 | [
"38+22=60",
"60/6=10",
"51-10=41"
] | Current State: 41:[38, 22, 51, 6], Operations: []
Exploring Operation: 38+22=60, Resulting Numbers: [51, 6, 60]
Generated Node #2: [51, 6, 60] from Operation: 38+22=60
Current State: 41:[51, 6, 60], Operations: ['38+22=60']
Exploring Operation: 60/6=10, Resulting Numbers: [51, 10]
Generated Node #3: [51, 10] from Operation: 60/6=10
Current State: 41:[51, 10], Operations: ['38+22=60', '60/6=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[38, 22, 51, 6], Operations: []
Exploring Operation: 51-6=45, Resulting Numbers: [38, 22, 45]
Generated Node #0,0: 41:[38, 22, 45] Operation: 51-6=45
Exploring Operation: 22+6=28, Resulting Numbers: [38, 51, 28]
Generated Node #0,1: 41:[38, 51, 28] Operation: 22+6=28
Exploring Operation: 38+6=44, Resulting Numbers: [22, 51, 44]
Generated Node #0,2: 41:[22, 51, 44] Operation: 38+6=44
Exploring Operation: 22-6=16, Resulting Numbers: [38, 51, 16]
Generated Node #0,3: 41:[38, 51, 16] Operation: 22-6=16
Exploring Operation: 38-6=32, Resulting Numbers: [22, 51, 32]
Generated Node #0,4: 41:[22, 51, 32] Operation: 38-6=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[38, 22, 45], Operations: ['51-6=45']
Exploring Operation: 38+22=60, Resulting Numbers: [45, 60]
Generated Node #0,0,0: 41:[45, 60] Operation: 38+22=60
Exploring Operation: 38-22=16, Resulting Numbers: [45, 16]
Generated Node #0,0,1: 41:[45, 16] Operation: 38-22=16
Exploring Operation: 45-22=23, Resulting Numbers: [38, 23]
Generated Node #0,0,2: 41:[38, 23] Operation: 45-22=23
Exploring Operation: 22+45=67, Resulting Numbers: [38, 67]
Generated Node #0,0,3: 41:[38, 67] Operation: 22+45=67
Exploring Operation: 45-38=7, Resulting Numbers: [22, 7]
Generated Node #0,0,4: 41:[22, 7] Operation: 45-38=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[38, 23], Operations: ['51-6=45', '45-22=23']
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,41 unequal: No Solution
No 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: 41:[45, 60], Operations: ['51-6=45', '38+22=60']
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 45+60=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 45*60=2700, Resulting Numbers: [2700]
2700,41 unequal: No Solution
No 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: 41:[45, 16], Operations: ['51-6=45', '38-22=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,41 unequal: No Solution
No 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: 41:[38, 67], Operations: ['51-6=45', '22+45=67']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,41 unequal: No Solution
No 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: 41:[22, 7], Operations: ['51-6=45', '45-38=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[38, 51, 28], Operations: ['22+6=28']
Exploring Operation: 38+28=66, Resulting Numbers: [51, 66]
Generated Node #0,1,0: 41:[51, 66] Operation: 38+28=66
Exploring Operation: 51-38=13, Resulting Numbers: [28, 13]
Generated Node #0,1,1: 41:[28, 13] Operation: 51-38=13
Exploring Operation: 38-28=10, Resulting Numbers: [51, 10]
Generated Node #0,1,2: 41:[51, 10] Operation: 38-28=10
Exploring Operation: 51+28=79, Resulting Numbers: [38, 79]
Generated Node #0,1,3: 41:[38, 79] Operation: 51+28=79
Exploring Operation: 51-28=23, Resulting Numbers: [38, 23]
Generated Node #0,1,4: 41:[38, 23] Operation: 51-28=23
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[38, 23], Operations: ['22+6=28', '51-28=23']
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,41 unequal: No Solution
No 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: 41:[51, 66], Operations: ['22+6=28', '38+28=66']
Exploring Operation: 51*66=3366, Resulting Numbers: [3366]
3366,41 unequal: No Solution
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,41 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No 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: 41:[28, 13], Operations: ['22+6=28', '51-38=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[38, 22, 51, 6], Operations: []
Exploring Operation: 22+6=28, Resulting Numbers: [38, 51, 28]
Generated Node #0,1: 41:[38, 51, 28] Operation: 22+6=28
Moving to Node #0,1
Current State: 41:[38, 51, 28], Operations: ['22+6=28']
Exploring Operation: 51-38=13, Resulting Numbers: [28, 13]
Generated Node #0,1,1: 41:[28, 13] Operation: 51-38=13
Moving to Node #0,1,1
Current State: 41:[28, 13], Operations: ['22+6=28', '51-38=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
8,
17,
21,
34
] | 11 | [
"21-8=13",
"34/17=2",
"13-2=11"
] | Current State: 11:[8, 17, 21, 34], Operations: []
Exploring Operation: 21-8=13, Resulting Numbers: [17, 34, 13]
Generated Node #2: [17, 34, 13] from Operation: 21-8=13
Current State: 11:[17, 34, 13], Operations: ['21-8=13']
Exploring Operation: 34/17=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 34/17=2
Current State: 11:[13, 2], Operations: ['21-8=13', '34/17=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[8, 17, 21, 34], Operations: []
Exploring Operation: 34-21=13, Resulting Numbers: [8, 17, 13]
Generated Node #0,0: 11:[8, 17, 13] Operation: 34-21=13
Moving to Node #0,0
Current State: 11:[8, 17, 13], Operations: ['34-21=13']
Exploring Operation: 17-8=9, Resulting Numbers: [13, 9]
Generated Node #0,0,0: 11:[13, 9] Operation: 17-8=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[13, 9], Operations: ['34-21=13', '17-8=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,11 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 |
[
4,
78,
6,
72
] | 30 | [
"4*6=24",
"78-72=6",
"24+6=30"
] | Current State: 30:[4, 78, 6, 72], Operations: []
Exploring Operation: 4*6=24, Resulting Numbers: [78, 72, 24]
Generated Node #2: [78, 72, 24] from Operation: 4*6=24
Current State: 30:[78, 72, 24], Operations: ['4*6=24']
Exploring Operation: 78-72=6, Resulting Numbers: [24, 6]
Generated Node #3: [24, 6] from Operation: 78-72=6
Current State: 30:[24, 6], Operations: ['4*6=24', '78-72=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[4, 78, 6, 72], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [4, 6, 6]
Generated Node #0,0: 30:[4, 6, 6] Operation: 78-72=6
Exploring Operation: 78/6=13, Resulting Numbers: [4, 72, 13]
Generated Node #0,1: 30:[4, 72, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[4, 6, 6], Operations: ['78-72=6']
Exploring Operation: 6-4=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 30:[6, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 30:[6, 10] Operation: 4+6=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[6, 2], Operations: ['78-72=6', '6-4=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[6, 10], Operations: ['78-72=6', '4+6=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[4, 72, 13], Operations: ['78/6=13']
Exploring Operation: 72-13=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 30:[4, 59] Operation: 72-13=59
Exploring Operation: 72/4=18, Resulting Numbers: [13, 18]
Generated Node #0,1,1: 30:[13, 18] Operation: 72/4=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[13, 18], Operations: ['78/6=13', '72/4=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[4, 59], Operations: ['78/6=13', '72-13=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
19,
10,
25
] | 24 | [
"40+19=59",
"10+25=35",
"59-35=24"
] | Current State: 24:[40, 19, 10, 25], Operations: []
Exploring Operation: 40+19=59, Resulting Numbers: [10, 25, 59]
Generated Node #2: [10, 25, 59] from Operation: 40+19=59
Current State: 24:[10, 25, 59], Operations: ['40+19=59']
Exploring Operation: 10+25=35, Resulting Numbers: [59, 35]
Generated Node #3: [59, 35] from Operation: 10+25=35
Current State: 24:[59, 35], Operations: ['40+19=59', '10+25=35']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[40, 19, 10, 25], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [10, 25, 21]
Generated Node #0,0: 24:[10, 25, 21] Operation: 40-19=21
Exploring Operation: 40/10=4, Resulting Numbers: [19, 25, 4]
Generated Node #0,1: 24:[19, 25, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[10, 25, 21], Operations: ['40-19=21']
Exploring Operation: 21-10=11, Resulting Numbers: [25, 11]
Generated Node #0,0,0: 24:[25, 11] Operation: 21-10=11
Exploring Operation: 25-21=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 24:[10, 4] Operation: 25-21=4
Moving to Node #0,0,0
Current State: 24:[25, 11], Operations: ['40-19=21', '21-10=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[10, 4], Operations: ['40-19=21', '25-21=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[19, 25, 4], Operations: ['40/10=4']
Exploring Operation: 19+4=23, Resulting Numbers: [25, 23]
Generated Node #0,1,0: 24:[25, 23] Operation: 19+4=23
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 24:[4, 6] Operation: 25-19=6
Moving to Node #0,1,1
Current State: 24:[4, 6], Operations: ['40/10=4', '25-19=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[40, 19, 10, 25], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [19, 25, 4]
Generated Node #0,1: 24:[19, 25, 4] Operation: 40/10=4
Moving to Node #0,1
Current State: 24:[19, 25, 4], Operations: ['40/10=4']
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 24:[4, 6] Operation: 25-19=6
Moving to Node #0,1,1
Current State: 24:[4, 6], Operations: ['40/10=4', '25-19=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
27,
23,
6,
50
] | 74 | [
"27-23=4",
"6*4=24",
"50+24=74"
] | Current State: 74:[27, 23, 6, 50], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [6, 50, 4]
Generated Node #2: [6, 50, 4] from Operation: 27-23=4
Current State: 74:[6, 50, 4], Operations: ['27-23=4']
Exploring Operation: 6*4=24, Resulting Numbers: [50, 24]
Generated Node #3: [50, 24] from Operation: 6*4=24
Current State: 74:[50, 24], Operations: ['27-23=4', '6*4=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[27, 23, 6, 50], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [6, 50, 4]
Generated Node #0,0: 74:[6, 50, 4] Operation: 27-23=4
Exploring Operation: 23+50=73, Resulting Numbers: [27, 6, 73]
Generated Node #0,1: 74:[27, 6, 73] Operation: 23+50=73
Exploring Operation: 27+50=77, Resulting Numbers: [23, 6, 77]
Generated Node #0,2: 74:[23, 6, 77] Operation: 27+50=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[27, 6, 73], Operations: ['23+50=73']
Exploring Operation: 6+73=79, Resulting Numbers: [27, 79]
Generated Node #0,1,0: 74:[27, 79] Operation: 6+73=79
Exploring Operation: 73-27=46, Resulting Numbers: [6, 46]
Generated Node #0,1,1: 74:[6, 46] Operation: 73-27=46
Exploring Operation: 27+6=33, Resulting Numbers: [73, 33]
Generated Node #0,1,2: 74:[73, 33] Operation: 27+6=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[73, 33], Operations: ['23+50=73', '27+6=33']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,74 unequal: No Solution
No 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: 74:[6, 46], Operations: ['23+50=73', '73-27=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,74 unequal: No Solution
No 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: 74:[27, 79], Operations: ['23+50=73', '6+73=79']
Exploring Operation: 27+79=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 27*79=2133, Resulting Numbers: [2133]
2133,74 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,74 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: 74:[6, 50, 4], Operations: ['27-23=4']
Exploring Operation: 6-4=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 74:[50, 2] Operation: 6-4=2
Exploring Operation: 50-4=46, Resulting Numbers: [6, 46]
Generated Node #0,0,1: 74:[6, 46] Operation: 50-4=46
Exploring Operation: 50-6=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 74:[4, 44] Operation: 50-6=44
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[4, 44], Operations: ['27-23=4', '50-6=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No 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: 74:[50, 2], Operations: ['27-23=4', '6-4=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
No 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: 74:[6, 46], Operations: ['27-23=4', '50-4=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,74 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,74 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: 74:[23, 6, 77], Operations: ['27+50=77']
Exploring Operation: 77-6=71, Resulting Numbers: [23, 71]
Generated Node #0,2,0: 74:[23, 71] Operation: 77-6=71
Exploring Operation: 23+6=29, Resulting Numbers: [77, 29]
Generated Node #0,2,1: 74:[77, 29] Operation: 23+6=29
Exploring Operation: 23-6=17, Resulting Numbers: [77, 17]
Generated Node #0,2,2: 74:[77, 17] Operation: 23-6=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[77, 29], Operations: ['27+50=77', '23+6=29']
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,74 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,74 unequal: No Solution
No 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: 74:[23, 71], Operations: ['27+50=77', '77-6=71']
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,74 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,74 unequal: No Solution
No 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: 74:[77, 17], Operations: ['27+50=77', '23-6=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,74 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,74 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 |
[
93,
78,
44,
66
] | 37 | [
"93-78=15",
"66-44=22",
"15+22=37"
] | Current State: 37:[93, 78, 44, 66], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [44, 66, 15]
Generated Node #2: [44, 66, 15] from Operation: 93-78=15
Current State: 37:[44, 66, 15], Operations: ['93-78=15']
Exploring Operation: 66-44=22, Resulting Numbers: [15, 22]
Generated Node #3: [15, 22] from Operation: 66-44=22
Current State: 37:[15, 22], Operations: ['93-78=15', '66-44=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[93, 78, 44, 66], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [44, 66, 15]
Generated Node #0,0: 37:[44, 66, 15] Operation: 93-78=15
Moving to Node #0,0
Current State: 37:[44, 66, 15], Operations: ['93-78=15']
Exploring Operation: 66-15=51, Resulting Numbers: [44, 51]
Generated Node #0,0,0: 37:[44, 51] Operation: 66-15=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[44, 51], Operations: ['93-78=15', '66-15=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,37 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 |
[
4,
19,
31,
59
] | 26 | [
"59-31=28",
"28/4=7",
"19+7=26"
] | Current State: 26:[4, 19, 31, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [4, 19, 28]
Generated Node #2: [4, 19, 28] from Operation: 59-31=28
Current State: 26:[4, 19, 28], Operations: ['59-31=28']
Exploring Operation: 28/4=7, Resulting Numbers: [19, 7]
Generated Node #3: [19, 7] from Operation: 28/4=7
Current State: 26:[19, 7], Operations: ['59-31=28', '28/4=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[4, 19, 31, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [4, 19, 28]
Generated Node #0,0: 26:[4, 19, 28] Operation: 59-31=28
Exploring Operation: 31-19=12, Resulting Numbers: [4, 59, 12]
Generated Node #0,1: 26:[4, 59, 12] Operation: 31-19=12
Exploring Operation: 31-4=27, Resulting Numbers: [19, 59, 27]
Generated Node #0,2: 26:[19, 59, 27] Operation: 31-4=27
Exploring Operation: 19-4=15, Resulting Numbers: [31, 59, 15]
Generated Node #0,3: 26:[31, 59, 15] Operation: 19-4=15
Exploring Operation: 59-19=40, Resulting Numbers: [4, 31, 40]
Generated Node #0,4: 26:[4, 31, 40] Operation: 59-19=40
Moving to Node #0,0
Current State: 26:[4, 19, 28], Operations: ['59-31=28']
Exploring Operation: 19-4=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 26:[28, 15] Operation: 19-4=15
Exploring Operation: 28-19=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 26:[4, 9] Operation: 28-19=9
Exploring Operation: 4+19=23, Resulting Numbers: [28, 23]
Generated Node #0,0,2: 26:[28, 23] Operation: 4+19=23
Exploring Operation: 28/4=7, Resulting Numbers: [19, 7]
Generated Node #0,0,3: 26:[19, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [19, 24]
Generated Node #0,0,4: 26:[19, 24] Operation: 28-4=24
Moving to Node #0,4
Current State: 26:[4, 31, 40], Operations: ['59-19=40']
Exploring Operation: 31-4=27, Resulting Numbers: [40, 27]
Generated Node #0,4,0: 26:[40, 27] Operation: 31-4=27
Exploring Operation: 4+31=35, Resulting Numbers: [40, 35]
Generated Node #0,4,1: 26:[40, 35] Operation: 4+31=35
Exploring Operation: 40-31=9, Resulting Numbers: [4, 9]
Generated Node #0,4,2: 26:[4, 9] Operation: 40-31=9
Exploring Operation: 40/4=10, Resulting Numbers: [31, 10]
Generated Node #0,4,3: 26:[31, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [31, 36]
Generated Node #0,4,4: 26:[31, 36] Operation: 40-4=36
Moving to Node #0,1
Current State: 26:[4, 59, 12], Operations: ['31-19=12']
Exploring Operation: 59-4=55, Resulting Numbers: [12, 55]
Generated Node #0,1,0: 26:[12, 55] Operation: 59-4=55
Exploring Operation: 59-12=47, Resulting Numbers: [4, 47]
Generated Node #0,1,1: 26:[4, 47] Operation: 59-12=47
Exploring Operation: 12/4=3, Resulting Numbers: [59, 3]
Generated Node #0,1,2: 26:[59, 3] Operation: 12/4=3
Exploring Operation: 4+59=63, Resulting Numbers: [12, 63]
Generated Node #0,1,3: 26:[12, 63] Operation: 4+59=63
Exploring Operation: 4+12=16, Resulting Numbers: [59, 16]
Generated Node #0,1,4: 26:[59, 16] Operation: 4+12=16
Moving to Node #0,2
Current State: 26:[19, 59, 27], Operations: ['31-4=27']
Exploring Operation: 19+59=78, Resulting Numbers: [27, 78]
Generated Node #0,2,0: 26:[27, 78] Operation: 19+59=78
Exploring Operation: 19+27=46, Resulting Numbers: [59, 46]
Generated Node #0,2,1: 26:[59, 46] Operation: 19+27=46
Exploring Operation: 59-27=32, Resulting Numbers: [19, 32]
Generated Node #0,2,2: 26:[19, 32] Operation: 59-27=32
Exploring Operation: 59-19=40, Resulting Numbers: [27, 40]
Generated Node #0,2,3: 26:[27, 40] Operation: 59-19=40
Exploring Operation: 27-19=8, Resulting Numbers: [59, 8]
Generated Node #0,2,4: 26:[59, 8] Operation: 27-19=8
Moving to Node #0,3
Current State: 26:[31, 59, 15], Operations: ['19-4=15']
Exploring Operation: 59+15=74, Resulting Numbers: [31, 74]
Generated Node #0,3,0: 26:[31, 74] Operation: 59+15=74
Exploring Operation: 31+15=46, Resulting Numbers: [59, 46]
Generated Node #0,3,1: 26:[59, 46] Operation: 31+15=46
Exploring Operation: 59-15=44, Resulting Numbers: [31, 44]
Generated Node #0,3,2: 26:[31, 44] Operation: 59-15=44
Exploring Operation: 31-15=16, Resulting Numbers: [59, 16]
Generated Node #0,3,3: 26:[59, 16] Operation: 31-15=16
Exploring Operation: 59-31=28, Resulting Numbers: [15, 28]
Generated Node #0,3,4: 26:[15, 28] Operation: 59-31=28
Moving to Node #0,0,0
Current State: 26:[28, 15], Operations: ['59-31=28', '19-4=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,26 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[15, 28], Operations: ['19-4=15', '59-31=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,26 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[28, 23], Operations: ['59-31=28', '4+19=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,26 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[4, 9], Operations: ['59-31=28', '28-19=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[4, 9], Operations: ['59-19=40', '40-31=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[31, 10], Operations: ['59-19=40', '40/4=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[19, 24], Operations: ['59-31=28', '28-4=24']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[19, 7], Operations: ['59-31=28', '28/4=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,26 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[4, 19, 31, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [4, 19, 28]
Generated Node #0,0: 26:[4, 19, 28] Operation: 59-31=28
Moving to Node #0,0
Current State: 26:[4, 19, 28], Operations: ['59-31=28']
Exploring Operation: 28/4=7, Resulting Numbers: [19, 7]
Generated Node #0,0,3: 26:[19, 7] Operation: 28/4=7
Moving to Node #0,0,3
Current State: 26:[19, 7], Operations: ['59-31=28', '28/4=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.949653 | hs_5 | mult_heuristic |
[
79,
66,
32,
4
] | 49 | [
"79-66=13",
"32+4=36",
"13+36=49"
] | Current State: 49:[79, 66, 32, 4], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [32, 4, 13]
Generated Node #2: [32, 4, 13] from Operation: 79-66=13
Current State: 49:[32, 4, 13], Operations: ['79-66=13']
Exploring Operation: 32+4=36, Resulting Numbers: [13, 36]
Generated Node #3: [13, 36] from Operation: 32+4=36
Current State: 49:[13, 36], Operations: ['79-66=13', '32+4=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[79, 66, 32, 4], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [32, 4, 13]
Generated Node #0,0: 49:[32, 4, 13] Operation: 79-66=13
Exploring Operation: 32/4=8, Resulting Numbers: [79, 66, 8]
Generated Node #0,1: 49:[79, 66, 8] Operation: 32/4=8
Exploring Operation: 66-32=34, Resulting Numbers: [79, 4, 34]
Generated Node #0,2: 49:[79, 4, 34] Operation: 66-32=34
Exploring Operation: 79-32=47, Resulting Numbers: [66, 4, 47]
Generated Node #0,3: 49:[66, 4, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[66, 4, 47], Operations: ['79-32=47']
Exploring Operation: 4+47=51, Resulting Numbers: [66, 51]
Generated Node #0,3,0: 49:[66, 51] Operation: 4+47=51
Exploring Operation: 66-4=62, Resulting Numbers: [47, 62]
Generated Node #0,3,1: 49:[47, 62] Operation: 66-4=62
Exploring Operation: 66+4=70, Resulting Numbers: [47, 70]
Generated Node #0,3,2: 49:[47, 70] Operation: 66+4=70
Exploring Operation: 66-47=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 49:[4, 19] Operation: 66-47=19
Moving to Node #0,3,1
Current State: 49:[47, 62], Operations: ['79-32=47', '66-4=62']
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,49 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[4, 19], Operations: ['79-32=47', '66-47=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[66, 51], Operations: ['79-32=47', '4+47=51']
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,49 unequal: No Solution
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,49 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[47, 70], Operations: ['79-32=47', '66+4=70']
Exploring Operation: 47+70=117, Resulting Numbers: [117]
117,49 unequal: No Solution
Exploring Operation: 47*70=3290, Resulting Numbers: [3290]
3290,49 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,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
Current State: 49:[32, 4, 13], Operations: ['79-66=13']
Exploring Operation: 32+13=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 49:[4, 45] Operation: 32+13=45
Exploring Operation: 32-13=19, Resulting Numbers: [4, 19]
Generated Node #0,0,1: 49:[4, 19] Operation: 32-13=19
Exploring Operation: 32+4=36, Resulting Numbers: [13, 36]
Generated Node #0,0,2: 49:[13, 36] Operation: 32+4=36
Exploring Operation: 32/4=8, Resulting Numbers: [13, 8]
Generated Node #0,0,3: 49:[13, 8] Operation: 32/4=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[4, 45], Operations: ['79-66=13', '32+13=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[79, 66, 32, 4], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [32, 4, 13]
Generated Node #0,0: 49:[32, 4, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 49:[32, 4, 13], Operations: ['79-66=13']
Exploring Operation: 32+13=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 49:[4, 45] Operation: 32+13=45
Moving to Node #0,0,0
Current State: 49:[4, 45], Operations: ['79-66=13', '32+13=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
36,
2,
34,
29
] | 25 | [
"36+2=38",
"34+29=63",
"63-38=25"
] | Current State: 25:[36, 2, 34, 29], Operations: []
Exploring Operation: 36+2=38, Resulting Numbers: [34, 29, 38]
Generated Node #2: [34, 29, 38] from Operation: 36+2=38
Current State: 25:[34, 29, 38], Operations: ['36+2=38']
Exploring Operation: 34+29=63, Resulting Numbers: [38, 63]
Generated Node #3: [38, 63] from Operation: 34+29=63
Current State: 25:[38, 63], Operations: ['36+2=38', '34+29=63']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[36, 2, 34, 29], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [2, 29, 2]
Generated Node #0,0: 25:[2, 29, 2] Operation: 36-34=2
Exploring Operation: 36-29=7, Resulting Numbers: [2, 34, 7]
Generated Node #0,1: 25:[2, 34, 7] Operation: 36-29=7
Exploring Operation: 36/2=18, Resulting Numbers: [34, 29, 18]
Generated Node #0,2: 25:[34, 29, 18] Operation: 36/2=18
Exploring Operation: 34-29=5, Resulting Numbers: [36, 2, 5]
Generated Node #0,3: 25:[36, 2, 5] Operation: 34-29=5
Moving to Node #0,0
Current State: 25:[2, 29, 2], Operations: ['36-34=2']
Exploring Operation: 29-2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 25:[2, 27] Operation: 29-2=27
Exploring Operation: 29-2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 25:[2, 27] Operation: 29-2=27
Exploring Operation: 2+2=4, Resulting Numbers: [29, 4]
Generated Node #0,0,2: 25:[29, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [29, 4]
Generated Node #0,0,3: 25:[29, 4] Operation: 2*2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[2, 27], Operations: ['36-34=2', '29-2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[36, 2, 34, 29], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [2, 29, 2]
Generated Node #0,0: 25:[2, 29, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 25:[2, 29, 2], Operations: ['36-34=2']
Exploring Operation: 29-2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 25:[2, 27] Operation: 29-2=27
Moving to Node #0,0,0
Current State: 25:[2, 27], Operations: ['36-34=2', '29-2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
17,
1,
51,
68
] | 35 | [
"17+1=18",
"68-51=17",
"18+17=35"
] | Current State: 35:[17, 1, 51, 68], Operations: []
Exploring Operation: 17+1=18, Resulting Numbers: [51, 68, 18]
Generated Node #2: [51, 68, 18] from Operation: 17+1=18
Current State: 35:[51, 68, 18], Operations: ['17+1=18']
Exploring Operation: 68-51=17, Resulting Numbers: [18, 17]
Generated Node #3: [18, 17] from Operation: 68-51=17
Current State: 35:[18, 17], Operations: ['17+1=18', '68-51=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[17, 1, 51, 68], Operations: []
Exploring Operation: 68-17=51, Resulting Numbers: [1, 51, 51]
Generated Node #0,0: 35:[1, 51, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [1, 51, 4]
Generated Node #0,1: 35:[1, 51, 4] Operation: 68/17=4
Exploring Operation: 68-51=17, Resulting Numbers: [17, 1, 17]
Generated Node #0,2: 35:[17, 1, 17] Operation: 68-51=17
Moving to Node #0,1
Current State: 35:[1, 51, 4], Operations: ['68/17=4']
Exploring Operation: 51-1=50, Resulting Numbers: [4, 50]
Generated Node #0,1,0: 35:[4, 50] Operation: 51-1=50
Exploring Operation: 51-4=47, Resulting Numbers: [1, 47]
Generated Node #0,1,1: 35:[1, 47] Operation: 51-4=47
Exploring Operation: 1+4=5, Resulting Numbers: [51, 5]
Generated Node #0,1,2: 35:[51, 5] Operation: 1+4=5
Moving to Node #0,2
Current State: 35:[17, 1, 17], Operations: ['68-51=17']
Exploring Operation: 17+17=34, Resulting Numbers: [1, 34]
Generated Node #0,2,0: 35:[1, 34] Operation: 17+17=34
Exploring Operation: 17/17=1, Resulting Numbers: [1, 1]
Generated Node #0,2,1: 35:[1, 1] Operation: 17/17=1
Exploring Operation: 17-17=0, Resulting Numbers: [1, 0]
Generated Node #0,2,2: 35:[1, 0] Operation: 17-17=0
Moving to Node #0,0
Current State: 35:[1, 51, 51], Operations: ['68-17=51']
Exploring Operation: 51-51=0, Resulting Numbers: [1, 0]
Generated Node #0,0,0: 35:[1, 0] Operation: 51-51=0
Exploring Operation: 51-1=50, Resulting Numbers: [51, 50]
Generated Node #0,0,1: 35:[51, 50] Operation: 51-1=50
Exploring Operation: 51/51=1, Resulting Numbers: [1, 1]
Generated Node #0,0,2: 35:[1, 1] Operation: 51/51=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[1, 1], Operations: ['68-17=51', '51/51=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[1, 0], Operations: ['68-17=51', '51-51=0']
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[51, 50], Operations: ['68-17=51', '51-1=50']
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,35 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,35 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,35 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: 35:[1, 34], Operations: ['68-51=17', '17+17=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[17, 1, 51, 68], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [17, 1, 17]
Generated Node #0,2: 35:[17, 1, 17] Operation: 68-51=17
Moving to Node #0,2
Current State: 35:[17, 1, 17], Operations: ['68-51=17']
Exploring Operation: 17+17=34, Resulting Numbers: [1, 34]
Generated Node #0,2,0: 35:[1, 34] Operation: 17+17=34
Moving to Node #0,2,0
Current State: 35:[1, 34], Operations: ['68-51=17', '17+17=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
22,
5,
81,
40
] | 43 | [
"22+5=27",
"81/27=3",
"40+3=43"
] | Current State: 43:[22, 5, 81, 40], Operations: []
Exploring Operation: 22+5=27, Resulting Numbers: [81, 40, 27]
Generated Node #2: [81, 40, 27] from Operation: 22+5=27
Current State: 43:[81, 40, 27], Operations: ['22+5=27']
Exploring Operation: 81/27=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 81/27=3
Current State: 43:[40, 3], Operations: ['22+5=27', '81/27=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[22, 5, 81, 40], Operations: []
Exploring Operation: 81-22=59, Resulting Numbers: [5, 40, 59]
Generated Node #0,0: 43:[5, 40, 59] Operation: 81-22=59
Exploring Operation: 22+5=27, Resulting Numbers: [81, 40, 27]
Generated Node #0,1: 43:[81, 40, 27] Operation: 22+5=27
Exploring Operation: 5+40=45, Resulting Numbers: [22, 81, 45]
Generated Node #0,2: 43:[22, 81, 45] Operation: 5+40=45
Exploring Operation: 81-5=76, Resulting Numbers: [22, 40, 76]
Generated Node #0,3: 43:[22, 40, 76] Operation: 81-5=76
Moving to Node #0,0
Current State: 43:[5, 40, 59], Operations: ['81-22=59']
Exploring Operation: 40-5=35, Resulting Numbers: [59, 35]
Generated Node #0,0,0: 43:[59, 35] Operation: 40-5=35
Exploring Operation: 5+40=45, Resulting Numbers: [59, 45]
Generated Node #0,0,1: 43:[59, 45] Operation: 5+40=45
Exploring Operation: 5+59=64, Resulting Numbers: [40, 64]
Generated Node #0,0,2: 43:[40, 64] Operation: 5+59=64
Exploring Operation: 59-5=54, Resulting Numbers: [40, 54]
Generated Node #0,0,3: 43:[40, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[40, 54], Operations: ['81-22=59', '59-5=54']
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,43 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,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:[59, 45], Operations: ['81-22=59', '5+40=45']
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,43 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,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:[59, 35], Operations: ['81-22=59', '40-5=35']
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,43 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,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,2
Current State: 43:[40, 64], Operations: ['81-22=59', '5+59=64']
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,43 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,43 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: 43:[22, 40, 76], Operations: ['81-5=76']
Exploring Operation: 40-22=18, Resulting Numbers: [76, 18]
Generated Node #0,3,0: 43:[76, 18] Operation: 40-22=18
Exploring Operation: 22+40=62, Resulting Numbers: [76, 62]
Generated Node #0,3,1: 43:[76, 62] Operation: 22+40=62
Exploring Operation: 76-40=36, Resulting Numbers: [22, 36]
Generated Node #0,3,2: 43:[22, 36] Operation: 76-40=36
Exploring Operation: 76-22=54, Resulting Numbers: [40, 54]
Generated Node #0,3,3: 43:[40, 54] Operation: 76-22=54
Moving to Node #0,1
Current State: 43:[81, 40, 27], Operations: ['22+5=27']
Exploring Operation: 81/27=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 43:[40, 3] Operation: 81/27=3
Exploring Operation: 40+27=67, Resulting Numbers: [81, 67]
Generated Node #0,1,1: 43:[81, 67] Operation: 40+27=67
Exploring Operation: 81-40=41, Resulting Numbers: [27, 41]
Generated Node #0,1,2: 43:[27, 41] Operation: 81-40=41
Exploring Operation: 81-27=54, Resulting Numbers: [40, 54]
Generated Node #0,1,3: 43:[40, 54] Operation: 81-27=54
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[40, 54], Operations: ['22+5=27', '81-27=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,43 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,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,1,2
Current State: 43:[27, 41], Operations: ['22+5=27', '81-40=41']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,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,1,0
Current State: 43:[40, 3], Operations: ['22+5=27', '81/27=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[22, 5, 81, 40], Operations: []
Exploring Operation: 22+5=27, Resulting Numbers: [81, 40, 27]
Generated Node #0,1: 43:[81, 40, 27] Operation: 22+5=27
Moving to Node #0,1
Current State: 43:[81, 40, 27], Operations: ['22+5=27']
Exploring Operation: 81/27=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 43:[40, 3] Operation: 81/27=3
Moving to Node #0,1,0
Current State: 43:[40, 3], Operations: ['22+5=27', '81/27=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | mult_heuristic |
[
69,
47,
25,
73
] | 70 | [
"69-47=22",
"73-25=48",
"22+48=70"
] | Current State: 70:[69, 47, 25, 73], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [25, 73, 22]
Generated Node #2: [25, 73, 22] from Operation: 69-47=22
Current State: 70:[25, 73, 22], Operations: ['69-47=22']
Exploring Operation: 73-25=48, Resulting Numbers: [22, 48]
Generated Node #3: [22, 48] from Operation: 73-25=48
Current State: 70:[22, 48], Operations: ['69-47=22', '73-25=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[69, 47, 25, 73], Operations: []
Exploring Operation: 47+25=72, Resulting Numbers: [69, 73, 72]
Generated Node #0,0: 70:[69, 73, 72] Operation: 47+25=72
Exploring Operation: 47-25=22, Resulting Numbers: [69, 73, 22]
Generated Node #0,1: 70:[69, 73, 22] Operation: 47-25=22
Exploring Operation: 69-47=22, Resulting Numbers: [25, 73, 22]
Generated Node #0,2: 70:[25, 73, 22] Operation: 69-47=22
Exploring Operation: 73-47=26, Resulting Numbers: [69, 25, 26]
Generated Node #0,3: 70:[69, 25, 26] Operation: 73-47=26
Moving to Node #0,0
Current State: 70:[69, 73, 72], Operations: ['47+25=72']
Exploring Operation: 73-72=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 70:[69, 1] Operation: 73-72=1
Exploring Operation: 69+73=142, Resulting Numbers: [72, 142]
Generated Node #0,0,1: 70:[72, 142] Operation: 69+73=142
Exploring Operation: 72-69=3, Resulting Numbers: [73, 3]
Generated Node #0,0,2: 70:[73, 3] Operation: 72-69=3
Exploring Operation: 73-69=4, Resulting Numbers: [72, 4]
Generated Node #0,0,3: 70:[72, 4] Operation: 73-69=4
Moving to Node #0,1
Current State: 70:[69, 73, 22], Operations: ['47-25=22']
Exploring Operation: 73-22=51, Resulting Numbers: [69, 51]
Generated Node #0,1,0: 70:[69, 51] Operation: 73-22=51
Exploring Operation: 73-69=4, Resulting Numbers: [22, 4]
Generated Node #0,1,1: 70:[22, 4] Operation: 73-69=4
Exploring Operation: 69-22=47, Resulting Numbers: [73, 47]
Generated Node #0,1,2: 70:[73, 47] Operation: 69-22=47
Exploring Operation: 69+22=91, Resulting Numbers: [73, 91]
Generated Node #0,1,3: 70:[73, 91] Operation: 69+22=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[22, 4], Operations: ['47-25=22', '73-69=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 22-4=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,1,2
Current State: 70:[73, 47], Operations: ['47-25=22', '69-22=47']
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,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,0
Current State: 70:[69, 51], Operations: ['47-25=22', '73-22=51']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,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,3
Current State: 70:[73, 91], Operations: ['47-25=22', '69+22=91']
Exploring Operation: 73+91=164, Resulting Numbers: [164]
164,70 unequal: No Solution
Exploring Operation: 73*91=6643, Resulting Numbers: [6643]
6643,70 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,70 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: 70:[69, 25, 26], Operations: ['73-47=26']
Exploring Operation: 26-25=1, Resulting Numbers: [69, 1]
Generated Node #0,3,0: 70:[69, 1] Operation: 26-25=1
Exploring Operation: 69-25=44, Resulting Numbers: [26, 44]
Generated Node #0,3,1: 70:[26, 44] Operation: 69-25=44
Exploring Operation: 25+26=51, Resulting Numbers: [69, 51]
Generated Node #0,3,2: 70:[69, 51] Operation: 25+26=51
Exploring Operation: 69-26=43, Resulting Numbers: [25, 43]
Generated Node #0,3,3: 70:[25, 43] Operation: 69-26=43
Moving to Node #0,2
Current State: 70:[25, 73, 22], Operations: ['69-47=22']
Exploring Operation: 73-25=48, Resulting Numbers: [22, 48]
Generated Node #0,2,0: 70:[22, 48] Operation: 73-25=48
Exploring Operation: 73-22=51, Resulting Numbers: [25, 51]
Generated Node #0,2,1: 70:[25, 51] Operation: 73-22=51
Exploring Operation: 25-22=3, Resulting Numbers: [73, 3]
Generated Node #0,2,2: 70:[73, 3] Operation: 25-22=3
Exploring Operation: 25+22=47, Resulting Numbers: [73, 47]
Generated Node #0,2,3: 70:[73, 47] Operation: 25+22=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[73, 3], Operations: ['69-47=22', '25-22=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,70 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[69, 47, 25, 73], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [25, 73, 22]
Generated Node #0,2: 70:[25, 73, 22] Operation: 69-47=22
Moving to Node #0,2
Current State: 70:[25, 73, 22], Operations: ['69-47=22']
Exploring Operation: 25-22=3, Resulting Numbers: [73, 3]
Generated Node #0,2,2: 70:[73, 3] Operation: 25-22=3
Moving to Node #0,2,2
Current State: 70:[73, 3], Operations: ['69-47=22', '25-22=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
3,
96,
87,
69
] | 42 | [
"96-87=9",
"3*9=27",
"69-27=42"
] | Current State: 42:[3, 96, 87, 69], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [3, 69, 9]
Generated Node #2: [3, 69, 9] from Operation: 96-87=9
Current State: 42:[3, 69, 9], Operations: ['96-87=9']
Exploring Operation: 3*9=27, Resulting Numbers: [69, 27]
Generated Node #3: [69, 27] from Operation: 3*9=27
Current State: 42:[69, 27], Operations: ['96-87=9', '3*9=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 96, 87, 69], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [3, 87, 27]
Generated Node #0,0: 42:[3, 87, 27] Operation: 96-69=27
Exploring Operation: 87-69=18, Resulting Numbers: [3, 96, 18]
Generated Node #0,1: 42:[3, 96, 18] Operation: 87-69=18
Exploring Operation: 87/3=29, Resulting Numbers: [96, 69, 29]
Generated Node #0,2: 42:[96, 69, 29] Operation: 87/3=29
Exploring Operation: 96-87=9, Resulting Numbers: [3, 69, 9]
Generated Node #0,3: 42:[3, 69, 9] Operation: 96-87=9
Exploring Operation: 96/3=32, Resulting Numbers: [87, 69, 32]
Generated Node #0,4: 42:[87, 69, 32] Operation: 96/3=32
Moving to Node #0,3
Current State: 42:[3, 69, 9], Operations: ['96-87=9']
Exploring Operation: 69-3=66, Resulting Numbers: [9, 66]
Generated Node #0,3,0: 42:[9, 66] Operation: 69-3=66
Exploring Operation: 69-9=60, Resulting Numbers: [3, 60]
Generated Node #0,3,1: 42:[3, 60] Operation: 69-9=60
Exploring Operation: 69/3=23, Resulting Numbers: [9, 23]
Generated Node #0,3,2: 42:[9, 23] Operation: 69/3=23
Exploring Operation: 9-3=6, Resulting Numbers: [69, 6]
Generated Node #0,3,3: 42:[69, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [69, 3]
Generated Node #0,3,4: 42:[69, 3] Operation: 9/3=3
Moving to Node #0,0
Current State: 42:[3, 87, 27], Operations: ['96-69=27']
Exploring Operation: 27-3=24, Resulting Numbers: [87, 24]
Generated Node #0,0,0: 42:[87, 24] Operation: 27-3=24
Exploring Operation: 87-27=60, Resulting Numbers: [3, 60]
Generated Node #0,0,1: 42:[3, 60] Operation: 87-27=60
Exploring Operation: 87/3=29, Resulting Numbers: [27, 29]
Generated Node #0,0,2: 42:[27, 29] Operation: 87/3=29
Exploring Operation: 27/3=9, Resulting Numbers: [87, 9]
Generated Node #0,0,3: 42:[87, 9] Operation: 27/3=9
Exploring Operation: 87-3=84, Resulting Numbers: [27, 84]
Generated Node #0,0,4: 42:[27, 84] Operation: 87-3=84
Moving to Node #0,1
Current State: 42:[3, 96, 18], Operations: ['87-69=18']
Exploring Operation: 96-3=93, Resulting Numbers: [18, 93]
Generated Node #0,1,0: 42:[18, 93] Operation: 96-3=93
Exploring Operation: 96-18=78, Resulting Numbers: [3, 78]
Generated Node #0,1,1: 42:[3, 78] Operation: 96-18=78
Exploring Operation: 3+18=21, Resulting Numbers: [96, 21]
Generated Node #0,1,2: 42:[96, 21] Operation: 3+18=21
Exploring Operation: 18/3=6, Resulting Numbers: [96, 6]
Generated Node #0,1,3: 42:[96, 6] Operation: 18/3=6
Exploring Operation: 96/3=32, Resulting Numbers: [18, 32]
Generated Node #0,1,4: 42:[18, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[18, 32], Operations: ['87-69=18', '96/3=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,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,1,1
Current State: 42:[3, 78], Operations: ['87-69=18', '96-18=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,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,1,0
Current State: 42:[18, 93], Operations: ['87-69=18', '96-3=93']
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,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,1,2
Current State: 42:[96, 21], Operations: ['87-69=18', '3+18=21']
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,42 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,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,1,3
Current State: 42:[96, 6], Operations: ['87-69=18', '18/3=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,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:[87, 69, 32], Operations: ['96/3=32']
Exploring Operation: 69-32=37, Resulting Numbers: [87, 37]
Generated Node #0,4,0: 42:[87, 37] Operation: 69-32=37
Exploring Operation: 87-69=18, Resulting Numbers: [32, 18]
Generated Node #0,4,1: 42:[32, 18] Operation: 87-69=18
Exploring Operation: 69+32=101, Resulting Numbers: [87, 101]
Generated Node #0,4,2: 42:[87, 101] Operation: 69+32=101
Exploring Operation: 87+32=119, Resulting Numbers: [69, 119]
Generated Node #0,4,3: 42:[69, 119] Operation: 87+32=119
Exploring Operation: 87-32=55, Resulting Numbers: [69, 55]
Generated Node #0,4,4: 42:[69, 55] Operation: 87-32=55
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[32, 18], Operations: ['96/3=32', '87-69=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,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:[69, 55], Operations: ['96/3=32', '87-32=55']
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,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:[87, 37], Operations: ['96/3=32', '69-32=37']
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,42 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,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:[87, 101], Operations: ['96/3=32', '69+32=101']
Exploring Operation: 87+101=188, Resulting Numbers: [188]
188,42 unequal: No Solution
Exploring Operation: 87*101=8787, Resulting Numbers: [8787]
8787,42 unequal: No Solution
Exploring Operation: 101-87=14, Resulting Numbers: [14]
14,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:[69, 119], Operations: ['96/3=32', '87+32=119']
Exploring Operation: 69+119=188, Resulting Numbers: [188]
188,42 unequal: No Solution
Exploring Operation: 69*119=8211, Resulting Numbers: [8211]
8211,42 unequal: No Solution
Exploring Operation: 119-69=50, Resulting Numbers: [50]
50,42 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: 42:[96, 69, 29], Operations: ['87/3=29']
Exploring Operation: 69-29=40, Resulting Numbers: [96, 40]
Generated Node #0,2,0: 42:[96, 40] Operation: 69-29=40
Exploring Operation: 96+29=125, Resulting Numbers: [69, 125]
Generated Node #0,2,1: 42:[69, 125] Operation: 96+29=125
Exploring Operation: 96-69=27, Resulting Numbers: [29, 27]
Generated Node #0,2,2: 42:[29, 27] Operation: 96-69=27
Exploring Operation: 69+29=98, Resulting Numbers: [96, 98]
Generated Node #0,2,3: 42:[96, 98] Operation: 69+29=98
Exploring Operation: 96-29=67, Resulting Numbers: [69, 67]
Generated Node #0,2,4: 42:[69, 67] Operation: 96-29=67
Moving to Node #0,3,2
Current State: 42:[9, 23], Operations: ['96-87=9', '69/3=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,42 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[27, 29], Operations: ['96-69=27', '87/3=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[29, 27], Operations: ['87/3=29', '96-69=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,42 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[3, 60], Operations: ['96-69=27', '87-27=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[3, 60], Operations: ['96-87=9', '69-9=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[9, 66], Operations: ['96-87=9', '69-3=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[69, 3], Operations: ['96-87=9', '9/3=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,42 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[69, 6], Operations: ['96-87=9', '9-3=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,42 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[87, 9], Operations: ['96-69=27', '27/3=9']
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[27, 84], Operations: ['96-69=27', '87-3=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[87, 24], Operations: ['96-69=27', '27-3=24']
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,42 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[69, 67], Operations: ['87/3=29', '96-29=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,42 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,42 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[96, 40], Operations: ['87/3=29', '69-29=40']
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,42 unequal: No Solution
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,42 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[69, 125], Operations: ['87/3=29', '96+29=125']
Exploring Operation: 69+125=194, Resulting Numbers: [194]
194,42 unequal: No Solution
Exploring Operation: 125-69=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 69*125=8625, Resulting Numbers: [8625]
8625,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[96, 98], Operations: ['87/3=29', '69+29=98']
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,42 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,42 unequal: No Solution
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
1,
14,
81
] | 64 | [
"30+1=31",
"14+81=95",
"95-31=64"
] | Current State: 64:[30, 1, 14, 81], Operations: []
Exploring Operation: 30+1=31, Resulting Numbers: [14, 81, 31]
Generated Node #2: [14, 81, 31] from Operation: 30+1=31
Current State: 64:[14, 81, 31], Operations: ['30+1=31']
Exploring Operation: 14+81=95, Resulting Numbers: [31, 95]
Generated Node #3: [31, 95] from Operation: 14+81=95
Current State: 64:[31, 95], Operations: ['30+1=31', '14+81=95']
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[30, 1, 14, 81], Operations: []
Exploring Operation: 81-30=51, Resulting Numbers: [1, 14, 51]
Generated Node #0,0: 64:[1, 14, 51] Operation: 81-30=51
Exploring Operation: 81-14=67, Resulting Numbers: [30, 1, 67]
Generated Node #0,1: 64:[30, 1, 67] Operation: 81-14=67
Exploring Operation: 30-14=16, Resulting Numbers: [1, 81, 16]
Generated Node #0,2: 64:[1, 81, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[30, 1, 67], Operations: ['81-14=67']
Exploring Operation: 67-1=66, Resulting Numbers: [30, 66]
Generated Node #0,1,0: 64:[30, 66] Operation: 67-1=66
Exploring Operation: 30*1=30, Resulting Numbers: [67, 30]
Generated Node #0,1,1: 64:[67, 30] Operation: 30*1=30
Exploring Operation: 30+1=31, Resulting Numbers: [67, 31]
Generated Node #0,1,2: 64:[67, 31] Operation: 30+1=31
Moving to Node #0,1,0
Current State: 64:[30, 66], Operations: ['81-14=67', '67-1=66']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 30+66=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 30*66=1980, Resulting Numbers: [1980]
1980,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[67, 31], Operations: ['81-14=67', '30+1=31']
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,64 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,64 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[67, 30], Operations: ['81-14=67', '30*1=30']
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,64 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[1, 14, 51], Operations: ['81-30=51']
Exploring Operation: 14+51=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 64:[1, 65] Operation: 14+51=65
Exploring Operation: 1+14=15, Resulting Numbers: [51, 15]
Generated Node #0,0,1: 64:[51, 15] Operation: 1+14=15
Exploring Operation: 51-14=37, Resulting Numbers: [1, 37]
Generated Node #0,0,2: 64:[1, 37] Operation: 51-14=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[1, 65], Operations: ['81-30=51', '14+51=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[30, 1, 14, 81], Operations: []
Exploring Operation: 81-30=51, Resulting Numbers: [1, 14, 51]
Generated Node #0,0: 64:[1, 14, 51] Operation: 81-30=51
Moving to Node #0,0
Current State: 64:[1, 14, 51], Operations: ['81-30=51']
Exploring Operation: 14+51=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 64:[1, 65] Operation: 14+51=65
Moving to Node #0,0,0
Current State: 64:[1, 65], Operations: ['81-30=51', '14+51=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
15,
24,
92,
46
] | 63 | [
"24*92=2208",
"2208/46=48",
"15+48=63"
] | Current State: 63:[15, 24, 92, 46], Operations: []
Exploring Operation: 24*92=2208, Resulting Numbers: [15, 46, 2208]
Generated Node #2: [15, 46, 2208] from Operation: 24*92=2208
Current State: 63:[15, 46, 2208], Operations: ['24*92=2208']
Exploring Operation: 2208/46=48, Resulting Numbers: [15, 48]
Generated Node #3: [15, 48] from Operation: 2208/46=48
Current State: 63:[15, 48], Operations: ['24*92=2208', '2208/46=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[15, 24, 92, 46], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [15, 24, 2]
Generated Node #0,0: 63:[15, 24, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [15, 24, 46]
Generated Node #0,1: 63:[15, 24, 46] Operation: 92-46=46
Exploring Operation: 92-24=68, Resulting Numbers: [15, 46, 68]
Generated Node #0,2: 63:[15, 46, 68] Operation: 92-24=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[15, 24, 2], Operations: ['92/46=2']
Exploring Operation: 15+2=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 63:[24, 17] Operation: 15+2=17
Exploring Operation: 24-15=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 63:[2, 9] Operation: 24-15=9
Exploring Operation: 15-2=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 63:[24, 13] Operation: 15-2=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[2, 9], Operations: ['92/46=2', '24-15=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,63 unequal: No Solution
No 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: 63:[24, 17], Operations: ['92/46=2', '15+2=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,63 unequal: No Solution
No 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: 63:[24, 13], Operations: ['92/46=2', '15-2=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,63 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,63 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: 63:[15, 24, 46], Operations: ['92-46=46']
Exploring Operation: 46-24=22, Resulting Numbers: [15, 22]
Generated Node #0,1,0: 63:[15, 22] Operation: 46-24=22
Exploring Operation: 15+46=61, Resulting Numbers: [24, 61]
Generated Node #0,1,1: 63:[24, 61] Operation: 15+46=61
Exploring Operation: 46-15=31, Resulting Numbers: [24, 31]
Generated Node #0,1,2: 63:[24, 31] Operation: 46-15=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[24, 61], Operations: ['92-46=46', '15+46=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,63 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,63 unequal: No Solution
No 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: 63:[15, 22], Operations: ['92-46=46', '46-24=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,63 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,63 unequal: No Solution
No 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: 63:[24, 31], Operations: ['92-46=46', '46-15=31']
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,63 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,63 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: 63:[15, 46, 68], Operations: ['92-24=68']
Exploring Operation: 46-15=31, Resulting Numbers: [68, 31]
Generated Node #0,2,0: 63:[68, 31] Operation: 46-15=31
Exploring Operation: 15+46=61, Resulting Numbers: [68, 61]
Generated Node #0,2,1: 63:[68, 61] Operation: 15+46=61
Exploring Operation: 68-46=22, Resulting Numbers: [15, 22]
Generated Node #0,2,2: 63:[15, 22] Operation: 68-46=22
Moving to Node #0,2,1
Current State: 63:[68, 61], Operations: ['92-24=68', '15+46=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,63 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,63 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[15, 22], Operations: ['92-24=68', '68-46=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,63 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[68, 31], Operations: ['92-24=68', '46-15=31']
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,63 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,63 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 |
[
53,
74,
13,
65
] | 16 | [
"74-53=21",
"65/13=5",
"21-5=16"
] | Current State: 16:[53, 74, 13, 65], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [13, 65, 21]
Generated Node #2: [13, 65, 21] from Operation: 74-53=21
Current State: 16:[13, 65, 21], Operations: ['74-53=21']
Exploring Operation: 65/13=5, Resulting Numbers: [21, 5]
Generated Node #3: [21, 5] from Operation: 65/13=5
Current State: 16:[21, 5], Operations: ['74-53=21', '65/13=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[53, 74, 13, 65], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [13, 65, 21]
Generated Node #0,0: 16:[13, 65, 21] Operation: 74-53=21
Exploring Operation: 74-65=9, Resulting Numbers: [53, 13, 9]
Generated Node #0,1: 16:[53, 13, 9] Operation: 74-65=9
Exploring Operation: 65/13=5, Resulting Numbers: [53, 74, 5]
Generated Node #0,2: 16:[53, 74, 5] Operation: 65/13=5
Exploring Operation: 65-53=12, Resulting Numbers: [74, 13, 12]
Generated Node #0,3: 16:[74, 13, 12] Operation: 65-53=12
Exploring Operation: 53-13=40, Resulting Numbers: [74, 65, 40]
Generated Node #0,4: 16:[74, 65, 40] Operation: 53-13=40
Moving to Node #0,1
Current State: 16:[53, 13, 9], Operations: ['74-65=9']
Exploring Operation: 53-13=40, Resulting Numbers: [9, 40]
Generated Node #0,1,0: 16:[9, 40] Operation: 53-13=40
Exploring Operation: 13-9=4, Resulting Numbers: [53, 4]
Generated Node #0,1,1: 16:[53, 4] Operation: 13-9=4
Exploring Operation: 13+9=22, Resulting Numbers: [53, 22]
Generated Node #0,1,2: 16:[53, 22] Operation: 13+9=22
Exploring Operation: 53+9=62, Resulting Numbers: [13, 62]
Generated Node #0,1,3: 16:[13, 62] Operation: 53+9=62
Exploring Operation: 53-9=44, Resulting Numbers: [13, 44]
Generated Node #0,1,4: 16:[13, 44] Operation: 53-9=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[9, 40], Operations: ['74-65=9', '53-13=40']
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,16 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 16:[13, 44], Operations: ['74-65=9', '53-9=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[53, 4], Operations: ['74-65=9', '13-9=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[53, 22], Operations: ['74-65=9', '13+9=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,16 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[13, 62], Operations: ['74-65=9', '53+9=62']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,16 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: 16:[13, 65, 21], Operations: ['74-53=21']
Exploring Operation: 21-13=8, Resulting Numbers: [65, 8]
Generated Node #0,0,0: 16:[65, 8] Operation: 21-13=8
Exploring Operation: 13+65=78, Resulting Numbers: [21, 78]
Generated Node #0,0,1: 16:[21, 78] Operation: 13+65=78
Exploring Operation: 65/13=5, Resulting Numbers: [21, 5]
Generated Node #0,0,2: 16:[21, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [21, 52]
Generated Node #0,0,3: 16:[21, 52] Operation: 65-13=52
Exploring Operation: 65-21=44, Resulting Numbers: [13, 44]
Generated Node #0,0,4: 16:[13, 44] Operation: 65-21=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[21, 5], Operations: ['74-53=21', '65/13=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[53, 74, 13, 65], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [13, 65, 21]
Generated Node #0,0: 16:[13, 65, 21] Operation: 74-53=21
Moving to Node #0,0
Current State: 16:[13, 65, 21], Operations: ['74-53=21']
Exploring Operation: 65/13=5, Resulting Numbers: [21, 5]
Generated Node #0,0,2: 16:[21, 5] Operation: 65/13=5
Moving to Node #0,0,2
Current State: 16:[21, 5], Operations: ['74-53=21', '65/13=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
64,
35,
47,
57
] | 19 | [
"64-35=29",
"57-47=10",
"29-10=19"
] | Current State: 19:[64, 35, 47, 57], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [47, 57, 29]
Generated Node #2: [47, 57, 29] from Operation: 64-35=29
Current State: 19:[47, 57, 29], Operations: ['64-35=29']
Exploring Operation: 57-47=10, Resulting Numbers: [29, 10]
Generated Node #3: [29, 10] from Operation: 57-47=10
Current State: 19:[29, 10], Operations: ['64-35=29', '57-47=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[64, 35, 47, 57], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [47, 57, 29]
Generated Node #0,0: 19:[47, 57, 29] Operation: 64-35=29
Exploring Operation: 57-35=22, Resulting Numbers: [64, 47, 22]
Generated Node #0,1: 19:[64, 47, 22] Operation: 57-35=22
Exploring Operation: 57-47=10, Resulting Numbers: [64, 35, 10]
Generated Node #0,2: 19:[64, 35, 10] Operation: 57-47=10
Exploring Operation: 64-47=17, Resulting Numbers: [35, 57, 17]
Generated Node #0,3: 19:[35, 57, 17] Operation: 64-47=17
Exploring Operation: 64-57=7, Resulting Numbers: [35, 47, 7]
Generated Node #0,4: 19:[35, 47, 7] Operation: 64-57=7
Moving to Node #0,3
Current State: 19:[35, 57, 17], Operations: ['64-47=17']
Exploring Operation: 35+17=52, Resulting Numbers: [57, 52]
Generated Node #0,3,0: 19:[57, 52] Operation: 35+17=52
Exploring Operation: 57-35=22, Resulting Numbers: [17, 22]
Generated Node #0,3,1: 19:[17, 22] Operation: 57-35=22
Exploring Operation: 57+17=74, Resulting Numbers: [35, 74]
Generated Node #0,3,2: 19:[35, 74] Operation: 57+17=74
Exploring Operation: 57-17=40, Resulting Numbers: [35, 40]
Generated Node #0,3,3: 19:[35, 40] Operation: 57-17=40
Exploring Operation: 35-17=18, Resulting Numbers: [57, 18]
Generated Node #0,3,4: 19:[57, 18] Operation: 35-17=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[17, 22], Operations: ['64-47=17', '57-35=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No 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: 19:[35, 40], Operations: ['64-47=17', '57-17=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,19 unequal: No Solution
No 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: 19:[57, 18], Operations: ['64-47=17', '35-17=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,19 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,19 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No 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: 19:[57, 52], Operations: ['64-47=17', '35+17=52']
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,19 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,19 unequal: No Solution
No 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: 19:[35, 74], Operations: ['64-47=17', '57+17=74']
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,19 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,19 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,19 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: 19:[35, 47, 7], Operations: ['64-57=7']
Exploring Operation: 47-7=40, Resulting Numbers: [35, 40]
Generated Node #0,4,0: 19:[35, 40] Operation: 47-7=40
Exploring Operation: 47-35=12, Resulting Numbers: [7, 12]
Generated Node #0,4,1: 19:[7, 12] Operation: 47-35=12
Exploring Operation: 35-7=28, Resulting Numbers: [47, 28]
Generated Node #0,4,2: 19:[47, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [47, 5]
Generated Node #0,4,3: 19:[47, 5] Operation: 35/7=5
Exploring Operation: 35+7=42, Resulting Numbers: [47, 42]
Generated Node #0,4,4: 19:[47, 42] Operation: 35+7=42
Moving to Node #0,2
Current State: 19:[64, 35, 10], Operations: ['57-47=10']
Exploring Operation: 64+10=74, Resulting Numbers: [35, 74]
Generated Node #0,2,0: 19:[35, 74] Operation: 64+10=74
Exploring Operation: 64-35=29, Resulting Numbers: [10, 29]
Generated Node #0,2,1: 19:[10, 29] Operation: 64-35=29
Exploring Operation: 35-10=25, Resulting Numbers: [64, 25]
Generated Node #0,2,2: 19:[64, 25] Operation: 35-10=25
Exploring Operation: 64-10=54, Resulting Numbers: [35, 54]
Generated Node #0,2,3: 19:[35, 54] Operation: 64-10=54
Exploring Operation: 35+10=45, Resulting Numbers: [64, 45]
Generated Node #0,2,4: 19:[64, 45] Operation: 35+10=45
Moving to Node #0,0
Current State: 19:[47, 57, 29], Operations: ['64-35=29']
Exploring Operation: 47+57=104, Resulting Numbers: [29, 104]
Generated Node #0,0,0: 19:[29, 104] Operation: 47+57=104
Exploring Operation: 47+29=76, Resulting Numbers: [57, 76]
Generated Node #0,0,1: 19:[57, 76] Operation: 47+29=76
Exploring Operation: 57-47=10, Resulting Numbers: [29, 10]
Generated Node #0,0,2: 19:[29, 10] Operation: 57-47=10
Exploring Operation: 57-29=28, Resulting Numbers: [47, 28]
Generated Node #0,0,3: 19:[47, 28] Operation: 57-29=28
Exploring Operation: 47-29=18, Resulting Numbers: [57, 18]
Generated Node #0,0,4: 19:[57, 18] Operation: 47-29=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[29, 10], Operations: ['64-35=29', '57-47=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[64, 35, 47, 57], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [47, 57, 29]
Generated Node #0,0: 19:[47, 57, 29] Operation: 64-35=29
Moving to Node #0,0
Current State: 19:[47, 57, 29], Operations: ['64-35=29']
Exploring Operation: 57-47=10, Resulting Numbers: [29, 10]
Generated Node #0,0,2: 19:[29, 10] Operation: 57-47=10
Moving to Node #0,0,2
Current State: 19:[29, 10], Operations: ['64-35=29', '57-47=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
76,
12,
4,
24
] | 74 | [
"76-4=72",
"24/12=2",
"72+2=74"
] | Current State: 74:[76, 12, 4, 24], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [12, 24, 72]
Generated Node #2: [12, 24, 72] from Operation: 76-4=72
Current State: 74:[12, 24, 72], Operations: ['76-4=72']
Exploring Operation: 24/12=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 24/12=2
Current State: 74:[72, 2], Operations: ['76-4=72', '24/12=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[76, 12, 4, 24], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [76, 4, 2]
Generated Node #0,0: 74:[76, 4, 2] Operation: 24/12=2
Moving to Node #0,0
Current State: 74:[76, 4, 2], Operations: ['24/12=2']
Exploring Operation: 76-4=72, Resulting Numbers: [2, 72]
Generated Node #0,0,0: 74:[2, 72] Operation: 76-4=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[2, 72], Operations: ['24/12=2', '76-4=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[76, 12, 4, 24], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [76, 4, 2]
Generated Node #0,0: 74:[76, 4, 2] Operation: 24/12=2
Moving to Node #0,0
Current State: 74:[76, 4, 2], Operations: ['24/12=2']
Exploring Operation: 76-4=72, Resulting Numbers: [2, 72]
Generated Node #0,0,0: 74:[2, 72] Operation: 76-4=72
Moving to Node #0,0,0
Current State: 74:[2, 72], Operations: ['24/12=2', '76-4=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
77,
21,
24,
15
] | 35 | [
"77-21=56",
"15*56=840",
"840/24=35"
] | Current State: 35:[77, 21, 24, 15], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [24, 15, 56]
Generated Node #2: [24, 15, 56] from Operation: 77-21=56
Current State: 35:[24, 15, 56], Operations: ['77-21=56']
Exploring Operation: 15*56=840, Resulting Numbers: [24, 840]
Generated Node #3: [24, 840] from Operation: 15*56=840
Current State: 35:[24, 840], Operations: ['77-21=56', '15*56=840']
Exploring Operation: 840/24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[77, 21, 24, 15], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [21, 15, 53]
Generated Node #0,0: 35:[21, 15, 53] Operation: 77-24=53
Exploring Operation: 77-21=56, Resulting Numbers: [24, 15, 56]
Generated Node #0,1: 35:[24, 15, 56] Operation: 77-21=56
Moving to Node #0,0
Current State: 35:[21, 15, 53], Operations: ['77-24=53']
Exploring Operation: 53-21=32, Resulting Numbers: [15, 32]
Generated Node #0,0,0: 35:[15, 32] Operation: 53-21=32
Exploring Operation: 53-15=38, Resulting Numbers: [21, 38]
Generated Node #0,0,1: 35:[21, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[15, 32], Operations: ['77-24=53', '53-21=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[21, 38], Operations: ['77-24=53', '53-15=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 35:[24, 15, 56], Operations: ['77-21=56']
Exploring Operation: 56-15=41, Resulting Numbers: [24, 41]
Generated Node #0,1,0: 35:[24, 41] Operation: 56-15=41
Exploring Operation: 56-24=32, Resulting Numbers: [15, 32]
Generated Node #0,1,1: 35:[15, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[15, 32], Operations: ['77-21=56', '56-24=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[24, 41], Operations: ['77-21=56', '56-15=41']
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,35 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 |
[
16,
25,
32,
22
] | 40 | [
"16*25=400",
"32-22=10",
"400/10=40"
] | Current State: 40:[16, 25, 32, 22], Operations: []
Exploring Operation: 16*25=400, Resulting Numbers: [32, 22, 400]
Generated Node #2: [32, 22, 400] from Operation: 16*25=400
Current State: 40:[32, 22, 400], Operations: ['16*25=400']
Exploring Operation: 32-22=10, Resulting Numbers: [400, 10]
Generated Node #3: [400, 10] from Operation: 32-22=10
Current State: 40:[400, 10], Operations: ['16*25=400', '32-22=10']
Exploring Operation: 400/10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[16, 25, 32, 22], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [25, 22, 2]
Generated Node #0,0: 40:[25, 22, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[25, 22, 2], Operations: ['32/16=2']
Exploring Operation: 25-22=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 40:[2, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[2, 3], Operations: ['32/16=2', '25-22=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
87,
65,
15
] | 70 | [
"87-84=3",
"15/3=5",
"65+5=70"
] | Current State: 70:[84, 87, 65, 15], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [65, 15, 3]
Generated Node #2: [65, 15, 3] from Operation: 87-84=3
Current State: 70:[65, 15, 3], Operations: ['87-84=3']
Exploring Operation: 15/3=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 15/3=5
Current State: 70:[65, 5], Operations: ['87-84=3', '15/3=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[84, 87, 65, 15], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [65, 15, 3]
Generated Node #0,0: 70:[65, 15, 3] Operation: 87-84=3
Exploring Operation: 84-65=19, Resulting Numbers: [87, 15, 19]
Generated Node #0,1: 70:[87, 15, 19] Operation: 84-65=19
Exploring Operation: 84-15=69, Resulting Numbers: [87, 65, 69]
Generated Node #0,2: 70:[87, 65, 69] Operation: 84-15=69
Exploring Operation: 87-65=22, Resulting Numbers: [84, 15, 22]
Generated Node #0,3: 70:[84, 15, 22] Operation: 87-65=22
Exploring Operation: 87-15=72, Resulting Numbers: [84, 65, 72]
Generated Node #0,4: 70:[84, 65, 72] Operation: 87-15=72
Moving to Node #0,0
Current State: 70:[65, 15, 3], Operations: ['87-84=3']
Exploring Operation: 15+3=18, Resulting Numbers: [65, 18]
Generated Node #0,0,0: 70:[65, 18] Operation: 15+3=18
Exploring Operation: 15-3=12, Resulting Numbers: [65, 12]
Generated Node #0,0,1: 70:[65, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [65, 5]
Generated Node #0,0,2: 70:[65, 5] Operation: 15/3=5
Exploring Operation: 65+3=68, Resulting Numbers: [15, 68]
Generated Node #0,0,3: 70:[15, 68] Operation: 65+3=68
Exploring Operation: 65-3=62, Resulting Numbers: [15, 62]
Generated Node #0,0,4: 70:[15, 62] Operation: 65-3=62
Moving to Node #0,4
Current State: 70:[84, 65, 72], Operations: ['87-15=72']
Exploring Operation: 84-65=19, Resulting Numbers: [72, 19]
Generated Node #0,4,0: 70:[72, 19] Operation: 84-65=19
Exploring Operation: 84+65=149, Resulting Numbers: [72, 149]
Generated Node #0,4,1: 70:[72, 149] Operation: 84+65=149
Exploring Operation: 65+72=137, Resulting Numbers: [84, 137]
Generated Node #0,4,2: 70:[84, 137] Operation: 65+72=137
Exploring Operation: 72-65=7, Resulting Numbers: [84, 7]
Generated Node #0,4,3: 70:[84, 7] Operation: 72-65=7
Exploring Operation: 84-72=12, Resulting Numbers: [65, 12]
Generated Node #0,4,4: 70:[65, 12] Operation: 84-72=12
Moving to Node #0,1
Current State: 70:[87, 15, 19], Operations: ['84-65=19']
Exploring Operation: 87+15=102, Resulting Numbers: [19, 102]
Generated Node #0,1,0: 70:[19, 102] Operation: 87+15=102
Exploring Operation: 87-19=68, Resulting Numbers: [15, 68]
Generated Node #0,1,1: 70:[15, 68] Operation: 87-19=68
Exploring Operation: 15+19=34, Resulting Numbers: [87, 34]
Generated Node #0,1,2: 70:[87, 34] Operation: 15+19=34
Exploring Operation: 87-15=72, Resulting Numbers: [19, 72]
Generated Node #0,1,3: 70:[19, 72] Operation: 87-15=72
Exploring Operation: 19-15=4, Resulting Numbers: [87, 4]
Generated Node #0,1,4: 70:[87, 4] Operation: 19-15=4
Moving to Node #0,2
Current State: 70:[87, 65, 69], Operations: ['84-15=69']
Exploring Operation: 87-69=18, Resulting Numbers: [65, 18]
Generated Node #0,2,0: 70:[65, 18] Operation: 87-69=18
Exploring Operation: 65+69=134, Resulting Numbers: [87, 134]
Generated Node #0,2,1: 70:[87, 134] Operation: 65+69=134
Exploring Operation: 69-65=4, Resulting Numbers: [87, 4]
Generated Node #0,2,2: 70:[87, 4] Operation: 69-65=4
Exploring Operation: 87-65=22, Resulting Numbers: [69, 22]
Generated Node #0,2,3: 70:[69, 22] Operation: 87-65=22
Exploring Operation: 87+65=152, Resulting Numbers: [69, 152]
Generated Node #0,2,4: 70:[69, 152] Operation: 87+65=152
Moving to Node #0,3
Current State: 70:[84, 15, 22], Operations: ['87-65=22']
Exploring Operation: 22-15=7, Resulting Numbers: [84, 7]
Generated Node #0,3,0: 70:[84, 7] Operation: 22-15=7
Exploring Operation: 84-15=69, Resulting Numbers: [22, 69]
Generated Node #0,3,1: 70:[22, 69] Operation: 84-15=69
Exploring Operation: 84+15=99, Resulting Numbers: [22, 99]
Generated Node #0,3,2: 70:[22, 99] Operation: 84+15=99
Exploring Operation: 15+22=37, Resulting Numbers: [84, 37]
Generated Node #0,3,3: 70:[84, 37] Operation: 15+22=37
Exploring Operation: 84-22=62, Resulting Numbers: [15, 62]
Generated Node #0,3,4: 70:[15, 62] Operation: 84-22=62
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[22, 69], Operations: ['87-65=22', '84-15=69']
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,70 unequal: No Solution
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,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,3,4
Current State: 70:[15, 62], Operations: ['87-65=22', '84-22=62']
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,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,3,0
Current State: 70:[84, 7], Operations: ['87-65=22', '22-15=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,70 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,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,3,3
Current State: 70:[84, 37], Operations: ['87-65=22', '15+22=37']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 84+37=121, Resulting Numbers: [121]
121,70 unequal: No Solution
Exploring Operation: 84*37=3108, Resulting Numbers: [3108]
3108,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,3,2
Current State: 70:[22, 99], Operations: ['87-65=22', '84+15=99']
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 22*99=2178, Resulting Numbers: [2178]
2178,70 unequal: No Solution
Exploring Operation: 22+99=121, Resulting Numbers: [121]
121,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 70:[15, 68], Operations: ['87-84=3', '65+3=68']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,70 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[15, 68], Operations: ['84-65=19', '87-19=68']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[65, 5], Operations: ['87-84=3', '15/3=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,70 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[84, 87, 65, 15], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [65, 15, 3]
Generated Node #0,0: 70:[65, 15, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 70:[65, 15, 3], Operations: ['87-84=3']
Exploring Operation: 15/3=5, Resulting Numbers: [65, 5]
Generated Node #0,0,2: 70:[65, 5] Operation: 15/3=5
Moving to Node #0,0,2
Current State: 70:[65, 5], Operations: ['87-84=3', '15/3=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.948785 | hs_5 | mult_heuristic |
[
5,
55,
61,
75
] | 46 | [
"5+55=60",
"75-61=14",
"60-14=46"
] | Current State: 46:[5, 55, 61, 75], Operations: []
Exploring Operation: 5+55=60, Resulting Numbers: [61, 75, 60]
Generated Node #2: [61, 75, 60] from Operation: 5+55=60
Current State: 46:[61, 75, 60], Operations: ['5+55=60']
Exploring Operation: 75-61=14, Resulting Numbers: [60, 14]
Generated Node #3: [60, 14] from Operation: 75-61=14
Current State: 46:[60, 14], Operations: ['5+55=60', '75-61=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 55, 61, 75], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [55, 61, 15]
Generated Node #0,0: 46:[55, 61, 15] Operation: 75/5=15
Exploring Operation: 61-55=6, Resulting Numbers: [5, 75, 6]
Generated Node #0,1: 46:[5, 75, 6] Operation: 61-55=6
Exploring Operation: 75-55=20, Resulting Numbers: [5, 61, 20]
Generated Node #0,2: 46:[5, 61, 20] Operation: 75-55=20
Exploring Operation: 75-61=14, Resulting Numbers: [5, 55, 14]
Generated Node #0,3: 46:[5, 55, 14] Operation: 75-61=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[5, 61, 20], Operations: ['75-55=20']
Exploring Operation: 5+20=25, Resulting Numbers: [61, 25]
Generated Node #0,2,0: 46:[61, 25] Operation: 5+20=25
Exploring Operation: 61-5=56, Resulting Numbers: [20, 56]
Generated Node #0,2,1: 46:[20, 56] Operation: 61-5=56
Exploring Operation: 20/5=4, Resulting Numbers: [61, 4]
Generated Node #0,2,2: 46:[61, 4] Operation: 20/5=4
Exploring Operation: 61-20=41, Resulting Numbers: [5, 41]
Generated Node #0,2,3: 46:[5, 41] Operation: 61-20=41
Moving to Node #0,2,3
Current State: 46:[5, 41], Operations: ['75-55=20', '61-20=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,46 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[5, 55, 61, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [5, 61, 20]
Generated Node #0,2: 46:[5, 61, 20] Operation: 75-55=20
Moving to Node #0,2
Current State: 46:[5, 61, 20], Operations: ['75-55=20']
Exploring Operation: 61-20=41, Resulting Numbers: [5, 41]
Generated Node #0,2,3: 46:[5, 41] Operation: 61-20=41
Moving to Node #0,2,3
Current State: 46:[5, 41], Operations: ['75-55=20', '61-20=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
8,
48,
83,
47
] | 91 | [
"8+83=91",
"48-47=1",
"91*1=91"
] | Current State: 91:[8, 48, 83, 47], Operations: []
Exploring Operation: 8+83=91, Resulting Numbers: [48, 47, 91]
Generated Node #2: [48, 47, 91] from Operation: 8+83=91
Current State: 91:[48, 47, 91], Operations: ['8+83=91']
Exploring Operation: 48-47=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 48-47=1
Current State: 91:[91, 1], Operations: ['8+83=91', '48-47=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[8, 48, 83, 47], Operations: []
Exploring Operation: 48+47=95, Resulting Numbers: [8, 83, 95]
Generated Node #0,0: 91:[8, 83, 95] Operation: 48+47=95
Exploring Operation: 48-47=1, Resulting Numbers: [8, 83, 1]
Generated Node #0,1: 91:[8, 83, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 91:[8, 83, 95], Operations: ['48+47=95']
Exploring Operation: 8+83=91, Resulting Numbers: [95, 91]
Generated Node #0,0,0: 91:[95, 91] Operation: 8+83=91
Exploring Operation: 95-83=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 91:[8, 12] Operation: 95-83=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[8, 12], Operations: ['48+47=95', '95-83=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[95, 91], Operations: ['48+47=95', '8+83=91']
Exploring Operation: 95-91=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 95+91=186, Resulting Numbers: [186]
186,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[8, 83, 1], Operations: ['48-47=1']
Exploring Operation: 8-1=7, Resulting Numbers: [83, 7]
Generated Node #0,1,0: 91:[83, 7] Operation: 8-1=7
Exploring Operation: 8+83=91, Resulting Numbers: [1, 91]
Generated Node #0,1,1: 91:[1, 91] Operation: 8+83=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[1, 91], Operations: ['48-47=1', '8+83=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[8, 48, 83, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [8, 83, 1]
Generated Node #0,1: 91:[8, 83, 1] Operation: 48-47=1
Moving to Node #0,1
Current State: 91:[8, 83, 1], Operations: ['48-47=1']
Exploring Operation: 8+83=91, Resulting Numbers: [1, 91]
Generated Node #0,1,1: 91:[1, 91] Operation: 8+83=91
Moving to Node #0,1,1
Current State: 91:[1, 91], Operations: ['48-47=1', '8+83=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
75,
2,
63,
6
] | 15 | [
"75-63=12",
"6/2=3",
"12+3=15"
] | Current State: 15:[75, 2, 63, 6], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [2, 6, 12]
Generated Node #2: [2, 6, 12] from Operation: 75-63=12
Current State: 15:[2, 6, 12], Operations: ['75-63=12']
Exploring Operation: 6/2=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 6/2=3
Current State: 15:[12, 3], Operations: ['75-63=12', '6/2=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[75, 2, 63, 6], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [2, 6, 12]
Generated Node #0,0: 15:[2, 6, 12] Operation: 75-63=12
Exploring Operation: 75-6=69, Resulting Numbers: [2, 63, 69]
Generated Node #0,1: 15:[2, 63, 69] Operation: 75-6=69
Exploring Operation: 63-6=57, Resulting Numbers: [75, 2, 57]
Generated Node #0,2: 15:[75, 2, 57] Operation: 63-6=57
Moving to Node #0,0
Current State: 15:[2, 6, 12], Operations: ['75-63=12']
Exploring Operation: 2+12=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 15:[6, 14] Operation: 2+12=14
Exploring Operation: 12/2=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 15:[6, 6] Operation: 12/2=6
Exploring Operation: 12-6=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 15:[2, 6] Operation: 12-6=6
Moving to Node #0,1
Current State: 15:[2, 63, 69], Operations: ['75-6=69']
Exploring Operation: 63-2=61, Resulting Numbers: [69, 61]
Generated Node #0,1,0: 15:[69, 61] Operation: 63-2=61
Exploring Operation: 69-2=67, Resulting Numbers: [63, 67]
Generated Node #0,1,1: 15:[63, 67] Operation: 69-2=67
Exploring Operation: 69-63=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 15:[2, 6] Operation: 69-63=6
Moving to Node #0,2
Current State: 15:[75, 2, 57], Operations: ['63-6=57']
Exploring Operation: 75-2=73, Resulting Numbers: [57, 73]
Generated Node #0,2,0: 15:[57, 73] Operation: 75-2=73
Exploring Operation: 57-2=55, Resulting Numbers: [75, 55]
Generated Node #0,2,1: 15:[75, 55] Operation: 57-2=55
Exploring Operation: 75-57=18, Resulting Numbers: [2, 18]
Generated Node #0,2,2: 15:[2, 18] Operation: 75-57=18
Moving to Node #0,0,0
Current State: 15:[6, 14], Operations: ['75-63=12', '2+12=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[2, 6], Operations: ['75-63=12', '12-6=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[6, 6], Operations: ['75-63=12', '12/2=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[2, 6], Operations: ['75-6=69', '69-63=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[2, 18], Operations: ['63-6=57', '75-57=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[63, 67], Operations: ['75-6=69', '69-2=67']
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,15 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[75, 55], Operations: ['63-6=57', '57-2=55']
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,15 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[69, 61], Operations: ['75-6=69', '63-2=61']
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,15 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[57, 73], Operations: ['63-6=57', '75-2=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,15 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
88,
92,
30
] | 58 | [
"92-88=4",
"7*4=28",
"30+28=58"
] | Current State: 58:[7, 88, 92, 30], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [7, 30, 4]
Generated Node #2: [7, 30, 4] from Operation: 92-88=4
Current State: 58:[7, 30, 4], Operations: ['92-88=4']
Exploring Operation: 7*4=28, Resulting Numbers: [30, 28]
Generated Node #3: [30, 28] from Operation: 7*4=28
Current State: 58:[30, 28], Operations: ['92-88=4', '7*4=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 88, 92, 30], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [7, 92, 58]
Generated Node #0,0: 58:[7, 92, 58] Operation: 88-30=58
Exploring Operation: 92-30=62, Resulting Numbers: [7, 88, 62]
Generated Node #0,1: 58:[7, 88, 62] Operation: 92-30=62
Exploring Operation: 92-88=4, Resulting Numbers: [7, 30, 4]
Generated Node #0,2: 58:[7, 30, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[7, 30, 4], Operations: ['92-88=4']
Exploring Operation: 7*4=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 58:[30, 28] Operation: 7*4=28
Exploring Operation: 7-4=3, Resulting Numbers: [30, 3]
Generated Node #0,2,1: 58:[30, 3] Operation: 7-4=3
Exploring Operation: 30-7=23, Resulting Numbers: [4, 23]
Generated Node #0,2,2: 58:[4, 23] Operation: 30-7=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[30, 28], Operations: ['92-88=4', '7*4=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[7, 88, 92, 30], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [7, 30, 4]
Generated Node #0,2: 58:[7, 30, 4] Operation: 92-88=4
Moving to Node #0,2
Current State: 58:[7, 30, 4], Operations: ['92-88=4']
Exploring Operation: 7*4=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 58:[30, 28] Operation: 7*4=28
Moving to Node #0,2,0
Current State: 58:[30, 28], Operations: ['92-88=4', '7*4=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
4,
40,
42,
98
] | 54 | [
"98-42=56",
"56/4=14",
"40+14=54"
] | Current State: 54:[4, 40, 42, 98], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [4, 40, 56]
Generated Node #2: [4, 40, 56] from Operation: 98-42=56
Current State: 54:[4, 40, 56], Operations: ['98-42=56']
Exploring Operation: 56/4=14, Resulting Numbers: [40, 14]
Generated Node #3: [40, 14] from Operation: 56/4=14
Current State: 54:[40, 14], Operations: ['98-42=56', '56/4=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[4, 40, 42, 98], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [4, 40, 56]
Generated Node #0,0: 54:[4, 40, 56] Operation: 98-42=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[4, 40, 56], Operations: ['98-42=56']
Exploring Operation: 40/4=10, Resulting Numbers: [56, 10]
Generated Node #0,0,0: 54:[56, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[56, 10], Operations: ['98-42=56', '40/4=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,54 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 |
[
85,
38,
42,
61
] | 20 | [
"85+38=123",
"42+61=103",
"123-103=20"
] | Current State: 20:[85, 38, 42, 61], Operations: []
Exploring Operation: 85+38=123, Resulting Numbers: [42, 61, 123]
Generated Node #2: [42, 61, 123] from Operation: 85+38=123
Current State: 20:[42, 61, 123], Operations: ['85+38=123']
Exploring Operation: 42+61=103, Resulting Numbers: [123, 103]
Generated Node #3: [123, 103] from Operation: 42+61=103
Current State: 20:[123, 103], Operations: ['85+38=123', '42+61=103']
Exploring Operation: 123-103=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[85, 38, 42, 61], Operations: []
Exploring Operation: 85-42=43, Resulting Numbers: [38, 61, 43]
Generated Node #0,0: 20:[38, 61, 43] Operation: 85-42=43
Exploring Operation: 85-38=47, Resulting Numbers: [42, 61, 47]
Generated Node #0,1: 20:[42, 61, 47] Operation: 85-38=47
Exploring Operation: 85-61=24, Resulting Numbers: [38, 42, 24]
Generated Node #0,2: 20:[38, 42, 24] Operation: 85-61=24
Exploring Operation: 61-42=19, Resulting Numbers: [85, 38, 19]
Generated Node #0,3: 20:[85, 38, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[38, 42, 24], Operations: ['85-61=24']
Exploring Operation: 42-24=18, Resulting Numbers: [38, 18]
Generated Node #0,2,0: 20:[38, 18] Operation: 42-24=18
Exploring Operation: 42-38=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 20:[24, 4] Operation: 42-38=4
Exploring Operation: 38-24=14, Resulting Numbers: [42, 14]
Generated Node #0,2,2: 20:[42, 14] Operation: 38-24=14
Exploring Operation: 38+42=80, Resulting Numbers: [24, 80]
Generated Node #0,2,3: 20:[24, 80] Operation: 38+42=80
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[24, 4], Operations: ['85-61=24', '42-38=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[85, 38, 42, 61], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [38, 42, 24]
Generated Node #0,2: 20:[38, 42, 24] Operation: 85-61=24
Moving to Node #0,2
Current State: 20:[38, 42, 24], Operations: ['85-61=24']
Exploring Operation: 42-38=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 20:[24, 4] Operation: 42-38=4
Moving to Node #0,2,1
Current State: 20:[24, 4], Operations: ['85-61=24', '42-38=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
31,
17,
28,
20
] | 62 | [
"31-17=14",
"28+20=48",
"14+48=62"
] | Current State: 62:[31, 17, 28, 20], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [28, 20, 14]
Generated Node #2: [28, 20, 14] from Operation: 31-17=14
Current State: 62:[28, 20, 14], Operations: ['31-17=14']
Exploring Operation: 28+20=48, Resulting Numbers: [14, 48]
Generated Node #3: [14, 48] from Operation: 28+20=48
Current State: 62:[14, 48], Operations: ['31-17=14', '28+20=48']
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[31, 17, 28, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [31, 28, 3]
Generated Node #0,0: 62:[31, 28, 3] Operation: 20-17=3
Exploring Operation: 28-17=11, Resulting Numbers: [31, 20, 11]
Generated Node #0,1: 62:[31, 20, 11] Operation: 28-17=11
Exploring Operation: 17+20=37, Resulting Numbers: [31, 28, 37]
Generated Node #0,2: 62:[31, 28, 37] Operation: 17+20=37
Moving to Node #0,0
Current State: 62:[31, 28, 3], Operations: ['20-17=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 62:[31, 31] Operation: 28+3=31
Exploring Operation: 31-28=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 62:[3, 3] Operation: 31-28=3
Exploring Operation: 31+28=59, Resulting Numbers: [3, 59]
Generated Node #0,0,2: 62:[3, 59] Operation: 31+28=59
Moving to Node #0,2
Current State: 62:[31, 28, 37], Operations: ['17+20=37']
Exploring Operation: 37-31=6, Resulting Numbers: [28, 6]
Generated Node #0,2,0: 62:[28, 6] Operation: 37-31=6
Exploring Operation: 28+37=65, Resulting Numbers: [31, 65]
Generated Node #0,2,1: 62:[31, 65] Operation: 28+37=65
Exploring Operation: 31-28=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 62:[37, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 62:[31, 20, 11], Operations: ['28-17=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31, 31]
Generated Node #0,1,0: 62:[31, 31] Operation: 20+11=31
Exploring Operation: 20-11=9, Resulting Numbers: [31, 9]
Generated Node #0,1,1: 62:[31, 9] Operation: 20-11=9
Exploring Operation: 31-20=11, Resulting Numbers: [11, 11]
Generated Node #0,1,2: 62:[11, 11] Operation: 31-20=11
Moving to Node #0,0,0
Current State: 62:[31, 31], Operations: ['20-17=3', '28+3=31']
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[31, 17, 28, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [31, 28, 3]
Generated Node #0,0: 62:[31, 28, 3] Operation: 20-17=3
Moving to Node #0,0
Current State: 62:[31, 28, 3], Operations: ['20-17=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 62:[31, 31] Operation: 28+3=31
Moving to Node #0,0,0
Current State: 62:[31, 31], Operations: ['20-17=3', '28+3=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
50,
70,
49,
35
] | 70 | [
"50*49=2450",
"70-35=35",
"2450/35=70"
] | Current State: 70:[50, 70, 49, 35], Operations: []
Exploring Operation: 50*49=2450, Resulting Numbers: [70, 35, 2450]
Generated Node #2: [70, 35, 2450] from Operation: 50*49=2450
Current State: 70:[70, 35, 2450], Operations: ['50*49=2450']
Exploring Operation: 70-35=35, Resulting Numbers: [2450, 35]
Generated Node #3: [2450, 35] from Operation: 70-35=35
Current State: 70:[2450, 35], Operations: ['50*49=2450', '70-35=35']
Exploring Operation: 2450/35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[50, 70, 49, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [70, 49, 15]
Generated Node #0,0: 70:[70, 49, 15] Operation: 50-35=15
Exploring Operation: 50-49=1, Resulting Numbers: [70, 35, 1]
Generated Node #0,1: 70:[70, 35, 1] Operation: 50-49=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[70, 35, 1], Operations: ['50-49=1']
Exploring Operation: 70/1=70, Resulting Numbers: [35, 70]
Generated Node #0,1,0: 70:[35, 70] Operation: 70/1=70
Exploring Operation: 70*1=70, Resulting Numbers: [35, 70]
Generated Node #0,1,1: 70:[35, 70] Operation: 70*1=70
Moving to Node #0,1,0
Current State: 70:[35, 70], Operations: ['50-49=1', '70/1=70']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[35, 70], Operations: ['50-49=1', '70*1=70']
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,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
Current State: 70:[70, 49, 15], Operations: ['50-35=15']
Exploring Operation: 49-15=34, Resulting Numbers: [70, 34]
Generated Node #0,0,0: 70:[70, 34] Operation: 49-15=34
Exploring Operation: 49+15=64, Resulting Numbers: [70, 64]
Generated Node #0,0,1: 70:[70, 64] Operation: 49+15=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[70, 34], Operations: ['50-35=15', '49-15=34']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 70+34=104, Resulting Numbers: [104]
104,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[70, 64], Operations: ['50-35=15', '49+15=64']
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,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_2 | mult_heuristic |
[
30,
32,
80,
42
] | 83 | [
"42-32=10",
"30/10=3",
"80+3=83"
] | Current State: 83:[30, 32, 80, 42], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [30, 80, 10]
Generated Node #2: [30, 80, 10] from Operation: 42-32=10
Current State: 83:[30, 80, 10], Operations: ['42-32=10']
Exploring Operation: 30/10=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 30/10=3
Current State: 83:[80, 3], Operations: ['42-32=10', '30/10=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[30, 32, 80, 42], Operations: []
Exploring Operation: 30+32=62, Resulting Numbers: [80, 42, 62]
Generated Node #0,0: 83:[80, 42, 62] Operation: 30+32=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[80, 42, 62], Operations: ['30+32=62']
Exploring Operation: 42+62=104, Resulting Numbers: [80, 104]
Generated Node #0,0,0: 83:[80, 104] Operation: 42+62=104
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[80, 104], Operations: ['30+32=62', '42+62=104']
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,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_1 | sum_heuristic |
[
19,
89,
64,
12
] | 32 | [
"19+89=108",
"64+12=76",
"108-76=32"
] | Current State: 32:[19, 89, 64, 12], Operations: []
Exploring Operation: 19+89=108, Resulting Numbers: [64, 12, 108]
Generated Node #2: [64, 12, 108] from Operation: 19+89=108
Current State: 32:[64, 12, 108], Operations: ['19+89=108']
Exploring Operation: 64+12=76, Resulting Numbers: [108, 76]
Generated Node #3: [108, 76] from Operation: 64+12=76
Current State: 32:[108, 76], Operations: ['19+89=108', '64+12=76']
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[19, 89, 64, 12], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [64, 12, 70]
Generated Node #0,0: 32:[64, 12, 70] Operation: 89-19=70
Exploring Operation: 64-19=45, Resulting Numbers: [89, 12, 45]
Generated Node #0,1: 32:[89, 12, 45] Operation: 64-19=45
Exploring Operation: 89-64=25, Resulting Numbers: [19, 12, 25]
Generated Node #0,2: 32:[19, 12, 25] Operation: 89-64=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[19, 12, 25], Operations: ['89-64=25']
Exploring Operation: 19+12=31, Resulting Numbers: [25, 31]
Generated Node #0,2,0: 32:[25, 31] Operation: 19+12=31
Exploring Operation: 25-19=6, Resulting Numbers: [12, 6]
Generated Node #0,2,1: 32:[12, 6] Operation: 25-19=6
Exploring Operation: 25-12=13, Resulting Numbers: [19, 13]
Generated Node #0,2,2: 32:[19, 13] Operation: 25-12=13
Moving to Node #0,2,1
Current State: 32:[12, 6], Operations: ['89-64=25', '25-19=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[19, 13], Operations: ['89-64=25', '25-12=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[19, 89, 64, 12], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [19, 12, 25]
Generated Node #0,2: 32:[19, 12, 25] Operation: 89-64=25
Moving to Node #0,2
Current State: 32:[19, 12, 25], Operations: ['89-64=25']
Exploring Operation: 25-12=13, Resulting Numbers: [19, 13]
Generated Node #0,2,2: 32:[19, 13] Operation: 25-12=13
Moving to Node #0,2,2
Current State: 32:[19, 13], Operations: ['89-64=25', '25-12=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
60,
35,
15,
93
] | 90 | [
"35-15=20",
"60/20=3",
"93-3=90"
] | Current State: 90:[60, 35, 15, 93], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [60, 93, 20]
Generated Node #2: [60, 93, 20] from Operation: 35-15=20
Current State: 90:[60, 93, 20], Operations: ['35-15=20']
Exploring Operation: 60/20=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 60/20=3
Current State: 90:[93, 3], Operations: ['35-15=20', '60/20=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[60, 35, 15, 93], Operations: []
Exploring Operation: 60+35=95, Resulting Numbers: [15, 93, 95]
Generated Node #0,0: 90:[15, 93, 95] Operation: 60+35=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[15, 93, 95], Operations: ['60+35=95']
Exploring Operation: 95-93=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 90:[15, 2] Operation: 95-93=2
Moving to Node #0,0,0
Current State: 90:[15, 2], Operations: ['60+35=95', '95-93=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,90 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 |
[
44,
24,
54,
87
] | 53 | [
"44-24=20",
"87-54=33",
"20+33=53"
] | Current State: 53:[44, 24, 54, 87], Operations: []
Exploring Operation: 44-24=20, Resulting Numbers: [54, 87, 20]
Generated Node #2: [54, 87, 20] from Operation: 44-24=20
Current State: 53:[54, 87, 20], Operations: ['44-24=20']
Exploring Operation: 87-54=33, Resulting Numbers: [20, 33]
Generated Node #3: [20, 33] from Operation: 87-54=33
Current State: 53:[20, 33], Operations: ['44-24=20', '87-54=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[44, 24, 54, 87], Operations: []
Exploring Operation: 44+24=68, Resulting Numbers: [54, 87, 68]
Generated Node #0,0: 53:[54, 87, 68] Operation: 44+24=68
Exploring Operation: 87-44=43, Resulting Numbers: [24, 54, 43]
Generated Node #0,1: 53:[24, 54, 43] Operation: 87-44=43
Exploring Operation: 87-24=63, Resulting Numbers: [44, 54, 63]
Generated Node #0,2: 53:[44, 54, 63] Operation: 87-24=63
Exploring Operation: 87-54=33, Resulting Numbers: [44, 24, 33]
Generated Node #0,3: 53:[44, 24, 33] Operation: 87-54=33
Moving to Node #0,2
Current State: 53:[44, 54, 63], Operations: ['87-24=63']
Exploring Operation: 63-54=9, Resulting Numbers: [44, 9]
Generated Node #0,2,0: 53:[44, 9] Operation: 63-54=9
Exploring Operation: 63-44=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 53:[54, 19] Operation: 63-44=19
Exploring Operation: 54-44=10, Resulting Numbers: [63, 10]
Generated Node #0,2,2: 53:[63, 10] Operation: 54-44=10
Exploring Operation: 44+54=98, Resulting Numbers: [63, 98]
Generated Node #0,2,3: 53:[63, 98] Operation: 44+54=98
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[54, 19], Operations: ['87-24=63', '63-44=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,53 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,53 unequal: No Solution
No 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: 53:[44, 9], Operations: ['87-24=63', '63-54=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[44, 24, 54, 87], Operations: []
Exploring Operation: 87-24=63, Resulting Numbers: [44, 54, 63]
Generated Node #0,2: 53:[44, 54, 63] Operation: 87-24=63
Moving to Node #0,2
Current State: 53:[44, 54, 63], Operations: ['87-24=63']
Exploring Operation: 63-54=9, Resulting Numbers: [44, 9]
Generated Node #0,2,0: 53:[44, 9] Operation: 63-54=9
Moving to Node #0,2,0
Current State: 53:[44, 9], Operations: ['87-24=63', '63-54=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
17,
35,
49,
87
] | 51 | [
"87-17=70",
"70/35=2",
"49+2=51"
] | Current State: 51:[17, 35, 49, 87], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [35, 49, 70]
Generated Node #2: [35, 49, 70] from Operation: 87-17=70
Current State: 51:[35, 49, 70], Operations: ['87-17=70']
Exploring Operation: 70/35=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 70/35=2
Current State: 51:[49, 2], Operations: ['87-17=70', '70/35=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[17, 35, 49, 87], Operations: []
Exploring Operation: 17+35=52, Resulting Numbers: [49, 87, 52]
Generated Node #0,0: 51:[49, 87, 52] Operation: 17+35=52
Exploring Operation: 87-35=52, Resulting Numbers: [17, 49, 52]
Generated Node #0,1: 51:[17, 49, 52] Operation: 87-35=52
Exploring Operation: 87-49=38, Resulting Numbers: [17, 35, 38]
Generated Node #0,2: 51:[17, 35, 38] Operation: 87-49=38
Exploring Operation: 87-17=70, Resulting Numbers: [35, 49, 70]
Generated Node #0,3: 51:[35, 49, 70] Operation: 87-17=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[17, 49, 52], Operations: ['87-35=52']
Exploring Operation: 52-49=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 51:[17, 3] Operation: 52-49=3
Exploring Operation: 49-17=32, Resulting Numbers: [52, 32]
Generated Node #0,1,1: 51:[52, 32] Operation: 49-17=32
Exploring Operation: 52-17=35, Resulting Numbers: [49, 35]
Generated Node #0,1,2: 51:[49, 35] Operation: 52-17=35
Exploring Operation: 17+49=66, Resulting Numbers: [52, 66]
Generated Node #0,1,3: 51:[52, 66] Operation: 17+49=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[17, 3], Operations: ['87-35=52', '52-49=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[17, 35, 49, 87], Operations: []
Exploring Operation: 87-35=52, Resulting Numbers: [17, 49, 52]
Generated Node #0,1: 51:[17, 49, 52] Operation: 87-35=52
Moving to Node #0,1
Current State: 51:[17, 49, 52], Operations: ['87-35=52']
Exploring Operation: 52-49=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 51:[17, 3] Operation: 52-49=3
Moving to Node #0,1,0
Current State: 51:[17, 3], Operations: ['87-35=52', '52-49=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
90,
95,
4,
85
] | 86 | [
"95-90=5",
"85-4=81",
"5+81=86"
] | Current State: 86:[90, 95, 4, 85], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 85, 5]
Generated Node #2: [4, 85, 5] from Operation: 95-90=5
Current State: 86:[4, 85, 5], Operations: ['95-90=5']
Exploring Operation: 85-4=81, Resulting Numbers: [5, 81]
Generated Node #3: [5, 81] from Operation: 85-4=81
Current State: 86:[5, 81], Operations: ['95-90=5', '85-4=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[90, 95, 4, 85], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 85, 5]
Generated Node #0,0: 86:[4, 85, 5] Operation: 95-90=5
Exploring Operation: 90-4=86, Resulting Numbers: [95, 85, 86]
Generated Node #0,1: 86:[95, 85, 86] Operation: 90-4=86
Moving to Node #0,0
Current State: 86:[4, 85, 5], Operations: ['95-90=5']
Exploring Operation: 4+85=89, Resulting Numbers: [5, 89]
Generated Node #0,0,0: 86:[5, 89] Operation: 4+85=89
Exploring Operation: 5-4=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 5-4=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[85, 1], Operations: ['95-90=5', '5-4=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[90, 95, 4, 85], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 85, 5]
Generated Node #0,0: 86:[4, 85, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 86:[4, 85, 5], Operations: ['95-90=5']
Exploring Operation: 5-4=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 86:[85, 1], Operations: ['95-90=5', '5-4=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
24,
19,
19,
58
] | 37 | [
"24-19=5",
"19*5=95",
"95-58=37"
] | Current State: 37:[24, 19, 19, 58], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [58, 5]
Generated Node #2: [58, 5] from Operation: 24-19=5
Current State: 37:[58, 5], Operations: ['24-19=5']
Exploring Operation: 19*5=95, Resulting Numbers: [58, 95]
Generated Node #3: [58, 95] from Operation: 19*5=95
Current State: 37:[58, 95], Operations: ['24-19=5', '19*5=95']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 19, 19, 58], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [19, 19, 34]
Generated Node #0,0: 37:[19, 19, 34] Operation: 58-24=34
Exploring Operation: 58-19=39, Resulting Numbers: [24, 19, 39]
Generated Node #0,1: 37:[24, 19, 39] Operation: 58-19=39
Exploring Operation: 19+19=38, Resulting Numbers: [24, 58, 38]
Generated Node #0,2: 37:[24, 58, 38] Operation: 19+19=38
Exploring Operation: 58-19=39, Resulting Numbers: [24, 19, 39]
Generated Node #0,3: 37:[24, 19, 39] Operation: 58-19=39
Moving to Node #0,1
Current State: 37:[24, 19, 39], Operations: ['58-19=39']
Exploring Operation: 19+39=58, Resulting Numbers: [24, 58]
Generated Node #0,1,0: 37:[24, 58] Operation: 19+39=58
Exploring Operation: 24+19=43, Resulting Numbers: [39, 43]
Generated Node #0,1,1: 37:[39, 43] Operation: 24+19=43
Exploring Operation: 24-19=5, Resulting Numbers: [39, 5]
Generated Node #0,1,2: 37:[39, 5] Operation: 24-19=5
Exploring Operation: 39-19=20, Resulting Numbers: [24, 20]
Generated Node #0,1,3: 37:[24, 20] Operation: 39-19=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[39, 43], Operations: ['58-19=39', '24+19=43']
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,37 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,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,3
Current State: 37:[24, 20], Operations: ['58-19=39', '39-19=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,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,0
Current State: 37:[24, 58], Operations: ['58-19=39', '19+39=58']
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,37 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,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,2
Current State: 37:[39, 5], Operations: ['58-19=39', '24-19=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 37:[24, 19, 39], Operations: ['58-19=39']
Exploring Operation: 24+19=43, Resulting Numbers: [39, 43]
Generated Node #0,3,0: 37:[39, 43] Operation: 24+19=43
Exploring Operation: 19+39=58, Resulting Numbers: [24, 58]
Generated Node #0,3,1: 37:[24, 58] Operation: 19+39=58
Exploring Operation: 39-19=20, Resulting Numbers: [24, 20]
Generated Node #0,3,2: 37:[24, 20] Operation: 39-19=20
Exploring Operation: 24-19=5, Resulting Numbers: [39, 5]
Generated Node #0,3,3: 37:[39, 5] Operation: 24-19=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[39, 43], Operations: ['58-19=39', '24+19=43']
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,37 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[24, 20], Operations: ['58-19=39', '39-19=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[24, 58], Operations: ['58-19=39', '19+39=58']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[39, 5], Operations: ['58-19=39', '24-19=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,37 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: 37:[24, 58, 38], Operations: ['19+19=38']
Exploring Operation: 38-24=14, Resulting Numbers: [58, 14]
Generated Node #0,2,0: 37:[58, 14] Operation: 38-24=14
Exploring Operation: 24+58=82, Resulting Numbers: [38, 82]
Generated Node #0,2,1: 37:[38, 82] Operation: 24+58=82
Exploring Operation: 58-24=34, Resulting Numbers: [38, 34]
Generated Node #0,2,2: 37:[38, 34] Operation: 58-24=34
Exploring Operation: 58-38=20, Resulting Numbers: [24, 20]
Generated Node #0,2,3: 37:[24, 20] Operation: 58-38=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[38, 34], Operations: ['19+19=38', '58-24=34']
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[24, 20], Operations: ['19+19=38', '58-38=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[58, 14], Operations: ['19+19=38', '38-24=14']
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,37 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[38, 82], Operations: ['19+19=38', '24+58=82']
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,37 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 37:[19, 19, 34], Operations: ['58-24=34']
Exploring Operation: 19+19=38, Resulting Numbers: [34, 38]
Generated Node #0,0,0: 37:[34, 38] Operation: 19+19=38
Exploring Operation: 19+34=53, Resulting Numbers: [19, 53]
Generated Node #0,0,1: 37:[19, 53] Operation: 19+34=53
Exploring Operation: 19+34=53, Resulting Numbers: [19, 53]
Generated Node #0,0,2: 37:[19, 53] Operation: 19+34=53
Exploring Operation: 19/19=1, Resulting Numbers: [34, 1]
Generated Node #0,0,3: 37:[34, 1] Operation: 19/19=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[34, 38], Operations: ['58-24=34', '19+19=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,37 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,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:[19, 53], Operations: ['58-24=34', '19+34=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,37 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,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,2
Current State: 37:[19, 53], Operations: ['58-24=34', '19+34=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,37 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,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,3
Current State: 37:[34, 1], Operations: ['58-24=34', '19/19=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
94,
8,
58
] | 30 | [
"94-83=11",
"8*11=88",
"88-58=30"
] | Current State: 30:[83, 94, 8, 58], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [8, 58, 11]
Generated Node #2: [8, 58, 11] from Operation: 94-83=11
Current State: 30:[8, 58, 11], Operations: ['94-83=11']
Exploring Operation: 8*11=88, Resulting Numbers: [58, 88]
Generated Node #3: [58, 88] from Operation: 8*11=88
Current State: 30:[58, 88], Operations: ['94-83=11', '8*11=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[83, 94, 8, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [94, 8, 25]
Generated Node #0,0: 30:[94, 8, 25] Operation: 83-58=25
Exploring Operation: 94-58=36, Resulting Numbers: [83, 8, 36]
Generated Node #0,1: 30:[83, 8, 36] Operation: 94-58=36
Exploring Operation: 94-83=11, Resulting Numbers: [8, 58, 11]
Generated Node #0,2: 30:[8, 58, 11] Operation: 94-83=11
Moving to Node #0,2
Current State: 30:[8, 58, 11], Operations: ['94-83=11']
Exploring Operation: 11-8=3, Resulting Numbers: [58, 3]
Generated Node #0,2,0: 30:[58, 3] Operation: 11-8=3
Exploring Operation: 58-8=50, Resulting Numbers: [11, 50]
Generated Node #0,2,1: 30:[11, 50] Operation: 58-8=50
Exploring Operation: 58-11=47, Resulting Numbers: [8, 47]
Generated Node #0,2,2: 30:[8, 47] Operation: 58-11=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[8, 47], Operations: ['94-83=11', '58-11=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,30 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[11, 50], Operations: ['94-83=11', '58-8=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,30 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[58, 3], Operations: ['94-83=11', '11-8=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,30 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: 30:[83, 8, 36], Operations: ['94-58=36']
Exploring Operation: 83-8=75, Resulting Numbers: [36, 75]
Generated Node #0,1,0: 30:[36, 75] Operation: 83-8=75
Exploring Operation: 36-8=28, Resulting Numbers: [83, 28]
Generated Node #0,1,1: 30:[83, 28] Operation: 36-8=28
Exploring Operation: 83-36=47, Resulting Numbers: [8, 47]
Generated Node #0,1,2: 30:[8, 47] Operation: 83-36=47
Moving to Node #0,0
Current State: 30:[94, 8, 25], Operations: ['83-58=25']
Exploring Operation: 94-8=86, Resulting Numbers: [25, 86]
Generated Node #0,0,0: 30:[25, 86] Operation: 94-8=86
Exploring Operation: 94-25=69, Resulting Numbers: [8, 69]
Generated Node #0,0,1: 30:[8, 69] Operation: 94-25=69
Exploring Operation: 25-8=17, Resulting Numbers: [94, 17]
Generated Node #0,0,2: 30:[94, 17] Operation: 25-8=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[8, 69], Operations: ['83-58=25', '94-25=69']
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,30 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[25, 86], Operations: ['83-58=25', '94-8=86']
Exploring Operation: 25*86=2150, Resulting Numbers: [2150]
2150,30 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[94, 17], Operations: ['83-58=25', '25-8=17']
Exploring Operation: 94+17=111, Resulting Numbers: [111]
111,30 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 94*17=1598, Resulting Numbers: [1598]
1598,30 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: 30:[8, 47], Operations: ['94-58=36', '83-36=47']
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,30 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[36, 75], Operations: ['94-58=36', '83-8=75']
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,30 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[83, 28], Operations: ['94-58=36', '36-8=28']
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,30 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,30 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
77,
56,
92
] | 79 | [
"56+92=148",
"148/74=2",
"77+2=79"
] | Current State: 79:[74, 77, 56, 92], Operations: []
Exploring Operation: 56+92=148, Resulting Numbers: [74, 77, 148]
Generated Node #2: [74, 77, 148] from Operation: 56+92=148
Current State: 79:[74, 77, 148], Operations: ['56+92=148']
Exploring Operation: 148/74=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 148/74=2
Current State: 79:[77, 2], Operations: ['56+92=148', '148/74=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 77, 56, 92], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [74, 77, 36]
Generated Node #0,0: 79:[74, 77, 36] Operation: 92-56=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 77, 36], Operations: ['92-56=36']
Exploring Operation: 74+36=110, Resulting Numbers: [77, 110]
Generated Node #0,0,0: 79:[77, 110] Operation: 74+36=110
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[77, 110], Operations: ['92-56=36', '74+36=110']
Exploring Operation: 110-77=33, Resulting Numbers: [33]
33,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
8,
60,
19
] | 55 | [
"60-55=5",
"19-8=11",
"5*11=55"
] | Current State: 55:[55, 8, 60, 19], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [8, 19, 5]
Generated Node #2: [8, 19, 5] from Operation: 60-55=5
Current State: 55:[8, 19, 5], Operations: ['60-55=5']
Exploring Operation: 19-8=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 19-8=11
Current State: 55:[5, 11], Operations: ['60-55=5', '19-8=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[55, 8, 60, 19], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [55, 60, 11]
Generated Node #0,0: 55:[55, 60, 11] Operation: 19-8=11
Exploring Operation: 60-55=5, Resulting Numbers: [8, 19, 5]
Generated Node #0,1: 55:[8, 19, 5] Operation: 60-55=5
Exploring Operation: 60-19=41, Resulting Numbers: [55, 8, 41]
Generated Node #0,2: 55:[55, 8, 41] Operation: 60-19=41
Exploring Operation: 60-8=52, Resulting Numbers: [55, 19, 52]
Generated Node #0,3: 55:[55, 19, 52] Operation: 60-8=52
Moving to Node #0,0
Current State: 55:[55, 60, 11], Operations: ['19-8=11']
Exploring Operation: 60-11=49, Resulting Numbers: [55, 49]
Generated Node #0,0,0: 55:[55, 49] Operation: 60-11=49
Exploring Operation: 55+11=66, Resulting Numbers: [60, 66]
Generated Node #0,0,1: 55:[60, 66] Operation: 55+11=66
Exploring Operation: 55/11=5, Resulting Numbers: [60, 5]
Generated Node #0,0,2: 55:[60, 5] Operation: 55/11=5
Exploring Operation: 60-55=5, Resulting Numbers: [11, 5]
Generated Node #0,0,3: 55:[11, 5] Operation: 60-55=5
Moving to Node #0,3
Current State: 55:[55, 19, 52], Operations: ['60-8=52']
Exploring Operation: 55+19=74, Resulting Numbers: [52, 74]
Generated Node #0,3,0: 55:[52, 74] Operation: 55+19=74
Exploring Operation: 55-19=36, Resulting Numbers: [52, 36]
Generated Node #0,3,1: 55:[52, 36] Operation: 55-19=36
Exploring Operation: 19+52=71, Resulting Numbers: [55, 71]
Generated Node #0,3,2: 55:[55, 71] Operation: 19+52=71
Exploring Operation: 55-52=3, Resulting Numbers: [19, 3]
Generated Node #0,3,3: 55:[19, 3] Operation: 55-52=3
Moving to Node #0,1
Current State: 55:[8, 19, 5], Operations: ['60-55=5']
Exploring Operation: 19-8=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 55:[5, 11] Operation: 19-8=11
Exploring Operation: 19-5=14, Resulting Numbers: [8, 14]
Generated Node #0,1,1: 55:[8, 14] Operation: 19-5=14
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #0,1,2: 55:[19, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [19, 13]
Generated Node #0,1,3: 55:[19, 13] Operation: 8+5=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[5, 11], Operations: ['60-55=5', '19-8=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[55, 8, 60, 19], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [8, 19, 5]
Generated Node #0,1: 55:[8, 19, 5] Operation: 60-55=5
Moving to Node #0,1
Current State: 55:[8, 19, 5], Operations: ['60-55=5']
Exploring Operation: 19-8=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 55:[5, 11] Operation: 19-8=11
Moving to Node #0,1,0
Current State: 55:[5, 11], Operations: ['60-55=5', '19-8=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
86,
38,
87,
11
] | 88 | [
"87-11=76",
"76/38=2",
"86+2=88"
] | Current State: 88:[86, 38, 87, 11], Operations: []
Exploring Operation: 87-11=76, Resulting Numbers: [86, 38, 76]
Generated Node #2: [86, 38, 76] from Operation: 87-11=76
Current State: 88:[86, 38, 76], Operations: ['87-11=76']
Exploring Operation: 76/38=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 76/38=2
Current State: 88:[86, 2], Operations: ['87-11=76', '76/38=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[86, 38, 87, 11], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [38, 11, 1]
Generated Node #0,0: 88:[38, 11, 1] Operation: 87-86=1
Exploring Operation: 38+11=49, Resulting Numbers: [86, 87, 49]
Generated Node #0,1: 88:[86, 87, 49] Operation: 38+11=49
Exploring Operation: 87-38=49, Resulting Numbers: [86, 11, 49]
Generated Node #0,2: 88:[86, 11, 49] Operation: 87-38=49
Exploring Operation: 86-38=48, Resulting Numbers: [87, 11, 48]
Generated Node #0,3: 88:[87, 11, 48] Operation: 86-38=48
Moving to Node #0,3
Current State: 88:[87, 11, 48], Operations: ['86-38=48']
Exploring Operation: 87+11=98, Resulting Numbers: [48, 98]
Generated Node #0,3,0: 88:[48, 98] Operation: 87+11=98
Exploring Operation: 48-11=37, Resulting Numbers: [87, 37]
Generated Node #0,3,1: 88:[87, 37] Operation: 48-11=37
Exploring Operation: 87-11=76, Resulting Numbers: [48, 76]
Generated Node #0,3,2: 88:[48, 76] Operation: 87-11=76
Exploring Operation: 87-48=39, Resulting Numbers: [11, 39]
Generated Node #0,3,3: 88:[11, 39] Operation: 87-48=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[11, 39], Operations: ['86-38=48', '87-48=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,88 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[87, 37], Operations: ['86-38=48', '48-11=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,88 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[48, 98], Operations: ['86-38=48', '87+11=98']
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,88 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[48, 76], Operations: ['86-38=48', '87-11=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[86, 11, 49], Operations: ['87-38=49']
Exploring Operation: 86-49=37, Resulting Numbers: [11, 37]
Generated Node #0,2,0: 88:[11, 37] Operation: 86-49=37
Exploring Operation: 49-11=38, Resulting Numbers: [86, 38]
Generated Node #0,2,1: 88:[86, 38] Operation: 49-11=38
Exploring Operation: 86-11=75, Resulting Numbers: [49, 75]
Generated Node #0,2,2: 88:[49, 75] Operation: 86-11=75
Exploring Operation: 86+11=97, Resulting Numbers: [49, 97]
Generated Node #0,2,3: 88:[49, 97] Operation: 86+11=97
Moving to Node #0,0
Current State: 88:[38, 11, 1], Operations: ['87-86=1']
Exploring Operation: 38*1=38, Resulting Numbers: [11, 38]
Generated Node #0,0,0: 88:[11, 38] Operation: 38*1=38
Exploring Operation: 38+1=39, Resulting Numbers: [11, 39]
Generated Node #0,0,1: 88:[11, 39] Operation: 38+1=39
Exploring Operation: 38-11=27, Resulting Numbers: [1, 27]
Generated Node #0,0,2: 88:[1, 27] Operation: 38-11=27
Exploring Operation: 38+11=49, Resulting Numbers: [1, 49]
Generated Node #0,0,3: 88:[1, 49] Operation: 38+11=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[11, 39], Operations: ['87-86=1', '38+1=39']
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,88 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[11, 38], Operations: ['87-86=1', '38*1=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,88 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[1, 27], Operations: ['87-86=1', '38-11=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[1, 49], Operations: ['87-86=1', '38+11=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,88 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: 88:[86, 87, 49], Operations: ['38+11=49']
Exploring Operation: 87-49=38, Resulting Numbers: [86, 38]
Generated Node #0,1,0: 88:[86, 38] Operation: 87-49=38
Exploring Operation: 86-49=37, Resulting Numbers: [87, 37]
Generated Node #0,1,1: 88:[87, 37] Operation: 86-49=37
Exploring Operation: 86+49=135, Resulting Numbers: [87, 135]
Generated Node #0,1,2: 88:[87, 135] Operation: 86+49=135
Exploring Operation: 87-86=1, Resulting Numbers: [49, 1]
Generated Node #0,1,3: 88:[49, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[49, 1], Operations: ['38+11=49', '87-86=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[86, 38], Operations: ['38+11=49', '87-49=38']
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,88 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[87, 37], Operations: ['38+11=49', '86-49=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,88 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[87, 135], Operations: ['38+11=49', '86+49=135']
Exploring Operation: 87*135=11745, Resulting Numbers: [11745]
11745,88 unequal: No Solution
Exploring Operation: 135-87=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 87+135=222, Resulting Numbers: [222]
222,88 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: 88:[11, 37], Operations: ['87-38=49', '86-49=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,88 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[86, 38], Operations: ['87-38=49', '49-11=38']
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,88 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[49, 97], Operations: ['87-38=49', '86+11=97']
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,88 unequal: No Solution
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,88 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[49, 75], Operations: ['87-38=49', '86-11=75']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,88 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
87,
87,
92
] | 79 | [
"92-14=78",
"87/87=1",
"78+1=79"
] | Current State: 79:[14, 87, 87, 92], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [87, 87, 78]
Generated Node #2: [87, 87, 78] from Operation: 92-14=78
Current State: 79:[87, 87, 78], Operations: ['92-14=78']
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 87/87=1
Current State: 79:[78, 1], Operations: ['92-14=78', '87/87=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[14, 87, 87, 92], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [87, 87, 78]
Generated Node #0,0: 79:[87, 87, 78] Operation: 92-14=78
Exploring Operation: 87-14=73, Resulting Numbers: [87, 92, 73]
Generated Node #0,1: 79:[87, 92, 73] Operation: 87-14=73
Exploring Operation: 87-14=73, Resulting Numbers: [87, 92, 73]
Generated Node #0,2: 79:[87, 92, 73] Operation: 87-14=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[87, 87, 78], Operations: ['92-14=78']
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 79:[78, 1] Operation: 87/87=1
Exploring Operation: 87-78=9, Resulting Numbers: [87, 9]
Generated Node #0,0,1: 79:[87, 9] Operation: 87-78=9
Exploring Operation: 87-78=9, Resulting Numbers: [87, 9]
Generated Node #0,0,2: 79:[87, 9] Operation: 87-78=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[87, 9], Operations: ['92-14=78', '87-78=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[87, 9], Operations: ['92-14=78', '87-78=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[78, 1], Operations: ['92-14=78', '87/87=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[14, 87, 87, 92], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [87, 87, 78]
Generated Node #0,0: 79:[87, 87, 78] Operation: 92-14=78
Moving to Node #0,0
Current State: 79:[87, 87, 78], Operations: ['92-14=78']
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 79:[78, 1] Operation: 87/87=1
Moving to Node #0,0,0
Current State: 79:[78, 1], Operations: ['92-14=78', '87/87=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
61,
80,
11,
71
] | 41 | [
"80-61=19",
"71-11=60",
"60-19=41"
] | Current State: 41:[61, 80, 11, 71], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [11, 71, 19]
Generated Node #2: [11, 71, 19] from Operation: 80-61=19
Current State: 41:[11, 71, 19], Operations: ['80-61=19']
Exploring Operation: 71-11=60, Resulting Numbers: [19, 60]
Generated Node #3: [19, 60] from Operation: 71-11=60
Current State: 41:[19, 60], Operations: ['80-61=19', '71-11=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[61, 80, 11, 71], Operations: []
Exploring Operation: 80-11=69, Resulting Numbers: [61, 71, 69]
Generated Node #0,0: 41:[61, 71, 69] Operation: 80-11=69
Exploring Operation: 61-11=50, Resulting Numbers: [80, 71, 50]
Generated Node #0,1: 41:[80, 71, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[61, 71, 69], Operations: ['80-11=69']
Exploring Operation: 71-61=10, Resulting Numbers: [69, 10]
Generated Node #0,0,0: 41:[69, 10] Operation: 71-61=10
Exploring Operation: 71-69=2, Resulting Numbers: [61, 2]
Generated Node #0,0,1: 41:[61, 2] Operation: 71-69=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[69, 10], Operations: ['80-11=69', '71-61=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,41 unequal: No Solution
No 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: 41:[61, 2], Operations: ['80-11=69', '71-69=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[80, 71, 50], Operations: ['61-11=50']
Exploring Operation: 80-50=30, Resulting Numbers: [71, 30]
Generated Node #0,1,0: 41:[71, 30] Operation: 80-50=30
Exploring Operation: 80-71=9, Resulting Numbers: [50, 9]
Generated Node #0,1,1: 41:[50, 9] Operation: 80-71=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[71, 30], Operations: ['61-11=50', '80-50=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[61, 80, 11, 71], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [80, 71, 50]
Generated Node #0,1: 41:[80, 71, 50] Operation: 61-11=50
Moving to Node #0,1
Current State: 41:[80, 71, 50], Operations: ['61-11=50']
Exploring Operation: 80-50=30, Resulting Numbers: [71, 30]
Generated Node #0,1,0: 41:[71, 30] Operation: 80-50=30
Moving to Node #0,1,0
Current State: 41:[71, 30], Operations: ['61-11=50', '80-50=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
64,
78,
42,
62
] | 59 | [
"78-64=14",
"42/14=3",
"62-3=59"
] | Current State: 59:[64, 78, 42, 62], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [42, 62, 14]
Generated Node #2: [42, 62, 14] from Operation: 78-64=14
Current State: 59:[42, 62, 14], Operations: ['78-64=14']
Exploring Operation: 42/14=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 42/14=3
Current State: 59:[62, 3], Operations: ['78-64=14', '42/14=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[64, 78, 42, 62], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [64, 62, 36]
Generated Node #0,0: 59:[64, 62, 36] Operation: 78-42=36
Exploring Operation: 62-42=20, Resulting Numbers: [64, 78, 20]
Generated Node #0,1: 59:[64, 78, 20] Operation: 62-42=20
Exploring Operation: 64-42=22, Resulting Numbers: [78, 62, 22]
Generated Node #0,2: 59:[78, 62, 22] Operation: 64-42=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[64, 62, 36], Operations: ['78-42=36']
Exploring Operation: 64+36=100, Resulting Numbers: [62, 100]
Generated Node #0,0,0: 59:[62, 100] Operation: 64+36=100
Exploring Operation: 64-36=28, Resulting Numbers: [62, 28]
Generated Node #0,0,1: 59:[62, 28] Operation: 64-36=28
Exploring Operation: 62-36=26, Resulting Numbers: [64, 26]
Generated Node #0,0,2: 59:[64, 26] Operation: 62-36=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[62, 28], Operations: ['78-42=36', '64-36=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,59 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[64, 26], Operations: ['78-42=36', '62-36=26']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,59 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[62, 100], Operations: ['78-42=36', '64+36=100']
Exploring Operation: 62+100=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 100-62=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 62*100=6200, Resulting Numbers: [6200]
6200,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[78, 62, 22], Operations: ['64-42=22']
Exploring Operation: 62-22=40, Resulting Numbers: [78, 40]
Generated Node #0,2,0: 59:[78, 40] Operation: 62-22=40
Exploring Operation: 78-22=56, Resulting Numbers: [62, 56]
Generated Node #0,2,1: 59:[62, 56] Operation: 78-22=56
Exploring Operation: 78+22=100, Resulting Numbers: [62, 100]
Generated Node #0,2,2: 59:[62, 100] Operation: 78+22=100
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[62, 56], Operations: ['64-42=22', '78-22=56']
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,59 unequal: No Solution
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[78, 40], Operations: ['64-42=22', '62-22=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,59 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[62, 100], Operations: ['64-42=22', '78+22=100']
Exploring Operation: 62*100=6200, Resulting Numbers: [6200]
6200,59 unequal: No Solution
Exploring Operation: 62+100=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 100-62=38, Resulting Numbers: [38]
38,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[64, 78, 20], Operations: ['62-42=20']
Exploring Operation: 64-20=44, Resulting Numbers: [78, 44]
Generated Node #0,1,0: 59:[78, 44] Operation: 64-20=44
Exploring Operation: 78-20=58, Resulting Numbers: [64, 58]
Generated Node #0,1,1: 59:[64, 58] Operation: 78-20=58
Exploring Operation: 64+20=84, Resulting Numbers: [78, 84]
Generated Node #0,1,2: 59:[78, 84] Operation: 64+20=84
Moving to Node #0,1,1
Current State: 59:[64, 58], Operations: ['62-42=20', '78-20=58']
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,59 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[78, 44], Operations: ['62-42=20', '64-20=44']
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,59 unequal: No Solution
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[78, 84], Operations: ['62-42=20', '64+20=84']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,59 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
33,
35,
15
] | 10 | [
"33-28=5",
"35+15=50",
"50/5=10"
] | Current State: 10:[28, 33, 35, 15], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [35, 15, 5]
Generated Node #2: [35, 15, 5] from Operation: 33-28=5
Current State: 10:[35, 15, 5], Operations: ['33-28=5']
Exploring Operation: 35+15=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 35+15=50
Current State: 10:[5, 50], Operations: ['33-28=5', '35+15=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[28, 33, 35, 15], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [35, 15, 5]
Generated Node #0,0: 10:[35, 15, 5] Operation: 33-28=5
Exploring Operation: 35-33=2, Resulting Numbers: [28, 15, 2]
Generated Node #0,1: 10:[28, 15, 2] Operation: 35-33=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[28, 15, 2], Operations: ['35-33=2']
Exploring Operation: 28/2=14, Resulting Numbers: [15, 14]
Generated Node #0,1,0: 10:[15, 14] Operation: 28/2=14
Exploring Operation: 28-15=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 10:[2, 13] Operation: 28-15=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[2, 13], Operations: ['35-33=2', '28-15=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[15, 14], Operations: ['35-33=2', '28/2=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,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:[35, 15, 5], Operations: ['33-28=5']
Exploring Operation: 35/5=7, Resulting Numbers: [15, 7]
Generated Node #0,0,0: 10:[15, 7] Operation: 35/5=7
Exploring Operation: 35-15=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 10:[5, 20] Operation: 35-15=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[15, 7], Operations: ['33-28=5', '35/5=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[5, 20], Operations: ['33-28=5', '35-15=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
79,
46,
65
] | 69 | [
"79+65=144",
"46*144=6624",
"6624/96=69"
] | Current State: 69:[96, 79, 46, 65], Operations: []
Exploring Operation: 79+65=144, Resulting Numbers: [96, 46, 144]
Generated Node #2: [96, 46, 144] from Operation: 79+65=144
Current State: 69:[96, 46, 144], Operations: ['79+65=144']
Exploring Operation: 46*144=6624, Resulting Numbers: [96, 6624]
Generated Node #3: [96, 6624] from Operation: 46*144=6624
Current State: 69:[96, 6624], Operations: ['79+65=144', '46*144=6624']
Exploring Operation: 6624/96=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[96, 79, 46, 65], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [46, 65, 17]
Generated Node #0,0: 69:[46, 65, 17] Operation: 96-79=17
Moving to Node #0,0
Current State: 69:[46, 65, 17], Operations: ['96-79=17']
Exploring Operation: 65-46=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 69:[17, 19] Operation: 65-46=19
Moving to Node #0,0,0
Current State: 69:[17, 19], Operations: ['96-79=17', '65-46=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,69 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
54,
36,
19
] | 57 | [
"54/27=2",
"36+19=55",
"2+55=57"
] | Current State: 57:[27, 54, 36, 19], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [36, 19, 2]
Generated Node #2: [36, 19, 2] from Operation: 54/27=2
Current State: 57:[36, 19, 2], Operations: ['54/27=2']
Exploring Operation: 36+19=55, Resulting Numbers: [2, 55]
Generated Node #3: [2, 55] from Operation: 36+19=55
Current State: 57:[2, 55], Operations: ['54/27=2', '36+19=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[27, 54, 36, 19], Operations: []
Exploring Operation: 27+36=63, Resulting Numbers: [54, 19, 63]
Generated Node #0,0: 57:[54, 19, 63] Operation: 27+36=63
Exploring Operation: 54-36=18, Resulting Numbers: [27, 19, 18]
Generated Node #0,1: 57:[27, 19, 18] Operation: 54-36=18
Exploring Operation: 36-27=9, Resulting Numbers: [54, 19, 9]
Generated Node #0,2: 57:[54, 19, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[54, 19, 63], Operations: ['27+36=63']
Exploring Operation: 54+19=73, Resulting Numbers: [63, 73]
Generated Node #0,0,0: 57:[63, 73] Operation: 54+19=73
Exploring Operation: 63-54=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 57:[19, 9] Operation: 63-54=9
Exploring Operation: 63-19=44, Resulting Numbers: [54, 44]
Generated Node #0,0,2: 57:[54, 44] Operation: 63-19=44
Moving to Node #0,0,1
Current State: 57:[19, 9], Operations: ['27+36=63', '63-54=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,57 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[54, 44], Operations: ['27+36=63', '63-19=44']
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,57 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[63, 73], Operations: ['27+36=63', '54+19=73']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,57 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[27, 19, 18], Operations: ['54-36=18']
Exploring Operation: 27-19=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 57:[18, 8] Operation: 27-19=8
Exploring Operation: 27-18=9, Resulting Numbers: [19, 9]
Generated Node #0,1,1: 57:[19, 9] Operation: 27-18=9
Exploring Operation: 19-18=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 57:[27, 1] Operation: 19-18=1
Moving to Node #0,1,0
Current State: 57:[18, 8], Operations: ['54-36=18', '27-19=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[19, 9], Operations: ['54-36=18', '27-18=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[27, 1], Operations: ['54-36=18', '19-18=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[54, 19, 9], Operations: ['36-27=9']
Exploring Operation: 54+9=63, Resulting Numbers: [19, 63]
Generated Node #0,2,0: 57:[19, 63] Operation: 54+9=63
Exploring Operation: 19-9=10, Resulting Numbers: [54, 10]
Generated Node #0,2,1: 57:[54, 10] Operation: 19-9=10
Exploring Operation: 54/9=6, Resulting Numbers: [19, 6]
Generated Node #0,2,2: 57:[19, 6] Operation: 54/9=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[19, 6], Operations: ['36-27=9', '54/9=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No 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: 57:[19, 63], Operations: ['36-27=9', '54+9=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,57 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,57 unequal: No Solution
No 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: 57:[54, 10], Operations: ['36-27=9', '19-9=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,57 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
96,
56,
47,
75
] | 98 | [
"75-47=28",
"56/28=2",
"96+2=98"
] | Current State: 98:[96, 56, 47, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [96, 56, 28]
Generated Node #2: [96, 56, 28] from Operation: 75-47=28
Current State: 98:[96, 56, 28], Operations: ['75-47=28']
Exploring Operation: 56/28=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 56/28=2
Current State: 98:[96, 2], Operations: ['75-47=28', '56/28=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[96, 56, 47, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [96, 56, 28]
Generated Node #0,0: 98:[96, 56, 28] Operation: 75-47=28
Exploring Operation: 96-75=21, Resulting Numbers: [56, 47, 21]
Generated Node #0,1: 98:[56, 47, 21] Operation: 96-75=21
Exploring Operation: 56-47=9, Resulting Numbers: [96, 75, 9]
Generated Node #0,2: 98:[96, 75, 9] Operation: 56-47=9
Exploring Operation: 75-56=19, Resulting Numbers: [96, 47, 19]
Generated Node #0,3: 98:[96, 47, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[96, 47, 19], Operations: ['75-56=19']
Exploring Operation: 96+19=115, Resulting Numbers: [47, 115]
Generated Node #0,3,0: 98:[47, 115] Operation: 96+19=115
Exploring Operation: 96-47=49, Resulting Numbers: [19, 49]
Generated Node #0,3,1: 98:[19, 49] Operation: 96-47=49
Exploring Operation: 47-19=28, Resulting Numbers: [96, 28]
Generated Node #0,3,2: 98:[96, 28] Operation: 47-19=28
Exploring Operation: 47+19=66, Resulting Numbers: [96, 66]
Generated Node #0,3,3: 98:[96, 66] Operation: 47+19=66
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[19, 49], Operations: ['75-56=19', '96-47=49']
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,98 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,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,3,2
Current State: 98:[96, 28], Operations: ['75-56=19', '47-19=28']
Exploring Operation: 96+28=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 96*28=2688, Resulting Numbers: [2688]
2688,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,3,0
Current State: 98:[47, 115], Operations: ['75-56=19', '96+19=115']
Exploring Operation: 47*115=5405, Resulting Numbers: [5405]
5405,98 unequal: No Solution
Exploring Operation: 115-47=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 47+115=162, Resulting Numbers: [162]
162,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,3,3
Current State: 98:[96, 66], Operations: ['75-56=19', '47+19=66']
Exploring Operation: 96+66=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Exploring Operation: 96*66=6336, Resulting Numbers: [6336]
6336,98 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[56, 47, 21], Operations: ['96-75=21']
Exploring Operation: 47-21=26, Resulting Numbers: [56, 26]
Generated Node #0,1,0: 98:[56, 26] Operation: 47-21=26
Exploring Operation: 56-21=35, Resulting Numbers: [47, 35]
Generated Node #0,1,1: 98:[47, 35] Operation: 56-21=35
Exploring Operation: 56-47=9, Resulting Numbers: [21, 9]
Generated Node #0,1,2: 98:[21, 9] Operation: 56-47=9
Exploring Operation: 56+47=103, Resulting Numbers: [21, 103]
Generated Node #0,1,3: 98:[21, 103] Operation: 56+47=103
Moving to Node #0,1,2
Current State: 98:[21, 9], Operations: ['96-75=21', '56-47=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,98 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[21, 103], Operations: ['96-75=21', '56+47=103']
Exploring Operation: 21+103=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 103-21=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 21*103=2163, Resulting Numbers: [2163]
2163,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[47, 35], Operations: ['96-75=21', '56-21=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,98 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[56, 26], Operations: ['96-75=21', '47-21=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,98 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,98 unequal: No Solution
No 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:[96, 56, 28], Operations: ['75-47=28']
Exploring Operation: 56/28=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 56/28=2
Exploring Operation: 56+28=84, Resulting Numbers: [96, 84]
Generated Node #0,0,1: 98:[96, 84] Operation: 56+28=84
Exploring Operation: 96-56=40, Resulting Numbers: [28, 40]
Generated Node #0,0,2: 98:[28, 40] Operation: 96-56=40
Exploring Operation: 56-28=28, Resulting Numbers: [96, 28]
Generated Node #0,0,3: 98:[96, 28] Operation: 56-28=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['75-47=28', '56/28=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[96, 56, 47, 75], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [96, 56, 28]
Generated Node #0,0: 98:[96, 56, 28] Operation: 75-47=28
Moving to Node #0,0
Current State: 98:[96, 56, 28], Operations: ['75-47=28']
Exploring Operation: 56/28=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 98:[96, 2] Operation: 56/28=2
Moving to Node #0,0,0
Current State: 98:[96, 2], Operations: ['75-47=28', '56/28=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
39,
37,
3,
90
] | 40 | [
"39/3=13",
"90-37=53",
"53-13=40"
] | Current State: 40:[39, 37, 3, 90], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [37, 90, 13]
Generated Node #2: [37, 90, 13] from Operation: 39/3=13
Current State: 40:[37, 90, 13], Operations: ['39/3=13']
Exploring Operation: 90-37=53, Resulting Numbers: [13, 53]
Generated Node #3: [13, 53] from Operation: 90-37=53
Current State: 40:[13, 53], Operations: ['39/3=13', '90-37=53']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[39, 37, 3, 90], Operations: []
Exploring Operation: 90-37=53, Resulting Numbers: [39, 3, 53]
Generated Node #0,0: 40:[39, 3, 53] Operation: 90-37=53
Exploring Operation: 90/3=30, Resulting Numbers: [39, 37, 30]
Generated Node #0,1: 40:[39, 37, 30] Operation: 90/3=30
Exploring Operation: 90-39=51, Resulting Numbers: [37, 3, 51]
Generated Node #0,2: 40:[37, 3, 51] Operation: 90-39=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[39, 37, 30], Operations: ['90/3=30']
Exploring Operation: 39-37=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 40:[30, 2] Operation: 39-37=2
Exploring Operation: 37-30=7, Resulting Numbers: [39, 7]
Generated Node #0,1,1: 40:[39, 7] Operation: 37-30=7
Exploring Operation: 39-30=9, Resulting Numbers: [37, 9]
Generated Node #0,1,2: 40:[37, 9] Operation: 39-30=9
Moving to Node #0,1,1
Current State: 40:[39, 7], Operations: ['90/3=30', '37-30=7']
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,40 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[37, 9], Operations: ['90/3=30', '39-30=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,40 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[30, 2], Operations: ['90/3=30', '39-37=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[39, 3, 53], Operations: ['90-37=53']
Exploring Operation: 39+3=42, Resulting Numbers: [53, 42]
Generated Node #0,0,0: 40:[53, 42] Operation: 39+3=42
Exploring Operation: 53-39=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 40:[3, 14] Operation: 53-39=14
Exploring Operation: 53-3=50, Resulting Numbers: [39, 50]
Generated Node #0,0,2: 40:[39, 50] Operation: 53-3=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[3, 14], Operations: ['90-37=53', '53-39=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[39, 50], Operations: ['90-37=53', '53-3=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,40 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[53, 42], Operations: ['90-37=53', '39+3=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,40 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[37, 3, 51], Operations: ['90-39=51']
Exploring Operation: 51-37=14, Resulting Numbers: [3, 14]
Generated Node #0,2,0: 40:[3, 14] Operation: 51-37=14
Exploring Operation: 37+3=40, Resulting Numbers: [51, 40]
Generated Node #0,2,1: 40:[51, 40] Operation: 37+3=40
Exploring Operation: 51/3=17, Resulting Numbers: [37, 17]
Generated Node #0,2,2: 40:[37, 17] Operation: 51/3=17
Moving to Node #0,2,0
Current State: 40:[3, 14], Operations: ['90-39=51', '51-37=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[37, 17], Operations: ['90-39=51', '51/3=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,40 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[51, 40], Operations: ['90-39=51', '37+3=40']
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,40 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,40 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 |
[
90,
3,
93,
45
] | 93 | [
"90/45=2",
"3-2=1",
"93*1=93"
] | Current State: 93:[90, 3, 93, 45], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [3, 93, 2]
Generated Node #2: [3, 93, 2] from Operation: 90/45=2
Current State: 93:[3, 93, 2], Operations: ['90/45=2']
Exploring Operation: 3-2=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 3-2=1
Current State: 93:[93, 1], Operations: ['90/45=2', '3-2=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[90, 3, 93, 45], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [3, 93, 2]
Generated Node #0,0: 93:[3, 93, 2] Operation: 90/45=2
Exploring Operation: 90+3=93, Resulting Numbers: [93, 45, 93]
Generated Node #0,1: 93:[93, 45, 93] Operation: 90+3=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[3, 93, 2], Operations: ['90/45=2']
Exploring Operation: 93/3=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 93:[2, 31] Operation: 93/3=31
Exploring Operation: 3+2=5, Resulting Numbers: [93, 5]
Generated Node #0,0,1: 93:[93, 5] Operation: 3+2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[2, 31], Operations: ['90/45=2', '93/3=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No 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: 93:[93, 5], Operations: ['90/45=2', '3+2=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,93 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: 93:[93, 45, 93], Operations: ['90+3=93']
Exploring Operation: 93/93=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 93:[45, 1] Operation: 93/93=1
Exploring Operation: 93-45=48, Resulting Numbers: [93, 48]
Generated Node #0,1,1: 93:[93, 48] Operation: 93-45=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[45, 1], Operations: ['90+3=93', '93/93=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No 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: 93:[93, 48], Operations: ['90+3=93', '93-45=48']
Exploring Operation: 93+48=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
20,
22,
2
] | 30 | [
"62+20=82",
"82-22=60",
"60/2=30"
] | Current State: 30:[62, 20, 22, 2], Operations: []
Exploring Operation: 62+20=82, Resulting Numbers: [22, 2, 82]
Generated Node #2: [22, 2, 82] from Operation: 62+20=82
Current State: 30:[22, 2, 82], Operations: ['62+20=82']
Exploring Operation: 82-22=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 82-22=60
Current State: 30:[2, 60], Operations: ['62+20=82', '82-22=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[62, 20, 22, 2], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [22, 2, 42]
Generated Node #0,0: 30:[22, 2, 42] Operation: 62-20=42
Exploring Operation: 62-22=40, Resulting Numbers: [20, 2, 40]
Generated Node #0,1: 30:[20, 2, 40] Operation: 62-22=40
Exploring Operation: 62/2=31, Resulting Numbers: [20, 22, 31]
Generated Node #0,2: 30:[20, 22, 31] Operation: 62/2=31
Moving to Node #0,2
Current State: 30:[20, 22, 31], Operations: ['62/2=31']
Exploring Operation: 31-20=11, Resulting Numbers: [22, 11]
Generated Node #0,2,0: 30:[22, 11] Operation: 31-20=11
Exploring Operation: 31-22=9, Resulting Numbers: [20, 9]
Generated Node #0,2,1: 30:[20, 9] Operation: 31-22=9
Exploring Operation: 22-20=2, Resulting Numbers: [31, 2]
Generated Node #0,2,2: 30:[31, 2] Operation: 22-20=2
Moving to Node #0,1
Current State: 30:[20, 2, 40], Operations: ['62-22=40']
Exploring Operation: 20/2=10, Resulting Numbers: [40, 10]
Generated Node #0,1,0: 30:[40, 10] Operation: 20/2=10
Exploring Operation: 40/20=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 30:[2, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [2, 20]
Generated Node #0,1,2: 30:[2, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[2, 2], Operations: ['62-22=40', '40/20=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[2, 20], Operations: ['62-22=40', '40-20=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[40, 10], Operations: ['62-22=40', '20/2=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[62, 20, 22, 2], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [20, 2, 40]
Generated Node #0,1: 30:[20, 2, 40] Operation: 62-22=40
Moving to Node #0,1
Current State: 30:[20, 2, 40], Operations: ['62-22=40']
Exploring Operation: 20/2=10, Resulting Numbers: [40, 10]
Generated Node #0,1,0: 30:[40, 10] Operation: 20/2=10
Moving to Node #0,1,0
Current State: 30:[40, 10], Operations: ['62-22=40', '20/2=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
86,
20,
77,
2
] | 58 | [
"86+20=106",
"106-77=29",
"2*29=58"
] | Current State: 58:[86, 20, 77, 2], Operations: []
Exploring Operation: 86+20=106, Resulting Numbers: [77, 2, 106]
Generated Node #2: [77, 2, 106] from Operation: 86+20=106
Current State: 58:[77, 2, 106], Operations: ['86+20=106']
Exploring Operation: 106-77=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 106-77=29
Current State: 58:[2, 29], Operations: ['86+20=106', '106-77=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[86, 20, 77, 2], Operations: []
Exploring Operation: 86-20=66, Resulting Numbers: [77, 2, 66]
Generated Node #0,0: 58:[77, 2, 66] Operation: 86-20=66
Exploring Operation: 86-77=9, Resulting Numbers: [20, 2, 9]
Generated Node #0,1: 58:[20, 2, 9] Operation: 86-77=9
Exploring Operation: 77-20=57, Resulting Numbers: [86, 2, 57]
Generated Node #0,2: 58:[86, 2, 57] Operation: 77-20=57
Exploring Operation: 86-2=84, Resulting Numbers: [20, 77, 84]
Generated Node #0,3: 58:[20, 77, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [20, 77, 43]
Generated Node #0,4: 58:[20, 77, 43] Operation: 86/2=43
Moving to Node #0,1
Current State: 58:[20, 2, 9], Operations: ['86-77=9']
Exploring Operation: 20+9=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 58:[2, 29] Operation: 20+9=29
Exploring Operation: 20+2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 58:[9, 22] Operation: 20+2=22
Exploring Operation: 20/2=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 58:[9, 10] Operation: 20/2=10
Exploring Operation: 9-2=7, Resulting Numbers: [20, 7]
Generated Node #0,1,3: 58:[20, 7] Operation: 9-2=7
Exploring Operation: 20-9=11, Resulting Numbers: [2, 11]
Generated Node #0,1,4: 58:[2, 11] Operation: 20-9=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[2, 29], Operations: ['86-77=9', '20+9=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[86, 20, 77, 2], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [20, 2, 9]
Generated Node #0,1: 58:[20, 2, 9] Operation: 86-77=9
Moving to Node #0,1
Current State: 58:[20, 2, 9], Operations: ['86-77=9']
Exploring Operation: 20+9=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 58:[2, 29] Operation: 20+9=29
Moving to Node #0,1,0
Current State: 58:[2, 29], Operations: ['86-77=9', '20+9=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
53,
22,
54
] | 99 | [
"77+22=99",
"54-53=1",
"99*1=99"
] | Current State: 99:[77, 53, 22, 54], Operations: []
Exploring Operation: 77+22=99, Resulting Numbers: [53, 54, 99]
Generated Node #2: [53, 54, 99] from Operation: 77+22=99
Current State: 99:[53, 54, 99], Operations: ['77+22=99']
Exploring Operation: 54-53=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 54-53=1
Current State: 99:[99, 1], Operations: ['77+22=99', '54-53=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[77, 53, 22, 54], Operations: []
Exploring Operation: 77+22=99, Resulting Numbers: [53, 54, 99]
Generated Node #0,0: 99:[53, 54, 99] Operation: 77+22=99
Exploring Operation: 77-53=24, Resulting Numbers: [22, 54, 24]
Generated Node #0,1: 99:[22, 54, 24] Operation: 77-53=24
Exploring Operation: 54-53=1, Resulting Numbers: [77, 22, 1]
Generated Node #0,2: 99:[77, 22, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[77, 22, 1], Operations: ['54-53=1']
Exploring Operation: 77+22=99, Resulting Numbers: [1, 99]
Generated Node #0,2,0: 99:[1, 99] Operation: 77+22=99
Exploring Operation: 77+1=78, Resulting Numbers: [22, 78]
Generated Node #0,2,1: 99:[22, 78] Operation: 77+1=78
Exploring Operation: 77-22=55, Resulting Numbers: [1, 55]
Generated Node #0,2,2: 99:[1, 55] Operation: 77-22=55
Moving to Node #0,2,0
Current State: 99:[1, 99], Operations: ['54-53=1', '77+22=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[77, 53, 22, 54], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [77, 22, 1]
Generated Node #0,2: 99:[77, 22, 1] Operation: 54-53=1
Moving to Node #0,2
Current State: 99:[77, 22, 1], Operations: ['54-53=1']
Exploring Operation: 77+22=99, Resulting Numbers: [1, 99]
Generated Node #0,2,0: 99:[1, 99] Operation: 77+22=99
Moving to Node #0,2,0
Current State: 99:[1, 99], Operations: ['54-53=1', '77+22=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.