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 |
|---|---|---|---|---|---|---|---|---|
[
24,
41,
70,
26
] | 76 | [
"26-24=2",
"70/2=35",
"41+35=76"
] | Current State: 76:[24, 41, 70, 26], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [41, 70, 2]
Generated Node #2: [41, 70, 2] from Operation: 26-24=2
Current State: 76:[41, 70, 2], Operations: ['26-24=2']
Exploring Operation: 70/2=35, Resulting Numbers: [41, 35]
Generated Node #3: [41, 35] from Operation: 70/2=35
Current State: 76:[41, 35], Operations: ['26-24=2', '70/2=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[24, 41, 70, 26], Operations: []
Exploring Operation: 70-24=46, Resulting Numbers: [41, 26, 46]
Generated Node #0,0: 76:[41, 26, 46] Operation: 70-24=46
Exploring Operation: 70-26=44, Resulting Numbers: [24, 41, 44]
Generated Node #0,1: 76:[24, 41, 44] Operation: 70-26=44
Exploring Operation: 41-24=17, Resulting Numbers: [70, 26, 17]
Generated Node #0,2: 76:[70, 26, 17] Operation: 41-24=17
Exploring Operation: 26-24=2, Resulting Numbers: [41, 70, 2]
Generated Node #0,3: 76:[41, 70, 2] Operation: 26-24=2
Exploring Operation: 41-26=15, Resulting Numbers: [24, 70, 15]
Generated Node #0,4: 76:[24, 70, 15] Operation: 41-26=15
Moving to Node #0,3
Current State: 76:[41, 70, 2], Operations: ['26-24=2']
Exploring Operation: 70+2=72, Resulting Numbers: [41, 72]
Generated Node #0,3,0: 76:[41, 72] Operation: 70+2=72
Exploring Operation: 70-41=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 76:[2, 29] Operation: 70-41=29
Exploring Operation: 41+2=43, Resulting Numbers: [70, 43]
Generated Node #0,3,2: 76:[70, 43] Operation: 41+2=43
Exploring Operation: 41-2=39, Resulting Numbers: [70, 39]
Generated Node #0,3,3: 76:[70, 39] Operation: 41-2=39
Exploring Operation: 70/2=35, Resulting Numbers: [41, 35]
Generated Node #0,3,4: 76:[41, 35] Operation: 70/2=35
Moving to Node #0,1
Current State: 76:[24, 41, 44], Operations: ['70-26=44']
Exploring Operation: 41-24=17, Resulting Numbers: [44, 17]
Generated Node #0,1,0: 76:[44, 17] Operation: 41-24=17
Exploring Operation: 44-24=20, Resulting Numbers: [41, 20]
Generated Node #0,1,1: 76:[41, 20] Operation: 44-24=20
Exploring Operation: 41+44=85, Resulting Numbers: [24, 85]
Generated Node #0,1,2: 76:[24, 85] Operation: 41+44=85
Exploring Operation: 44-41=3, Resulting Numbers: [24, 3]
Generated Node #0,1,3: 76:[24, 3] Operation: 44-41=3
Exploring Operation: 24+44=68, Resulting Numbers: [41, 68]
Generated Node #0,1,4: 76:[41, 68] Operation: 24+44=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[41, 20], Operations: ['70-26=44', '44-24=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[24, 3], Operations: ['70-26=44', '44-41=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[44, 17], Operations: ['70-26=44', '41-24=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[41, 68], Operations: ['70-26=44', '24+44=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,76 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[24, 85], Operations: ['70-26=44', '41+44=85']
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,76 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,76 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: 76:[70, 26, 17], Operations: ['41-24=17']
Exploring Operation: 26+17=43, Resulting Numbers: [70, 43]
Generated Node #0,2,0: 76:[70, 43] Operation: 26+17=43
Exploring Operation: 70-26=44, Resulting Numbers: [17, 44]
Generated Node #0,2,1: 76:[17, 44] Operation: 70-26=44
Exploring Operation: 70+17=87, Resulting Numbers: [26, 87]
Generated Node #0,2,2: 76:[26, 87] Operation: 70+17=87
Exploring Operation: 70+26=96, Resulting Numbers: [17, 96]
Generated Node #0,2,3: 76:[17, 96] Operation: 70+26=96
Exploring Operation: 26-17=9, Resulting Numbers: [70, 9]
Generated Node #0,2,4: 76:[70, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[17, 44], Operations: ['41-24=17', '70-26=44']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[70, 43], Operations: ['41-24=17', '26+17=43']
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,76 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[70, 9], Operations: ['41-24=17', '26-17=9']
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,76 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[26, 87], Operations: ['41-24=17', '70+17=87']
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 26*87=2262, Resulting Numbers: [2262]
2262,76 unequal: No Solution
Exploring Operation: 26+87=113, Resulting Numbers: [113]
113,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[17, 96], Operations: ['41-24=17', '70+26=96']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 17*96=1632, Resulting Numbers: [1632]
1632,76 unequal: No Solution
Exploring Operation: 17+96=113, Resulting Numbers: [113]
113,76 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: 76:[24, 70, 15], Operations: ['41-26=15']
Exploring Operation: 70-24=46, Resulting Numbers: [15, 46]
Generated Node #0,4,0: 76:[15, 46] Operation: 70-24=46
Exploring Operation: 70+15=85, Resulting Numbers: [24, 85]
Generated Node #0,4,1: 76:[24, 85] Operation: 70+15=85
Exploring Operation: 24-15=9, Resulting Numbers: [70, 9]
Generated Node #0,4,2: 76:[70, 9] Operation: 24-15=9
Exploring Operation: 24+70=94, Resulting Numbers: [15, 94]
Generated Node #0,4,3: 76:[15, 94] Operation: 24+70=94
Exploring Operation: 24+15=39, Resulting Numbers: [70, 39]
Generated Node #0,4,4: 76:[70, 39] Operation: 24+15=39
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[70, 39], Operations: ['41-26=15', '24+15=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,76 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[70, 9], Operations: ['41-26=15', '24-15=9']
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,76 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[15, 46], Operations: ['41-26=15', '70-24=46']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,76 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[24, 85], Operations: ['41-26=15', '70+15=85']
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[15, 94], Operations: ['41-26=15', '24+70=94']
Exploring Operation: 15+94=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 15*94=1410, Resulting Numbers: [1410]
1410,76 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,76 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: 76:[41, 26, 46], Operations: ['70-24=46']
Exploring Operation: 46-41=5, Resulting Numbers: [26, 5]
Generated Node #0,0,0: 76:[26, 5] Operation: 46-41=5
Exploring Operation: 41+26=67, Resulting Numbers: [46, 67]
Generated Node #0,0,1: 76:[46, 67] Operation: 41+26=67
Exploring Operation: 46-26=20, Resulting Numbers: [41, 20]
Generated Node #0,0,2: 76:[41, 20] Operation: 46-26=20
Exploring Operation: 26+46=72, Resulting Numbers: [41, 72]
Generated Node #0,0,3: 76:[41, 72] Operation: 26+46=72
Exploring Operation: 41-26=15, Resulting Numbers: [46, 15]
Generated Node #0,0,4: 76:[46, 15] Operation: 41-26=15
Moving to Node #0,0,2
Current State: 76:[41, 20], Operations: ['70-24=46', '46-26=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,76 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[41, 35], Operations: ['26-24=2', '70/2=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,76 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[24, 41, 70, 26], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [41, 70, 2]
Generated Node #0,3: 76:[41, 70, 2] Operation: 26-24=2
Moving to Node #0,3
Current State: 76:[41, 70, 2], Operations: ['26-24=2']
Exploring Operation: 70/2=35, Resulting Numbers: [41, 35]
Generated Node #0,3,4: 76:[41, 35] Operation: 70/2=35
Moving to Node #0,3,4
Current State: 76:[41, 35], Operations: ['26-24=2', '70/2=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
30,
37,
59,
97
] | 57 | [
"97-37=60",
"60/30=2",
"59-2=57"
] | Current State: 57:[30, 37, 59, 97], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [30, 59, 60]
Generated Node #2: [30, 59, 60] from Operation: 97-37=60
Current State: 57:[30, 59, 60], Operations: ['97-37=60']
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 60/30=2
Current State: 57:[59, 2], Operations: ['97-37=60', '60/30=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 37, 59, 97], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [30, 59, 60]
Generated Node #0,0: 57:[30, 59, 60] Operation: 97-37=60
Exploring Operation: 37-30=7, Resulting Numbers: [59, 97, 7]
Generated Node #0,1: 57:[59, 97, 7] Operation: 37-30=7
Exploring Operation: 97-30=67, Resulting Numbers: [37, 59, 67]
Generated Node #0,2: 57:[37, 59, 67] Operation: 97-30=67
Exploring Operation: 97-59=38, Resulting Numbers: [30, 37, 38]
Generated Node #0,3: 57:[30, 37, 38] Operation: 97-59=38
Exploring Operation: 30+37=67, Resulting Numbers: [59, 97, 67]
Generated Node #0,4: 57:[59, 97, 67] Operation: 30+37=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[30, 59, 60], Operations: ['97-37=60']
Exploring Operation: 30+59=89, Resulting Numbers: [60, 89]
Generated Node #0,0,0: 57:[60, 89] Operation: 30+59=89
Exploring Operation: 60-30=30, Resulting Numbers: [59, 30]
Generated Node #0,0,1: 57:[59, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 57:[59, 2] Operation: 60/30=2
Exploring Operation: 60-59=1, Resulting Numbers: [30, 1]
Generated Node #0,0,3: 57:[30, 1] Operation: 60-59=1
Exploring Operation: 59-30=29, Resulting Numbers: [60, 29]
Generated Node #0,0,4: 57:[60, 29] Operation: 59-30=29
Moving to Node #0,0,2
Current State: 57:[59, 2], Operations: ['97-37=60', '60/30=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[30, 37, 59, 97], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [30, 59, 60]
Generated Node #0,0: 57:[30, 59, 60] Operation: 97-37=60
Moving to Node #0,0
Current State: 57:[30, 59, 60], Operations: ['97-37=60']
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 57:[59, 2] Operation: 60/30=2
Moving to Node #0,0,2
Current State: 57:[59, 2], Operations: ['97-37=60', '60/30=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
3,
9,
24,
58
] | 60 | [
"3+9=12",
"24/12=2",
"58+2=60"
] | Current State: 60:[3, 9, 24, 58], Operations: []
Exploring Operation: 3+9=12, Resulting Numbers: [24, 58, 12]
Generated Node #2: [24, 58, 12] from Operation: 3+9=12
Current State: 60:[24, 58, 12], Operations: ['3+9=12']
Exploring Operation: 24/12=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 24/12=2
Current State: 60:[58, 2], Operations: ['3+9=12', '24/12=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 9, 24, 58], Operations: []
Exploring Operation: 24-3=21, Resulting Numbers: [9, 58, 21]
Generated Node #0,0: 60:[9, 58, 21] Operation: 24-3=21
Exploring Operation: 24-9=15, Resulting Numbers: [3, 58, 15]
Generated Node #0,1: 60:[3, 58, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [3, 58, 33]
Generated Node #0,2: 60:[3, 58, 33] Operation: 9+24=33
Exploring Operation: 24/3=8, Resulting Numbers: [9, 58, 8]
Generated Node #0,3: 60:[9, 58, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[3, 58, 15], Operations: ['24-9=15']
Exploring Operation: 3+15=18, Resulting Numbers: [58, 18]
Generated Node #0,1,0: 60:[58, 18] Operation: 3+15=18
Exploring Operation: 15-3=12, Resulting Numbers: [58, 12]
Generated Node #0,1,1: 60:[58, 12] Operation: 15-3=12
Exploring Operation: 3+58=61, Resulting Numbers: [15, 61]
Generated Node #0,1,2: 60:[15, 61] Operation: 3+58=61
Exploring Operation: 15/3=5, Resulting Numbers: [58, 5]
Generated Node #0,1,3: 60:[58, 5] Operation: 15/3=5
Moving to Node #0,1,2
Current State: 60:[15, 61], Operations: ['24-9=15', '3+58=61']
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[58, 5], Operations: ['24-9=15', '15/3=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[58, 12], Operations: ['24-9=15', '15-3=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,60 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[58, 18], Operations: ['24-9=15', '3+15=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[9, 58, 21], Operations: ['24-3=21']
Exploring Operation: 21-9=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 60:[58, 12] Operation: 21-9=12
Exploring Operation: 58-21=37, Resulting Numbers: [9, 37]
Generated Node #0,0,1: 60:[9, 37] Operation: 58-21=37
Exploring Operation: 9+21=30, Resulting Numbers: [58, 30]
Generated Node #0,0,2: 60:[58, 30] Operation: 9+21=30
Exploring Operation: 9+58=67, Resulting Numbers: [21, 67]
Generated Node #0,0,3: 60:[21, 67] Operation: 9+58=67
Moving to Node #0,0,0
Current State: 60:[58, 12], Operations: ['24-3=21', '21-9=12']
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,60 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[58, 30], Operations: ['24-3=21', '9+21=30']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,60 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[21, 67], Operations: ['24-3=21', '9+58=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 21*67=1407, Resulting Numbers: [1407]
1407,60 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[9, 37], Operations: ['24-3=21', '58-21=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[3, 58, 33], Operations: ['9+24=33']
Exploring Operation: 33/3=11, Resulting Numbers: [58, 11]
Generated Node #0,2,0: 60:[58, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [58, 30]
Generated Node #0,2,1: 60:[58, 30] Operation: 33-3=30
Exploring Operation: 3+58=61, Resulting Numbers: [33, 61]
Generated Node #0,2,2: 60:[33, 61] Operation: 3+58=61
Exploring Operation: 58-33=25, Resulting Numbers: [3, 25]
Generated Node #0,2,3: 60:[3, 25] Operation: 58-33=25
Moving to Node #0,2,1
Current State: 60:[58, 30], Operations: ['9+24=33', '33-3=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,60 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[58, 11], Operations: ['9+24=33', '33/3=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,60 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[33, 61], Operations: ['9+24=33', '3+58=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,60 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[3, 25], Operations: ['9+24=33', '58-33=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[9, 58, 8], Operations: ['24/3=8']
Exploring Operation: 58+8=66, Resulting Numbers: [9, 66]
Generated Node #0,3,0: 60:[9, 66] Operation: 58+8=66
Exploring Operation: 9+8=17, Resulting Numbers: [58, 17]
Generated Node #0,3,1: 60:[58, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [58, 1]
Generated Node #0,3,2: 60:[58, 1] Operation: 9-8=1
Exploring Operation: 9+58=67, Resulting Numbers: [8, 67]
Generated Node #0,3,3: 60:[8, 67] Operation: 9+58=67
Moving to Node #0,3,2
Current State: 60:[58, 1], Operations: ['24/3=8', '9-8=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[58, 17], Operations: ['24/3=8', '9+8=17']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[9, 66], Operations: ['24/3=8', '58+8=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[8, 67], Operations: ['24/3=8', '9+58=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,60 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
91,
15,
46
] | 46 | [
"49-46=3",
"15*3=45",
"91-45=46"
] | Current State: 46:[49, 91, 15, 46], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [91, 15, 3]
Generated Node #2: [91, 15, 3] from Operation: 49-46=3
Current State: 46:[91, 15, 3], Operations: ['49-46=3']
Exploring Operation: 15*3=45, Resulting Numbers: [91, 45]
Generated Node #3: [91, 45] from Operation: 15*3=45
Current State: 46:[91, 45], Operations: ['49-46=3', '15*3=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 91, 15, 46], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [91, 46, 34]
Generated Node #0,0: 46:[91, 46, 34] Operation: 49-15=34
Exploring Operation: 91-15=76, Resulting Numbers: [49, 46, 76]
Generated Node #0,1: 46:[49, 46, 76] Operation: 91-15=76
Exploring Operation: 91-49=42, Resulting Numbers: [15, 46, 42]
Generated Node #0,2: 46:[15, 46, 42] Operation: 91-49=42
Exploring Operation: 49-46=3, Resulting Numbers: [91, 15, 3]
Generated Node #0,3: 46:[91, 15, 3] Operation: 49-46=3
Exploring Operation: 91-46=45, Resulting Numbers: [49, 15, 45]
Generated Node #0,4: 46:[49, 15, 45] Operation: 91-46=45
Moving to Node #0,2
Current State: 46:[15, 46, 42], Operations: ['91-49=42']
Exploring Operation: 46-15=31, Resulting Numbers: [42, 31]
Generated Node #0,2,0: 46:[42, 31] Operation: 46-15=31
Exploring Operation: 46-42=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 46:[15, 4] Operation: 46-42=4
Exploring Operation: 42-15=27, Resulting Numbers: [46, 27]
Generated Node #0,2,2: 46:[46, 27] Operation: 42-15=27
Exploring Operation: 15+42=57, Resulting Numbers: [46, 57]
Generated Node #0,2,3: 46:[46, 57] Operation: 15+42=57
Exploring Operation: 15+46=61, Resulting Numbers: [42, 61]
Generated Node #0,2,4: 46:[42, 61] Operation: 15+46=61
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[46, 27], Operations: ['91-49=42', '42-15=27']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[15, 4], Operations: ['91-49=42', '46-42=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[46, 57], Operations: ['91-49=42', '15+42=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,46 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[42, 31], Operations: ['91-49=42', '46-15=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 46:[42, 61], Operations: ['91-49=42', '15+46=61']
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,46 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: 46:[49, 15, 45], Operations: ['91-46=45']
Exploring Operation: 45-15=30, Resulting Numbers: [49, 30]
Generated Node #0,4,0: 46:[49, 30] Operation: 45-15=30
Exploring Operation: 49-45=4, Resulting Numbers: [15, 4]
Generated Node #0,4,1: 46:[15, 4] Operation: 49-45=4
Exploring Operation: 45/15=3, Resulting Numbers: [49, 3]
Generated Node #0,4,2: 46:[49, 3] Operation: 45/15=3
Exploring Operation: 49-15=34, Resulting Numbers: [45, 34]
Generated Node #0,4,3: 46:[45, 34] Operation: 49-15=34
Exploring Operation: 15+45=60, Resulting Numbers: [49, 60]
Generated Node #0,4,4: 46:[49, 60] Operation: 15+45=60
Moving to Node #0,1
Current State: 46:[49, 46, 76], Operations: ['91-15=76']
Exploring Operation: 76-49=27, Resulting Numbers: [46, 27]
Generated Node #0,1,0: 46:[46, 27] Operation: 76-49=27
Exploring Operation: 49+76=125, Resulting Numbers: [46, 125]
Generated Node #0,1,1: 46:[46, 125] Operation: 49+76=125
Exploring Operation: 49+46=95, Resulting Numbers: [76, 95]
Generated Node #0,1,2: 46:[76, 95] Operation: 49+46=95
Exploring Operation: 49-46=3, Resulting Numbers: [76, 3]
Generated Node #0,1,3: 46:[76, 3] Operation: 49-46=3
Exploring Operation: 76-46=30, Resulting Numbers: [49, 30]
Generated Node #0,1,4: 46:[49, 30] Operation: 76-46=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[46, 27], Operations: ['91-15=76', '76-49=27']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[49, 30], Operations: ['91-15=76', '76-46=30']
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[76, 3], Operations: ['91-15=76', '49-46=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[46, 125], Operations: ['91-15=76', '49+76=125']
Exploring Operation: 46+125=171, Resulting Numbers: [171]
171,46 unequal: No Solution
Exploring Operation: 125-46=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 46*125=5750, Resulting Numbers: [5750]
5750,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[76, 95], Operations: ['91-15=76', '49+46=95']
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,46 unequal: No Solution
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,46 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,46 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: 46:[91, 15, 3], Operations: ['49-46=3']
Exploring Operation: 15/3=5, Resulting Numbers: [91, 5]
Generated Node #0,3,0: 46:[91, 5] Operation: 15/3=5
Exploring Operation: 91-3=88, Resulting Numbers: [15, 88]
Generated Node #0,3,1: 46:[15, 88] Operation: 91-3=88
Exploring Operation: 15+3=18, Resulting Numbers: [91, 18]
Generated Node #0,3,2: 46:[91, 18] Operation: 15+3=18
Exploring Operation: 15*3=45, Resulting Numbers: [91, 45]
Generated Node #0,3,3: 46:[91, 45] Operation: 15*3=45
Exploring Operation: 91-15=76, Resulting Numbers: [3, 76]
Generated Node #0,3,4: 46:[3, 76] Operation: 91-15=76
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[3, 76], Operations: ['49-46=3', '91-15=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,46 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[91, 45], Operations: ['49-46=3', '15*3=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[49, 91, 15, 46], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [91, 15, 3]
Generated Node #0,3: 46:[91, 15, 3] Operation: 49-46=3
Moving to Node #0,3
Current State: 46:[91, 15, 3], Operations: ['49-46=3']
Exploring Operation: 15*3=45, Resulting Numbers: [91, 45]
Generated Node #0,3,3: 46:[91, 45] Operation: 15*3=45
Moving to Node #0,3,3
Current State: 46:[91, 45], Operations: ['49-46=3', '15*3=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
77,
11,
5,
99
] | 52 | [
"5*99=495",
"77+495=572",
"572/11=52"
] | Current State: 52:[77, 11, 5, 99], Operations: []
Exploring Operation: 5*99=495, Resulting Numbers: [77, 11, 495]
Generated Node #2: [77, 11, 495] from Operation: 5*99=495
Current State: 52:[77, 11, 495], Operations: ['5*99=495']
Exploring Operation: 77+495=572, Resulting Numbers: [11, 572]
Generated Node #3: [11, 572] from Operation: 77+495=572
Current State: 52:[11, 572], Operations: ['5*99=495', '77+495=572']
Exploring Operation: 572/11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[77, 11, 5, 99], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [77, 5, 9]
Generated Node #0,0: 52:[77, 5, 9] Operation: 99/11=9
Exploring Operation: 77/11=7, Resulting Numbers: [5, 99, 7]
Generated Node #0,1: 52:[5, 99, 7] Operation: 77/11=7
Exploring Operation: 99-77=22, Resulting Numbers: [11, 5, 22]
Generated Node #0,2: 52:[11, 5, 22] Operation: 99-77=22
Moving to Node #0,2
Current State: 52:[11, 5, 22], Operations: ['99-77=22']
Exploring Operation: 5+22=27, Resulting Numbers: [11, 27]
Generated Node #0,2,0: 52:[11, 27] Operation: 5+22=27
Exploring Operation: 22-11=11, Resulting Numbers: [5, 11]
Generated Node #0,2,1: 52:[5, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 52:[5, 2] Operation: 22/11=2
Moving to Node #0,0
Current State: 52:[77, 5, 9], Operations: ['99/11=9']
Exploring Operation: 77-5=72, Resulting Numbers: [9, 72]
Generated Node #0,0,0: 52:[9, 72] Operation: 77-5=72
Exploring Operation: 77-9=68, Resulting Numbers: [5, 68]
Generated Node #0,0,1: 52:[5, 68] Operation: 77-9=68
Exploring Operation: 9-5=4, Resulting Numbers: [77, 4]
Generated Node #0,0,2: 52:[77, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[5, 68], Operations: ['99/11=9', '77-9=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,52 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[9, 72], Operations: ['99/11=9', '77-5=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[77, 4], Operations: ['99/11=9', '9-5=4']
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,52 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,52 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: 52:[5, 99, 7], Operations: ['77/11=7']
Exploring Operation: 7-5=2, Resulting Numbers: [99, 2]
Generated Node #0,1,0: 52:[99, 2] Operation: 7-5=2
Exploring Operation: 99-7=92, Resulting Numbers: [5, 92]
Generated Node #0,1,1: 52:[5, 92] Operation: 99-7=92
Exploring Operation: 99-5=94, Resulting Numbers: [7, 94]
Generated Node #0,1,2: 52:[7, 94] Operation: 99-5=94
Moving to Node #0,2,2
Current State: 52:[5, 2], Operations: ['99-77=22', '22/11=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[5, 11], Operations: ['99-77=22', '22-11=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[11, 27], Operations: ['99-77=22', '5+22=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,52 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[5, 92], Operations: ['77/11=7', '99-7=92']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 5*92=460, Resulting Numbers: [460]
460,52 unequal: No Solution
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[7, 94], Operations: ['77/11=7', '99-5=94']
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,52 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[99, 2], Operations: ['77/11=7', '7-5=2']
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,52 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,52 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
18,
8,
3
] | 99 | [
"18/2=9",
"8+3=11",
"9*11=99"
] | Current State: 99:[2, 18, 8, 3], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [8, 3, 9]
Generated Node #2: [8, 3, 9] from Operation: 18/2=9
Current State: 99:[8, 3, 9], Operations: ['18/2=9']
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 8+3=11
Current State: 99:[9, 11], Operations: ['18/2=9', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[2, 18, 8, 3], Operations: []
Exploring Operation: 18-2=16, Resulting Numbers: [8, 3, 16]
Generated Node #0,0: 99:[8, 3, 16] Operation: 18-2=16
Exploring Operation: 2*18=36, Resulting Numbers: [8, 3, 36]
Generated Node #0,1: 99:[8, 3, 36] Operation: 2*18=36
Exploring Operation: 18/3=6, Resulting Numbers: [2, 8, 6]
Generated Node #0,2: 99:[2, 8, 6] Operation: 18/3=6
Exploring Operation: 18-8=10, Resulting Numbers: [2, 3, 10]
Generated Node #0,3: 99:[2, 3, 10] Operation: 18-8=10
Exploring Operation: 18/2=9, Resulting Numbers: [8, 3, 9]
Generated Node #0,4: 99:[8, 3, 9] Operation: 18/2=9
Moving to Node #0,4
Current State: 99:[8, 3, 9], Operations: ['18/2=9']
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,4,0: 99:[9, 11] Operation: 8+3=11
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,4,1: 99:[8, 3] Operation: 9/3=3
Exploring Operation: 3+9=12, Resulting Numbers: [8, 12]
Generated Node #0,4,2: 99:[8, 12] Operation: 3+9=12
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,4,3: 99:[3, 1] Operation: 9-8=1
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,4,4: 99:[9, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[9, 11], Operations: ['18/2=9', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[2, 18, 8, 3], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [8, 3, 9]
Generated Node #0,4: 99:[8, 3, 9] Operation: 18/2=9
Moving to Node #0,4
Current State: 99:[8, 3, 9], Operations: ['18/2=9']
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,4,0: 99:[9, 11] Operation: 8+3=11
Moving to Node #0,4,0
Current State: 99:[9, 11], Operations: ['18/2=9', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
86,
90,
88,
64
] | 72 | [
"90-86=4",
"64/4=16",
"88-16=72"
] | Current State: 72:[86, 90, 88, 64], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [88, 64, 4]
Generated Node #2: [88, 64, 4] from Operation: 90-86=4
Current State: 72:[88, 64, 4], Operations: ['90-86=4']
Exploring Operation: 64/4=16, Resulting Numbers: [88, 16]
Generated Node #3: [88, 16] from Operation: 64/4=16
Current State: 72:[88, 16], Operations: ['90-86=4', '64/4=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[86, 90, 88, 64], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [88, 64, 4]
Generated Node #0,0: 72:[88, 64, 4] Operation: 90-86=4
Exploring Operation: 90-88=2, Resulting Numbers: [86, 64, 2]
Generated Node #0,1: 72:[86, 64, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[86, 64, 2], Operations: ['90-88=2']
Exploring Operation: 86/2=43, Resulting Numbers: [64, 43]
Generated Node #0,1,0: 72:[64, 43] Operation: 86/2=43
Exploring Operation: 86-64=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 72:[2, 22] Operation: 86-64=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[2, 22], Operations: ['90-88=2', '86-64=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No 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: 72:[64, 43], Operations: ['90-88=2', '86/2=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[88, 64, 4], Operations: ['90-86=4']
Exploring Operation: 88-64=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 72:[4, 24] Operation: 88-64=24
Exploring Operation: 88/4=22, Resulting Numbers: [64, 22]
Generated Node #0,0,1: 72:[64, 22] Operation: 88/4=22
Moving to Node #0,0,0
Current State: 72:[4, 24], Operations: ['90-86=4', '88-64=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[64, 22], Operations: ['90-86=4', '88/4=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,72 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,72 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 |
[
15,
14,
88,
76
] | 82 | [
"14+76=90",
"90/15=6",
"88-6=82"
] | Current State: 82:[15, 14, 88, 76], Operations: []
Exploring Operation: 14+76=90, Resulting Numbers: [15, 88, 90]
Generated Node #2: [15, 88, 90] from Operation: 14+76=90
Current State: 82:[15, 88, 90], Operations: ['14+76=90']
Exploring Operation: 90/15=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 90/15=6
Current State: 82:[88, 6], Operations: ['14+76=90', '90/15=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[15, 14, 88, 76], Operations: []
Exploring Operation: 15+14=29, Resulting Numbers: [88, 76, 29]
Generated Node #0,0: 82:[88, 76, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [88, 76, 1]
Generated Node #0,1: 82:[88, 76, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[88, 76, 1], Operations: ['15-14=1']
Exploring Operation: 88-1=87, Resulting Numbers: [76, 87]
Generated Node #0,1,0: 82:[76, 87] Operation: 88-1=87
Exploring Operation: 88-76=12, Resulting Numbers: [1, 12]
Generated Node #0,1,1: 82:[1, 12] Operation: 88-76=12
Moving to Node #0,1,0
Current State: 82:[76, 87], Operations: ['15-14=1', '88-1=87']
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,82 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[1, 12], Operations: ['15-14=1', '88-76=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[88, 76, 29], Operations: ['15+14=29']
Exploring Operation: 76-29=47, Resulting Numbers: [88, 47]
Generated Node #0,0,0: 82:[88, 47] Operation: 76-29=47
Exploring Operation: 88-76=12, Resulting Numbers: [29, 12]
Generated Node #0,0,1: 82:[29, 12] Operation: 88-76=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[88, 47], Operations: ['15+14=29', '76-29=47']
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,82 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,82 unequal: No Solution
No 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: 82:[29, 12], Operations: ['15+14=29', '88-76=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,82 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 |
[
79,
64,
73,
75
] | 89 | [
"79-75=4",
"64/4=16",
"73+16=89"
] | Current State: 89:[79, 64, 73, 75], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [64, 73, 4]
Generated Node #2: [64, 73, 4] from Operation: 79-75=4
Current State: 89:[64, 73, 4], Operations: ['79-75=4']
Exploring Operation: 64/4=16, Resulting Numbers: [73, 16]
Generated Node #3: [73, 16] from Operation: 64/4=16
Current State: 89:[73, 16], Operations: ['79-75=4', '64/4=16']
Exploring Operation: 73+16=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[79, 64, 73, 75], Operations: []
Exploring Operation: 64+75=139, Resulting Numbers: [79, 73, 139]
Generated Node #0,0: 89:[79, 73, 139] Operation: 64+75=139
Exploring Operation: 64+73=137, Resulting Numbers: [79, 75, 137]
Generated Node #0,1: 89:[79, 75, 137] Operation: 64+73=137
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[79, 75, 137], Operations: ['64+73=137']
Exploring Operation: 137-79=58, Resulting Numbers: [75, 58]
Generated Node #0,1,0: 89:[75, 58] Operation: 137-79=58
Exploring Operation: 137-75=62, Resulting Numbers: [79, 62]
Generated Node #0,1,1: 89:[79, 62] Operation: 137-75=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[79, 62], Operations: ['64+73=137', '137-75=62']
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 79+62=141, Resulting Numbers: [141]
141,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[75, 58], Operations: ['64+73=137', '137-79=58']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[79, 73, 139], Operations: ['64+75=139']
Exploring Operation: 139-73=66, Resulting Numbers: [79, 66]
Generated Node #0,0,0: 89:[79, 66] Operation: 139-73=66
Exploring Operation: 139-79=60, Resulting Numbers: [73, 60]
Generated Node #0,0,1: 89:[73, 60] Operation: 139-79=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[79, 66], Operations: ['64+75=139', '139-73=66']
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,89 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[73, 60], Operations: ['64+75=139', '139-79=60']
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
74,
7,
66
] | 18 | [
"74+66=140",
"140/7=20",
"20-2=18"
] | Current State: 18:[2, 74, 7, 66], Operations: []
Exploring Operation: 74+66=140, Resulting Numbers: [2, 7, 140]
Generated Node #2: [2, 7, 140] from Operation: 74+66=140
Current State: 18:[2, 7, 140], Operations: ['74+66=140']
Exploring Operation: 140/7=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 140/7=20
Current State: 18:[2, 20], Operations: ['74+66=140', '140/7=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 74, 7, 66], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [7, 66, 37]
Generated Node #0,0: 18:[7, 66, 37] Operation: 74/2=37
Exploring Operation: 74-66=8, Resulting Numbers: [2, 7, 8]
Generated Node #0,1: 18:[2, 7, 8] Operation: 74-66=8
Exploring Operation: 66/2=33, Resulting Numbers: [74, 7, 33]
Generated Node #0,2: 18:[74, 7, 33] Operation: 66/2=33
Moving to Node #0,1
Current State: 18:[2, 7, 8], Operations: ['74-66=8']
Exploring Operation: 8-7=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 18:[2, 1] Operation: 8-7=1
Exploring Operation: 8-2=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 18:[7, 6] Operation: 8-2=6
Exploring Operation: 2+7=9, Resulting Numbers: [8, 9]
Generated Node #0,1,2: 18:[8, 9] Operation: 2+7=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[2, 1], Operations: ['74-66=8', '8-7=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No 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: 18:[7, 6], Operations: ['74-66=8', '8-2=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,18 unequal: No Solution
No 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: 18:[8, 9], Operations: ['74-66=8', '2+7=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,18 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: 18:[7, 66, 37], Operations: ['74/2=37']
Exploring Operation: 37-7=30, Resulting Numbers: [66, 30]
Generated Node #0,0,0: 18:[66, 30] Operation: 37-7=30
Exploring Operation: 66-7=59, Resulting Numbers: [37, 59]
Generated Node #0,0,1: 18:[37, 59] Operation: 66-7=59
Exploring Operation: 66-37=29, Resulting Numbers: [7, 29]
Generated Node #0,0,2: 18:[7, 29] Operation: 66-37=29
Moving to Node #0,2
Current State: 18:[74, 7, 33], Operations: ['66/2=33']
Exploring Operation: 33-7=26, Resulting Numbers: [74, 26]
Generated Node #0,2,0: 18:[74, 26] Operation: 33-7=26
Exploring Operation: 74-7=67, Resulting Numbers: [33, 67]
Generated Node #0,2,1: 18:[33, 67] Operation: 74-7=67
Exploring Operation: 74-33=41, Resulting Numbers: [7, 41]
Generated Node #0,2,2: 18:[7, 41] Operation: 74-33=41
Moving to Node #0,0,2
Current State: 18:[7, 29], Operations: ['74/2=37', '66-37=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[7, 41], Operations: ['66/2=33', '74-33=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,18 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[37, 59], Operations: ['74/2=37', '66-7=59']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,18 unequal: No Solution
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[66, 30], Operations: ['74/2=37', '37-7=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[33, 67], Operations: ['66/2=33', '74-7=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,18 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[74, 26], Operations: ['66/2=33', '33-7=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,18 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,18 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
30,
9,
26
] | 68 | [
"21+30=51",
"26-9=17",
"51+17=68"
] | Current State: 68:[21, 30, 9, 26], Operations: []
Exploring Operation: 21+30=51, Resulting Numbers: [9, 26, 51]
Generated Node #2: [9, 26, 51] from Operation: 21+30=51
Current State: 68:[9, 26, 51], Operations: ['21+30=51']
Exploring Operation: 26-9=17, Resulting Numbers: [51, 17]
Generated Node #3: [51, 17] from Operation: 26-9=17
Current State: 68:[51, 17], Operations: ['21+30=51', '26-9=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[21, 30, 9, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [21, 9, 4]
Generated Node #0,0: 68:[21, 9, 4] Operation: 30-26=4
Exploring Operation: 26-9=17, Resulting Numbers: [21, 30, 17]
Generated Node #0,1: 68:[21, 30, 17] Operation: 26-9=17
Exploring Operation: 9+26=35, Resulting Numbers: [21, 30, 35]
Generated Node #0,2: 68:[21, 30, 35] Operation: 9+26=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[21, 30, 17], Operations: ['26-9=17']
Exploring Operation: 30-21=9, Resulting Numbers: [17, 9]
Generated Node #0,1,0: 68:[17, 9] Operation: 30-21=9
Exploring Operation: 21-17=4, Resulting Numbers: [30, 4]
Generated Node #0,1,1: 68:[30, 4] Operation: 21-17=4
Exploring Operation: 21+17=38, Resulting Numbers: [30, 38]
Generated Node #0,1,2: 68:[30, 38] Operation: 21+17=38
Moving to Node #0,1,1
Current State: 68:[30, 4], Operations: ['26-9=17', '21-17=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[17, 9], Operations: ['26-9=17', '30-21=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,68 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[30, 38], Operations: ['26-9=17', '21+17=38']
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,68 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[21, 30, 9, 26], Operations: []
Exploring Operation: 26-9=17, Resulting Numbers: [21, 30, 17]
Generated Node #0,1: 68:[21, 30, 17] Operation: 26-9=17
Moving to Node #0,1
Current State: 68:[21, 30, 17], Operations: ['26-9=17']
Exploring Operation: 21+17=38, Resulting Numbers: [30, 38]
Generated Node #0,1,2: 68:[30, 38] Operation: 21+17=38
Moving to Node #0,1,2
Current State: 68:[30, 38], Operations: ['26-9=17', '21+17=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
28,
28,
9,
76
] | 100 | [
"28*28=784",
"9*76=684",
"784-684=100"
] | Current State: 100:[28, 28, 9, 76], Operations: []
Exploring Operation: 28*28=784, Resulting Numbers: [9, 76, 784]
Generated Node #2: [9, 76, 784] from Operation: 28*28=784
Current State: 100:[9, 76, 784], Operations: ['28*28=784']
Exploring Operation: 9*76=684, Resulting Numbers: [784, 684]
Generated Node #3: [784, 684] from Operation: 9*76=684
Current State: 100:[784, 684], Operations: ['28*28=784', '9*76=684']
Exploring Operation: 784-684=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[28, 28, 9, 76], Operations: []
Exploring Operation: 28+76=104, Resulting Numbers: [28, 9, 104]
Generated Node #0,0: 100:[28, 9, 104] Operation: 28+76=104
Exploring Operation: 76-28=48, Resulting Numbers: [28, 9, 48]
Generated Node #0,1: 100:[28, 9, 48] Operation: 76-28=48
Exploring Operation: 76-28=48, Resulting Numbers: [28, 9, 48]
Generated Node #0,2: 100:[28, 9, 48] Operation: 76-28=48
Exploring Operation: 28+76=104, Resulting Numbers: [28, 9, 104]
Generated Node #0,3: 100:[28, 9, 104] Operation: 28+76=104
Exploring Operation: 9+76=85, Resulting Numbers: [28, 28, 85]
Generated Node #0,4: 100:[28, 28, 85] Operation: 9+76=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[28, 9, 48], Operations: ['76-28=48']
Exploring Operation: 28+9=37, Resulting Numbers: [48, 37]
Generated Node #0,1,0: 100:[48, 37] Operation: 28+9=37
Exploring Operation: 48-28=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 100:[9, 20] Operation: 48-28=20
Exploring Operation: 48-9=39, Resulting Numbers: [28, 39]
Generated Node #0,1,2: 100:[28, 39] Operation: 48-9=39
Exploring Operation: 9+48=57, Resulting Numbers: [28, 57]
Generated Node #0,1,3: 100:[28, 57] Operation: 9+48=57
Exploring Operation: 28-9=19, Resulting Numbers: [48, 19]
Generated Node #0,1,4: 100:[48, 19] Operation: 28-9=19
Moving to Node #0,1,1
Current State: 100:[9, 20], Operations: ['76-28=48', '48-28=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,100 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[48, 19], Operations: ['76-28=48', '28-9=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,100 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[28, 57], Operations: ['76-28=48', '9+48=57']
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,100 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[48, 37], Operations: ['76-28=48', '28+9=37']
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,100 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[28, 39], Operations: ['76-28=48', '48-9=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,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
Current State: 100:[28, 9, 48], Operations: ['76-28=48']
Exploring Operation: 48-28=20, Resulting Numbers: [9, 20]
Generated Node #0,2,0: 100:[9, 20] Operation: 48-28=20
Exploring Operation: 28+9=37, Resulting Numbers: [48, 37]
Generated Node #0,2,1: 100:[48, 37] Operation: 28+9=37
Exploring Operation: 48-9=39, Resulting Numbers: [28, 39]
Generated Node #0,2,2: 100:[28, 39] Operation: 48-9=39
Exploring Operation: 9+48=57, Resulting Numbers: [28, 57]
Generated Node #0,2,3: 100:[28, 57] Operation: 9+48=57
Exploring Operation: 28-9=19, Resulting Numbers: [48, 19]
Generated Node #0,2,4: 100:[48, 19] Operation: 28-9=19
Moving to Node #0,2,0
Current State: 100:[9, 20], Operations: ['76-28=48', '48-28=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,100 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Moving to Node #0,2,4
Current State: 100:[48, 19], Operations: ['76-28=48', '28-9=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[28, 57], Operations: ['76-28=48', '9+48=57']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,100 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[48, 37], Operations: ['76-28=48', '28+9=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,100 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[28, 39], Operations: ['76-28=48', '48-9=39']
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,100 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[28, 9, 104], Operations: ['28+76=104']
Exploring Operation: 104-9=95, Resulting Numbers: [28, 95]
Generated Node #0,0,0: 100:[28, 95] Operation: 104-9=95
Exploring Operation: 104-28=76, Resulting Numbers: [9, 76]
Generated Node #0,0,1: 100:[9, 76] Operation: 104-28=76
Exploring Operation: 28-9=19, Resulting Numbers: [104, 19]
Generated Node #0,0,2: 100:[104, 19] Operation: 28-9=19
Exploring Operation: 28+9=37, Resulting Numbers: [104, 37]
Generated Node #0,0,3: 100:[104, 37] Operation: 28+9=37
Exploring Operation: 9+104=113, Resulting Numbers: [28, 113]
Generated Node #0,0,4: 100:[28, 113] Operation: 9+104=113
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[104, 19], Operations: ['28+76=104', '28-9=19']
Exploring Operation: 104+19=123, Resulting Numbers: [123]
123,100 unequal: No Solution
Exploring Operation: 104*19=1976, Resulting Numbers: [1976]
1976,100 unequal: No Solution
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,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:[28, 95], Operations: ['28+76=104', '104-9=95']
Exploring Operation: 28*95=2660, Resulting Numbers: [2660]
2660,100 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,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,3
Current State: 100:[104, 37], Operations: ['28+76=104', '28+9=37']
Exploring Operation: 104-37=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 104*37=3848, Resulting Numbers: [3848]
3848,100 unequal: No Solution
Exploring Operation: 104+37=141, Resulting Numbers: [141]
141,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,4
Current State: 100:[28, 113], Operations: ['28+76=104', '9+104=113']
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,100 unequal: No Solution
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,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,1
Current State: 100:[9, 76], Operations: ['28+76=104', '104-28=76']
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,100 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,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,3
Current State: 100:[28, 9, 104], Operations: ['28+76=104']
Exploring Operation: 28+9=37, Resulting Numbers: [104, 37]
Generated Node #0,3,0: 100:[104, 37] Operation: 28+9=37
Exploring Operation: 104-28=76, Resulting Numbers: [9, 76]
Generated Node #0,3,1: 100:[9, 76] Operation: 104-28=76
Exploring Operation: 28-9=19, Resulting Numbers: [104, 19]
Generated Node #0,3,2: 100:[104, 19] Operation: 28-9=19
Exploring Operation: 9+104=113, Resulting Numbers: [28, 113]
Generated Node #0,3,3: 100:[28, 113] Operation: 9+104=113
Exploring Operation: 104-9=95, Resulting Numbers: [28, 95]
Generated Node #0,3,4: 100:[28, 95] Operation: 104-9=95
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[104, 19], Operations: ['28+76=104', '28-9=19']
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 104*19=1976, Resulting Numbers: [1976]
1976,100 unequal: No Solution
Exploring Operation: 104+19=123, Resulting Numbers: [123]
123,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,3,4
Current State: 100:[28, 95], Operations: ['28+76=104', '104-9=95']
Exploring Operation: 28*95=2660, Resulting Numbers: [2660]
2660,100 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,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,3,0
Current State: 100:[104, 37], Operations: ['28+76=104', '28+9=37']
Exploring Operation: 104*37=3848, Resulting Numbers: [3848]
3848,100 unequal: No Solution
Exploring Operation: 104+37=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 104-37=67, Resulting Numbers: [67]
67,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,3,3
Current State: 100:[28, 113], Operations: ['28+76=104', '9+104=113']
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,100 unequal: No Solution
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,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,3,1
Current State: 100:[9, 76], Operations: ['28+76=104', '104-28=76']
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,100 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,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,4
Current State: 100:[28, 28, 85], Operations: ['9+76=85']
Exploring Operation: 28+85=113, Resulting Numbers: [28, 113]
Generated Node #0,4,0: 100:[28, 113] Operation: 28+85=113
Exploring Operation: 85-28=57, Resulting Numbers: [28, 57]
Generated Node #0,4,1: 100:[28, 57] Operation: 85-28=57
Exploring Operation: 85-28=57, Resulting Numbers: [28, 57]
Generated Node #0,4,2: 100:[28, 57] Operation: 85-28=57
Exploring Operation: 28+85=113, Resulting Numbers: [28, 113]
Generated Node #0,4,3: 100:[28, 113] Operation: 28+85=113
Exploring Operation: 28/28=1, Resulting Numbers: [85, 1]
Generated Node #0,4,4: 100:[85, 1] Operation: 28/28=1
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 100:[28, 57], Operations: ['9+76=85', '85-28=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,100 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,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,4,2
Current State: 100:[28, 57], Operations: ['9+76=85', '85-28=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,100 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,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,4,0
Current State: 100:[28, 113], Operations: ['9+76=85', '28+85=113']
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,100 unequal: No Solution
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,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,4,3
Current State: 100:[28, 113], Operations: ['9+76=85', '28+85=113']
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,100 unequal: No Solution
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,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,4,4
Current State: 100:[85, 1], Operations: ['9+76=85', '28/28=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,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_5 | sum_heuristic |
[
85,
87,
16,
45
] | 88 | [
"45-16=29",
"87/29=3",
"85+3=88"
] | Current State: 88:[85, 87, 16, 45], Operations: []
Exploring Operation: 45-16=29, Resulting Numbers: [85, 87, 29]
Generated Node #2: [85, 87, 29] from Operation: 45-16=29
Current State: 88:[85, 87, 29], Operations: ['45-16=29']
Exploring Operation: 87/29=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 87/29=3
Current State: 88:[85, 3], Operations: ['45-16=29', '87/29=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[85, 87, 16, 45], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [16, 45, 2]
Generated Node #0,0: 88:[16, 45, 2] Operation: 87-85=2
Exploring Operation: 85+16=101, Resulting Numbers: [87, 45, 101]
Generated Node #0,1: 88:[87, 45, 101] Operation: 85+16=101
Exploring Operation: 87-45=42, Resulting Numbers: [85, 16, 42]
Generated Node #0,2: 88:[85, 16, 42] Operation: 87-45=42
Exploring Operation: 85-45=40, Resulting Numbers: [87, 16, 40]
Generated Node #0,3: 88:[87, 16, 40] Operation: 85-45=40
Exploring Operation: 45-16=29, Resulting Numbers: [85, 87, 29]
Generated Node #0,4: 88:[85, 87, 29] Operation: 45-16=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[16, 45, 2], Operations: ['87-85=2']
Exploring Operation: 45-16=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 88:[2, 29] Operation: 45-16=29
Exploring Operation: 16/2=8, Resulting Numbers: [45, 8]
Generated Node #0,0,1: 88:[45, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [45, 14]
Generated Node #0,0,2: 88:[45, 14] Operation: 16-2=14
Exploring Operation: 45-2=43, Resulting Numbers: [16, 43]
Generated Node #0,0,3: 88:[16, 43] Operation: 45-2=43
Exploring Operation: 16+2=18, Resulting Numbers: [45, 18]
Generated Node #0,0,4: 88:[45, 18] Operation: 16+2=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[45, 8], Operations: ['87-85=2', '16/2=8']
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,88 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[45, 14], Operations: ['87-85=2', '16-2=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,88 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 88:[45, 18], Operations: ['87-85=2', '16+2=18']
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,88 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[16, 43], Operations: ['87-85=2', '45-2=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,88 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[2, 29], Operations: ['87-85=2', '45-16=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[85, 16, 42], Operations: ['87-45=42']
Exploring Operation: 85-42=43, Resulting Numbers: [16, 43]
Generated Node #0,2,0: 88:[16, 43] Operation: 85-42=43
Exploring Operation: 16+42=58, Resulting Numbers: [85, 58]
Generated Node #0,2,1: 88:[85, 58] Operation: 16+42=58
Exploring Operation: 85-16=69, Resulting Numbers: [42, 69]
Generated Node #0,2,2: 88:[42, 69] Operation: 85-16=69
Exploring Operation: 42-16=26, Resulting Numbers: [85, 26]
Generated Node #0,2,3: 88:[85, 26] Operation: 42-16=26
Exploring Operation: 85+16=101, Resulting Numbers: [42, 101]
Generated Node #0,2,4: 88:[42, 101] Operation: 85+16=101
Moving to Node #0,2,0
Current State: 88:[16, 43], Operations: ['87-45=42', '85-42=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,88 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[85, 26], Operations: ['87-45=42', '42-16=26']
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,88 unequal: No Solution
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,88 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[42, 101], Operations: ['87-45=42', '85+16=101']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,88 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[85, 58], Operations: ['87-45=42', '16+42=58']
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,88 unequal: No Solution
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[42, 69], Operations: ['87-45=42', '85-16=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,88 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,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
Current State: 88:[87, 16, 40], Operations: ['85-45=40']
Exploring Operation: 87-40=47, Resulting Numbers: [16, 47]
Generated Node #0,3,0: 88:[16, 47] Operation: 87-40=47
Exploring Operation: 87-16=71, Resulting Numbers: [40, 71]
Generated Node #0,3,1: 88:[40, 71] Operation: 87-16=71
Exploring Operation: 16+40=56, Resulting Numbers: [87, 56]
Generated Node #0,3,2: 88:[87, 56] Operation: 16+40=56
Exploring Operation: 87+16=103, Resulting Numbers: [40, 103]
Generated Node #0,3,3: 88:[40, 103] Operation: 87+16=103
Exploring Operation: 40-16=24, Resulting Numbers: [87, 24]
Generated Node #0,3,4: 88:[87, 24] Operation: 40-16=24
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 88:[87, 24], Operations: ['85-45=40', '40-16=24']
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,88 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,88 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[16, 47], Operations: ['85-45=40', '87-40=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,88 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[87, 56], Operations: ['85-45=40', '16+40=56']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,88 unequal: No Solution
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[40, 103], Operations: ['85-45=40', '87+16=103']
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,88 unequal: No Solution
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[40, 71], Operations: ['85-45=40', '87-16=71']
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,88 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[85, 87, 29], Operations: ['45-16=29']
Exploring Operation: 85+29=114, Resulting Numbers: [87, 114]
Generated Node #0,4,0: 88:[87, 114] Operation: 85+29=114
Exploring Operation: 87/29=3, Resulting Numbers: [85, 3]
Generated Node #0,4,1: 88:[85, 3] Operation: 87/29=3
Exploring Operation: 87-85=2, Resulting Numbers: [29, 2]
Generated Node #0,4,2: 88:[29, 2] Operation: 87-85=2
Exploring Operation: 87-29=58, Resulting Numbers: [85, 58]
Generated Node #0,4,3: 88:[85, 58] Operation: 87-29=58
Exploring Operation: 85-29=56, Resulting Numbers: [87, 56]
Generated Node #0,4,4: 88:[87, 56] Operation: 85-29=56
Moving to Node #0,4,1
Current State: 88:[85, 3], Operations: ['45-16=29', '87/29=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,88 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[85, 87, 16, 45], Operations: []
Exploring Operation: 45-16=29, Resulting Numbers: [85, 87, 29]
Generated Node #0,4: 88:[85, 87, 29] Operation: 45-16=29
Moving to Node #0,4
Current State: 88:[85, 87, 29], Operations: ['45-16=29']
Exploring Operation: 87/29=3, Resulting Numbers: [85, 3]
Generated Node #0,4,1: 88:[85, 3] Operation: 87/29=3
Moving to Node #0,4,1
Current State: 88:[85, 3], Operations: ['45-16=29', '87/29=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.934028 | hs_5 | mult_heuristic |
[
2,
34,
48,
15
] | 43 | [
"48/2=24",
"34-15=19",
"24+19=43"
] | Current State: 43:[2, 34, 48, 15], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [34, 15, 24]
Generated Node #2: [34, 15, 24] from Operation: 48/2=24
Current State: 43:[34, 15, 24], Operations: ['48/2=24']
Exploring Operation: 34-15=19, Resulting Numbers: [24, 19]
Generated Node #3: [24, 19] from Operation: 34-15=19
Current State: 43:[24, 19], Operations: ['48/2=24', '34-15=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 34, 48, 15], Operations: []
Exploring Operation: 2+15=17, Resulting Numbers: [34, 48, 17]
Generated Node #0,0: 43:[34, 48, 17] Operation: 2+15=17
Exploring Operation: 48-2=46, Resulting Numbers: [34, 15, 46]
Generated Node #0,1: 43:[34, 15, 46] Operation: 48-2=46
Exploring Operation: 34-2=32, Resulting Numbers: [48, 15, 32]
Generated Node #0,2: 43:[48, 15, 32] Operation: 34-2=32
Exploring Operation: 2*15=30, Resulting Numbers: [34, 48, 30]
Generated Node #0,3: 43:[34, 48, 30] Operation: 2*15=30
Exploring Operation: 2+34=36, Resulting Numbers: [48, 15, 36]
Generated Node #0,4: 43:[48, 15, 36] Operation: 2+34=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[34, 48, 30], Operations: ['2*15=30']
Exploring Operation: 48-30=18, Resulting Numbers: [34, 18]
Generated Node #0,3,0: 43:[34, 18] Operation: 48-30=18
Exploring Operation: 48-34=14, Resulting Numbers: [30, 14]
Generated Node #0,3,1: 43:[30, 14] Operation: 48-34=14
Exploring Operation: 34+30=64, Resulting Numbers: [48, 64]
Generated Node #0,3,2: 43:[48, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [48, 4]
Generated Node #0,3,3: 43:[48, 4] Operation: 34-30=4
Exploring Operation: 48+30=78, Resulting Numbers: [34, 78]
Generated Node #0,3,4: 43:[34, 78] Operation: 48+30=78
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[48, 64], Operations: ['2*15=30', '34+30=64']
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[34, 18], Operations: ['2*15=30', '48-30=18']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,43 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[30, 14], Operations: ['2*15=30', '48-34=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[48, 4], Operations: ['2*15=30', '34-30=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,43 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[34, 78], Operations: ['2*15=30', '48+30=78']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[34, 48, 17], Operations: ['2+15=17']
Exploring Operation: 34-17=17, Resulting Numbers: [48, 17]
Generated Node #0,0,0: 43:[48, 17] Operation: 34-17=17
Exploring Operation: 34+17=51, Resulting Numbers: [48, 51]
Generated Node #0,0,1: 43:[48, 51] Operation: 34+17=51
Exploring Operation: 48+17=65, Resulting Numbers: [34, 65]
Generated Node #0,0,2: 43:[34, 65] Operation: 48+17=65
Exploring Operation: 48-17=31, Resulting Numbers: [34, 31]
Generated Node #0,0,3: 43:[34, 31] Operation: 48-17=31
Exploring Operation: 34/17=2, Resulting Numbers: [48, 2]
Generated Node #0,0,4: 43:[48, 2] Operation: 34/17=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[48, 51], Operations: ['2+15=17', '34+17=51']
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[34, 31], Operations: ['2+15=17', '48-17=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,43 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[48, 17], Operations: ['2+15=17', '34-17=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,43 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[34, 65], Operations: ['2+15=17', '48+17=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[48, 2], Operations: ['2+15=17', '34/17=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,43 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[34, 15, 46], Operations: ['48-2=46']
Exploring Operation: 46-15=31, Resulting Numbers: [34, 31]
Generated Node #0,1,0: 43:[34, 31] Operation: 46-15=31
Exploring Operation: 46-34=12, Resulting Numbers: [15, 12]
Generated Node #0,1,1: 43:[15, 12] Operation: 46-34=12
Exploring Operation: 15+46=61, Resulting Numbers: [34, 61]
Generated Node #0,1,2: 43:[34, 61] Operation: 15+46=61
Exploring Operation: 34-15=19, Resulting Numbers: [46, 19]
Generated Node #0,1,3: 43:[46, 19] Operation: 34-15=19
Exploring Operation: 34+15=49, Resulting Numbers: [46, 49]
Generated Node #0,1,4: 43:[46, 49] Operation: 34+15=49
Moving to Node #0,1,4
Current State: 43:[46, 49], Operations: ['48-2=46', '34+15=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,43 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[34, 31], Operations: ['48-2=46', '46-15=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,43 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[34, 61], Operations: ['48-2=46', '15+46=61']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[46, 19], Operations: ['48-2=46', '34-15=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,43 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[15, 12], Operations: ['48-2=46', '46-34=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,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,4
Current State: 43:[48, 15, 36], Operations: ['2+34=36']
Exploring Operation: 36-15=21, Resulting Numbers: [48, 21]
Generated Node #0,4,0: 43:[48, 21] Operation: 36-15=21
Exploring Operation: 48-36=12, Resulting Numbers: [15, 12]
Generated Node #0,4,1: 43:[15, 12] Operation: 48-36=12
Exploring Operation: 15+36=51, Resulting Numbers: [48, 51]
Generated Node #0,4,2: 43:[48, 51] Operation: 15+36=51
Exploring Operation: 48-15=33, Resulting Numbers: [36, 33]
Generated Node #0,4,3: 43:[36, 33] Operation: 48-15=33
Exploring Operation: 48+15=63, Resulting Numbers: [36, 63]
Generated Node #0,4,4: 43:[36, 63] Operation: 48+15=63
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 43:[48, 51], Operations: ['2+34=36', '15+36=51']
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,43 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[36, 33], Operations: ['2+34=36', '48-15=33']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 43:[48, 21], Operations: ['2+34=36', '36-15=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[36, 63], Operations: ['2+34=36', '48+15=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 43:[15, 12], Operations: ['2+34=36', '48-36=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[48, 15, 32], Operations: ['34-2=32']
Exploring Operation: 48-15=33, Resulting Numbers: [32, 33]
Generated Node #0,2,0: 43:[32, 33] Operation: 48-15=33
Exploring Operation: 32-15=17, Resulting Numbers: [48, 17]
Generated Node #0,2,1: 43:[48, 17] Operation: 32-15=17
Exploring Operation: 48+15=63, Resulting Numbers: [32, 63]
Generated Node #0,2,2: 43:[32, 63] Operation: 48+15=63
Exploring Operation: 48-32=16, Resulting Numbers: [15, 16]
Generated Node #0,2,3: 43:[15, 16] Operation: 48-32=16
Exploring Operation: 15+32=47, Resulting Numbers: [48, 47]
Generated Node #0,2,4: 43:[48, 47] Operation: 15+32=47
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[48, 47], Operations: ['34-2=32', '15+32=47']
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,43 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[32, 33], Operations: ['34-2=32', '48-15=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,43 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[48, 17], Operations: ['34-2=32', '32-15=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[32, 63], Operations: ['34-2=32', '48+15=63']
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[15, 16], Operations: ['34-2=32', '48-32=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,43 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
77,
54,
38
] | 98 | [
"83-77=6",
"54+38=92",
"6+92=98"
] | Current State: 98:[83, 77, 54, 38], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [54, 38, 6]
Generated Node #2: [54, 38, 6] from Operation: 83-77=6
Current State: 98:[54, 38, 6], Operations: ['83-77=6']
Exploring Operation: 54+38=92, Resulting Numbers: [6, 92]
Generated Node #3: [6, 92] from Operation: 54+38=92
Current State: 98:[6, 92], Operations: ['83-77=6', '54+38=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[83, 77, 54, 38], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [54, 38, 6]
Generated Node #0,0: 98:[54, 38, 6] Operation: 83-77=6
Exploring Operation: 77-38=39, Resulting Numbers: [83, 54, 39]
Generated Node #0,1: 98:[83, 54, 39] Operation: 77-38=39
Exploring Operation: 83-38=45, Resulting Numbers: [77, 54, 45]
Generated Node #0,2: 98:[77, 54, 45] Operation: 83-38=45
Moving to Node #0,0
Current State: 98:[54, 38, 6], Operations: ['83-77=6']
Exploring Operation: 54-38=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 98:[6, 16] Operation: 54-38=16
Exploring Operation: 38+6=44, Resulting Numbers: [54, 44]
Generated Node #0,0,1: 98:[54, 44] Operation: 38+6=44
Exploring Operation: 54+38=92, Resulting Numbers: [6, 92]
Generated Node #0,0,2: 98:[6, 92] Operation: 54+38=92
Moving to Node #0,1
Current State: 98:[83, 54, 39], Operations: ['77-38=39']
Exploring Operation: 54+39=93, Resulting Numbers: [83, 93]
Generated Node #0,1,0: 98:[83, 93] Operation: 54+39=93
Exploring Operation: 83-39=44, Resulting Numbers: [54, 44]
Generated Node #0,1,1: 98:[54, 44] Operation: 83-39=44
Exploring Operation: 54-39=15, Resulting Numbers: [83, 15]
Generated Node #0,1,2: 98:[83, 15] Operation: 54-39=15
Moving to Node #0,2
Current State: 98:[77, 54, 45], Operations: ['83-38=45']
Exploring Operation: 77-45=32, Resulting Numbers: [54, 32]
Generated Node #0,2,0: 98:[54, 32] Operation: 77-45=32
Exploring Operation: 77-54=23, Resulting Numbers: [45, 23]
Generated Node #0,2,1: 98:[45, 23] Operation: 77-54=23
Exploring Operation: 54+45=99, Resulting Numbers: [77, 99]
Generated Node #0,2,2: 98:[77, 99] Operation: 54+45=99
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[45, 23], Operations: ['83-38=45', '77-54=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,98 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,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,2,0
Current State: 98:[54, 32], Operations: ['83-38=45', '77-45=32']
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,98 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,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,2,2
Current State: 98:[77, 99], Operations: ['83-38=45', '54+45=99']
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,98 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,98 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: 98:[6, 16], Operations: ['83-77=6', '54-38=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[6, 92], Operations: ['83-77=6', '54+38=92']
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[83, 77, 54, 38], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [54, 38, 6]
Generated Node #0,0: 98:[54, 38, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 98:[54, 38, 6], Operations: ['83-77=6']
Exploring Operation: 54+38=92, Resulting Numbers: [6, 92]
Generated Node #0,0,2: 98:[6, 92] Operation: 54+38=92
Moving to Node #0,0,2
Current State: 98:[6, 92], Operations: ['83-77=6', '54+38=92']
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
93,
13,
15,
33
] | 98 | [
"93-13=80",
"33-15=18",
"80+18=98"
] | Current State: 98:[93, 13, 15, 33], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [15, 33, 80]
Generated Node #2: [15, 33, 80] from Operation: 93-13=80
Current State: 98:[15, 33, 80], Operations: ['93-13=80']
Exploring Operation: 33-15=18, Resulting Numbers: [80, 18]
Generated Node #3: [80, 18] from Operation: 33-15=18
Current State: 98:[80, 18], Operations: ['93-13=80', '33-15=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[93, 13, 15, 33], Operations: []
Exploring Operation: 15+33=48, Resulting Numbers: [93, 13, 48]
Generated Node #0,0: 98:[93, 13, 48] Operation: 15+33=48
Exploring Operation: 13+33=46, Resulting Numbers: [93, 15, 46]
Generated Node #0,1: 98:[93, 15, 46] Operation: 13+33=46
Exploring Operation: 33-15=18, Resulting Numbers: [93, 13, 18]
Generated Node #0,2: 98:[93, 13, 18] Operation: 33-15=18
Moving to Node #0,0
Current State: 98:[93, 13, 48], Operations: ['15+33=48']
Exploring Operation: 93-48=45, Resulting Numbers: [13, 45]
Generated Node #0,0,0: 98:[13, 45] Operation: 93-48=45
Exploring Operation: 13+48=61, Resulting Numbers: [93, 61]
Generated Node #0,0,1: 98:[93, 61] Operation: 13+48=61
Exploring Operation: 93+13=106, Resulting Numbers: [48, 106]
Generated Node #0,0,2: 98:[48, 106] Operation: 93+13=106
Moving to Node #0,1
Current State: 98:[93, 15, 46], Operations: ['13+33=46']
Exploring Operation: 93+15=108, Resulting Numbers: [46, 108]
Generated Node #0,1,0: 98:[46, 108] Operation: 93+15=108
Exploring Operation: 15+46=61, Resulting Numbers: [93, 61]
Generated Node #0,1,1: 98:[93, 61] Operation: 15+46=61
Exploring Operation: 93-46=47, Resulting Numbers: [15, 47]
Generated Node #0,1,2: 98:[15, 47] Operation: 93-46=47
Moving to Node #0,2
Current State: 98:[93, 13, 18], Operations: ['33-15=18']
Exploring Operation: 18-13=5, Resulting Numbers: [93, 5]
Generated Node #0,2,0: 98:[93, 5] Operation: 18-13=5
Exploring Operation: 93+13=106, Resulting Numbers: [18, 106]
Generated Node #0,2,1: 98:[18, 106] Operation: 93+13=106
Exploring Operation: 93+18=111, Resulting Numbers: [13, 111]
Generated Node #0,2,2: 98:[13, 111] Operation: 93+18=111
Moving to Node #0,1,2
Current State: 98:[15, 47], Operations: ['13+33=46', '93-46=47']
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[13, 45], Operations: ['15+33=48', '93-48=45']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,98 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[93, 5], Operations: ['33-15=18', '18-13=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,98 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[93, 13, 15, 33], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [93, 13, 18]
Generated Node #0,2: 98:[93, 13, 18] Operation: 33-15=18
Moving to Node #0,2
Current State: 98:[93, 13, 18], Operations: ['33-15=18']
Exploring Operation: 18-13=5, Resulting Numbers: [93, 5]
Generated Node #0,2,0: 98:[93, 5] Operation: 18-13=5
Moving to Node #0,2,0
Current State: 98:[93, 5], Operations: ['33-15=18', '18-13=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
70,
9,
81,
25
] | 14 | [
"70+81=151",
"151-25=126",
"126/9=14"
] | Current State: 14:[70, 9, 81, 25], Operations: []
Exploring Operation: 70+81=151, Resulting Numbers: [9, 25, 151]
Generated Node #2: [9, 25, 151] from Operation: 70+81=151
Current State: 14:[9, 25, 151], Operations: ['70+81=151']
Exploring Operation: 151-25=126, Resulting Numbers: [9, 126]
Generated Node #3: [9, 126] from Operation: 151-25=126
Current State: 14:[9, 126], Operations: ['70+81=151', '151-25=126']
Exploring Operation: 126/9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[70, 9, 81, 25], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [9, 81, 45]
Generated Node #0,0: 14:[9, 81, 45] Operation: 70-25=45
Exploring Operation: 81-70=11, Resulting Numbers: [9, 25, 11]
Generated Node #0,1: 14:[9, 25, 11] Operation: 81-70=11
Exploring Operation: 81-25=56, Resulting Numbers: [70, 9, 56]
Generated Node #0,2: 14:[70, 9, 56] Operation: 81-25=56
Exploring Operation: 81/9=9, Resulting Numbers: [70, 25, 9]
Generated Node #0,3: 14:[70, 25, 9] Operation: 81/9=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[9, 25, 11], Operations: ['81-70=11']
Exploring Operation: 9+11=20, Resulting Numbers: [25, 20]
Generated Node #0,1,0: 14:[25, 20] Operation: 9+11=20
Exploring Operation: 25-11=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 14:[9, 14] Operation: 25-11=14
Exploring Operation: 25-9=16, Resulting Numbers: [11, 16]
Generated Node #0,1,2: 14:[11, 16] Operation: 25-9=16
Exploring Operation: 11-9=2, Resulting Numbers: [25, 2]
Generated Node #0,1,3: 14:[25, 2] Operation: 11-9=2
Moving to Node #0,1,1
Current State: 14:[9, 14], Operations: ['81-70=11', '25-11=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[11, 16], Operations: ['81-70=11', '25-9=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[25, 2], Operations: ['81-70=11', '11-9=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[25, 20], Operations: ['81-70=11', '9+11=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[70, 25, 9], Operations: ['81/9=9']
Exploring Operation: 70+9=79, Resulting Numbers: [25, 79]
Generated Node #0,3,0: 14:[25, 79] Operation: 70+9=79
Exploring Operation: 25-9=16, Resulting Numbers: [70, 16]
Generated Node #0,3,1: 14:[70, 16] Operation: 25-9=16
Exploring Operation: 70-25=45, Resulting Numbers: [9, 45]
Generated Node #0,3,2: 14:[9, 45] Operation: 70-25=45
Exploring Operation: 70-9=61, Resulting Numbers: [25, 61]
Generated Node #0,3,3: 14:[25, 61] Operation: 70-9=61
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[9, 45], Operations: ['81/9=9', '70-25=45']
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,14 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[70, 16], Operations: ['81/9=9', '25-9=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,14 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[25, 61], Operations: ['81/9=9', '70-9=61']
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,14 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[25, 79], Operations: ['81/9=9', '70+9=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,14 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[9, 81, 45], Operations: ['70-25=45']
Exploring Operation: 81-9=72, Resulting Numbers: [45, 72]
Generated Node #0,0,0: 14:[45, 72] Operation: 81-9=72
Exploring Operation: 81/9=9, Resulting Numbers: [45, 9]
Generated Node #0,0,1: 14:[45, 9] Operation: 81/9=9
Exploring Operation: 45/9=5, Resulting Numbers: [81, 5]
Generated Node #0,0,2: 14:[81, 5] Operation: 45/9=5
Exploring Operation: 81-45=36, Resulting Numbers: [9, 36]
Generated Node #0,0,3: 14:[9, 36] Operation: 81-45=36
Moving to Node #0,0,3
Current State: 14:[9, 36], Operations: ['70-25=45', '81-45=36']
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,14 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[45, 9], Operations: ['70-25=45', '81/9=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,14 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[81, 5], Operations: ['70-25=45', '45/9=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,14 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[45, 72], Operations: ['70-25=45', '81-9=72']
Exploring Operation: 45*72=3240, Resulting Numbers: [3240]
3240,14 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 45+72=117, Resulting Numbers: [117]
117,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[70, 9, 56], Operations: ['81-25=56']
Exploring Operation: 70-56=14, Resulting Numbers: [9, 14]
Generated Node #0,2,0: 14:[9, 14] Operation: 70-56=14
Exploring Operation: 70+9=79, Resulting Numbers: [56, 79]
Generated Node #0,2,1: 14:[56, 79] Operation: 70+9=79
Exploring Operation: 56-9=47, Resulting Numbers: [70, 47]
Generated Node #0,2,2: 14:[70, 47] Operation: 56-9=47
Exploring Operation: 70-9=61, Resulting Numbers: [56, 61]
Generated Node #0,2,3: 14:[56, 61] Operation: 70-9=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[9, 14], Operations: ['81-25=56', '70-56=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[70, 47], Operations: ['81-25=56', '56-9=47']
Exploring Operation: 70+47=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 70*47=3290, Resulting Numbers: [3290]
3290,14 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 14:[56, 61], Operations: ['81-25=56', '70-9=61']
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,14 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 14:[56, 79], Operations: ['81-25=56', '70+9=79']
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,14 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
82,
80,
28,
5
] | 58 | [
"82+28=110",
"110/5=22",
"80-22=58"
] | Current State: 58:[82, 80, 28, 5], Operations: []
Exploring Operation: 82+28=110, Resulting Numbers: [80, 5, 110]
Generated Node #2: [80, 5, 110] from Operation: 82+28=110
Current State: 58:[80, 5, 110], Operations: ['82+28=110']
Exploring Operation: 110/5=22, Resulting Numbers: [80, 22]
Generated Node #3: [80, 22] from Operation: 110/5=22
Current State: 58:[80, 22], Operations: ['82+28=110', '110/5=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[82, 80, 28, 5], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [80, 5, 54]
Generated Node #0,0: 58:[80, 5, 54] Operation: 82-28=54
Exploring Operation: 82-80=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,1: 58:[28, 5, 2] Operation: 82-80=2
Moving to Node #0,1
Current State: 58:[28, 5, 2], Operations: ['82-80=2']
Exploring Operation: 28+5=33, Resulting Numbers: [2, 33]
Generated Node #0,1,0: 58:[2, 33] Operation: 28+5=33
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 58:[28, 3] Operation: 5-2=3
Moving to Node #0,0
Current State: 58:[80, 5, 54], Operations: ['82-28=54']
Exploring Operation: 80/5=16, Resulting Numbers: [54, 16]
Generated Node #0,0,0: 58:[54, 16] Operation: 80/5=16
Exploring Operation: 80-54=26, Resulting Numbers: [5, 26]
Generated Node #0,0,1: 58:[5, 26] Operation: 80-54=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[5, 26], Operations: ['82-28=54', '80-54=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[54, 16], Operations: ['82-28=54', '80/5=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 58:[28, 3], Operations: ['82-80=2', '5-2=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[2, 33], Operations: ['82-80=2', '28+5=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
76,
15,
52
] | 12 | [
"76-52=24",
"24/8=3",
"15-3=12"
] | Current State: 12:[8, 76, 15, 52], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [8, 15, 24]
Generated Node #2: [8, 15, 24] from Operation: 76-52=24
Current State: 12:[8, 15, 24], Operations: ['76-52=24']
Exploring Operation: 24/8=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 24/8=3
Current State: 12:[15, 3], Operations: ['76-52=24', '24/8=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[8, 76, 15, 52], Operations: []
Exploring Operation: 52-15=37, Resulting Numbers: [8, 76, 37]
Generated Node #0,0: 12:[8, 76, 37] Operation: 52-15=37
Exploring Operation: 76-8=68, Resulting Numbers: [15, 52, 68]
Generated Node #0,1: 12:[15, 52, 68] Operation: 76-8=68
Exploring Operation: 76-15=61, Resulting Numbers: [8, 52, 61]
Generated Node #0,2: 12:[8, 52, 61] Operation: 76-15=61
Exploring Operation: 76-52=24, Resulting Numbers: [8, 15, 24]
Generated Node #0,3: 12:[8, 15, 24] Operation: 76-52=24
Exploring Operation: 52-8=44, Resulting Numbers: [76, 15, 44]
Generated Node #0,4: 12:[76, 15, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[8, 15, 24], Operations: ['76-52=24']
Exploring Operation: 24-8=16, Resulting Numbers: [15, 16]
Generated Node #0,3,0: 12:[15, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [15, 3]
Generated Node #0,3,1: 12:[15, 3] Operation: 24/8=3
Exploring Operation: 24-15=9, Resulting Numbers: [8, 9]
Generated Node #0,3,2: 12:[8, 9] Operation: 24-15=9
Exploring Operation: 15-8=7, Resulting Numbers: [24, 7]
Generated Node #0,3,3: 12:[24, 7] Operation: 15-8=7
Exploring Operation: 8+15=23, Resulting Numbers: [24, 23]
Generated Node #0,3,4: 12:[24, 23] Operation: 8+15=23
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[15, 3], Operations: ['76-52=24', '24/8=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[8, 76, 15, 52], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [8, 15, 24]
Generated Node #0,3: 12:[8, 15, 24] Operation: 76-52=24
Moving to Node #0,3
Current State: 12:[8, 15, 24], Operations: ['76-52=24']
Exploring Operation: 24/8=3, Resulting Numbers: [15, 3]
Generated Node #0,3,1: 12:[15, 3] Operation: 24/8=3
Moving to Node #0,3,1
Current State: 12:[15, 3], Operations: ['76-52=24', '24/8=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
75,
37,
39,
81
] | 78 | [
"75+81=156",
"39-37=2",
"156/2=78"
] | Current State: 78:[75, 37, 39, 81], Operations: []
Exploring Operation: 75+81=156, Resulting Numbers: [37, 39, 156]
Generated Node #2: [37, 39, 156] from Operation: 75+81=156
Current State: 78:[37, 39, 156], Operations: ['75+81=156']
Exploring Operation: 39-37=2, Resulting Numbers: [156, 2]
Generated Node #3: [156, 2] from Operation: 39-37=2
Current State: 78:[156, 2], Operations: ['75+81=156', '39-37=2']
Exploring Operation: 156/2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[75, 37, 39, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [37, 39, 6]
Generated Node #0,0: 78:[37, 39, 6] Operation: 81-75=6
Moving to Node #0,0
Current State: 78:[37, 39, 6], Operations: ['81-75=6']
Exploring Operation: 39-37=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 78:[6, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[6, 2], Operations: ['81-75=6', '39-37=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 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 |
[
51,
26,
31,
3
] | 32 | [
"26+31=57",
"57/3=19",
"51-19=32"
] | Current State: 32:[51, 26, 31, 3], Operations: []
Exploring Operation: 26+31=57, Resulting Numbers: [51, 3, 57]
Generated Node #2: [51, 3, 57] from Operation: 26+31=57
Current State: 32:[51, 3, 57], Operations: ['26+31=57']
Exploring Operation: 57/3=19, Resulting Numbers: [51, 19]
Generated Node #3: [51, 19] from Operation: 57/3=19
Current State: 32:[51, 19], Operations: ['26+31=57', '57/3=19']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[51, 26, 31, 3], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [31, 3, 25]
Generated Node #0,0: 32:[31, 3, 25] Operation: 51-26=25
Exploring Operation: 51/3=17, Resulting Numbers: [26, 31, 17]
Generated Node #0,1: 32:[26, 31, 17] Operation: 51/3=17
Moving to Node #0,1
Current State: 32:[26, 31, 17], Operations: ['51/3=17']
Exploring Operation: 31-26=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 32:[17, 5] Operation: 31-26=5
Exploring Operation: 26-17=9, Resulting Numbers: [31, 9]
Generated Node #0,1,1: 32:[31, 9] Operation: 26-17=9
Moving to Node #0,0
Current State: 32:[31, 3, 25], Operations: ['51-26=25']
Exploring Operation: 3+25=28, Resulting Numbers: [31, 28]
Generated Node #0,0,0: 32:[31, 28] Operation: 3+25=28
Exploring Operation: 31-25=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 32:[3, 6] Operation: 31-25=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[3, 6], Operations: ['51-26=25', '31-25=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[31, 28], Operations: ['51-26=25', '3+25=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,32 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: 32:[17, 5], Operations: ['51/3=17', '31-26=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[31, 9], Operations: ['51/3=17', '26-17=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
69,
69,
18
] | 37 | [
"54-18=36",
"69/69=1",
"36+1=37"
] | Current State: 37:[54, 69, 69, 18], Operations: []
Exploring Operation: 54-18=36, Resulting Numbers: [69, 69, 36]
Generated Node #2: [69, 69, 36] from Operation: 54-18=36
Current State: 37:[69, 69, 36], Operations: ['54-18=36']
Exploring Operation: 69/69=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 69/69=1
Current State: 37:[36, 1], Operations: ['54-18=36', '69/69=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[54, 69, 69, 18], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [54, 69, 51]
Generated Node #0,0: 37:[54, 69, 51] Operation: 69-18=51
Exploring Operation: 54-18=36, Resulting Numbers: [69, 69, 36]
Generated Node #0,1: 37:[69, 69, 36] Operation: 54-18=36
Exploring Operation: 69-18=51, Resulting Numbers: [54, 69, 51]
Generated Node #0,2: 37:[54, 69, 51] Operation: 69-18=51
Moving to Node #0,0
Current State: 37:[54, 69, 51], Operations: ['69-18=51']
Exploring Operation: 54-51=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 37:[69, 3] Operation: 54-51=3
Exploring Operation: 69-54=15, Resulting Numbers: [51, 15]
Generated Node #0,0,1: 37:[51, 15] Operation: 69-54=15
Exploring Operation: 69-51=18, Resulting Numbers: [54, 18]
Generated Node #0,0,2: 37:[54, 18] Operation: 69-51=18
Moving to Node #0,2
Current State: 37:[54, 69, 51], Operations: ['69-18=51']
Exploring Operation: 54-51=3, Resulting Numbers: [69, 3]
Generated Node #0,2,0: 37:[69, 3] Operation: 54-51=3
Exploring Operation: 69-54=15, Resulting Numbers: [51, 15]
Generated Node #0,2,1: 37:[51, 15] Operation: 69-54=15
Exploring Operation: 69-51=18, Resulting Numbers: [54, 18]
Generated Node #0,2,2: 37:[54, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[51, 15], Operations: ['69-18=51', '69-54=15']
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,37 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,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,2
Current State: 37:[54, 18], Operations: ['69-18=51', '69-51=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 54+18=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,0
Current State: 37:[69, 3], Operations: ['69-18=51', '54-51=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 37:[69, 69, 36], Operations: ['54-18=36']
Exploring Operation: 69/69=1, Resulting Numbers: [36, 1]
Generated Node #0,1,0: 37:[36, 1] Operation: 69/69=1
Exploring Operation: 69-36=33, Resulting Numbers: [69, 33]
Generated Node #0,1,1: 37:[69, 33] Operation: 69-36=33
Exploring Operation: 69-36=33, Resulting Numbers: [69, 33]
Generated Node #0,1,2: 37:[69, 33] Operation: 69-36=33
Moving to Node #0,0,1
Current State: 37:[51, 15], Operations: ['69-18=51', '69-54=15']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[54, 18], Operations: ['69-18=51', '69-51=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[69, 33], Operations: ['54-18=36', '69-36=33']
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,37 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[69, 33], Operations: ['54-18=36', '69-36=33']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[36, 1], Operations: ['54-18=36', '69/69=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[54, 69, 69, 18], Operations: []
Exploring Operation: 54-18=36, Resulting Numbers: [69, 69, 36]
Generated Node #0,1: 37:[69, 69, 36] Operation: 54-18=36
Moving to Node #0,1
Current State: 37:[69, 69, 36], Operations: ['54-18=36']
Exploring Operation: 69/69=1, Resulting Numbers: [36, 1]
Generated Node #0,1,0: 37:[36, 1] Operation: 69/69=1
Moving to Node #0,1,0
Current State: 37:[36, 1], Operations: ['54-18=36', '69/69=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.965278 | hs_3 | sum_heuristic |
[
3,
82,
57,
73
] | 54 | [
"82-73=9",
"9/3=3",
"57-3=54"
] | Current State: 54:[3, 82, 57, 73], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [3, 57, 9]
Generated Node #2: [3, 57, 9] from Operation: 82-73=9
Current State: 54:[3, 57, 9], Operations: ['82-73=9']
Exploring Operation: 9/3=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 9/3=3
Current State: 54:[57, 3], Operations: ['82-73=9', '9/3=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 82, 57, 73], Operations: []
Exploring Operation: 82-57=25, Resulting Numbers: [3, 73, 25]
Generated Node #0,0: 54:[3, 73, 25] Operation: 82-57=25
Exploring Operation: 82-73=9, Resulting Numbers: [3, 57, 9]
Generated Node #0,1: 54:[3, 57, 9] Operation: 82-73=9
Moving to Node #0,1
Current State: 54:[3, 57, 9], Operations: ['82-73=9']
Exploring Operation: 57-3=54, Resulting Numbers: [9, 54]
Generated Node #0,1,0: 54:[9, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [9, 19]
Generated Node #0,1,1: 54:[9, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[9, 54], Operations: ['82-73=9', '57-3=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[9, 19], Operations: ['82-73=9', '57/3=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 54:[3, 73, 25], Operations: ['82-57=25']
Exploring Operation: 73-25=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 54:[3, 48] Operation: 73-25=48
Exploring Operation: 73-3=70, Resulting Numbers: [25, 70]
Generated Node #0,0,1: 54:[25, 70] Operation: 73-3=70
Moving to Node #0,0,0
Current State: 54:[3, 48], Operations: ['82-57=25', '73-25=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[25, 70], Operations: ['82-57=25', '73-3=70']
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,54 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
37,
93,
92
] | 98 | [
"38*93=3534",
"92+3534=3626",
"3626/37=98"
] | Current State: 98:[38, 37, 93, 92], Operations: []
Exploring Operation: 38*93=3534, Resulting Numbers: [37, 92, 3534]
Generated Node #2: [37, 92, 3534] from Operation: 38*93=3534
Current State: 98:[37, 92, 3534], Operations: ['38*93=3534']
Exploring Operation: 92+3534=3626, Resulting Numbers: [37, 3626]
Generated Node #3: [37, 3626] from Operation: 92+3534=3626
Current State: 98:[37, 3626], Operations: ['38*93=3534', '92+3534=3626']
Exploring Operation: 3626/37=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[38, 37, 93, 92], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [37, 93, 54]
Generated Node #0,0: 98:[37, 93, 54] Operation: 92-38=54
Exploring Operation: 93-38=55, Resulting Numbers: [37, 92, 55]
Generated Node #0,1: 98:[37, 92, 55] Operation: 93-38=55
Exploring Operation: 92-37=55, Resulting Numbers: [38, 93, 55]
Generated Node #0,2: 98:[38, 93, 55] Operation: 92-37=55
Exploring Operation: 38-37=1, Resulting Numbers: [93, 92, 1]
Generated Node #0,3: 98:[93, 92, 1] Operation: 38-37=1
Exploring Operation: 93-37=56, Resulting Numbers: [38, 92, 56]
Generated Node #0,4: 98:[38, 92, 56] Operation: 93-37=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[93, 92, 1], Operations: ['38-37=1']
Exploring Operation: 93-92=1, Resulting Numbers: [1, 1]
Generated Node #0,3,0: 98:[1, 1] Operation: 93-92=1
Exploring Operation: 92+1=93, Resulting Numbers: [93, 93]
Generated Node #0,3,1: 98:[93, 93] Operation: 92+1=93
Exploring Operation: 93+1=94, Resulting Numbers: [92, 94]
Generated Node #0,3,2: 98:[92, 94] Operation: 93+1=94
Exploring Operation: 93/1=93, Resulting Numbers: [92, 93]
Generated Node #0,3,3: 98:[92, 93] Operation: 93/1=93
Exploring Operation: 93*1=93, Resulting Numbers: [92, 93]
Generated Node #0,3,4: 98:[92, 93] Operation: 93*1=93
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[1, 1], Operations: ['38-37=1', '93-92=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,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,1
Current State: 98:[93, 93], Operations: ['38-37=1', '92+1=93']
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,98 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,98 unequal: No Solution
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,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:[92, 94], Operations: ['38-37=1', '93+1=94']
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,98 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,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:[92, 93], Operations: ['38-37=1', '93/1=93']
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,98 unequal: No Solution
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,98 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,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,4
Current State: 98:[92, 93], Operations: ['38-37=1', '93*1=93']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,98 unequal: No Solution
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[37, 93, 54], Operations: ['92-38=54']
Exploring Operation: 93-54=39, Resulting Numbers: [37, 39]
Generated Node #0,0,0: 98:[37, 39] Operation: 93-54=39
Exploring Operation: 37+54=91, Resulting Numbers: [93, 91]
Generated Node #0,0,1: 98:[93, 91] Operation: 37+54=91
Exploring Operation: 93-37=56, Resulting Numbers: [54, 56]
Generated Node #0,0,2: 98:[54, 56] Operation: 93-37=56
Exploring Operation: 54-37=17, Resulting Numbers: [93, 17]
Generated Node #0,0,3: 98:[93, 17] Operation: 54-37=17
Exploring Operation: 37+93=130, Resulting Numbers: [54, 130]
Generated Node #0,0,4: 98:[54, 130] Operation: 37+93=130
Moving to Node #0,0,3
Current State: 98:[93, 17], Operations: ['92-38=54', '54-37=17']
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[54, 56], Operations: ['92-38=54', '93-37=56']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[93, 91], Operations: ['92-38=54', '37+54=91']
Exploring Operation: 93+91=184, Resulting Numbers: [184]
184,98 unequal: No Solution
Exploring Operation: 93*91=8463, Resulting Numbers: [8463]
8463,98 unequal: No Solution
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[37, 39], Operations: ['92-38=54', '93-54=39']
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,98 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[54, 130], Operations: ['92-38=54', '37+93=130']
Exploring Operation: 54*130=7020, Resulting Numbers: [7020]
7020,98 unequal: No Solution
Exploring Operation: 54+130=184, Resulting Numbers: [184]
184,98 unequal: No Solution
Exploring Operation: 130-54=76, Resulting Numbers: [76]
76,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,2
Current State: 98:[38, 93, 55], Operations: ['92-37=55']
Exploring Operation: 93-55=38, Resulting Numbers: [38, 38]
Generated Node #0,2,0: 98:[38, 38] Operation: 93-55=38
Exploring Operation: 55-38=17, Resulting Numbers: [93, 17]
Generated Node #0,2,1: 98:[93, 17] Operation: 55-38=17
Exploring Operation: 93-38=55, Resulting Numbers: [55, 55]
Generated Node #0,2,2: 98:[55, 55] Operation: 93-38=55
Exploring Operation: 38+55=93, Resulting Numbers: [93, 93]
Generated Node #0,2,3: 98:[93, 93] Operation: 38+55=93
Exploring Operation: 38+93=131, Resulting Numbers: [55, 131]
Generated Node #0,2,4: 98:[55, 131] Operation: 38+93=131
Moving to Node #0,2,1
Current State: 98:[93, 17], Operations: ['92-37=55', '55-38=17']
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,98 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[93, 93], Operations: ['92-37=55', '38+55=93']
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,98 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[55, 55], Operations: ['92-37=55', '93-38=55']
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 55*55=3025, Resulting Numbers: [3025]
3025,98 unequal: No Solution
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[38, 38], Operations: ['92-37=55', '93-55=38']
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,98 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[55, 131], Operations: ['92-37=55', '38+93=131']
Exploring Operation: 55*131=7205, Resulting Numbers: [7205]
7205,98 unequal: No Solution
Exploring Operation: 55+131=186, Resulting Numbers: [186]
186,98 unequal: No Solution
Exploring Operation: 131-55=76, Resulting Numbers: [76]
76,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,1
Current State: 98:[37, 92, 55], Operations: ['93-38=55']
Exploring Operation: 92-37=55, Resulting Numbers: [55, 55]
Generated Node #0,1,0: 98:[55, 55] Operation: 92-37=55
Exploring Operation: 37+92=129, Resulting Numbers: [55, 129]
Generated Node #0,1,1: 98:[55, 129] Operation: 37+92=129
Exploring Operation: 37+55=92, Resulting Numbers: [92, 92]
Generated Node #0,1,2: 98:[92, 92] Operation: 37+55=92
Exploring Operation: 92-55=37, Resulting Numbers: [37, 37]
Generated Node #0,1,3: 98:[37, 37] Operation: 92-55=37
Exploring Operation: 55-37=18, Resulting Numbers: [92, 18]
Generated Node #0,1,4: 98:[92, 18] Operation: 55-37=18
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[92, 18], Operations: ['93-38=55', '55-37=18']
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,98 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[55, 55], Operations: ['93-38=55', '92-37=55']
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 55*55=3025, Resulting Numbers: [3025]
3025,98 unequal: No Solution
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[92, 92], Operations: ['93-38=55', '37+55=92']
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 92*92=8464, Resulting Numbers: [8464]
8464,98 unequal: No Solution
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 92+92=184, Resulting Numbers: [184]
184,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[37, 37], Operations: ['93-38=55', '92-55=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,98 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[55, 129], Operations: ['93-38=55', '37+92=129']
Exploring Operation: 55+129=184, Resulting Numbers: [184]
184,98 unequal: No Solution
Exploring Operation: 129-55=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 55*129=7095, Resulting Numbers: [7095]
7095,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,4
Current State: 98:[38, 92, 56], Operations: ['93-37=56']
Exploring Operation: 38+92=130, Resulting Numbers: [56, 130]
Generated Node #0,4,0: 98:[56, 130] Operation: 38+92=130
Exploring Operation: 92-38=54, Resulting Numbers: [56, 54]
Generated Node #0,4,1: 98:[56, 54] Operation: 92-38=54
Exploring Operation: 92-56=36, Resulting Numbers: [38, 36]
Generated Node #0,4,2: 98:[38, 36] Operation: 92-56=36
Exploring Operation: 56-38=18, Resulting Numbers: [92, 18]
Generated Node #0,4,3: 98:[92, 18] Operation: 56-38=18
Exploring Operation: 38+56=94, Resulting Numbers: [92, 94]
Generated Node #0,4,4: 98:[92, 94] Operation: 38+56=94
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 98:[92, 18], Operations: ['93-37=56', '56-38=18']
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,98 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,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,4,4
Current State: 98:[92, 94], Operations: ['93-37=56', '38+56=94']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,98 unequal: No Solution
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,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,4,1
Current State: 98:[56, 54], Operations: ['93-37=56', '92-38=54']
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,98 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,98 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,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,4,2
Current State: 98:[38, 36], Operations: ['93-37=56', '92-56=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,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,4,0
Current State: 98:[56, 130], Operations: ['93-37=56', '38+92=130']
Exploring Operation: 130-56=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 56*130=7280, Resulting Numbers: [7280]
7280,98 unequal: No Solution
Exploring Operation: 56+130=186, Resulting Numbers: [186]
186,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
39,
28,
64
] | 44 | [
"76+64=140",
"140/28=5",
"39+5=44"
] | Current State: 44:[76, 39, 28, 64], Operations: []
Exploring Operation: 76+64=140, Resulting Numbers: [39, 28, 140]
Generated Node #2: [39, 28, 140] from Operation: 76+64=140
Current State: 44:[39, 28, 140], Operations: ['76+64=140']
Exploring Operation: 140/28=5, Resulting Numbers: [39, 5]
Generated Node #3: [39, 5] from Operation: 140/28=5
Current State: 44:[39, 5], Operations: ['76+64=140', '140/28=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[76, 39, 28, 64], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [39, 28, 12]
Generated Node #0,0: 44:[39, 28, 12] Operation: 76-64=12
Exploring Operation: 76-28=48, Resulting Numbers: [39, 64, 48]
Generated Node #0,1: 44:[39, 64, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[39, 28, 12], Operations: ['76-64=12']
Exploring Operation: 39-28=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 44:[12, 11] Operation: 39-28=11
Exploring Operation: 28+12=40, Resulting Numbers: [39, 40]
Generated Node #0,0,1: 44:[39, 40] Operation: 28+12=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[12, 11], Operations: ['76-64=12', '39-28=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[39, 40], Operations: ['76-64=12', '28+12=40']
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,44 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[39, 64, 48], Operations: ['76-28=48']
Exploring Operation: 64-39=25, Resulting Numbers: [48, 25]
Generated Node #0,1,0: 44:[48, 25] Operation: 64-39=25
Exploring Operation: 64-48=16, Resulting Numbers: [39, 16]
Generated Node #0,1,1: 44:[39, 16] Operation: 64-48=16
Moving to Node #0,1,0
Current State: 44:[48, 25], Operations: ['76-28=48', '64-39=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[39, 16], Operations: ['76-28=48', '64-48=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,44 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 |
[
25,
26,
97,
99
] | 38 | [
"99-97=2",
"26/2=13",
"25+13=38"
] | Current State: 38:[25, 26, 97, 99], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [25, 26, 2]
Generated Node #2: [25, 26, 2] from Operation: 99-97=2
Current State: 38:[25, 26, 2], Operations: ['99-97=2']
Exploring Operation: 26/2=13, Resulting Numbers: [25, 13]
Generated Node #3: [25, 13] from Operation: 26/2=13
Current State: 38:[25, 13], Operations: ['99-97=2', '26/2=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[25, 26, 97, 99], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [25, 26, 2]
Generated Node #0,0: 38:[25, 26, 2] Operation: 99-97=2
Exploring Operation: 99-26=73, Resulting Numbers: [25, 97, 73]
Generated Node #0,1: 38:[25, 97, 73] Operation: 99-26=73
Exploring Operation: 97-26=71, Resulting Numbers: [25, 99, 71]
Generated Node #0,2: 38:[25, 99, 71] Operation: 97-26=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[25, 26, 2], Operations: ['99-97=2']
Exploring Operation: 25-2=23, Resulting Numbers: [26, 23]
Generated Node #0,0,0: 38:[26, 23] Operation: 25-2=23
Exploring Operation: 26-25=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 38:[2, 1] Operation: 26-25=1
Exploring Operation: 26-2=24, Resulting Numbers: [25, 24]
Generated Node #0,0,2: 38:[25, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[2, 1], Operations: ['99-97=2', '26-25=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[26, 23], Operations: ['99-97=2', '25-2=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[25, 24], Operations: ['99-97=2', '26-2=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,38 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[25, 97, 73], Operations: ['99-26=73']
Exploring Operation: 97-25=72, Resulting Numbers: [73, 72]
Generated Node #0,1,0: 38:[73, 72] Operation: 97-25=72
Exploring Operation: 97-73=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 38:[25, 24] Operation: 97-73=24
Exploring Operation: 73-25=48, Resulting Numbers: [97, 48]
Generated Node #0,1,2: 38:[97, 48] Operation: 73-25=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[25, 24], Operations: ['99-26=73', '97-73=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[73, 72], Operations: ['99-26=73', '97-25=72']
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,38 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,38 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[97, 48], Operations: ['99-26=73', '73-25=48']
Exploring Operation: 97+48=145, Resulting Numbers: [145]
145,38 unequal: No Solution
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 97*48=4656, Resulting Numbers: [4656]
4656,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[25, 99, 71], Operations: ['97-26=71']
Exploring Operation: 71-25=46, Resulting Numbers: [99, 46]
Generated Node #0,2,0: 38:[99, 46] Operation: 71-25=46
Exploring Operation: 99-25=74, Resulting Numbers: [71, 74]
Generated Node #0,2,1: 38:[71, 74] Operation: 99-25=74
Exploring Operation: 99-71=28, Resulting Numbers: [25, 28]
Generated Node #0,2,2: 38:[25, 28] Operation: 99-71=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[25, 28], Operations: ['97-26=71', '99-71=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,38 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[99, 46], Operations: ['97-26=71', '71-25=46']
Exploring Operation: 99*46=4554, Resulting Numbers: [4554]
4554,38 unequal: No Solution
Exploring Operation: 99+46=145, Resulting Numbers: [145]
145,38 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[71, 74], Operations: ['97-26=71', '99-25=74']
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,38 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
23,
58,
33
] | 49 | [
"51+23=74",
"58-33=25",
"74-25=49"
] | Current State: 49:[51, 23, 58, 33], Operations: []
Exploring Operation: 51+23=74, Resulting Numbers: [58, 33, 74]
Generated Node #2: [58, 33, 74] from Operation: 51+23=74
Current State: 49:[58, 33, 74], Operations: ['51+23=74']
Exploring Operation: 58-33=25, Resulting Numbers: [74, 25]
Generated Node #3: [74, 25] from Operation: 58-33=25
Current State: 49:[74, 25], Operations: ['51+23=74', '58-33=25']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 23, 58, 33], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [23, 33, 7]
Generated Node #0,0: 49:[23, 33, 7] Operation: 58-51=7
Exploring Operation: 23+33=56, Resulting Numbers: [51, 58, 56]
Generated Node #0,1: 49:[51, 58, 56] Operation: 23+33=56
Exploring Operation: 33-23=10, Resulting Numbers: [51, 58, 10]
Generated Node #0,2: 49:[51, 58, 10] Operation: 33-23=10
Exploring Operation: 51-33=18, Resulting Numbers: [23, 58, 18]
Generated Node #0,3: 49:[23, 58, 18] Operation: 51-33=18
Exploring Operation: 58-23=35, Resulting Numbers: [51, 33, 35]
Generated Node #0,4: 49:[51, 33, 35] Operation: 58-23=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[51, 58, 10], Operations: ['33-23=10']
Exploring Operation: 51+10=61, Resulting Numbers: [58, 61]
Generated Node #0,2,0: 49:[58, 61] Operation: 51+10=61
Exploring Operation: 58-51=7, Resulting Numbers: [10, 7]
Generated Node #0,2,1: 49:[10, 7] Operation: 58-51=7
Exploring Operation: 58+10=68, Resulting Numbers: [51, 68]
Generated Node #0,2,2: 49:[51, 68] Operation: 58+10=68
Exploring Operation: 58-10=48, Resulting Numbers: [51, 48]
Generated Node #0,2,3: 49:[51, 48] Operation: 58-10=48
Exploring Operation: 51-10=41, Resulting Numbers: [58, 41]
Generated Node #0,2,4: 49:[58, 41] Operation: 51-10=41
Moving to Node #0,2,1
Current State: 49:[10, 7], Operations: ['33-23=10', '58-51=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[51, 48], Operations: ['33-23=10', '58-10=48']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,49 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[58, 41], Operations: ['33-23=10', '51-10=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,49 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[58, 61], Operations: ['33-23=10', '51+10=61']
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,49 unequal: No Solution
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[51, 68], Operations: ['33-23=10', '58+10=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,49 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[51, 58, 56], Operations: ['23+33=56']
Exploring Operation: 51+58=109, Resulting Numbers: [56, 109]
Generated Node #0,1,0: 49:[56, 109] Operation: 51+58=109
Exploring Operation: 56-51=5, Resulting Numbers: [58, 5]
Generated Node #0,1,1: 49:[58, 5] Operation: 56-51=5
Exploring Operation: 58-56=2, Resulting Numbers: [51, 2]
Generated Node #0,1,2: 49:[51, 2] Operation: 58-56=2
Exploring Operation: 58-51=7, Resulting Numbers: [56, 7]
Generated Node #0,1,3: 49:[56, 7] Operation: 58-51=7
Exploring Operation: 51+56=107, Resulting Numbers: [58, 107]
Generated Node #0,1,4: 49:[58, 107] Operation: 51+56=107
Moving to Node #0,1,2
Current State: 49:[51, 2], Operations: ['23+33=56', '58-56=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[51, 23, 58, 33], Operations: []
Exploring Operation: 23+33=56, Resulting Numbers: [51, 58, 56]
Generated Node #0,1: 49:[51, 58, 56] Operation: 23+33=56
Moving to Node #0,1
Current State: 49:[51, 58, 56], Operations: ['23+33=56']
Exploring Operation: 58-56=2, Resulting Numbers: [51, 2]
Generated Node #0,1,2: 49:[51, 2] Operation: 58-56=2
Moving to Node #0,1,2
Current State: 49:[51, 2], Operations: ['23+33=56', '58-56=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
82,
15,
21,
18
] | 77 | [
"21-18=3",
"15/3=5",
"82-5=77"
] | Current State: 77:[82, 15, 21, 18], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [82, 15, 3]
Generated Node #2: [82, 15, 3] from Operation: 21-18=3
Current State: 77:[82, 15, 3], Operations: ['21-18=3']
Exploring Operation: 15/3=5, Resulting Numbers: [82, 5]
Generated Node #3: [82, 5] from Operation: 15/3=5
Current State: 77:[82, 5], Operations: ['21-18=3', '15/3=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[82, 15, 21, 18], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [82, 18, 6]
Generated Node #0,0: 77:[82, 18, 6] Operation: 21-15=6
Exploring Operation: 82-15=67, Resulting Numbers: [21, 18, 67]
Generated Node #0,1: 77:[21, 18, 67] Operation: 82-15=67
Exploring Operation: 18-15=3, Resulting Numbers: [82, 21, 3]
Generated Node #0,2: 77:[82, 21, 3] Operation: 18-15=3
Exploring Operation: 21-18=3, Resulting Numbers: [82, 15, 3]
Generated Node #0,3: 77:[82, 15, 3] Operation: 21-18=3
Moving to Node #0,0
Current State: 77:[82, 18, 6], Operations: ['21-15=6']
Exploring Operation: 18/6=3, Resulting Numbers: [82, 3]
Generated Node #0,0,0: 77:[82, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [82, 12]
Generated Node #0,0,1: 77:[82, 12] Operation: 18-6=12
Exploring Operation: 82-18=64, Resulting Numbers: [6, 64]
Generated Node #0,0,2: 77:[6, 64] Operation: 82-18=64
Exploring Operation: 82-6=76, Resulting Numbers: [18, 76]
Generated Node #0,0,3: 77:[18, 76] Operation: 82-6=76
Moving to Node #0,3
Current State: 77:[82, 15, 3], Operations: ['21-18=3']
Exploring Operation: 15/3=5, Resulting Numbers: [82, 5]
Generated Node #0,3,0: 77:[82, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [82, 12]
Generated Node #0,3,1: 77:[82, 12] Operation: 15-3=12
Exploring Operation: 82-3=79, Resulting Numbers: [15, 79]
Generated Node #0,3,2: 77:[15, 79] Operation: 82-3=79
Exploring Operation: 82+3=85, Resulting Numbers: [15, 85]
Generated Node #0,3,3: 77:[15, 85] Operation: 82+3=85
Moving to Node #0,2
Current State: 77:[82, 21, 3], Operations: ['18-15=3']
Exploring Operation: 82-3=79, Resulting Numbers: [21, 79]
Generated Node #0,2,0: 77:[21, 79] Operation: 82-3=79
Exploring Operation: 21/3=7, Resulting Numbers: [82, 7]
Generated Node #0,2,1: 77:[82, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [82, 18]
Generated Node #0,2,2: 77:[82, 18] Operation: 21-3=18
Exploring Operation: 82+3=85, Resulting Numbers: [21, 85]
Generated Node #0,2,3: 77:[21, 85] Operation: 82+3=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[82, 7], Operations: ['18-15=3', '21/3=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[21, 79], Operations: ['18-15=3', '82-3=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[82, 18], Operations: ['18-15=3', '21-3=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[21, 85], Operations: ['18-15=3', '82+3=85']
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,77 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[21, 18, 67], Operations: ['82-15=67']
Exploring Operation: 21+18=39, Resulting Numbers: [67, 39]
Generated Node #0,1,0: 77:[67, 39] Operation: 21+18=39
Exploring Operation: 21+67=88, Resulting Numbers: [18, 88]
Generated Node #0,1,1: 77:[18, 88] Operation: 21+67=88
Exploring Operation: 18+67=85, Resulting Numbers: [21, 85]
Generated Node #0,1,2: 77:[21, 85] Operation: 18+67=85
Exploring Operation: 21-18=3, Resulting Numbers: [67, 3]
Generated Node #0,1,3: 77:[67, 3] Operation: 21-18=3
Moving to Node #0,0,1
Current State: 77:[82, 12], Operations: ['21-15=6', '18-6=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,77 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[15, 79], Operations: ['21-18=3', '82-3=79']
Exploring Operation: 15*79=1185, Resulting Numbers: [1185]
1185,77 unequal: No Solution
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[82, 12], Operations: ['21-18=3', '15-3=12']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,77 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[82, 5], Operations: ['21-18=3', '15/3=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,77 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[82, 15, 21, 18], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [82, 15, 3]
Generated Node #0,3: 77:[82, 15, 3] Operation: 21-18=3
Moving to Node #0,3
Current State: 77:[82, 15, 3], Operations: ['21-18=3']
Exploring Operation: 15/3=5, Resulting Numbers: [82, 5]
Generated Node #0,3,0: 77:[82, 5] Operation: 15/3=5
Moving to Node #0,3,0
Current State: 77:[82, 5], Operations: ['21-18=3', '15/3=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.958333 | hs_4 | sum_heuristic |
[
73,
39,
56,
39
] | 16 | [
"73-56=17",
"39/39=1",
"17-1=16"
] | Current State: 16:[73, 39, 56, 39], Operations: []
Exploring Operation: 73-56=17, Resulting Numbers: [39, 39, 17]
Generated Node #2: [39, 39, 17] from Operation: 73-56=17
Current State: 16:[39, 39, 17], Operations: ['73-56=17']
Exploring Operation: 39/39=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 39/39=1
Current State: 16:[17, 1], Operations: ['73-56=17', '39/39=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[73, 39, 56, 39], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [56, 39, 34]
Generated Node #0,0: 16:[56, 39, 34] Operation: 73-39=34
Exploring Operation: 73-56=17, Resulting Numbers: [39, 39, 17]
Generated Node #0,1: 16:[39, 39, 17] Operation: 73-56=17
Exploring Operation: 73-39=34, Resulting Numbers: [39, 56, 34]
Generated Node #0,2: 16:[39, 56, 34] Operation: 73-39=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[39, 39, 17], Operations: ['73-56=17']
Exploring Operation: 39/39=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 16:[17, 1] Operation: 39/39=1
Exploring Operation: 39-17=22, Resulting Numbers: [39, 22]
Generated Node #0,1,1: 16:[39, 22] Operation: 39-17=22
Exploring Operation: 39-39=0, Resulting Numbers: [17, 0]
Generated Node #0,1,2: 16:[17, 0] Operation: 39-39=0
Moving to Node #0,1,0
Current State: 16:[17, 1], Operations: ['73-56=17', '39/39=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[73, 39, 56, 39], Operations: []
Exploring Operation: 73-56=17, Resulting Numbers: [39, 39, 17]
Generated Node #0,1: 16:[39, 39, 17] Operation: 73-56=17
Moving to Node #0,1
Current State: 16:[39, 39, 17], Operations: ['73-56=17']
Exploring Operation: 39/39=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 16:[17, 1] Operation: 39/39=1
Moving to Node #0,1,0
Current State: 16:[17, 1], Operations: ['73-56=17', '39/39=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
42,
55,
27,
58
] | 12 | [
"42+55=97",
"27+58=85",
"97-85=12"
] | Current State: 12:[42, 55, 27, 58], Operations: []
Exploring Operation: 42+55=97, Resulting Numbers: [27, 58, 97]
Generated Node #2: [27, 58, 97] from Operation: 42+55=97
Current State: 12:[27, 58, 97], Operations: ['42+55=97']
Exploring Operation: 27+58=85, Resulting Numbers: [97, 85]
Generated Node #3: [97, 85] from Operation: 27+58=85
Current State: 12:[97, 85], Operations: ['42+55=97', '27+58=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[42, 55, 27, 58], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [42, 27, 3]
Generated Node #0,0: 12:[42, 27, 3] Operation: 58-55=3
Exploring Operation: 58-42=16, Resulting Numbers: [55, 27, 16]
Generated Node #0,1: 12:[55, 27, 16] Operation: 58-42=16
Exploring Operation: 55-42=13, Resulting Numbers: [27, 58, 13]
Generated Node #0,2: 12:[27, 58, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[42, 27, 3], Operations: ['58-55=3']
Exploring Operation: 42-27=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 12:[3, 15] Operation: 42-27=15
Exploring Operation: 27/3=9, Resulting Numbers: [42, 9]
Generated Node #0,0,1: 12:[42, 9] Operation: 27/3=9
Exploring Operation: 42/3=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 12:[27, 14] Operation: 42/3=14
Moving to Node #0,0,0
Current State: 12:[3, 15], Operations: ['58-55=3', '42-27=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[42, 55, 27, 58], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [42, 27, 3]
Generated Node #0,0: 12:[42, 27, 3] Operation: 58-55=3
Moving to Node #0,0
Current State: 12:[42, 27, 3], Operations: ['58-55=3']
Exploring Operation: 42-27=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 12:[3, 15] Operation: 42-27=15
Moving to Node #0,0,0
Current State: 12:[3, 15], Operations: ['58-55=3', '42-27=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
28,
22,
12,
91
] | 93 | [
"28-22=6",
"12/6=2",
"91+2=93"
] | Current State: 93:[28, 22, 12, 91], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [12, 91, 6]
Generated Node #2: [12, 91, 6] from Operation: 28-22=6
Current State: 93:[12, 91, 6], Operations: ['28-22=6']
Exploring Operation: 12/6=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 12/6=2
Current State: 93:[91, 2], Operations: ['28-22=6', '12/6=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[28, 22, 12, 91], Operations: []
Exploring Operation: 22+12=34, Resulting Numbers: [28, 91, 34]
Generated Node #0,0: 93:[28, 91, 34] Operation: 22+12=34
Exploring Operation: 12+91=103, Resulting Numbers: [28, 22, 103]
Generated Node #0,1: 93:[28, 22, 103] Operation: 12+91=103
Exploring Operation: 22-12=10, Resulting Numbers: [28, 91, 10]
Generated Node #0,2: 93:[28, 91, 10] Operation: 22-12=10
Exploring Operation: 28-22=6, Resulting Numbers: [12, 91, 6]
Generated Node #0,3: 93:[12, 91, 6] Operation: 28-22=6
Exploring Operation: 28+12=40, Resulting Numbers: [22, 91, 40]
Generated Node #0,4: 93:[22, 91, 40] Operation: 28+12=40
Moving to Node #0,0
Current State: 93:[28, 91, 34], Operations: ['22+12=34']
Exploring Operation: 28+34=62, Resulting Numbers: [91, 62]
Generated Node #0,0,0: 93:[91, 62] Operation: 28+34=62
Exploring Operation: 28+91=119, Resulting Numbers: [34, 119]
Generated Node #0,0,1: 93:[34, 119] Operation: 28+91=119
Exploring Operation: 34-28=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 93:[91, 6] Operation: 34-28=6
Exploring Operation: 91-28=63, Resulting Numbers: [34, 63]
Generated Node #0,0,3: 93:[34, 63] Operation: 91-28=63
Exploring Operation: 91-34=57, Resulting Numbers: [28, 57]
Generated Node #0,0,4: 93:[28, 57] Operation: 91-34=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[91, 6], Operations: ['22+12=34', '34-28=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,93 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[34, 119], Operations: ['22+12=34', '28+91=119']
Exploring Operation: 34+119=153, Resulting Numbers: [153]
153,93 unequal: No Solution
Exploring Operation: 119-34=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 34*119=4046, Resulting Numbers: [4046]
4046,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[28, 57], Operations: ['22+12=34', '91-34=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,93 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[91, 62], Operations: ['22+12=34', '28+34=62']
Exploring Operation: 91*62=5642, Resulting Numbers: [5642]
5642,93 unequal: No Solution
Exploring Operation: 91+62=153, Resulting Numbers: [153]
153,93 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[34, 63], Operations: ['22+12=34', '91-28=63']
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,93 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[28, 91, 10], Operations: ['22-12=10']
Exploring Operation: 91+10=101, Resulting Numbers: [28, 101]
Generated Node #0,2,0: 93:[28, 101] Operation: 91+10=101
Exploring Operation: 28+10=38, Resulting Numbers: [91, 38]
Generated Node #0,2,1: 93:[91, 38] Operation: 28+10=38
Exploring Operation: 28-10=18, Resulting Numbers: [91, 18]
Generated Node #0,2,2: 93:[91, 18] Operation: 28-10=18
Exploring Operation: 28+91=119, Resulting Numbers: [10, 119]
Generated Node #0,2,3: 93:[10, 119] Operation: 28+91=119
Exploring Operation: 91-10=81, Resulting Numbers: [28, 81]
Generated Node #0,2,4: 93:[28, 81] Operation: 91-10=81
Moving to Node #0,3
Current State: 93:[12, 91, 6], Operations: ['28-22=6']
Exploring Operation: 91+6=97, Resulting Numbers: [12, 97]
Generated Node #0,3,0: 93:[12, 97] Operation: 91+6=97
Exploring Operation: 12/6=2, Resulting Numbers: [91, 2]
Generated Node #0,3,1: 93:[91, 2] Operation: 12/6=2
Exploring Operation: 12+6=18, Resulting Numbers: [91, 18]
Generated Node #0,3,2: 93:[91, 18] Operation: 12+6=18
Exploring Operation: 12-6=6, Resulting Numbers: [91, 6]
Generated Node #0,3,3: 93:[91, 6] Operation: 12-6=6
Exploring Operation: 12+91=103, Resulting Numbers: [6, 103]
Generated Node #0,3,4: 93:[6, 103] Operation: 12+91=103
Moving to Node #0,4
Current State: 93:[22, 91, 40], Operations: ['28+12=40']
Exploring Operation: 40-22=18, Resulting Numbers: [91, 18]
Generated Node #0,4,0: 93:[91, 18] Operation: 40-22=18
Exploring Operation: 91-22=69, Resulting Numbers: [40, 69]
Generated Node #0,4,1: 93:[40, 69] Operation: 91-22=69
Exploring Operation: 91-40=51, Resulting Numbers: [22, 51]
Generated Node #0,4,2: 93:[22, 51] Operation: 91-40=51
Exploring Operation: 22+91=113, Resulting Numbers: [40, 113]
Generated Node #0,4,3: 93:[40, 113] Operation: 22+91=113
Exploring Operation: 22+40=62, Resulting Numbers: [91, 62]
Generated Node #0,4,4: 93:[91, 62] Operation: 22+40=62
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[91, 18], Operations: ['28+12=40', '40-22=18']
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[22, 51], Operations: ['28+12=40', '91-40=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[40, 113], Operations: ['28+12=40', '22+91=113']
Exploring Operation: 40*113=4520, Resulting Numbers: [4520]
4520,93 unequal: No Solution
Exploring Operation: 113-40=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 40+113=153, Resulting Numbers: [153]
153,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[40, 69], Operations: ['28+12=40', '91-22=69']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,93 unequal: No Solution
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[91, 62], Operations: ['28+12=40', '22+40=62']
Exploring Operation: 91+62=153, Resulting Numbers: [153]
153,93 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 91*62=5642, Resulting Numbers: [5642]
5642,93 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: 93:[28, 22, 103], Operations: ['12+91=103']
Exploring Operation: 22+103=125, Resulting Numbers: [28, 125]
Generated Node #0,1,0: 93:[28, 125] Operation: 22+103=125
Exploring Operation: 103-22=81, Resulting Numbers: [28, 81]
Generated Node #0,1,1: 93:[28, 81] Operation: 103-22=81
Exploring Operation: 28+22=50, Resulting Numbers: [103, 50]
Generated Node #0,1,2: 93:[103, 50] Operation: 28+22=50
Exploring Operation: 28-22=6, Resulting Numbers: [103, 6]
Generated Node #0,1,3: 93:[103, 6] Operation: 28-22=6
Exploring Operation: 103-28=75, Resulting Numbers: [22, 75]
Generated Node #0,1,4: 93:[22, 75] Operation: 103-28=75
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[103, 6], Operations: ['12+91=103', '28-22=6']
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 103+6=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Exploring Operation: 103*6=618, Resulting Numbers: [618]
618,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[28, 81], Operations: ['12+91=103', '103-22=81']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,93 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[22, 75], Operations: ['12+91=103', '103-28=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,93 unequal: No Solution
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[103, 50], Operations: ['12+91=103', '28+22=50']
Exploring Operation: 103+50=153, Resulting Numbers: [153]
153,93 unequal: No Solution
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 103*50=5150, Resulting Numbers: [5150]
5150,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[28, 125], Operations: ['12+91=103', '22+103=125']
Exploring Operation: 28*125=3500, Resulting Numbers: [3500]
3500,93 unequal: No Solution
Exploring Operation: 28+125=153, Resulting Numbers: [153]
153,93 unequal: No Solution
Exploring Operation: 125-28=97, Resulting Numbers: [97]
97,93 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: 93:[91, 2], Operations: ['28-22=6', '12/6=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[28, 22, 12, 91], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [12, 91, 6]
Generated Node #0,3: 93:[12, 91, 6] Operation: 28-22=6
Moving to Node #0,3
Current State: 93:[12, 91, 6], Operations: ['28-22=6']
Exploring Operation: 12/6=2, Resulting Numbers: [91, 2]
Generated Node #0,3,1: 93:[91, 2] Operation: 12/6=2
Moving to Node #0,3,1
Current State: 93:[91, 2], Operations: ['28-22=6', '12/6=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
32,
70,
82,
47
] | 64 | [
"32*70=2240",
"82-47=35",
"2240/35=64"
] | Current State: 64:[32, 70, 82, 47], Operations: []
Exploring Operation: 32*70=2240, Resulting Numbers: [82, 47, 2240]
Generated Node #2: [82, 47, 2240] from Operation: 32*70=2240
Current State: 64:[82, 47, 2240], Operations: ['32*70=2240']
Exploring Operation: 82-47=35, Resulting Numbers: [2240, 35]
Generated Node #3: [2240, 35] from Operation: 82-47=35
Current State: 64:[2240, 35], Operations: ['32*70=2240', '82-47=35']
Exploring Operation: 2240/35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 70, 82, 47], Operations: []
Exploring Operation: 47-32=15, Resulting Numbers: [70, 82, 15]
Generated Node #0,0: 64:[70, 82, 15] Operation: 47-32=15
Exploring Operation: 70-47=23, Resulting Numbers: [32, 82, 23]
Generated Node #0,1: 64:[32, 82, 23] Operation: 70-47=23
Exploring Operation: 82-70=12, Resulting Numbers: [32, 47, 12]
Generated Node #0,2: 64:[32, 47, 12] Operation: 82-70=12
Exploring Operation: 82-47=35, Resulting Numbers: [32, 70, 35]
Generated Node #0,3: 64:[32, 70, 35] Operation: 82-47=35
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[32, 70, 35], Operations: ['82-47=35']
Exploring Operation: 35-32=3, Resulting Numbers: [70, 3]
Generated Node #0,3,0: 64:[70, 3] Operation: 35-32=3
Exploring Operation: 70/35=2, Resulting Numbers: [32, 2]
Generated Node #0,3,1: 64:[32, 2] Operation: 70/35=2
Exploring Operation: 70-32=38, Resulting Numbers: [35, 38]
Generated Node #0,3,2: 64:[35, 38] Operation: 70-32=38
Exploring Operation: 70-35=35, Resulting Numbers: [32, 35]
Generated Node #0,3,3: 64:[32, 35] Operation: 70-35=35
Moving to Node #0,3,1
Current State: 64:[32, 2], Operations: ['82-47=35', '70/35=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[32, 70, 82, 47], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [32, 70, 35]
Generated Node #0,3: 64:[32, 70, 35] Operation: 82-47=35
Moving to Node #0,3
Current State: 64:[32, 70, 35], Operations: ['82-47=35']
Exploring Operation: 70/35=2, Resulting Numbers: [32, 2]
Generated Node #0,3,1: 64:[32, 2] Operation: 70/35=2
Moving to Node #0,3,1
Current State: 64:[32, 2], Operations: ['82-47=35', '70/35=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
88,
81,
15,
65
] | 39 | [
"88+81=169",
"15*169=2535",
"2535/65=39"
] | Current State: 39:[88, 81, 15, 65], Operations: []
Exploring Operation: 88+81=169, Resulting Numbers: [15, 65, 169]
Generated Node #2: [15, 65, 169] from Operation: 88+81=169
Current State: 39:[15, 65, 169], Operations: ['88+81=169']
Exploring Operation: 15*169=2535, Resulting Numbers: [65, 2535]
Generated Node #3: [65, 2535] from Operation: 15*169=2535
Current State: 39:[65, 2535], Operations: ['88+81=169', '15*169=2535']
Exploring Operation: 2535/65=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[88, 81, 15, 65], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [88, 15, 16]
Generated Node #0,0: 39:[88, 15, 16] Operation: 81-65=16
Exploring Operation: 88-65=23, Resulting Numbers: [81, 15, 23]
Generated Node #0,1: 39:[81, 15, 23] Operation: 88-65=23
Exploring Operation: 88-15=73, Resulting Numbers: [81, 65, 73]
Generated Node #0,2: 39:[81, 65, 73] Operation: 88-15=73
Exploring Operation: 81-15=66, Resulting Numbers: [88, 65, 66]
Generated Node #0,3: 39:[88, 65, 66] Operation: 81-15=66
Exploring Operation: 88-81=7, Resulting Numbers: [15, 65, 7]
Generated Node #0,4: 39:[15, 65, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[15, 65, 7], Operations: ['88-81=7']
Exploring Operation: 65+7=72, Resulting Numbers: [15, 72]
Generated Node #0,4,0: 39:[15, 72] Operation: 65+7=72
Exploring Operation: 65-7=58, Resulting Numbers: [15, 58]
Generated Node #0,4,1: 39:[15, 58] Operation: 65-7=58
Exploring Operation: 15-7=8, Resulting Numbers: [65, 8]
Generated Node #0,4,2: 39:[65, 8] Operation: 15-7=8
Exploring Operation: 15+7=22, Resulting Numbers: [65, 22]
Generated Node #0,4,3: 39:[65, 22] Operation: 15+7=22
Exploring Operation: 65-15=50, Resulting Numbers: [7, 50]
Generated Node #0,4,4: 39:[7, 50] Operation: 65-15=50
Moving to Node #0,4,4
Current State: 39:[7, 50], Operations: ['88-81=7', '65-15=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[15, 58], Operations: ['88-81=7', '65-7=58']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,39 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[65, 8], Operations: ['88-81=7', '15-7=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[15, 72], Operations: ['88-81=7', '65+7=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,39 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[65, 22], Operations: ['88-81=7', '15+7=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,39 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,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:[88, 15, 16], Operations: ['81-65=16']
Exploring Operation: 88-15=73, Resulting Numbers: [16, 73]
Generated Node #0,0,0: 39:[16, 73] Operation: 88-15=73
Exploring Operation: 15+16=31, Resulting Numbers: [88, 31]
Generated Node #0,0,1: 39:[88, 31] Operation: 15+16=31
Exploring Operation: 16-15=1, Resulting Numbers: [88, 1]
Generated Node #0,0,2: 39:[88, 1] Operation: 16-15=1
Exploring Operation: 88+15=103, Resulting Numbers: [16, 103]
Generated Node #0,0,3: 39:[16, 103] Operation: 88+15=103
Exploring Operation: 88-16=72, Resulting Numbers: [15, 72]
Generated Node #0,0,4: 39:[15, 72] Operation: 88-16=72
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 39:[15, 72], Operations: ['81-65=16', '88-16=72']
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,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:[16, 73], Operations: ['81-65=16', '88-15=73']
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,39 unequal: No Solution
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,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,2
Current State: 39:[88, 1], Operations: ['81-65=16', '16-15=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,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,1
Current State: 39:[88, 31], Operations: ['81-65=16', '15+16=31']
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,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,3
Current State: 39:[16, 103], Operations: ['81-65=16', '88+15=103']
Exploring Operation: 16*103=1648, Resulting Numbers: [1648]
1648,39 unequal: No Solution
Exploring Operation: 103-16=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 16+103=119, Resulting Numbers: [119]
119,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[81, 15, 23], Operations: ['88-65=23']
Exploring Operation: 15+23=38, Resulting Numbers: [81, 38]
Generated Node #0,1,0: 39:[81, 38] Operation: 15+23=38
Exploring Operation: 81-23=58, Resulting Numbers: [15, 58]
Generated Node #0,1,1: 39:[15, 58] Operation: 81-23=58
Exploring Operation: 23-15=8, Resulting Numbers: [81, 8]
Generated Node #0,1,2: 39:[81, 8] Operation: 23-15=8
Exploring Operation: 81+15=96, Resulting Numbers: [23, 96]
Generated Node #0,1,3: 39:[23, 96] Operation: 81+15=96
Exploring Operation: 81-15=66, Resulting Numbers: [23, 66]
Generated Node #0,1,4: 39:[23, 66] Operation: 81-15=66
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[15, 58], Operations: ['88-65=23', '81-23=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,39 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[23, 66], Operations: ['88-65=23', '81-15=66']
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[81, 38], Operations: ['88-65=23', '15+23=38']
Exploring Operation: 81*38=3078, Resulting Numbers: [3078]
3078,39 unequal: No Solution
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[81, 8], Operations: ['88-65=23', '23-15=8']
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,39 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[23, 96], Operations: ['88-65=23', '81+15=96']
Exploring Operation: 23*96=2208, Resulting Numbers: [2208]
2208,39 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[81, 65, 73], Operations: ['88-15=73']
Exploring Operation: 81-65=16, Resulting Numbers: [73, 16]
Generated Node #0,2,0: 39:[73, 16] Operation: 81-65=16
Exploring Operation: 81+65=146, Resulting Numbers: [73, 146]
Generated Node #0,2,1: 39:[73, 146] Operation: 81+65=146
Exploring Operation: 81+73=154, Resulting Numbers: [65, 154]
Generated Node #0,2,2: 39:[65, 154] Operation: 81+73=154
Exploring Operation: 73-65=8, Resulting Numbers: [81, 8]
Generated Node #0,2,3: 39:[81, 8] Operation: 73-65=8
Exploring Operation: 81-73=8, Resulting Numbers: [65, 8]
Generated Node #0,2,4: 39:[65, 8] Operation: 81-73=8
Moving to Node #0,2,4
Current State: 39:[65, 8], Operations: ['88-15=73', '81-73=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[73, 16], Operations: ['88-15=73', '81-65=16']
Exploring Operation: 73*16=1168, Resulting Numbers: [1168]
1168,39 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 73+16=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[81, 8], Operations: ['88-15=73', '73-65=8']
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,39 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[73, 146], Operations: ['88-15=73', '81+65=146']
Exploring Operation: 146/73=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 146-73=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Exploring Operation: 73*146=10658, Resulting Numbers: [10658]
10658,39 unequal: No Solution
Exploring Operation: 73+146=219, Resulting Numbers: [219]
219,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[65, 154], Operations: ['88-15=73', '81+73=154']
Exploring Operation: 65*154=10010, Resulting Numbers: [10010]
10010,39 unequal: No Solution
Exploring Operation: 65+154=219, Resulting Numbers: [219]
219,39 unequal: No Solution
Exploring Operation: 154-65=89, Resulting Numbers: [89]
89,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[88, 65, 66], Operations: ['81-15=66']
Exploring Operation: 88-65=23, Resulting Numbers: [66, 23]
Generated Node #0,3,0: 39:[66, 23] Operation: 88-65=23
Exploring Operation: 66-65=1, Resulting Numbers: [88, 1]
Generated Node #0,3,1: 39:[88, 1] Operation: 66-65=1
Exploring Operation: 88-66=22, Resulting Numbers: [65, 22]
Generated Node #0,3,2: 39:[65, 22] Operation: 88-66=22
Exploring Operation: 88+65=153, Resulting Numbers: [66, 153]
Generated Node #0,3,3: 39:[66, 153] Operation: 88+65=153
Exploring Operation: 88+66=154, Resulting Numbers: [65, 154]
Generated Node #0,3,4: 39:[65, 154] Operation: 88+66=154
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[65, 22], Operations: ['81-15=66', '88-66=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[66, 23], Operations: ['81-15=66', '88-65=23']
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,39 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[88, 1], Operations: ['81-15=66', '66-65=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[66, 153], Operations: ['81-15=66', '88+65=153']
Exploring Operation: 153-66=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 66*153=10098, Resulting Numbers: [10098]
10098,39 unequal: No Solution
Exploring Operation: 66+153=219, Resulting Numbers: [219]
219,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[65, 154], Operations: ['81-15=66', '88+66=154']
Exploring Operation: 65*154=10010, Resulting Numbers: [10010]
10010,39 unequal: No Solution
Exploring Operation: 154-65=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 65+154=219, Resulting Numbers: [219]
219,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_5 | mult_heuristic |
[
8,
6,
68,
48
] | 44 | [
"8-6=2",
"48/2=24",
"68-24=44"
] | Current State: 44:[8, 6, 68, 48], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [68, 48, 2]
Generated Node #2: [68, 48, 2] from Operation: 8-6=2
Current State: 44:[68, 48, 2], Operations: ['8-6=2']
Exploring Operation: 48/2=24, Resulting Numbers: [68, 24]
Generated Node #3: [68, 24] from Operation: 48/2=24
Current State: 44:[68, 24], Operations: ['8-6=2', '48/2=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[8, 6, 68, 48], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [6, 48, 60]
Generated Node #0,0: 44:[6, 48, 60] Operation: 68-8=60
Exploring Operation: 68-48=20, Resulting Numbers: [8, 6, 20]
Generated Node #0,1: 44:[8, 6, 20] Operation: 68-48=20
Exploring Operation: 68-6=62, Resulting Numbers: [8, 48, 62]
Generated Node #0,2: 44:[8, 48, 62] Operation: 68-6=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[8, 6, 20], Operations: ['68-48=20']
Exploring Operation: 8-6=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 44:[20, 2] Operation: 8-6=2
Exploring Operation: 20-8=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 44:[6, 12] Operation: 20-8=12
Exploring Operation: 8+6=14, Resulting Numbers: [20, 14]
Generated Node #0,1,2: 44:[20, 14] Operation: 8+6=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[20, 2], Operations: ['68-48=20', '8-6=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[6, 12], Operations: ['68-48=20', '20-8=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[20, 14], Operations: ['68-48=20', '8+6=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[6, 48, 60], Operations: ['68-8=60']
Exploring Operation: 60-6=54, Resulting Numbers: [48, 54]
Generated Node #0,0,0: 44:[48, 54] Operation: 60-6=54
Exploring Operation: 60/6=10, Resulting Numbers: [48, 10]
Generated Node #0,0,1: 44:[48, 10] Operation: 60/6=10
Exploring Operation: 60-48=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 44:[6, 12] Operation: 60-48=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[6, 12], Operations: ['68-8=60', '60-48=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[48, 10], Operations: ['68-8=60', '60/6=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,44 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[48, 54], Operations: ['68-8=60', '60-6=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,44 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[8, 48, 62], Operations: ['68-6=62']
Exploring Operation: 48/8=6, Resulting Numbers: [62, 6]
Generated Node #0,2,0: 44:[62, 6] Operation: 48/8=6
Exploring Operation: 62-48=14, Resulting Numbers: [8, 14]
Generated Node #0,2,1: 44:[8, 14] Operation: 62-48=14
Exploring Operation: 62-8=54, Resulting Numbers: [48, 54]
Generated Node #0,2,2: 44:[48, 54] Operation: 62-8=54
Moving to Node #0,2,1
Current State: 44:[8, 14], Operations: ['68-6=62', '62-48=14']
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,44 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[48, 54], Operations: ['68-6=62', '62-8=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,44 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[62, 6], Operations: ['68-6=62', '48/8=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,44 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
90,
75,
33
] | 16 | [
"80*33=2640",
"90+75=165",
"2640/165=16"
] | Current State: 16:[80, 90, 75, 33], Operations: []
Exploring Operation: 80*33=2640, Resulting Numbers: [90, 75, 2640]
Generated Node #2: [90, 75, 2640] from Operation: 80*33=2640
Current State: 16:[90, 75, 2640], Operations: ['80*33=2640']
Exploring Operation: 90+75=165, Resulting Numbers: [2640, 165]
Generated Node #3: [2640, 165] from Operation: 90+75=165
Current State: 16:[2640, 165], Operations: ['80*33=2640', '90+75=165']
Exploring Operation: 2640/165=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[80, 90, 75, 33], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [75, 33, 10]
Generated Node #0,0: 16:[75, 33, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[75, 33, 10], Operations: ['90-80=10']
Exploring Operation: 75-33=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 16:[10, 42] Operation: 75-33=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[10, 42], Operations: ['90-80=10', '75-33=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
5,
2,
3
] | 25 | [
"12-2=10",
"5*3=15",
"10+15=25"
] | Current State: 25:[12, 5, 2, 3], Operations: []
Exploring Operation: 12-2=10, Resulting Numbers: [5, 3, 10]
Generated Node #2: [5, 3, 10] from Operation: 12-2=10
Current State: 25:[5, 3, 10], Operations: ['12-2=10']
Exploring Operation: 5*3=15, Resulting Numbers: [10, 15]
Generated Node #3: [10, 15] from Operation: 5*3=15
Current State: 25:[10, 15], Operations: ['12-2=10', '5*3=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 5, 2, 3], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [5, 3, 6]
Generated Node #0,0: 25:[5, 3, 6] Operation: 12/2=6
Exploring Operation: 12*2=24, Resulting Numbers: [5, 3, 24]
Generated Node #0,1: 25:[5, 3, 24] Operation: 12*2=24
Moving to Node #0,0
Current State: 25:[5, 3, 6], Operations: ['12/2=6']
Exploring Operation: 6/3=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 25:[5, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 25:[5, 3] Operation: 6-3=3
Moving to Node #0,1
Current State: 25:[5, 3, 24], Operations: ['12*2=24']
Exploring Operation: 24/3=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 25:[5, 8] Operation: 24/3=8
Exploring Operation: 3+24=27, Resulting Numbers: [5, 27]
Generated Node #0,1,1: 25:[5, 27] Operation: 3+24=27
Moving to Node #0,0,1
Current State: 25:[5, 3], Operations: ['12/2=6', '6-3=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[5, 27], Operations: ['12*2=24', '3+24=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[5, 2], Operations: ['12/2=6', '6/3=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[5, 8], Operations: ['12*2=24', '24/3=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
91,
18,
39
] | 15 | [
"91-78=13",
"39/13=3",
"18-3=15"
] | Current State: 15:[78, 91, 18, 39], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [18, 39, 13]
Generated Node #2: [18, 39, 13] from Operation: 91-78=13
Current State: 15:[18, 39, 13], Operations: ['91-78=13']
Exploring Operation: 39/13=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 39/13=3
Current State: 15:[18, 3], Operations: ['91-78=13', '39/13=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[78, 91, 18, 39], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [18, 39, 13]
Generated Node #0,0: 15:[18, 39, 13] Operation: 91-78=13
Moving to Node #0,0
Current State: 15:[18, 39, 13], Operations: ['91-78=13']
Exploring Operation: 39/13=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 15:[18, 3] Operation: 39/13=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[18, 3], Operations: ['91-78=13', '39/13=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[78, 91, 18, 39], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [18, 39, 13]
Generated Node #0,0: 15:[18, 39, 13] Operation: 91-78=13
Moving to Node #0,0
Current State: 15:[18, 39, 13], Operations: ['91-78=13']
Exploring Operation: 39/13=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 15:[18, 3] Operation: 39/13=3
Moving to Node #0,0,0
Current State: 15:[18, 3], Operations: ['91-78=13', '39/13=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
39,
71,
2,
50
] | 58 | [
"39+71=110",
"2+50=52",
"110-52=58"
] | Current State: 58:[39, 71, 2, 50], Operations: []
Exploring Operation: 39+71=110, Resulting Numbers: [2, 50, 110]
Generated Node #2: [2, 50, 110] from Operation: 39+71=110
Current State: 58:[2, 50, 110], Operations: ['39+71=110']
Exploring Operation: 2+50=52, Resulting Numbers: [110, 52]
Generated Node #3: [110, 52] from Operation: 2+50=52
Current State: 58:[110, 52], Operations: ['39+71=110', '2+50=52']
Exploring Operation: 110-52=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[39, 71, 2, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [39, 71, 25]
Generated Node #0,0: 58:[39, 71, 25] Operation: 50/2=25
Exploring Operation: 50-39=11, Resulting Numbers: [71, 2, 11]
Generated Node #0,1: 58:[71, 2, 11] Operation: 50-39=11
Exploring Operation: 71-39=32, Resulting Numbers: [2, 50, 32]
Generated Node #0,2: 58:[2, 50, 32] Operation: 71-39=32
Exploring Operation: 39-2=37, Resulting Numbers: [71, 50, 37]
Generated Node #0,3: 58:[71, 50, 37] Operation: 39-2=37
Exploring Operation: 71-50=21, Resulting Numbers: [39, 2, 21]
Generated Node #0,4: 58:[39, 2, 21] Operation: 71-50=21
Moving to Node #0,2
Current State: 58:[2, 50, 32], Operations: ['71-39=32']
Exploring Operation: 50/2=25, Resulting Numbers: [32, 25]
Generated Node #0,2,0: 58:[32, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [32, 48]
Generated Node #0,2,1: 58:[32, 48] Operation: 50-2=48
Exploring Operation: 32-2=30, Resulting Numbers: [50, 30]
Generated Node #0,2,2: 58:[50, 30] Operation: 32-2=30
Exploring Operation: 2+50=52, Resulting Numbers: [32, 52]
Generated Node #0,2,3: 58:[32, 52] Operation: 2+50=52
Exploring Operation: 50-32=18, Resulting Numbers: [2, 18]
Generated Node #0,2,4: 58:[2, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[32, 25], Operations: ['71-39=32', '50/2=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[50, 30], Operations: ['71-39=32', '32-2=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,58 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[32, 52], Operations: ['71-39=32', '2+50=52']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,58 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 58:[2, 18], Operations: ['71-39=32', '50-32=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[32, 48], Operations: ['71-39=32', '50-2=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,58 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,58 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: 58:[39, 2, 21], Operations: ['71-50=21']
Exploring Operation: 39+2=41, Resulting Numbers: [21, 41]
Generated Node #0,4,0: 58:[21, 41] Operation: 39+2=41
Exploring Operation: 2+21=23, Resulting Numbers: [39, 23]
Generated Node #0,4,1: 58:[39, 23] Operation: 2+21=23
Exploring Operation: 39+21=60, Resulting Numbers: [2, 60]
Generated Node #0,4,2: 58:[2, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [2, 18]
Generated Node #0,4,3: 58:[2, 18] Operation: 39-21=18
Exploring Operation: 39-2=37, Resulting Numbers: [21, 37]
Generated Node #0,4,4: 58:[21, 37] Operation: 39-2=37
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 58:[2, 60], Operations: ['71-50=21', '39+21=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[39, 71, 2, 50], Operations: []
Exploring Operation: 71-50=21, Resulting Numbers: [39, 2, 21]
Generated Node #0,4: 58:[39, 2, 21] Operation: 71-50=21
Moving to Node #0,4
Current State: 58:[39, 2, 21], Operations: ['71-50=21']
Exploring Operation: 39+21=60, Resulting Numbers: [2, 60]
Generated Node #0,4,2: 58:[2, 60] Operation: 39+21=60
Moving to Node #0,4,2
Current State: 58:[2, 60], Operations: ['71-50=21', '39+21=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
48,
51,
90,
15
] | 72 | [
"51-48=3",
"90-15=75",
"75-3=72"
] | Current State: 72:[48, 51, 90, 15], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [90, 15, 3]
Generated Node #2: [90, 15, 3] from Operation: 51-48=3
Current State: 72:[90, 15, 3], Operations: ['51-48=3']
Exploring Operation: 90-15=75, Resulting Numbers: [3, 75]
Generated Node #3: [3, 75] from Operation: 90-15=75
Current State: 72:[3, 75], Operations: ['51-48=3', '90-15=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[48, 51, 90, 15], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [48, 15, 39]
Generated Node #0,0: 72:[48, 15, 39] Operation: 90-51=39
Exploring Operation: 90-48=42, Resulting Numbers: [51, 15, 42]
Generated Node #0,1: 72:[51, 15, 42] Operation: 90-48=42
Exploring Operation: 51-48=3, Resulting Numbers: [90, 15, 3]
Generated Node #0,2: 72:[90, 15, 3] Operation: 51-48=3
Exploring Operation: 90/15=6, Resulting Numbers: [48, 51, 6]
Generated Node #0,3: 72:[48, 51, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[48, 15, 39], Operations: ['90-51=39']
Exploring Operation: 48-39=9, Resulting Numbers: [15, 9]
Generated Node #0,0,0: 72:[15, 9] Operation: 48-39=9
Exploring Operation: 48-15=33, Resulting Numbers: [39, 33]
Generated Node #0,0,1: 72:[39, 33] Operation: 48-15=33
Exploring Operation: 39-15=24, Resulting Numbers: [48, 24]
Generated Node #0,0,2: 72:[48, 24] Operation: 39-15=24
Exploring Operation: 48+15=63, Resulting Numbers: [39, 63]
Generated Node #0,0,3: 72:[39, 63] Operation: 48+15=63
Moving to Node #0,0,0
Current State: 72:[15, 9], Operations: ['90-51=39', '48-39=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[39, 33], Operations: ['90-51=39', '48-15=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,72 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[48, 51, 90, 15], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [48, 15, 39]
Generated Node #0,0: 72:[48, 15, 39] Operation: 90-51=39
Moving to Node #0,0
Current State: 72:[48, 15, 39], Operations: ['90-51=39']
Exploring Operation: 48-15=33, Resulting Numbers: [39, 33]
Generated Node #0,0,1: 72:[39, 33] Operation: 48-15=33
Moving to Node #0,0,1
Current State: 72:[39, 33], Operations: ['90-51=39', '48-15=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
93,
99,
3,
32
] | 98 | [
"93/3=31",
"99-32=67",
"31+67=98"
] | Current State: 98:[93, 99, 3, 32], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [99, 32, 31]
Generated Node #2: [99, 32, 31] from Operation: 93/3=31
Current State: 98:[99, 32, 31], Operations: ['93/3=31']
Exploring Operation: 99-32=67, Resulting Numbers: [31, 67]
Generated Node #3: [31, 67] from Operation: 99-32=67
Current State: 98:[31, 67], Operations: ['93/3=31', '99-32=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[93, 99, 3, 32], Operations: []
Exploring Operation: 3*32=96, Resulting Numbers: [93, 99, 96]
Generated Node #0,0: 98:[93, 99, 96] Operation: 3*32=96
Exploring Operation: 93-32=61, Resulting Numbers: [99, 3, 61]
Generated Node #0,1: 98:[99, 3, 61] Operation: 93-32=61
Moving to Node #0,0
Current State: 98:[93, 99, 96], Operations: ['3*32=96']
Exploring Operation: 96-93=3, Resulting Numbers: [99, 3]
Generated Node #0,0,0: 98:[99, 3] Operation: 96-93=3
Exploring Operation: 99-93=6, Resulting Numbers: [96, 6]
Generated Node #0,0,1: 98:[96, 6] Operation: 99-93=6
Moving to Node #0,1
Current State: 98:[99, 3, 61], Operations: ['93-32=61']
Exploring Operation: 61-3=58, Resulting Numbers: [99, 58]
Generated Node #0,1,0: 98:[99, 58] Operation: 61-3=58
Exploring Operation: 99-61=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 98:[3, 38] Operation: 99-61=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[99, 58], Operations: ['93-32=61', '61-3=58']
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,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,1,1
Current State: 98:[3, 38], Operations: ['93-32=61', '99-61=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,98 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: 98:[99, 3], Operations: ['3*32=96', '96-93=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[96, 6], Operations: ['3*32=96', '99-93=6']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,98 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
12,
12,
84
] | 48 | [
"60-12=48",
"12+84=96",
"96-48=48"
] | Current State: 48:[60, 12, 12, 84], Operations: []
Exploring Operation: 60-12=48, Resulting Numbers: [84, 48]
Generated Node #2: [84, 48] from Operation: 60-12=48
Current State: 48:[84, 48], Operations: ['60-12=48']
Exploring Operation: 12+84=96, Resulting Numbers: [48, 96]
Generated Node #3: [48, 96] from Operation: 12+84=96
Current State: 48:[48, 96], Operations: ['60-12=48', '12+84=96']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[60, 12, 12, 84], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [60, 12, 7]
Generated Node #0,0: 48:[60, 12, 7] Operation: 84/12=7
Exploring Operation: 84-60=24, Resulting Numbers: [12, 12, 24]
Generated Node #0,1: 48:[12, 12, 24] Operation: 84-60=24
Moving to Node #0,1
Current State: 48:[12, 12, 24], Operations: ['84-60=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12, 12]
Generated Node #0,1,0: 48:[12, 12] Operation: 24-12=12
Exploring Operation: 12+12=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 48:[24, 24] Operation: 12+12=24
Moving to Node #0,0
Current State: 48:[60, 12, 7], Operations: ['84/12=7']
Exploring Operation: 60-12=48, Resulting Numbers: [7, 48]
Generated Node #0,0,0: 48:[7, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [7, 5]
Generated Node #0,0,1: 48:[7, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[7, 48], Operations: ['84/12=7', '60-12=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[7, 5], Operations: ['84/12=7', '60/12=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,48 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: 48:[12, 12], Operations: ['84-60=24', '24-12=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[24, 24], Operations: ['84-60=24', '12+12=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[60, 12, 12, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [12, 12, 24]
Generated Node #0,1: 48:[12, 12, 24] Operation: 84-60=24
Moving to Node #0,1
Current State: 48:[12, 12, 24], Operations: ['84-60=24']
Exploring Operation: 12+12=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 48:[24, 24] Operation: 12+12=24
Moving to Node #0,1,1
Current State: 48:[24, 24], Operations: ['84-60=24', '12+12=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
35,
61,
2,
27
] | 75 | [
"35+61=96",
"96/2=48",
"27+48=75"
] | Current State: 75:[35, 61, 2, 27], Operations: []
Exploring Operation: 35+61=96, Resulting Numbers: [2, 27, 96]
Generated Node #2: [2, 27, 96] from Operation: 35+61=96
Current State: 75:[2, 27, 96], Operations: ['35+61=96']
Exploring Operation: 96/2=48, Resulting Numbers: [27, 48]
Generated Node #3: [27, 48] from Operation: 96/2=48
Current State: 75:[27, 48], Operations: ['35+61=96', '96/2=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[35, 61, 2, 27], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [2, 27, 26]
Generated Node #0,0: 75:[2, 27, 26] Operation: 61-35=26
Exploring Operation: 61-27=34, Resulting Numbers: [35, 2, 34]
Generated Node #0,1: 75:[35, 2, 34] Operation: 61-27=34
Exploring Operation: 35-27=8, Resulting Numbers: [61, 2, 8]
Generated Node #0,2: 75:[61, 2, 8] Operation: 35-27=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 27, 26], Operations: ['61-35=26']
Exploring Operation: 27-26=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 75:[2, 1] Operation: 27-26=1
Exploring Operation: 26-2=24, Resulting Numbers: [27, 24]
Generated Node #0,0,1: 75:[27, 24] Operation: 26-2=24
Exploring Operation: 27-2=25, Resulting Numbers: [26, 25]
Generated Node #0,0,2: 75:[26, 25] Operation: 27-2=25
Moving to Node #0,0,2
Current State: 75:[26, 25], Operations: ['61-35=26', '27-2=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,75 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[2, 1], Operations: ['61-35=26', '27-26=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[27, 24], Operations: ['61-35=26', '26-2=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,75 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[61, 2, 8], Operations: ['35-27=8']
Exploring Operation: 61+2=63, Resulting Numbers: [8, 63]
Generated Node #0,2,0: 75:[8, 63] Operation: 61+2=63
Exploring Operation: 61+8=69, Resulting Numbers: [2, 69]
Generated Node #0,2,1: 75:[2, 69] Operation: 61+8=69
Exploring Operation: 2*8=16, Resulting Numbers: [61, 16]
Generated Node #0,2,2: 75:[61, 16] Operation: 2*8=16
Moving to Node #0,2,1
Current State: 75:[2, 69], Operations: ['35-27=8', '61+8=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[8, 63], Operations: ['35-27=8', '61+2=63']
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[61, 16], Operations: ['35-27=8', '2*8=16']
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,75 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[35, 2, 34], Operations: ['61-27=34']
Exploring Operation: 35+34=69, Resulting Numbers: [2, 69]
Generated Node #0,1,0: 75:[2, 69] Operation: 35+34=69
Exploring Operation: 34/2=17, Resulting Numbers: [35, 17]
Generated Node #0,1,1: 75:[35, 17] Operation: 34/2=17
Exploring Operation: 35-34=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 75:[2, 1] Operation: 35-34=1
Moving to Node #0,1,2
Current State: 75:[2, 1], Operations: ['61-27=34', '35-34=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[2, 69], Operations: ['61-27=34', '35+34=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[35, 17], Operations: ['61-27=34', '34/2=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,75 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 |
[
91,
74,
87,
87
] | 52 | [
"91-87=4",
"87-74=13",
"4*13=52"
] | Current State: 52:[91, 74, 87, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [74, 4]
Generated Node #2: [74, 4] from Operation: 91-87=4
Current State: 52:[74, 4], Operations: ['91-87=4']
Exploring Operation: 87-74=13, Resulting Numbers: [4, 13]
Generated Node #3: [4, 13] from Operation: 87-74=13
Current State: 52:[4, 13], Operations: ['91-87=4', '87-74=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[91, 74, 87, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [74, 87, 4]
Generated Node #0,0: 52:[74, 87, 4] Operation: 91-87=4
Exploring Operation: 87-87=0, Resulting Numbers: [91, 74, 0]
Generated Node #0,1: 52:[91, 74, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [91, 74, 1]
Generated Node #0,2: 52:[91, 74, 1] Operation: 87/87=1
Exploring Operation: 91-87=4, Resulting Numbers: [74, 87, 4]
Generated Node #0,3: 52:[74, 87, 4] Operation: 91-87=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[74, 87, 4], Operations: ['91-87=4']
Exploring Operation: 74+4=78, Resulting Numbers: [87, 78]
Generated Node #0,0,0: 52:[87, 78] Operation: 74+4=78
Exploring Operation: 74-4=70, Resulting Numbers: [87, 70]
Generated Node #0,0,1: 52:[87, 70] Operation: 74-4=70
Exploring Operation: 87-4=83, Resulting Numbers: [74, 83]
Generated Node #0,0,2: 52:[74, 83] Operation: 87-4=83
Exploring Operation: 87-74=13, Resulting Numbers: [4, 13]
Generated Node #0,0,3: 52:[4, 13] Operation: 87-74=13
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[4, 13], Operations: ['91-87=4', '87-74=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[91, 74, 87, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [74, 87, 4]
Generated Node #0,0: 52:[74, 87, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 52:[74, 87, 4], Operations: ['91-87=4']
Exploring Operation: 87-74=13, Resulting Numbers: [4, 13]
Generated Node #0,0,3: 52:[4, 13] Operation: 87-74=13
Moving to Node #0,0,3
Current State: 52:[4, 13], Operations: ['91-87=4', '87-74=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
10,
38,
35,
29
] | 42 | [
"10+38=48",
"35-29=6",
"48-6=42"
] | Current State: 42:[10, 38, 35, 29], Operations: []
Exploring Operation: 10+38=48, Resulting Numbers: [35, 29, 48]
Generated Node #2: [35, 29, 48] from Operation: 10+38=48
Current State: 42:[35, 29, 48], Operations: ['10+38=48']
Exploring Operation: 35-29=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 35-29=6
Current State: 42:[48, 6], Operations: ['10+38=48', '35-29=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 38, 35, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [10, 38, 6]
Generated Node #0,0: 42:[10, 38, 6] Operation: 35-29=6
Moving to Node #0,0
Current State: 42:[10, 38, 6], Operations: ['35-29=6']
Exploring Operation: 10-6=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 42:[38, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[38, 4], Operations: ['35-29=6', '10-6=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 38, 35, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [10, 38, 6]
Generated Node #0,0: 42:[10, 38, 6] Operation: 35-29=6
Moving to Node #0,0
Current State: 42:[10, 38, 6], Operations: ['35-29=6']
Exploring Operation: 10-6=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 42:[38, 4] Operation: 10-6=4
Moving to Node #0,0,0
Current State: 42:[38, 4], Operations: ['35-29=6', '10-6=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
88,
44,
58
] | 32 | [
"88-42=46",
"58-44=14",
"46-14=32"
] | Current State: 32:[42, 88, 44, 58], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [44, 58, 46]
Generated Node #2: [44, 58, 46] from Operation: 88-42=46
Current State: 32:[44, 58, 46], Operations: ['88-42=46']
Exploring Operation: 58-44=14, Resulting Numbers: [46, 14]
Generated Node #3: [46, 14] from Operation: 58-44=14
Current State: 32:[46, 14], Operations: ['88-42=46', '58-44=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[42, 88, 44, 58], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [42, 44, 30]
Generated Node #0,0: 32:[42, 44, 30] Operation: 88-58=30
Exploring Operation: 88-42=46, Resulting Numbers: [44, 58, 46]
Generated Node #0,1: 32:[44, 58, 46] Operation: 88-42=46
Exploring Operation: 88/44=2, Resulting Numbers: [42, 58, 2]
Generated Node #0,2: 32:[42, 58, 2] Operation: 88/44=2
Exploring Operation: 58-42=16, Resulting Numbers: [88, 44, 16]
Generated Node #0,3: 32:[88, 44, 16] Operation: 58-42=16
Exploring Operation: 88-44=44, Resulting Numbers: [42, 58, 44]
Generated Node #0,4: 32:[42, 58, 44] Operation: 88-44=44
Moving to Node #0,0
Current State: 32:[42, 44, 30], Operations: ['88-58=30']
Exploring Operation: 44-42=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 44-42=2
Exploring Operation: 44+30=74, Resulting Numbers: [42, 74]
Generated Node #0,0,1: 32:[42, 74] Operation: 44+30=74
Exploring Operation: 42-30=12, Resulting Numbers: [44, 12]
Generated Node #0,0,2: 32:[44, 12] Operation: 42-30=12
Exploring Operation: 44-30=14, Resulting Numbers: [42, 14]
Generated Node #0,0,3: 32:[42, 14] Operation: 44-30=14
Exploring Operation: 42+30=72, Resulting Numbers: [44, 72]
Generated Node #0,0,4: 32:[44, 72] Operation: 42+30=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['88-58=30', '44-42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[42, 88, 44, 58], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [42, 44, 30]
Generated Node #0,0: 32:[42, 44, 30] Operation: 88-58=30
Moving to Node #0,0
Current State: 32:[42, 44, 30], Operations: ['88-58=30']
Exploring Operation: 44-42=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['88-58=30', '44-42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
30,
60,
10,
23
] | 63 | [
"60-30=30",
"10+23=33",
"30+33=63"
] | Current State: 63:[30, 60, 10, 23], Operations: []
Exploring Operation: 60-30=30, Resulting Numbers: [10, 23, 30]
Generated Node #2: [10, 23, 30] from Operation: 60-30=30
Current State: 63:[10, 23, 30], Operations: ['60-30=30']
Exploring Operation: 10+23=33, Resulting Numbers: [30, 33]
Generated Node #3: [30, 33] from Operation: 10+23=33
Current State: 63:[30, 33], Operations: ['60-30=30', '10+23=33']
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[30, 60, 10, 23], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [60, 10, 7]
Generated Node #0,0: 63:[60, 10, 7] Operation: 30-23=7
Exploring Operation: 30/10=3, Resulting Numbers: [60, 23, 3]
Generated Node #0,1: 63:[60, 23, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [60, 23, 20]
Generated Node #0,2: 63:[60, 23, 20] Operation: 30-10=20
Exploring Operation: 60/30=2, Resulting Numbers: [10, 23, 2]
Generated Node #0,3: 63:[10, 23, 2] Operation: 60/30=2
Moving to Node #0,0
Current State: 63:[60, 10, 7], Operations: ['30-23=7']
Exploring Operation: 10-7=3, Resulting Numbers: [60, 3]
Generated Node #0,0,0: 63:[60, 3] Operation: 10-7=3
Exploring Operation: 60+7=67, Resulting Numbers: [10, 67]
Generated Node #0,0,1: 63:[10, 67] Operation: 60+7=67
Exploring Operation: 60+10=70, Resulting Numbers: [7, 70]
Generated Node #0,0,2: 63:[7, 70] Operation: 60+10=70
Exploring Operation: 60/10=6, Resulting Numbers: [7, 6]
Generated Node #0,0,3: 63:[7, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[7, 6], Operations: ['30-23=7', '60/10=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[60, 3], Operations: ['30-23=7', '10-7=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[30, 60, 10, 23], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [60, 10, 7]
Generated Node #0,0: 63:[60, 10, 7] Operation: 30-23=7
Moving to Node #0,0
Current State: 63:[60, 10, 7], Operations: ['30-23=7']
Exploring Operation: 10-7=3, Resulting Numbers: [60, 3]
Generated Node #0,0,0: 63:[60, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 63:[60, 3], Operations: ['30-23=7', '10-7=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
62,
31,
7,
49
] | 86 | [
"62+31=93",
"49/7=7",
"93-7=86"
] | Current State: 86:[62, 31, 7, 49], Operations: []
Exploring Operation: 62+31=93, Resulting Numbers: [7, 49, 93]
Generated Node #2: [7, 49, 93] from Operation: 62+31=93
Current State: 86:[7, 49, 93], Operations: ['62+31=93']
Exploring Operation: 49/7=7, Resulting Numbers: [93, 7]
Generated Node #3: [93, 7] from Operation: 49/7=7
Current State: 86:[93, 7], Operations: ['62+31=93', '49/7=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[62, 31, 7, 49], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [7, 49, 2]
Generated Node #0,0: 86:[7, 49, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [7, 49, 31]
Generated Node #0,1: 86:[7, 49, 31] Operation: 62-31=31
Exploring Operation: 62+31=93, Resulting Numbers: [7, 49, 93]
Generated Node #0,2: 86:[7, 49, 93] Operation: 62+31=93
Moving to Node #0,0
Current State: 86:[7, 49, 2], Operations: ['62/31=2']
Exploring Operation: 49-7=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 86:[2, 42] Operation: 49-7=42
Exploring Operation: 7-2=5, Resulting Numbers: [49, 5]
Generated Node #0,0,1: 86:[49, 5] Operation: 7-2=5
Exploring Operation: 49/7=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 86:[2, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[2, 42], Operations: ['62/31=2', '49-7=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[2, 7], Operations: ['62/31=2', '49/7=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[49, 5], Operations: ['62/31=2', '7-2=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,86 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[7, 49, 93], Operations: ['62+31=93']
Exploring Operation: 93-49=44, Resulting Numbers: [7, 44]
Generated Node #0,2,0: 86:[7, 44] Operation: 93-49=44
Exploring Operation: 93-7=86, Resulting Numbers: [49, 86]
Generated Node #0,2,1: 86:[49, 86] Operation: 93-7=86
Exploring Operation: 49-7=42, Resulting Numbers: [93, 42]
Generated Node #0,2,2: 86:[93, 42] Operation: 49-7=42
Moving to Node #0,1
Current State: 86:[7, 49, 31], Operations: ['62-31=31']
Exploring Operation: 7+31=38, Resulting Numbers: [49, 38]
Generated Node #0,1,0: 86:[49, 38] Operation: 7+31=38
Exploring Operation: 49-7=42, Resulting Numbers: [31, 42]
Generated Node #0,1,1: 86:[31, 42] Operation: 49-7=42
Exploring Operation: 49+31=80, Resulting Numbers: [7, 80]
Generated Node #0,1,2: 86:[7, 80] Operation: 49+31=80
Moving to Node #0,2,0
Current State: 86:[7, 44], Operations: ['62+31=93', '93-49=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,86 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[49, 86], Operations: ['62+31=93', '93-7=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[93, 42], Operations: ['62+31=93', '49-7=42']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 93+42=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 93*42=3906, Resulting Numbers: [3906]
3906,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[7, 80], Operations: ['62-31=31', '49+31=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,86 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[49, 38], Operations: ['62-31=31', '7+31=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[31, 42], Operations: ['62-31=31', '49-7=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 31*42=1302, Resulting Numbers: [1302]
1302,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
59,
84,
84,
17
] | 41 | [
"59-17=42",
"84/84=1",
"42-1=41"
] | Current State: 41:[59, 84, 84, 17], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [84, 84, 42]
Generated Node #2: [84, 84, 42] from Operation: 59-17=42
Current State: 41:[84, 84, 42], Operations: ['59-17=42']
Exploring Operation: 84/84=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 84/84=1
Current State: 41:[42, 1], Operations: ['59-17=42', '84/84=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[59, 84, 84, 17], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [84, 17, 25]
Generated Node #0,0: 41:[84, 17, 25] Operation: 84-59=25
Exploring Operation: 84/84=1, Resulting Numbers: [59, 17, 1]
Generated Node #0,1: 41:[59, 17, 1] Operation: 84/84=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[59, 17, 1], Operations: ['84/84=1']
Exploring Operation: 59-1=58, Resulting Numbers: [17, 58]
Generated Node #0,1,0: 41:[17, 58] Operation: 59-1=58
Exploring Operation: 59-17=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 41:[1, 42] Operation: 59-17=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[17, 58], Operations: ['84/84=1', '59-1=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[59, 84, 84, 17], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [59, 17, 1]
Generated Node #0,1: 41:[59, 17, 1] Operation: 84/84=1
Moving to Node #0,1
Current State: 41:[59, 17, 1], Operations: ['84/84=1']
Exploring Operation: 59-1=58, Resulting Numbers: [17, 58]
Generated Node #0,1,0: 41:[17, 58] Operation: 59-1=58
Moving to Node #0,1,0
Current State: 41:[17, 58], Operations: ['84/84=1', '59-1=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
80,
38,
26,
59
] | 13 | [
"80+38=118",
"26*59=1534",
"1534/118=13"
] | Current State: 13:[80, 38, 26, 59], Operations: []
Exploring Operation: 80+38=118, Resulting Numbers: [26, 59, 118]
Generated Node #2: [26, 59, 118] from Operation: 80+38=118
Current State: 13:[26, 59, 118], Operations: ['80+38=118']
Exploring Operation: 26*59=1534, Resulting Numbers: [118, 1534]
Generated Node #3: [118, 1534] from Operation: 26*59=1534
Current State: 13:[118, 1534], Operations: ['80+38=118', '26*59=1534']
Exploring Operation: 1534/118=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[80, 38, 26, 59], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [26, 59, 42]
Generated Node #0,0: 13:[26, 59, 42] Operation: 80-38=42
Exploring Operation: 59-38=21, Resulting Numbers: [80, 26, 21]
Generated Node #0,1: 13:[80, 26, 21] Operation: 59-38=21
Exploring Operation: 80-59=21, Resulting Numbers: [38, 26, 21]
Generated Node #0,2: 13:[38, 26, 21] Operation: 80-59=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[38, 26, 21], Operations: ['80-59=21']
Exploring Operation: 38-26=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 13:[21, 12] Operation: 38-26=12
Exploring Operation: 26-21=5, Resulting Numbers: [38, 5]
Generated Node #0,2,1: 13:[38, 5] Operation: 26-21=5
Exploring Operation: 38-21=17, Resulting Numbers: [26, 17]
Generated Node #0,2,2: 13:[26, 17] Operation: 38-21=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[21, 12], Operations: ['80-59=21', '38-26=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,13 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[26, 17], Operations: ['80-59=21', '38-21=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[38, 5], Operations: ['80-59=21', '26-21=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,13 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[26, 59, 42], Operations: ['80-38=42']
Exploring Operation: 59-42=17, Resulting Numbers: [26, 17]
Generated Node #0,0,0: 13:[26, 17] Operation: 59-42=17
Exploring Operation: 42-26=16, Resulting Numbers: [59, 16]
Generated Node #0,0,1: 13:[59, 16] Operation: 42-26=16
Exploring Operation: 59-26=33, Resulting Numbers: [42, 33]
Generated Node #0,0,2: 13:[42, 33] Operation: 59-26=33
Moving to Node #0,0,0
Current State: 13:[26, 17], Operations: ['80-38=42', '59-42=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,13 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[59, 16], Operations: ['80-38=42', '42-26=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[42, 33], Operations: ['80-38=42', '59-26=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,13 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No 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: 13:[80, 26, 21], Operations: ['59-38=21']
Exploring Operation: 80-26=54, Resulting Numbers: [21, 54]
Generated Node #0,1,0: 13:[21, 54] Operation: 80-26=54
Exploring Operation: 26-21=5, Resulting Numbers: [80, 5]
Generated Node #0,1,1: 13:[80, 5] Operation: 26-21=5
Exploring Operation: 80-21=59, Resulting Numbers: [26, 59]
Generated Node #0,1,2: 13:[26, 59] Operation: 80-21=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[21, 54], Operations: ['59-38=21', '80-26=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,13 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[26, 59], Operations: ['59-38=21', '80-21=59']
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,13 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[80, 5], Operations: ['59-38=21', '26-21=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,13 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
67,
17,
68,
35
] | 74 | [
"67+35=102",
"102/17=6",
"68+6=74"
] | Current State: 74:[67, 17, 68, 35], Operations: []
Exploring Operation: 67+35=102, Resulting Numbers: [17, 68, 102]
Generated Node #2: [17, 68, 102] from Operation: 67+35=102
Current State: 74:[17, 68, 102], Operations: ['67+35=102']
Exploring Operation: 102/17=6, Resulting Numbers: [68, 6]
Generated Node #3: [68, 6] from Operation: 102/17=6
Current State: 74:[68, 6], Operations: ['67+35=102', '102/17=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[67, 17, 68, 35], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [68, 35, 84]
Generated Node #0,0: 74:[68, 35, 84] Operation: 67+17=84
Exploring Operation: 68/17=4, Resulting Numbers: [67, 35, 4]
Generated Node #0,1: 74:[67, 35, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[67, 35, 4], Operations: ['68/17=4']
Exploring Operation: 67+4=71, Resulting Numbers: [35, 71]
Generated Node #0,1,0: 74:[35, 71] Operation: 67+4=71
Exploring Operation: 67-35=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 74:[4, 32] Operation: 67-35=32
Moving to Node #0,1,0
Current State: 74:[35, 71], Operations: ['68/17=4', '67+4=71']
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[4, 32], Operations: ['68/17=4', '67-35=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[68, 35, 84], Operations: ['67+17=84']
Exploring Operation: 84-68=16, Resulting Numbers: [35, 16]
Generated Node #0,0,0: 74:[35, 16] Operation: 84-68=16
Exploring Operation: 68-35=33, Resulting Numbers: [84, 33]
Generated Node #0,0,1: 74:[84, 33] Operation: 68-35=33
Moving to Node #0,0,1
Current State: 74:[84, 33], Operations: ['67+17=84', '68-35=33']
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,74 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[35, 16], Operations: ['67+17=84', '84-68=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
35,
26,
61
] | 27 | [
"27+35=62",
"61-26=35",
"62-35=27"
] | Current State: 27:[27, 35, 26, 61], Operations: []
Exploring Operation: 27+35=62, Resulting Numbers: [26, 61, 62]
Generated Node #2: [26, 61, 62] from Operation: 27+35=62
Current State: 27:[26, 61, 62], Operations: ['27+35=62']
Exploring Operation: 61-26=35, Resulting Numbers: [62, 35]
Generated Node #3: [62, 35] from Operation: 61-26=35
Current State: 27:[62, 35], Operations: ['27+35=62', '61-26=35']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[27, 35, 26, 61], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [27, 26, 26]
Generated Node #0,0: 27:[27, 26, 26] Operation: 61-35=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[27, 26, 26], Operations: ['61-35=26']
Exploring Operation: 26/26=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 27:[27, 1] Operation: 26/26=1
Moving to Node #0,0,0
Current State: 27:[27, 1], Operations: ['61-35=26', '26/26=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[27, 35, 26, 61], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [27, 26, 26]
Generated Node #0,0: 27:[27, 26, 26] Operation: 61-35=26
Moving to Node #0,0
Current State: 27:[27, 26, 26], Operations: ['61-35=26']
Exploring Operation: 26/26=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 27:[27, 1] Operation: 26/26=1
Moving to Node #0,0,0
Current State: 27:[27, 1], Operations: ['61-35=26', '26/26=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
4,
19,
81,
69
] | 16 | [
"81-69=12",
"12/4=3",
"19-3=16"
] | Current State: 16:[4, 19, 81, 69], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [4, 19, 12]
Generated Node #2: [4, 19, 12] from Operation: 81-69=12
Current State: 16:[4, 19, 12], Operations: ['81-69=12']
Exploring Operation: 12/4=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 12/4=3
Current State: 16:[19, 3], Operations: ['81-69=12', '12/4=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 19, 81, 69], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [4, 19, 12]
Generated Node #0,0: 16:[4, 19, 12] Operation: 81-69=12
Exploring Operation: 81-19=62, Resulting Numbers: [4, 69, 62]
Generated Node #0,1: 16:[4, 69, 62] Operation: 81-19=62
Moving to Node #0,0
Current State: 16:[4, 19, 12], Operations: ['81-69=12']
Exploring Operation: 19-12=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 16:[4, 7] Operation: 19-12=7
Exploring Operation: 4+12=16, Resulting Numbers: [19, 16]
Generated Node #0,0,1: 16:[19, 16] Operation: 4+12=16
Moving to Node #0,1
Current State: 16:[4, 69, 62], Operations: ['81-19=62']
Exploring Operation: 69-4=65, Resulting Numbers: [62, 65]
Generated Node #0,1,0: 16:[62, 65] Operation: 69-4=65
Exploring Operation: 69-62=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 16:[4, 7] Operation: 69-62=7
Moving to Node #0,0,0
Current State: 16:[4, 7], Operations: ['81-69=12', '19-12=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[4, 7], Operations: ['81-19=62', '69-62=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[19, 16], Operations: ['81-69=12', '4+12=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[62, 65], Operations: ['81-19=62', '69-4=65']
Exploring Operation: 62+65=127, Resulting Numbers: [127]
127,16 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
26,
78,
29
] | 75 | [
"1*26=26",
"78-29=49",
"26+49=75"
] | Current State: 75:[1, 26, 78, 29], Operations: []
Exploring Operation: 1*26=26, Resulting Numbers: [78, 29, 26]
Generated Node #2: [78, 29, 26] from Operation: 1*26=26
Current State: 75:[78, 29, 26], Operations: ['1*26=26']
Exploring Operation: 78-29=49, Resulting Numbers: [26, 49]
Generated Node #3: [26, 49] from Operation: 78-29=49
Current State: 75:[26, 49], Operations: ['1*26=26', '78-29=49']
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[1, 26, 78, 29], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [26, 29, 77]
Generated Node #0,0: 75:[26, 29, 77] Operation: 78-1=77
Exploring Operation: 29-26=3, Resulting Numbers: [1, 78, 3]
Generated Node #0,1: 75:[1, 78, 3] Operation: 29-26=3
Exploring Operation: 26-1=25, Resulting Numbers: [78, 29, 25]
Generated Node #0,2: 75:[78, 29, 25] Operation: 26-1=25
Exploring Operation: 78/26=3, Resulting Numbers: [1, 29, 3]
Generated Node #0,3: 75:[1, 29, 3] Operation: 78/26=3
Moving to Node #0,1
Current State: 75:[1, 78, 3], Operations: ['29-26=3']
Exploring Operation: 78-3=75, Resulting Numbers: [1, 75]
Generated Node #0,1,0: 75:[1, 75] Operation: 78-3=75
Exploring Operation: 78-1=77, Resulting Numbers: [3, 77]
Generated Node #0,1,1: 75:[3, 77] Operation: 78-1=77
Exploring Operation: 1*78=78, Resulting Numbers: [3, 78]
Generated Node #0,1,2: 75:[3, 78] Operation: 1*78=78
Exploring Operation: 78/1=78, Resulting Numbers: [3, 78]
Generated Node #0,1,3: 75:[3, 78] Operation: 78/1=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[1, 75], Operations: ['29-26=3', '78-3=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[1, 26, 78, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [1, 78, 3]
Generated Node #0,1: 75:[1, 78, 3] Operation: 29-26=3
Moving to Node #0,1
Current State: 75:[1, 78, 3], Operations: ['29-26=3']
Exploring Operation: 78-3=75, Resulting Numbers: [1, 75]
Generated Node #0,1,0: 75:[1, 75] Operation: 78-3=75
Moving to Node #0,1,0
Current State: 75:[1, 75], Operations: ['29-26=3', '78-3=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
79,
38,
70,
68
] | 21 | [
"79+38=117",
"70+68=138",
"138-117=21"
] | Current State: 21:[79, 38, 70, 68], Operations: []
Exploring Operation: 79+38=117, Resulting Numbers: [70, 68, 117]
Generated Node #2: [70, 68, 117] from Operation: 79+38=117
Current State: 21:[70, 68, 117], Operations: ['79+38=117']
Exploring Operation: 70+68=138, Resulting Numbers: [117, 138]
Generated Node #3: [117, 138] from Operation: 70+68=138
Current State: 21:[117, 138], Operations: ['79+38=117', '70+68=138']
Exploring Operation: 138-117=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[79, 38, 70, 68], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [38, 68, 9]
Generated Node #0,0: 21:[38, 68, 9] Operation: 79-70=9
Moving to Node #0,0
Current State: 21:[38, 68, 9], Operations: ['79-70=9']
Exploring Operation: 68-38=30, Resulting Numbers: [9, 30]
Generated Node #0,0,0: 21:[9, 30] Operation: 68-38=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[9, 30], Operations: ['79-70=9', '68-38=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[79, 38, 70, 68], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [38, 68, 9]
Generated Node #0,0: 21:[38, 68, 9] Operation: 79-70=9
Moving to Node #0,0
Current State: 21:[38, 68, 9], Operations: ['79-70=9']
Exploring Operation: 68-38=30, Resulting Numbers: [9, 30]
Generated Node #0,0,0: 21:[9, 30] Operation: 68-38=30
Moving to Node #0,0,0
Current State: 21:[9, 30], Operations: ['79-70=9', '68-38=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
22,
59,
5,
15
] | 47 | [
"59-22=37",
"15-5=10",
"37+10=47"
] | Current State: 47:[22, 59, 5, 15], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [5, 15, 37]
Generated Node #2: [5, 15, 37] from Operation: 59-22=37
Current State: 47:[5, 15, 37], Operations: ['59-22=37']
Exploring Operation: 15-5=10, Resulting Numbers: [37, 10]
Generated Node #3: [37, 10] from Operation: 15-5=10
Current State: 47:[37, 10], Operations: ['59-22=37', '15-5=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[22, 59, 5, 15], Operations: []
Exploring Operation: 5*15=75, Resulting Numbers: [22, 59, 75]
Generated Node #0,0: 47:[22, 59, 75] Operation: 5*15=75
Exploring Operation: 5+15=20, Resulting Numbers: [22, 59, 20]
Generated Node #0,1: 47:[22, 59, 20] Operation: 5+15=20
Exploring Operation: 59-5=54, Resulting Numbers: [22, 15, 54]
Generated Node #0,2: 47:[22, 15, 54] Operation: 59-5=54
Exploring Operation: 22+5=27, Resulting Numbers: [59, 15, 27]
Generated Node #0,3: 47:[59, 15, 27] Operation: 22+5=27
Exploring Operation: 22+15=37, Resulting Numbers: [59, 5, 37]
Generated Node #0,4: 47:[59, 5, 37] Operation: 22+15=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[22, 59, 20], Operations: ['5+15=20']
Exploring Operation: 59-20=39, Resulting Numbers: [22, 39]
Generated Node #0,1,0: 47:[22, 39] Operation: 59-20=39
Exploring Operation: 59-22=37, Resulting Numbers: [20, 37]
Generated Node #0,1,1: 47:[20, 37] Operation: 59-22=37
Exploring Operation: 22-20=2, Resulting Numbers: [59, 2]
Generated Node #0,1,2: 47:[59, 2] Operation: 22-20=2
Exploring Operation: 59+20=79, Resulting Numbers: [22, 79]
Generated Node #0,1,3: 47:[22, 79] Operation: 59+20=79
Exploring Operation: 22+20=42, Resulting Numbers: [59, 42]
Generated Node #0,1,4: 47:[59, 42] Operation: 22+20=42
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 47:[59, 42], Operations: ['5+15=20', '22+20=42']
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,47 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[22, 39], Operations: ['5+15=20', '59-20=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,47 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[20, 37], Operations: ['5+15=20', '59-22=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,47 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[59, 2], Operations: ['5+15=20', '22-20=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[22, 79], Operations: ['5+15=20', '59+20=79']
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,47 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[22, 15, 54], Operations: ['59-5=54']
Exploring Operation: 22-15=7, Resulting Numbers: [54, 7]
Generated Node #0,2,0: 47:[54, 7] Operation: 22-15=7
Exploring Operation: 54-22=32, Resulting Numbers: [15, 32]
Generated Node #0,2,1: 47:[15, 32] Operation: 54-22=32
Exploring Operation: 54-15=39, Resulting Numbers: [22, 39]
Generated Node #0,2,2: 47:[22, 39] Operation: 54-15=39
Exploring Operation: 15+54=69, Resulting Numbers: [22, 69]
Generated Node #0,2,3: 47:[22, 69] Operation: 15+54=69
Exploring Operation: 22+15=37, Resulting Numbers: [54, 37]
Generated Node #0,2,4: 47:[54, 37] Operation: 22+15=37
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 47:[54, 37], Operations: ['59-5=54', '22+15=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,47 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[22, 39], Operations: ['59-5=54', '54-15=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,47 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[54, 7], Operations: ['59-5=54', '22-15=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,47 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[22, 59, 5, 15], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [22, 15, 54]
Generated Node #0,2: 47:[22, 15, 54] Operation: 59-5=54
Moving to Node #0,2
Current State: 47:[22, 15, 54], Operations: ['59-5=54']
Exploring Operation: 22-15=7, Resulting Numbers: [54, 7]
Generated Node #0,2,0: 47:[54, 7] Operation: 22-15=7
Moving to Node #0,2,0
Current State: 47:[54, 7], Operations: ['59-5=54', '22-15=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
21,
37,
41,
27
] | 57 | [
"41-37=4",
"21*4=84",
"84-27=57"
] | Current State: 57:[21, 37, 41, 27], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [21, 27, 4]
Generated Node #2: [21, 27, 4] from Operation: 41-37=4
Current State: 57:[21, 27, 4], Operations: ['41-37=4']
Exploring Operation: 21*4=84, Resulting Numbers: [27, 84]
Generated Node #3: [27, 84] from Operation: 21*4=84
Current State: 57:[27, 84], Operations: ['41-37=4', '21*4=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[21, 37, 41, 27], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [21, 27, 4]
Generated Node #0,0: 57:[21, 27, 4] Operation: 41-37=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[21, 27, 4], Operations: ['41-37=4']
Exploring Operation: 27-21=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 57:[4, 6] Operation: 27-21=6
Moving to Node #0,0,0
Current State: 57:[4, 6], Operations: ['41-37=4', '27-21=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
43,
89,
37
] | 56 | [
"27+43=70",
"89+37=126",
"126-70=56"
] | Current State: 56:[27, 43, 89, 37], Operations: []
Exploring Operation: 27+43=70, Resulting Numbers: [89, 37, 70]
Generated Node #2: [89, 37, 70] from Operation: 27+43=70
Current State: 56:[89, 37, 70], Operations: ['27+43=70']
Exploring Operation: 89+37=126, Resulting Numbers: [70, 126]
Generated Node #3: [70, 126] from Operation: 89+37=126
Current State: 56:[70, 126], Operations: ['27+43=70', '89+37=126']
Exploring Operation: 126-70=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[27, 43, 89, 37], Operations: []
Exploring Operation: 89-37=52, Resulting Numbers: [27, 43, 52]
Generated Node #0,0: 56:[27, 43, 52] Operation: 89-37=52
Exploring Operation: 89-43=46, Resulting Numbers: [27, 37, 46]
Generated Node #0,1: 56:[27, 37, 46] Operation: 89-43=46
Moving to Node #0,0
Current State: 56:[27, 43, 52], Operations: ['89-37=52']
Exploring Operation: 43-27=16, Resulting Numbers: [52, 16]
Generated Node #0,0,0: 56:[52, 16] Operation: 43-27=16
Exploring Operation: 52-43=9, Resulting Numbers: [27, 9]
Generated Node #0,0,1: 56:[27, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[27, 9], Operations: ['89-37=52', '52-43=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,56 unequal: No Solution
No 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: 56:[52, 16], Operations: ['89-37=52', '43-27=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,56 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: 56:[27, 37, 46], Operations: ['89-43=46']
Exploring Operation: 46-37=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 56:[27, 9] Operation: 46-37=9
Exploring Operation: 37-27=10, Resulting Numbers: [46, 10]
Generated Node #0,1,1: 56:[46, 10] Operation: 37-27=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[27, 9], Operations: ['89-43=46', '46-37=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No 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: 56:[46, 10], Operations: ['89-43=46', '37-27=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[27, 43, 89, 37], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [27, 37, 46]
Generated Node #0,1: 56:[27, 37, 46] Operation: 89-43=46
Moving to Node #0,1
Current State: 56:[27, 37, 46], Operations: ['89-43=46']
Exploring Operation: 37-27=10, Resulting Numbers: [46, 10]
Generated Node #0,1,1: 56:[46, 10] Operation: 37-27=10
Moving to Node #0,1,1
Current State: 56:[46, 10], Operations: ['89-43=46', '37-27=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
85,
86,
14,
71
] | 58 | [
"86-85=1",
"71-14=57",
"1+57=58"
] | Current State: 58:[85, 86, 14, 71], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [14, 71, 1]
Generated Node #2: [14, 71, 1] from Operation: 86-85=1
Current State: 58:[14, 71, 1], Operations: ['86-85=1']
Exploring Operation: 71-14=57, Resulting Numbers: [1, 57]
Generated Node #3: [1, 57] from Operation: 71-14=57
Current State: 58:[1, 57], Operations: ['86-85=1', '71-14=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[85, 86, 14, 71], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [86, 14, 14]
Generated Node #0,0: 58:[86, 14, 14] Operation: 85-71=14
Exploring Operation: 86-14=72, Resulting Numbers: [85, 71, 72]
Generated Node #0,1: 58:[85, 71, 72] Operation: 86-14=72
Exploring Operation: 86-85=1, Resulting Numbers: [14, 71, 1]
Generated Node #0,2: 58:[14, 71, 1] Operation: 86-85=1
Exploring Operation: 86-71=15, Resulting Numbers: [85, 14, 15]
Generated Node #0,3: 58:[85, 14, 15] Operation: 86-71=15
Exploring Operation: 85-14=71, Resulting Numbers: [86, 71, 71]
Generated Node #0,4: 58:[86, 71, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[14, 71, 1], Operations: ['86-85=1']
Exploring Operation: 14*1=14, Resulting Numbers: [71, 14]
Generated Node #0,2,0: 58:[71, 14] Operation: 14*1=14
Exploring Operation: 71-14=57, Resulting Numbers: [1, 57]
Generated Node #0,2,1: 58:[1, 57] Operation: 71-14=57
Exploring Operation: 71-1=70, Resulting Numbers: [14, 70]
Generated Node #0,2,2: 58:[14, 70] Operation: 71-1=70
Exploring Operation: 14-1=13, Resulting Numbers: [71, 13]
Generated Node #0,2,3: 58:[71, 13] Operation: 14-1=13
Exploring Operation: 14/1=14, Resulting Numbers: [71, 14]
Generated Node #0,2,4: 58:[71, 14] Operation: 14/1=14
Moving to Node #0,2,1
Current State: 58:[1, 57], Operations: ['86-85=1', '71-14=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[85, 86, 14, 71], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [14, 71, 1]
Generated Node #0,2: 58:[14, 71, 1] Operation: 86-85=1
Moving to Node #0,2
Current State: 58:[14, 71, 1], Operations: ['86-85=1']
Exploring Operation: 71-14=57, Resulting Numbers: [1, 57]
Generated Node #0,2,1: 58:[1, 57] Operation: 71-14=57
Moving to Node #0,2,1
Current State: 58:[1, 57], Operations: ['86-85=1', '71-14=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
57,
73,
8,
24
] | 54 | [
"57*8=456",
"456/24=19",
"73-19=54"
] | Current State: 54:[57, 73, 8, 24], Operations: []
Exploring Operation: 57*8=456, Resulting Numbers: [73, 24, 456]
Generated Node #2: [73, 24, 456] from Operation: 57*8=456
Current State: 54:[73, 24, 456], Operations: ['57*8=456']
Exploring Operation: 456/24=19, Resulting Numbers: [73, 19]
Generated Node #3: [73, 19] from Operation: 456/24=19
Current State: 54:[73, 19], Operations: ['57*8=456', '456/24=19']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[57, 73, 8, 24], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [8, 24, 16]
Generated Node #0,0: 54:[8, 24, 16] Operation: 73-57=16
Exploring Operation: 73-8=65, Resulting Numbers: [57, 24, 65]
Generated Node #0,1: 54:[57, 24, 65] Operation: 73-8=65
Exploring Operation: 73-24=49, Resulting Numbers: [57, 8, 49]
Generated Node #0,2: 54:[57, 8, 49] Operation: 73-24=49
Exploring Operation: 24-8=16, Resulting Numbers: [57, 73, 16]
Generated Node #0,3: 54:[57, 73, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [57, 73, 3]
Generated Node #0,4: 54:[57, 73, 3] Operation: 24/8=3
Moving to Node #0,0
Current State: 54:[8, 24, 16], Operations: ['73-57=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 54:[8, 8] Operation: 24-16=8
Exploring Operation: 24-8=16, Resulting Numbers: [16, 16]
Generated Node #0,0,1: 54:[16, 16] Operation: 24-8=16
Exploring Operation: 16-8=8, Resulting Numbers: [24, 8]
Generated Node #0,0,2: 54:[24, 8] Operation: 16-8=8
Exploring Operation: 24/8=3, Resulting Numbers: [16, 3]
Generated Node #0,0,3: 54:[16, 3] Operation: 24/8=3
Exploring Operation: 16/8=2, Resulting Numbers: [24, 2]
Generated Node #0,0,4: 54:[24, 2] Operation: 16/8=2
Moving to Node #0,2
Current State: 54:[57, 8, 49], Operations: ['73-24=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57, 57]
Generated Node #0,2,0: 54:[57, 57] Operation: 8+49=57
Exploring Operation: 57-49=8, Resulting Numbers: [8, 8]
Generated Node #0,2,1: 54:[8, 8] Operation: 57-49=8
Exploring Operation: 49-8=41, Resulting Numbers: [57, 41]
Generated Node #0,2,2: 54:[57, 41] Operation: 49-8=41
Exploring Operation: 57+8=65, Resulting Numbers: [49, 65]
Generated Node #0,2,3: 54:[49, 65] Operation: 57+8=65
Exploring Operation: 57-8=49, Resulting Numbers: [49, 49]
Generated Node #0,2,4: 54:[49, 49] Operation: 57-8=49
Moving to Node #0,1
Current State: 54:[57, 24, 65], Operations: ['73-8=65']
Exploring Operation: 24+65=89, Resulting Numbers: [57, 89]
Generated Node #0,1,0: 54:[57, 89] Operation: 24+65=89
Exploring Operation: 57+24=81, Resulting Numbers: [65, 81]
Generated Node #0,1,1: 54:[65, 81] Operation: 57+24=81
Exploring Operation: 57-24=33, Resulting Numbers: [65, 33]
Generated Node #0,1,2: 54:[65, 33] Operation: 57-24=33
Exploring Operation: 65-24=41, Resulting Numbers: [57, 41]
Generated Node #0,1,3: 54:[57, 41] Operation: 65-24=41
Exploring Operation: 65-57=8, Resulting Numbers: [24, 8]
Generated Node #0,1,4: 54:[24, 8] Operation: 65-57=8
Moving to Node #0,4
Current State: 54:[57, 73, 3], Operations: ['24/8=3']
Exploring Operation: 57/3=19, Resulting Numbers: [73, 19]
Generated Node #0,4,0: 54:[73, 19] Operation: 57/3=19
Exploring Operation: 57+3=60, Resulting Numbers: [73, 60]
Generated Node #0,4,1: 54:[73, 60] Operation: 57+3=60
Exploring Operation: 57-3=54, Resulting Numbers: [73, 54]
Generated Node #0,4,2: 54:[73, 54] Operation: 57-3=54
Exploring Operation: 73-57=16, Resulting Numbers: [3, 16]
Generated Node #0,4,3: 54:[3, 16] Operation: 73-57=16
Exploring Operation: 73-3=70, Resulting Numbers: [57, 70]
Generated Node #0,4,4: 54:[57, 70] Operation: 73-3=70
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[3, 16], Operations: ['24/8=3', '73-57=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[73, 54], Operations: ['24/8=3', '57-3=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,54 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 54:[57, 70], Operations: ['24/8=3', '73-3=70']
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 54:[73, 19], Operations: ['24/8=3', '57/3=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[57, 73, 8, 24], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [57, 73, 3]
Generated Node #0,4: 54:[57, 73, 3] Operation: 24/8=3
Moving to Node #0,4
Current State: 54:[57, 73, 3], Operations: ['24/8=3']
Exploring Operation: 57/3=19, Resulting Numbers: [73, 19]
Generated Node #0,4,0: 54:[73, 19] Operation: 57/3=19
Moving to Node #0,4,0
Current State: 54:[73, 19], Operations: ['24/8=3', '57/3=19']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
43,
30,
94,
78
] | 88 | [
"43-30=13",
"78/13=6",
"94-6=88"
] | Current State: 88:[43, 30, 94, 78], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [94, 78, 13]
Generated Node #2: [94, 78, 13] from Operation: 43-30=13
Current State: 88:[94, 78, 13], Operations: ['43-30=13']
Exploring Operation: 78/13=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 78/13=6
Current State: 88:[94, 6], Operations: ['43-30=13', '78/13=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[43, 30, 94, 78], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [43, 94, 48]
Generated Node #0,0: 88:[43, 94, 48] Operation: 78-30=48
Exploring Operation: 94-78=16, Resulting Numbers: [43, 30, 16]
Generated Node #0,1: 88:[43, 30, 16] Operation: 94-78=16
Exploring Operation: 43-30=13, Resulting Numbers: [94, 78, 13]
Generated Node #0,2: 88:[94, 78, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[43, 94, 48], Operations: ['78-30=48']
Exploring Operation: 94-48=46, Resulting Numbers: [43, 46]
Generated Node #0,0,0: 88:[43, 46] Operation: 94-48=46
Exploring Operation: 48-43=5, Resulting Numbers: [94, 5]
Generated Node #0,0,1: 88:[94, 5] Operation: 48-43=5
Exploring Operation: 43+48=91, Resulting Numbers: [94, 91]
Generated Node #0,0,2: 88:[94, 91] Operation: 43+48=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[43, 46], Operations: ['78-30=48', '94-48=46']
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,88 unequal: No Solution
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[94, 5], Operations: ['78-30=48', '48-43=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,88 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[94, 91], Operations: ['78-30=48', '43+48=91']
Exploring Operation: 94+91=185, Resulting Numbers: [185]
185,88 unequal: No Solution
Exploring Operation: 94*91=8554, Resulting Numbers: [8554]
8554,88 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[43, 30, 16], Operations: ['94-78=16']
Exploring Operation: 30-16=14, Resulting Numbers: [43, 14]
Generated Node #0,1,0: 88:[43, 14] Operation: 30-16=14
Exploring Operation: 30+16=46, Resulting Numbers: [43, 46]
Generated Node #0,1,1: 88:[43, 46] Operation: 30+16=46
Exploring Operation: 43-30=13, Resulting Numbers: [16, 13]
Generated Node #0,1,2: 88:[16, 13] Operation: 43-30=13
Moving to Node #0,1,1
Current State: 88:[43, 46], Operations: ['94-78=16', '30+16=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,88 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[43, 14], Operations: ['94-78=16', '30-16=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,88 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[16, 13], Operations: ['94-78=16', '43-30=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,88 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[94, 78, 13], Operations: ['43-30=13']
Exploring Operation: 94-78=16, Resulting Numbers: [13, 16]
Generated Node #0,2,0: 88:[13, 16] Operation: 94-78=16
Exploring Operation: 78/13=6, Resulting Numbers: [94, 6]
Generated Node #0,2,1: 88:[94, 6] Operation: 78/13=6
Exploring Operation: 78+13=91, Resulting Numbers: [94, 91]
Generated Node #0,2,2: 88:[94, 91] Operation: 78+13=91
Moving to Node #0,2,0
Current State: 88:[13, 16], Operations: ['43-30=13', '94-78=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,88 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[94, 6], Operations: ['43-30=13', '78/13=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[43, 30, 94, 78], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [94, 78, 13]
Generated Node #0,2: 88:[94, 78, 13] Operation: 43-30=13
Moving to Node #0,2
Current State: 88:[94, 78, 13], Operations: ['43-30=13']
Exploring Operation: 78/13=6, Resulting Numbers: [94, 6]
Generated Node #0,2,1: 88:[94, 6] Operation: 78/13=6
Moving to Node #0,2,1
Current State: 88:[94, 6], Operations: ['43-30=13', '78/13=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
54,
3,
59,
85
] | 24 | [
"85-59=26",
"3*26=78",
"78-54=24"
] | Current State: 24:[54, 3, 59, 85], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [54, 3, 26]
Generated Node #2: [54, 3, 26] from Operation: 85-59=26
Current State: 24:[54, 3, 26], Operations: ['85-59=26']
Exploring Operation: 3*26=78, Resulting Numbers: [54, 78]
Generated Node #3: [54, 78] from Operation: 3*26=78
Current State: 24:[54, 78], Operations: ['85-59=26', '3*26=78']
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[54, 3, 59, 85], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [54, 3, 26]
Generated Node #0,0: 24:[54, 3, 26] Operation: 85-59=26
Exploring Operation: 59-54=5, Resulting Numbers: [3, 85, 5]
Generated Node #0,1: 24:[3, 85, 5] Operation: 59-54=5
Exploring Operation: 54/3=18, Resulting Numbers: [59, 85, 18]
Generated Node #0,2: 24:[59, 85, 18] Operation: 54/3=18
Exploring Operation: 85-54=31, Resulting Numbers: [3, 59, 31]
Generated Node #0,3: 24:[3, 59, 31] Operation: 85-54=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[54, 3, 26], Operations: ['85-59=26']
Exploring Operation: 26-3=23, Resulting Numbers: [54, 23]
Generated Node #0,0,0: 24:[54, 23] Operation: 26-3=23
Exploring Operation: 54-3=51, Resulting Numbers: [26, 51]
Generated Node #0,0,1: 24:[26, 51] Operation: 54-3=51
Exploring Operation: 54-26=28, Resulting Numbers: [3, 28]
Generated Node #0,0,2: 24:[3, 28] Operation: 54-26=28
Exploring Operation: 54/3=18, Resulting Numbers: [26, 18]
Generated Node #0,0,3: 24:[26, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[3, 28], Operations: ['85-59=26', '54-26=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[26, 18], Operations: ['85-59=26', '54/3=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[26, 51], Operations: ['85-59=26', '54-3=51']
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[54, 23], Operations: ['85-59=26', '26-3=23']
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,24 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[3, 59, 31], Operations: ['85-54=31']
Exploring Operation: 59-3=56, Resulting Numbers: [31, 56]
Generated Node #0,3,0: 24:[31, 56] Operation: 59-3=56
Exploring Operation: 31-3=28, Resulting Numbers: [59, 28]
Generated Node #0,3,1: 24:[59, 28] Operation: 31-3=28
Exploring Operation: 3+59=62, Resulting Numbers: [31, 62]
Generated Node #0,3,2: 24:[31, 62] Operation: 3+59=62
Exploring Operation: 59-31=28, Resulting Numbers: [3, 28]
Generated Node #0,3,3: 24:[3, 28] Operation: 59-31=28
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 24:[3, 28], Operations: ['85-54=31', '59-31=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 24:[31, 56], Operations: ['85-54=31', '59-3=56']
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 31*56=1736, Resulting Numbers: [1736]
1736,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[59, 28], Operations: ['85-54=31', '31-3=28']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,24 unequal: No Solution
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 24:[31, 62], Operations: ['85-54=31', '3+59=62']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,24 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[3, 85, 5], Operations: ['59-54=5']
Exploring Operation: 3+5=8, Resulting Numbers: [85, 8]
Generated Node #0,1,0: 24:[85, 8] Operation: 3+5=8
Exploring Operation: 85-5=80, Resulting Numbers: [3, 80]
Generated Node #0,1,1: 24:[3, 80] Operation: 85-5=80
Exploring Operation: 85/5=17, Resulting Numbers: [3, 17]
Generated Node #0,1,2: 24:[3, 17] Operation: 85/5=17
Exploring Operation: 85-3=82, Resulting Numbers: [5, 82]
Generated Node #0,1,3: 24:[5, 82] Operation: 85-3=82
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[3, 17], Operations: ['59-54=5', '85/5=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[3, 80], Operations: ['59-54=5', '85-5=80']
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,24 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 24:[5, 82], Operations: ['59-54=5', '85-3=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,24 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[85, 8], Operations: ['59-54=5', '3+5=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,24 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[59, 85, 18], Operations: ['54/3=18']
Exploring Operation: 85-18=67, Resulting Numbers: [59, 67]
Generated Node #0,2,0: 24:[59, 67] Operation: 85-18=67
Exploring Operation: 59+18=77, Resulting Numbers: [85, 77]
Generated Node #0,2,1: 24:[85, 77] Operation: 59+18=77
Exploring Operation: 85-59=26, Resulting Numbers: [18, 26]
Generated Node #0,2,2: 24:[18, 26] Operation: 85-59=26
Exploring Operation: 59-18=41, Resulting Numbers: [85, 41]
Generated Node #0,2,3: 24:[85, 41] Operation: 59-18=41
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[18, 26], Operations: ['54/3=18', '85-59=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[59, 67], Operations: ['54/3=18', '85-18=67']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,24 unequal: No Solution
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 24:[85, 41], Operations: ['54/3=18', '59-18=41']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 85*41=3485, Resulting Numbers: [3485]
3485,24 unequal: No Solution
Exploring Operation: 85+41=126, Resulting Numbers: [126]
126,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[85, 77], Operations: ['54/3=18', '59+18=77']
Exploring Operation: 85*77=6545, Resulting Numbers: [6545]
6545,24 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 85+77=162, Resulting Numbers: [162]
162,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
93,
90,
98
] | 45 | [
"98-93=5",
"90/5=18",
"63-18=45"
] | Current State: 45:[63, 93, 90, 98], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [63, 90, 5]
Generated Node #2: [63, 90, 5] from Operation: 98-93=5
Current State: 45:[63, 90, 5], Operations: ['98-93=5']
Exploring Operation: 90/5=18, Resulting Numbers: [63, 18]
Generated Node #3: [63, 18] from Operation: 90/5=18
Current State: 45:[63, 18], Operations: ['98-93=5', '90/5=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[63, 93, 90, 98], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [63, 90, 5]
Generated Node #0,0: 45:[63, 90, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[63, 90, 5], Operations: ['98-93=5']
Exploring Operation: 90-63=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 45:[5, 27] Operation: 90-63=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[5, 27], Operations: ['98-93=5', '90-63=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
8,
10,
16
] | 45 | [
"16/8=2",
"10*2=20",
"25+20=45"
] | Current State: 45:[25, 8, 10, 16], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [25, 10, 2]
Generated Node #2: [25, 10, 2] from Operation: 16/8=2
Current State: 45:[25, 10, 2], Operations: ['16/8=2']
Exploring Operation: 10*2=20, Resulting Numbers: [25, 20]
Generated Node #3: [25, 20] from Operation: 10*2=20
Current State: 45:[25, 20], Operations: ['16/8=2', '10*2=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 8, 10, 16], Operations: []
Exploring Operation: 25+10=35, Resulting Numbers: [8, 16, 35]
Generated Node #0,0: 45:[8, 16, 35] Operation: 25+10=35
Exploring Operation: 25+16=41, Resulting Numbers: [8, 10, 41]
Generated Node #0,1: 45:[8, 10, 41] Operation: 25+16=41
Exploring Operation: 25-10=15, Resulting Numbers: [8, 16, 15]
Generated Node #0,2: 45:[8, 16, 15] Operation: 25-10=15
Exploring Operation: 25-16=9, Resulting Numbers: [8, 10, 9]
Generated Node #0,3: 45:[8, 10, 9] Operation: 25-16=9
Exploring Operation: 25-8=17, Resulting Numbers: [10, 16, 17]
Generated Node #0,4: 45:[10, 16, 17] Operation: 25-8=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[8, 16, 15], Operations: ['25-10=15']
Exploring Operation: 16-8=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 45:[15, 8] Operation: 16-8=8
Exploring Operation: 16-15=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 45:[8, 1] Operation: 16-15=1
Exploring Operation: 8+16=24, Resulting Numbers: [15, 24]
Generated Node #0,2,2: 45:[15, 24] Operation: 8+16=24
Exploring Operation: 16/8=2, Resulting Numbers: [15, 2]
Generated Node #0,2,3: 45:[15, 2] Operation: 16/8=2
Exploring Operation: 15-8=7, Resulting Numbers: [16, 7]
Generated Node #0,2,4: 45:[16, 7] Operation: 15-8=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[15, 8], Operations: ['25-10=15', '16-8=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,45 unequal: No Solution
No 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: 45:[15, 2], Operations: ['25-10=15', '16/8=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,45 unequal: No Solution
No 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: 45:[8, 1], Operations: ['25-10=15', '16-15=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 45:[16, 7], Operations: ['25-10=15', '15-8=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,45 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No 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: 45:[15, 24], Operations: ['25-10=15', '8+16=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,45 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[8, 10, 9], Operations: ['25-16=9']
Exploring Operation: 10-9=1, Resulting Numbers: [8, 1]
Generated Node #0,3,0: 45:[8, 1] Operation: 10-9=1
Exploring Operation: 10-8=2, Resulting Numbers: [9, 2]
Generated Node #0,3,1: 45:[9, 2] Operation: 10-8=2
Exploring Operation: 8+9=17, Resulting Numbers: [10, 17]
Generated Node #0,3,2: 45:[10, 17] Operation: 8+9=17
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,3,3: 45:[10, 1] Operation: 9-8=1
Exploring Operation: 8+10=18, Resulting Numbers: [9, 18]
Generated Node #0,3,4: 45:[9, 18] Operation: 8+10=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 45:[9, 2], Operations: ['25-16=9', '10-8=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No 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: 45:[8, 1], Operations: ['25-16=9', '10-9=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No 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: 45:[10, 17], Operations: ['25-16=9', '8+9=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,45 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No 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: 45:[10, 1], Operations: ['25-16=9', '9-8=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 45:[9, 18], Operations: ['25-16=9', '8+10=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,45 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[10, 16, 17], Operations: ['25-8=17']
Exploring Operation: 10+17=27, Resulting Numbers: [16, 27]
Generated Node #0,4,0: 45:[16, 27] Operation: 10+17=27
Exploring Operation: 16-10=6, Resulting Numbers: [17, 6]
Generated Node #0,4,1: 45:[17, 6] Operation: 16-10=6
Exploring Operation: 10+16=26, Resulting Numbers: [17, 26]
Generated Node #0,4,2: 45:[17, 26] Operation: 10+16=26
Exploring Operation: 17-16=1, Resulting Numbers: [10, 1]
Generated Node #0,4,3: 45:[10, 1] Operation: 17-16=1
Exploring Operation: 17-10=7, Resulting Numbers: [16, 7]
Generated Node #0,4,4: 45:[16, 7] Operation: 17-10=7
Moving to Node #0,4,1
Current State: 45:[17, 6], Operations: ['25-8=17', '16-10=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[16, 7], Operations: ['25-8=17', '17-10=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,45 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[10, 1], Operations: ['25-8=17', '17-16=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[16, 27], Operations: ['25-8=17', '10+17=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,45 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[17, 26], Operations: ['25-8=17', '10+16=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,45 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[8, 10, 41], Operations: ['25+16=41']
Exploring Operation: 41-8=33, Resulting Numbers: [10, 33]
Generated Node #0,1,0: 45:[10, 33] Operation: 41-8=33
Exploring Operation: 10-8=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 45:[41, 2] Operation: 10-8=2
Exploring Operation: 8+10=18, Resulting Numbers: [41, 18]
Generated Node #0,1,2: 45:[41, 18] Operation: 8+10=18
Exploring Operation: 8+41=49, Resulting Numbers: [10, 49]
Generated Node #0,1,3: 45:[10, 49] Operation: 8+41=49
Exploring Operation: 10+41=51, Resulting Numbers: [8, 51]
Generated Node #0,1,4: 45:[8, 51] Operation: 10+41=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[41, 2], Operations: ['25+16=41', '10-8=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[10, 49], Operations: ['25+16=41', '8+41=49']
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,45 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,45 unequal: No Solution
No 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: 45:[41, 18], Operations: ['25+16=41', '8+10=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,45 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 45:[8, 51], Operations: ['25+16=41', '10+41=51']
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,45 unequal: No Solution
No 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: 45:[10, 33], Operations: ['25+16=41', '41-8=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,45 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: 45:[8, 16, 35], Operations: ['25+10=35']
Exploring Operation: 35-16=19, Resulting Numbers: [8, 19]
Generated Node #0,0,0: 45:[8, 19] Operation: 35-16=19
Exploring Operation: 16-8=8, Resulting Numbers: [35, 8]
Generated Node #0,0,1: 45:[35, 8] Operation: 16-8=8
Exploring Operation: 8+35=43, Resulting Numbers: [16, 43]
Generated Node #0,0,2: 45:[16, 43] Operation: 8+35=43
Exploring Operation: 16+35=51, Resulting Numbers: [8, 51]
Generated Node #0,0,3: 45:[8, 51] Operation: 16+35=51
Exploring Operation: 16/8=2, Resulting Numbers: [35, 2]
Generated Node #0,0,4: 45:[35, 2] Operation: 16/8=2
Moving to Node #0,0,2
Current State: 45:[16, 43], Operations: ['25+10=35', '8+35=43']
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,45 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[8, 19], Operations: ['25+10=35', '35-16=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,45 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[8, 51], Operations: ['25+10=35', '16+35=51']
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,45 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[35, 8], Operations: ['25+10=35', '16-8=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,45 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[35, 2], Operations: ['25+10=35', '16/8=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
67,
29,
76,
69
] | 72 | [
"76+69=145",
"145/29=5",
"67+5=72"
] | Current State: 72:[67, 29, 76, 69], Operations: []
Exploring Operation: 76+69=145, Resulting Numbers: [67, 29, 145]
Generated Node #2: [67, 29, 145] from Operation: 76+69=145
Current State: 72:[67, 29, 145], Operations: ['76+69=145']
Exploring Operation: 145/29=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 145/29=5
Current State: 72:[67, 5], Operations: ['76+69=145', '145/29=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[67, 29, 76, 69], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [29, 69, 9]
Generated Node #0,0: 72:[29, 69, 9] Operation: 76-67=9
Exploring Operation: 67-29=38, Resulting Numbers: [76, 69, 38]
Generated Node #0,1: 72:[76, 69, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[29, 69, 9], Operations: ['76-67=9']
Exploring Operation: 29+9=38, Resulting Numbers: [69, 38]
Generated Node #0,0,0: 72:[69, 38] Operation: 29+9=38
Exploring Operation: 69-29=40, Resulting Numbers: [9, 40]
Generated Node #0,0,1: 72:[9, 40] Operation: 69-29=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[9, 40], Operations: ['76-67=9', '69-29=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No 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: 72:[69, 38], Operations: ['76-67=9', '29+9=38']
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[76, 69, 38], Operations: ['67-29=38']
Exploring Operation: 76/38=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 72:[69, 2] Operation: 76/38=2
Exploring Operation: 76-69=7, Resulting Numbers: [38, 7]
Generated Node #0,1,1: 72:[38, 7] Operation: 76-69=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[69, 2], Operations: ['67-29=38', '76/38=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,72 unequal: No Solution
No 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: 72:[38, 7], Operations: ['67-29=38', '76-69=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
48,
9,
5
] | 35 | [
"69-48=21",
"9+5=14",
"21+14=35"
] | Current State: 35:[69, 48, 9, 5], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [9, 5, 21]
Generated Node #2: [9, 5, 21] from Operation: 69-48=21
Current State: 35:[9, 5, 21], Operations: ['69-48=21']
Exploring Operation: 9+5=14, Resulting Numbers: [21, 14]
Generated Node #3: [21, 14] from Operation: 9+5=14
Current State: 35:[21, 14], Operations: ['69-48=21', '9+5=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[69, 48, 9, 5], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [48, 5, 60]
Generated Node #0,0: 35:[48, 5, 60] Operation: 69-9=60
Exploring Operation: 48-9=39, Resulting Numbers: [69, 5, 39]
Generated Node #0,1: 35:[69, 5, 39] Operation: 48-9=39
Exploring Operation: 69-48=21, Resulting Numbers: [9, 5, 21]
Generated Node #0,2: 35:[9, 5, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[9, 5, 21], Operations: ['69-48=21']
Exploring Operation: 9+21=30, Resulting Numbers: [5, 30]
Generated Node #0,2,0: 35:[5, 30] Operation: 9+21=30
Exploring Operation: 5+21=26, Resulting Numbers: [9, 26]
Generated Node #0,2,1: 35:[9, 26] Operation: 5+21=26
Exploring Operation: 21-9=12, Resulting Numbers: [5, 12]
Generated Node #0,2,2: 35:[5, 12] Operation: 21-9=12
Moving to Node #0,2,0
Current State: 35:[5, 30], Operations: ['69-48=21', '9+21=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[69, 48, 9, 5], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [9, 5, 21]
Generated Node #0,2: 35:[9, 5, 21] Operation: 69-48=21
Moving to Node #0,2
Current State: 35:[9, 5, 21], Operations: ['69-48=21']
Exploring Operation: 9+21=30, Resulting Numbers: [5, 30]
Generated Node #0,2,0: 35:[5, 30] Operation: 9+21=30
Moving to Node #0,2,0
Current State: 35:[5, 30], Operations: ['69-48=21', '9+21=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
57,
49,
75,
64
] | 67 | [
"57-49=8",
"64/8=8",
"75-8=67"
] | Current State: 67:[57, 49, 75, 64], Operations: []
Exploring Operation: 57-49=8, Resulting Numbers: [75, 64, 8]
Generated Node #2: [75, 64, 8] from Operation: 57-49=8
Current State: 67:[75, 64, 8], Operations: ['57-49=8']
Exploring Operation: 64/8=8, Resulting Numbers: [75, 8]
Generated Node #3: [75, 8] from Operation: 64/8=8
Current State: 67:[75, 8], Operations: ['57-49=8', '64/8=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[57, 49, 75, 64], Operations: []
Exploring Operation: 57+49=106, Resulting Numbers: [75, 64, 106]
Generated Node #0,0: 67:[75, 64, 106] Operation: 57+49=106
Exploring Operation: 75-49=26, Resulting Numbers: [57, 64, 26]
Generated Node #0,1: 67:[57, 64, 26] Operation: 75-49=26
Moving to Node #0,0
Current State: 67:[75, 64, 106], Operations: ['57+49=106']
Exploring Operation: 106-75=31, Resulting Numbers: [64, 31]
Generated Node #0,0,0: 67:[64, 31] Operation: 106-75=31
Exploring Operation: 106-64=42, Resulting Numbers: [75, 42]
Generated Node #0,0,1: 67:[75, 42] Operation: 106-64=42
Moving to Node #0,1
Current State: 67:[57, 64, 26], Operations: ['75-49=26']
Exploring Operation: 64+26=90, Resulting Numbers: [57, 90]
Generated Node #0,1,0: 67:[57, 90] Operation: 64+26=90
Exploring Operation: 57+26=83, Resulting Numbers: [64, 83]
Generated Node #0,1,1: 67:[64, 83] Operation: 57+26=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[64, 83], Operations: ['75-49=26', '57+26=83']
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,67 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[57, 90], Operations: ['75-49=26', '64+26=90']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,67 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: 67:[75, 42], Operations: ['57+49=106', '106-64=42']
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[64, 31], Operations: ['57+49=106', '106-75=31']
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
29,
32,
3
] | 80 | [
"86+29=115",
"32+3=35",
"115-35=80"
] | Current State: 80:[86, 29, 32, 3], Operations: []
Exploring Operation: 86+29=115, Resulting Numbers: [32, 3, 115]
Generated Node #2: [32, 3, 115] from Operation: 86+29=115
Current State: 80:[32, 3, 115], Operations: ['86+29=115']
Exploring Operation: 32+3=35, Resulting Numbers: [115, 35]
Generated Node #3: [115, 35] from Operation: 32+3=35
Current State: 80:[115, 35], Operations: ['86+29=115', '32+3=35']
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 29, 32, 3], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [86, 3, 3]
Generated Node #0,0: 80:[86, 3, 3] Operation: 32-29=3
Exploring Operation: 86-3=83, Resulting Numbers: [29, 32, 83]
Generated Node #0,1: 80:[29, 32, 83] Operation: 86-3=83
Exploring Operation: 29-3=26, Resulting Numbers: [86, 32, 26]
Generated Node #0,2: 80:[86, 32, 26] Operation: 29-3=26
Moving to Node #0,0
Current State: 80:[86, 3, 3], Operations: ['32-29=3']
Exploring Operation: 86-3=83, Resulting Numbers: [3, 83]
Generated Node #0,0,0: 80:[3, 83] Operation: 86-3=83
Exploring Operation: 3+3=6, Resulting Numbers: [86, 6]
Generated Node #0,0,1: 80:[86, 6] Operation: 3+3=6
Exploring Operation: 86-3=83, Resulting Numbers: [3, 83]
Generated Node #0,0,2: 80:[3, 83] Operation: 86-3=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[3, 83], Operations: ['32-29=3', '86-3=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,80 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 29, 32, 3], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [86, 3, 3]
Generated Node #0,0: 80:[86, 3, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 80:[86, 3, 3], Operations: ['32-29=3']
Exploring Operation: 86-3=83, Resulting Numbers: [3, 83]
Generated Node #0,0,0: 80:[3, 83] Operation: 86-3=83
Moving to Node #0,0,0
Current State: 80:[3, 83], Operations: ['32-29=3', '86-3=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
70,
91,
8,
23
] | 56 | [
"70+91=161",
"8*161=1288",
"1288/23=56"
] | Current State: 56:[70, 91, 8, 23], Operations: []
Exploring Operation: 70+91=161, Resulting Numbers: [8, 23, 161]
Generated Node #2: [8, 23, 161] from Operation: 70+91=161
Current State: 56:[8, 23, 161], Operations: ['70+91=161']
Exploring Operation: 8*161=1288, Resulting Numbers: [23, 1288]
Generated Node #3: [23, 1288] from Operation: 8*161=1288
Current State: 56:[23, 1288], Operations: ['70+91=161', '8*161=1288']
Exploring Operation: 1288/23=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[70, 91, 8, 23], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [91, 8, 47]
Generated Node #0,0: 56:[91, 8, 47] Operation: 70-23=47
Exploring Operation: 91-70=21, Resulting Numbers: [8, 23, 21]
Generated Node #0,1: 56:[8, 23, 21] Operation: 91-70=21
Exploring Operation: 91-23=68, Resulting Numbers: [70, 8, 68]
Generated Node #0,2: 56:[70, 8, 68] Operation: 91-23=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[8, 23, 21], Operations: ['91-70=21']
Exploring Operation: 23-21=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 56:[8, 2] Operation: 23-21=2
Exploring Operation: 8+21=29, Resulting Numbers: [23, 29]
Generated Node #0,1,1: 56:[23, 29] Operation: 8+21=29
Exploring Operation: 21-8=13, Resulting Numbers: [23, 13]
Generated Node #0,1,2: 56:[23, 13] Operation: 21-8=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[8, 2], Operations: ['91-70=21', '23-21=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[23, 29], Operations: ['91-70=21', '8+21=29']
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,56 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[23, 13], Operations: ['91-70=21', '21-8=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,56 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[70, 8, 68], Operations: ['91-23=68']
Exploring Operation: 70-8=62, Resulting Numbers: [68, 62]
Generated Node #0,2,0: 56:[68, 62] Operation: 70-8=62
Exploring Operation: 70-68=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 56:[8, 2] Operation: 70-68=2
Exploring Operation: 68-8=60, Resulting Numbers: [70, 60]
Generated Node #0,2,2: 56:[70, 60] Operation: 68-8=60
Moving to Node #0,2,1
Current State: 56:[8, 2], Operations: ['91-23=68', '70-68=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[68, 62], Operations: ['91-23=68', '70-8=62']
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[70, 60], Operations: ['91-23=68', '68-8=60']
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,56 unequal: No Solution
No 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: 56:[91, 8, 47], Operations: ['70-23=47']
Exploring Operation: 8+47=55, Resulting Numbers: [91, 55]
Generated Node #0,0,0: 56:[91, 55] Operation: 8+47=55
Exploring Operation: 91-8=83, Resulting Numbers: [47, 83]
Generated Node #0,0,1: 56:[47, 83] Operation: 91-8=83
Exploring Operation: 91-47=44, Resulting Numbers: [8, 44]
Generated Node #0,0,2: 56:[8, 44] Operation: 91-47=44
Moving to Node #0,0,2
Current State: 56:[8, 44], Operations: ['70-23=47', '91-47=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[91, 55], Operations: ['70-23=47', '8+47=55']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,56 unequal: No Solution
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[47, 83], Operations: ['70-23=47', '91-8=83']
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,56 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 |
[
22,
41,
33,
32
] | 20 | [
"41-22=19",
"33-32=1",
"19+1=20"
] | Current State: 20:[22, 41, 33, 32], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [33, 32, 19]
Generated Node #2: [33, 32, 19] from Operation: 41-22=19
Current State: 20:[33, 32, 19], Operations: ['41-22=19']
Exploring Operation: 33-32=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 33-32=1
Current State: 20:[19, 1], Operations: ['41-22=19', '33-32=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[22, 41, 33, 32], Operations: []
Exploring Operation: 41-33=8, Resulting Numbers: [22, 32, 8]
Generated Node #0,0: 20:[22, 32, 8] Operation: 41-33=8
Moving to Node #0,0
Current State: 20:[22, 32, 8], Operations: ['41-33=8']
Exploring Operation: 32-22=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 20:[8, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[8, 10], Operations: ['41-33=8', '32-22=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,20 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 |
[
43,
88,
2,
74
] | 94 | [
"43+88=131",
"74/2=37",
"131-37=94"
] | Current State: 94:[43, 88, 2, 74], Operations: []
Exploring Operation: 43+88=131, Resulting Numbers: [2, 74, 131]
Generated Node #2: [2, 74, 131] from Operation: 43+88=131
Current State: 94:[2, 74, 131], Operations: ['43+88=131']
Exploring Operation: 74/2=37, Resulting Numbers: [131, 37]
Generated Node #3: [131, 37] from Operation: 74/2=37
Current State: 94:[131, 37], Operations: ['43+88=131', '74/2=37']
Exploring Operation: 131-37=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[43, 88, 2, 74], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [43, 88, 37]
Generated Node #0,0: 94:[43, 88, 37] Operation: 74/2=37
Exploring Operation: 88-43=45, Resulting Numbers: [2, 74, 45]
Generated Node #0,1: 94:[2, 74, 45] Operation: 88-43=45
Exploring Operation: 88-74=14, Resulting Numbers: [43, 2, 14]
Generated Node #0,2: 94:[43, 2, 14] Operation: 88-74=14
Moving to Node #0,2
Current State: 94:[43, 2, 14], Operations: ['88-74=14']
Exploring Operation: 43+14=57, Resulting Numbers: [2, 57]
Generated Node #0,2,0: 94:[2, 57] Operation: 43+14=57
Exploring Operation: 43+2=45, Resulting Numbers: [14, 45]
Generated Node #0,2,1: 94:[14, 45] Operation: 43+2=45
Exploring Operation: 14/2=7, Resulting Numbers: [43, 7]
Generated Node #0,2,2: 94:[43, 7] Operation: 14/2=7
Moving to Node #0,0
Current State: 94:[43, 88, 37], Operations: ['74/2=37']
Exploring Operation: 43-37=6, Resulting Numbers: [88, 6]
Generated Node #0,0,0: 94:[88, 6] Operation: 43-37=6
Exploring Operation: 88-37=51, Resulting Numbers: [43, 51]
Generated Node #0,0,1: 94:[43, 51] Operation: 88-37=51
Exploring Operation: 88-43=45, Resulting Numbers: [37, 45]
Generated Node #0,0,2: 94:[37, 45] Operation: 88-43=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[43, 51], Operations: ['74/2=37', '88-37=51']
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,94 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[43, 88, 2, 74], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [43, 88, 37]
Generated Node #0,0: 94:[43, 88, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 94:[43, 88, 37], Operations: ['74/2=37']
Exploring Operation: 88-37=51, Resulting Numbers: [43, 51]
Generated Node #0,0,1: 94:[43, 51] Operation: 88-37=51
Moving to Node #0,0,1
Current State: 94:[43, 51], Operations: ['74/2=37', '88-37=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
26,
14,
20,
82
] | 90 | [
"26-14=12",
"20+82=102",
"102-12=90"
] | Current State: 90:[26, 14, 20, 82], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [20, 82, 12]
Generated Node #2: [20, 82, 12] from Operation: 26-14=12
Current State: 90:[20, 82, 12], Operations: ['26-14=12']
Exploring Operation: 20+82=102, Resulting Numbers: [12, 102]
Generated Node #3: [12, 102] from Operation: 20+82=102
Current State: 90:[12, 102], Operations: ['26-14=12', '20+82=102']
Exploring Operation: 102-12=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[26, 14, 20, 82], Operations: []
Exploring Operation: 26+20=46, Resulting Numbers: [14, 82, 46]
Generated Node #0,0: 90:[14, 82, 46] Operation: 26+20=46
Exploring Operation: 20-14=6, Resulting Numbers: [26, 82, 6]
Generated Node #0,1: 90:[26, 82, 6] Operation: 20-14=6
Exploring Operation: 26-14=12, Resulting Numbers: [20, 82, 12]
Generated Node #0,2: 90:[20, 82, 12] Operation: 26-14=12
Exploring Operation: 26-20=6, Resulting Numbers: [14, 82, 6]
Generated Node #0,3: 90:[14, 82, 6] Operation: 26-20=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[14, 82, 6], Operations: ['26-20=6']
Exploring Operation: 14+82=96, Resulting Numbers: [6, 96]
Generated Node #0,3,0: 90:[6, 96] Operation: 14+82=96
Exploring Operation: 14+6=20, Resulting Numbers: [82, 20]
Generated Node #0,3,1: 90:[82, 20] Operation: 14+6=20
Exploring Operation: 82+6=88, Resulting Numbers: [14, 88]
Generated Node #0,3,2: 90:[14, 88] Operation: 82+6=88
Exploring Operation: 14-6=8, Resulting Numbers: [82, 8]
Generated Node #0,3,3: 90:[82, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[14, 88], Operations: ['26-20=6', '82+6=88']
Exploring Operation: 14+88=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 14*88=1232, Resulting Numbers: [1232]
1232,90 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[6, 96], Operations: ['26-20=6', '14+82=96']
Exploring Operation: 6*96=576, Resulting Numbers: [576]
576,90 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[26, 14, 20, 82], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [14, 82, 6]
Generated Node #0,3: 90:[14, 82, 6] Operation: 26-20=6
Moving to Node #0,3
Current State: 90:[14, 82, 6], Operations: ['26-20=6']
Exploring Operation: 14+82=96, Resulting Numbers: [6, 96]
Generated Node #0,3,0: 90:[6, 96] Operation: 14+82=96
Moving to Node #0,3,0
Current State: 90:[6, 96], Operations: ['26-20=6', '14+82=96']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
16,
24,
34,
36
] | 16 | [
"24-16=8",
"36-34=2",
"8*2=16"
] | Current State: 16:[16, 24, 34, 36], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [34, 36, 8]
Generated Node #2: [34, 36, 8] from Operation: 24-16=8
Current State: 16:[34, 36, 8], Operations: ['24-16=8']
Exploring Operation: 36-34=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 36-34=2
Current State: 16:[8, 2], Operations: ['24-16=8', '36-34=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[16, 24, 34, 36], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [16, 24, 2]
Generated Node #0,0: 16:[16, 24, 2] Operation: 36-34=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[16, 24, 2], Operations: ['36-34=2']
Exploring Operation: 24-16=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 16:[2, 8] Operation: 24-16=8
Moving to Node #0,0,0
Current State: 16:[2, 8], Operations: ['36-34=2', '24-16=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[16, 24, 34, 36], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [16, 24, 2]
Generated Node #0,0: 16:[16, 24, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 16:[16, 24, 2], Operations: ['36-34=2']
Exploring Operation: 24-16=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 16:[2, 8] Operation: 24-16=8
Moving to Node #0,0,0
Current State: 16:[2, 8], Operations: ['36-34=2', '24-16=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
32,
4,
90
] | 41 | [
"90-3=87",
"32*4=128",
"128-87=41"
] | Current State: 41:[3, 32, 4, 90], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [32, 4, 87]
Generated Node #2: [32, 4, 87] from Operation: 90-3=87
Current State: 41:[32, 4, 87], Operations: ['90-3=87']
Exploring Operation: 32*4=128, Resulting Numbers: [87, 128]
Generated Node #3: [87, 128] from Operation: 32*4=128
Current State: 41:[87, 128], Operations: ['90-3=87', '32*4=128']
Exploring Operation: 128-87=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 32, 4, 90], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [4, 90, 35]
Generated Node #0,0: 41:[4, 90, 35] Operation: 3+32=35
Exploring Operation: 90/3=30, Resulting Numbers: [32, 4, 30]
Generated Node #0,1: 41:[32, 4, 30] Operation: 90/3=30
Exploring Operation: 3+4=7, Resulting Numbers: [32, 90, 7]
Generated Node #0,2: 41:[32, 90, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [32, 90, 12]
Generated Node #0,3: 41:[32, 90, 12] Operation: 3*4=12
Moving to Node #0,1
Current State: 41:[32, 4, 30], Operations: ['90/3=30']
Exploring Operation: 32-4=28, Resulting Numbers: [30, 28]
Generated Node #0,1,0: 41:[30, 28] Operation: 32-4=28
Exploring Operation: 32+4=36, Resulting Numbers: [30, 36]
Generated Node #0,1,1: 41:[30, 36] Operation: 32+4=36
Exploring Operation: 30-4=26, Resulting Numbers: [32, 26]
Generated Node #0,1,2: 41:[32, 26] Operation: 30-4=26
Exploring Operation: 4+30=34, Resulting Numbers: [32, 34]
Generated Node #0,1,3: 41:[32, 34] Operation: 4+30=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[30, 36], Operations: ['90/3=30', '32+4=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,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,3
Current State: 41:[32, 34], Operations: ['90/3=30', '4+30=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,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,0
Current State: 41:[30, 28], Operations: ['90/3=30', '32-4=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,41 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,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,2
Current State: 41:[32, 26], Operations: ['90/3=30', '30-4=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,41 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,41 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: 41:[32, 90, 12], Operations: ['3*4=12']
Exploring Operation: 32-12=20, Resulting Numbers: [90, 20]
Generated Node #0,3,0: 41:[90, 20] Operation: 32-12=20
Exploring Operation: 90-12=78, Resulting Numbers: [32, 78]
Generated Node #0,3,1: 41:[32, 78] Operation: 90-12=78
Exploring Operation: 32+12=44, Resulting Numbers: [90, 44]
Generated Node #0,3,2: 41:[90, 44] Operation: 32+12=44
Exploring Operation: 90-32=58, Resulting Numbers: [12, 58]
Generated Node #0,3,3: 41:[12, 58] Operation: 90-32=58
Moving to Node #0,2
Current State: 41:[32, 90, 7], Operations: ['3+4=7']
Exploring Operation: 90-32=58, Resulting Numbers: [7, 58]
Generated Node #0,2,0: 41:[7, 58] Operation: 90-32=58
Exploring Operation: 90-7=83, Resulting Numbers: [32, 83]
Generated Node #0,2,1: 41:[32, 83] Operation: 90-7=83
Exploring Operation: 32+7=39, Resulting Numbers: [90, 39]
Generated Node #0,2,2: 41:[90, 39] Operation: 32+7=39
Exploring Operation: 32-7=25, Resulting Numbers: [90, 25]
Generated Node #0,2,3: 41:[90, 25] Operation: 32-7=25
Moving to Node #0,0
Current State: 41:[4, 90, 35], Operations: ['3+32=35']
Exploring Operation: 4+90=94, Resulting Numbers: [35, 94]
Generated Node #0,0,0: 41:[35, 94] Operation: 4+90=94
Exploring Operation: 90-4=86, Resulting Numbers: [35, 86]
Generated Node #0,0,1: 41:[35, 86] Operation: 90-4=86
Exploring Operation: 4+35=39, Resulting Numbers: [90, 39]
Generated Node #0,0,2: 41:[90, 39] Operation: 4+35=39
Exploring Operation: 90-35=55, Resulting Numbers: [4, 55]
Generated Node #0,0,3: 41:[4, 55] Operation: 90-35=55
Moving to Node #0,3,1
Current State: 41:[32, 78], Operations: ['3*4=12', '90-12=78']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 32+78=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 32*78=2496, Resulting Numbers: [2496]
2496,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[12, 58], Operations: ['3*4=12', '90-32=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,41 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[32, 83], Operations: ['3+4=7', '90-7=83']
Exploring Operation: 32*83=2656, Resulting Numbers: [2656]
2656,41 unequal: No Solution
Exploring Operation: 32+83=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[90, 39], Operations: ['3+4=7', '32+7=39']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[90, 39], Operations: ['3+32=35', '4+35=39']
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[7, 58], Operations: ['3+4=7', '90-32=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,41 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[4, 55], Operations: ['3+32=35', '90-35=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[35, 86], Operations: ['3+32=35', '90-4=86']
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,41 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[90, 44], Operations: ['3*4=12', '32+12=44']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,41 unequal: No Solution
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[35, 94], Operations: ['3+32=35', '4+90=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[90, 25], Operations: ['3+4=7', '32-7=25']
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,41 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[90, 20], Operations: ['3*4=12', '32-12=20']
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,41 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
27,
14,
29,
34
] | 82 | [
"29-27=2",
"34*2=68",
"14+68=82"
] | Current State: 82:[27, 14, 29, 34], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [14, 34, 2]
Generated Node #2: [14, 34, 2] from Operation: 29-27=2
Current State: 82:[14, 34, 2], Operations: ['29-27=2']
Exploring Operation: 34*2=68, Resulting Numbers: [14, 68]
Generated Node #3: [14, 68] from Operation: 34*2=68
Current State: 82:[14, 68], Operations: ['29-27=2', '34*2=68']
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[27, 14, 29, 34], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [14, 34, 2]
Generated Node #0,0: 82:[14, 34, 2] Operation: 29-27=2
Exploring Operation: 27+14=41, Resulting Numbers: [29, 34, 41]
Generated Node #0,1: 82:[29, 34, 41] Operation: 27+14=41
Moving to Node #0,0
Current State: 82:[14, 34, 2], Operations: ['29-27=2']
Exploring Operation: 14+34=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 82:[2, 48] Operation: 14+34=48
Exploring Operation: 14/2=7, Resulting Numbers: [34, 7]
Generated Node #0,0,1: 82:[34, 7] Operation: 14/2=7
Moving to Node #0,1
Current State: 82:[29, 34, 41], Operations: ['27+14=41']
Exploring Operation: 34-29=5, Resulting Numbers: [41, 5]
Generated Node #0,1,0: 82:[41, 5] Operation: 34-29=5
Exploring Operation: 41-29=12, Resulting Numbers: [34, 12]
Generated Node #0,1,1: 82:[34, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[41, 5], Operations: ['27+14=41', '34-29=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[34, 12], Operations: ['27+14=41', '41-29=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,82 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: 82:[2, 48], Operations: ['29-27=2', '14+34=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[34, 7], Operations: ['29-27=2', '14/2=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,82 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
13,
56,
88
] | 84 | [
"1+13=14",
"56/14=4",
"88-4=84"
] | Current State: 84:[1, 13, 56, 88], Operations: []
Exploring Operation: 1+13=14, Resulting Numbers: [56, 88, 14]
Generated Node #2: [56, 88, 14] from Operation: 1+13=14
Current State: 84:[56, 88, 14], Operations: ['1+13=14']
Exploring Operation: 56/14=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 56/14=4
Current State: 84:[88, 4], Operations: ['1+13=14', '56/14=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[1, 13, 56, 88], Operations: []
Exploring Operation: 56-13=43, Resulting Numbers: [1, 88, 43]
Generated Node #0,0: 84:[1, 88, 43] Operation: 56-13=43
Exploring Operation: 1+13=14, Resulting Numbers: [56, 88, 14]
Generated Node #0,1: 84:[56, 88, 14] Operation: 1+13=14
Exploring Operation: 88-56=32, Resulting Numbers: [1, 13, 32]
Generated Node #0,2: 84:[1, 13, 32] Operation: 88-56=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[1, 88, 43], Operations: ['56-13=43']
Exploring Operation: 88-43=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 84:[1, 45] Operation: 88-43=45
Exploring Operation: 43-1=42, Resulting Numbers: [88, 42]
Generated Node #0,0,1: 84:[88, 42] Operation: 43-1=42
Exploring Operation: 88-1=87, Resulting Numbers: [43, 87]
Generated Node #0,0,2: 84:[43, 87] Operation: 88-1=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[1, 45], Operations: ['56-13=43', '88-43=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[88, 42], Operations: ['56-13=43', '43-1=42']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,84 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[43, 87], Operations: ['56-13=43', '88-1=87']
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,84 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,84 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[1, 13, 32], Operations: ['88-56=32']
Exploring Operation: 1+13=14, Resulting Numbers: [32, 14]
Generated Node #0,2,0: 84:[32, 14] Operation: 1+13=14
Exploring Operation: 32-13=19, Resulting Numbers: [1, 19]
Generated Node #0,2,1: 84:[1, 19] Operation: 32-13=19
Exploring Operation: 13-1=12, Resulting Numbers: [32, 12]
Generated Node #0,2,2: 84:[32, 12] Operation: 13-1=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[1, 19], Operations: ['88-56=32', '32-13=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[32, 14], Operations: ['88-56=32', '1+13=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[32, 12], Operations: ['88-56=32', '13-1=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,84 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[56, 88, 14], Operations: ['1+13=14']
Exploring Operation: 56/14=4, Resulting Numbers: [88, 4]
Generated Node #0,1,0: 84:[88, 4] Operation: 56/14=4
Exploring Operation: 88-56=32, Resulting Numbers: [14, 32]
Generated Node #0,1,1: 84:[14, 32] Operation: 88-56=32
Exploring Operation: 56-14=42, Resulting Numbers: [88, 42]
Generated Node #0,1,2: 84:[88, 42] Operation: 56-14=42
Moving to Node #0,1,0
Current State: 84:[88, 4], Operations: ['1+13=14', '56/14=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,84 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[1, 13, 56, 88], Operations: []
Exploring Operation: 1+13=14, Resulting Numbers: [56, 88, 14]
Generated Node #0,1: 84:[56, 88, 14] Operation: 1+13=14
Moving to Node #0,1
Current State: 84:[56, 88, 14], Operations: ['1+13=14']
Exploring Operation: 56/14=4, Resulting Numbers: [88, 4]
Generated Node #0,1,0: 84:[88, 4] Operation: 56/14=4
Moving to Node #0,1,0
Current State: 84:[88, 4], Operations: ['1+13=14', '56/14=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
95,
80,
58,
24
] | 49 | [
"95-80=15",
"58-24=34",
"15+34=49"
] | Current State: 49:[95, 80, 58, 24], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [58, 24, 15]
Generated Node #2: [58, 24, 15] from Operation: 95-80=15
Current State: 49:[58, 24, 15], Operations: ['95-80=15']
Exploring Operation: 58-24=34, Resulting Numbers: [15, 34]
Generated Node #3: [15, 34] from Operation: 58-24=34
Current State: 49:[15, 34], Operations: ['95-80=15', '58-24=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[95, 80, 58, 24], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [58, 24, 15]
Generated Node #0,0: 49:[58, 24, 15] Operation: 95-80=15
Exploring Operation: 95-58=37, Resulting Numbers: [80, 24, 37]
Generated Node #0,1: 49:[80, 24, 37] Operation: 95-58=37
Moving to Node #0,0
Current State: 49:[58, 24, 15], Operations: ['95-80=15']
Exploring Operation: 24-15=9, Resulting Numbers: [58, 9]
Generated Node #0,0,0: 49:[58, 9] Operation: 24-15=9
Exploring Operation: 24+15=39, Resulting Numbers: [58, 39]
Generated Node #0,0,1: 49:[58, 39] Operation: 24+15=39
Moving to Node #0,1
Current State: 49:[80, 24, 37], Operations: ['95-58=37']
Exploring Operation: 80-24=56, Resulting Numbers: [37, 56]
Generated Node #0,1,0: 49:[37, 56] Operation: 80-24=56
Exploring Operation: 80-37=43, Resulting Numbers: [24, 43]
Generated Node #0,1,1: 49:[24, 43] Operation: 80-37=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[37, 56], Operations: ['95-58=37', '80-24=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[24, 43], Operations: ['95-58=37', '80-37=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 49:[58, 9], Operations: ['95-80=15', '24-15=9']
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[95, 80, 58, 24], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [58, 24, 15]
Generated Node #0,0: 49:[58, 24, 15] Operation: 95-80=15
Moving to Node #0,0
Current State: 49:[58, 24, 15], Operations: ['95-80=15']
Exploring Operation: 24-15=9, Resulting Numbers: [58, 9]
Generated Node #0,0,0: 49:[58, 9] Operation: 24-15=9
Moving to Node #0,0,0
Current State: 49:[58, 9], Operations: ['95-80=15', '24-15=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
45,
9,
67,
27
] | 58 | [
"45-9=36",
"67+27=94",
"94-36=58"
] | Current State: 58:[45, 9, 67, 27], Operations: []
Exploring Operation: 45-9=36, Resulting Numbers: [67, 27, 36]
Generated Node #2: [67, 27, 36] from Operation: 45-9=36
Current State: 58:[67, 27, 36], Operations: ['45-9=36']
Exploring Operation: 67+27=94, Resulting Numbers: [36, 94]
Generated Node #3: [36, 94] from Operation: 67+27=94
Current State: 58:[36, 94], Operations: ['45-9=36', '67+27=94']
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[45, 9, 67, 27], Operations: []
Exploring Operation: 45+9=54, Resulting Numbers: [67, 27, 54]
Generated Node #0,0: 58:[67, 27, 54] Operation: 45+9=54
Exploring Operation: 45/9=5, Resulting Numbers: [67, 27, 5]
Generated Node #0,1: 58:[67, 27, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 58:[67, 27, 5], Operations: ['45/9=5']
Exploring Operation: 27+5=32, Resulting Numbers: [67, 32]
Generated Node #0,1,0: 58:[67, 32] Operation: 27+5=32
Exploring Operation: 67-5=62, Resulting Numbers: [27, 62]
Generated Node #0,1,1: 58:[27, 62] Operation: 67-5=62
Moving to Node #0,0
Current State: 58:[67, 27, 54], Operations: ['45+9=54']
Exploring Operation: 54-27=27, Resulting Numbers: [67, 27]
Generated Node #0,0,0: 58:[67, 27] Operation: 54-27=27
Exploring Operation: 54/27=2, Resulting Numbers: [67, 2]
Generated Node #0,0,1: 58:[67, 2] Operation: 54/27=2
Moving to Node #0,1,1
Current State: 58:[27, 62], Operations: ['45/9=5', '67-5=62']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[67, 2], Operations: ['45+9=54', '54/27=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[67, 27], Operations: ['45+9=54', '54-27=27']
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[67, 32], Operations: ['45/9=5', '27+5=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
1,
65,
4
] | 42 | [
"26+1=27",
"65+4=69",
"69-27=42"
] | Current State: 42:[26, 1, 65, 4], Operations: []
Exploring Operation: 26+1=27, Resulting Numbers: [65, 4, 27]
Generated Node #2: [65, 4, 27] from Operation: 26+1=27
Current State: 42:[65, 4, 27], Operations: ['26+1=27']
Exploring Operation: 65+4=69, Resulting Numbers: [27, 69]
Generated Node #3: [27, 69] from Operation: 65+4=69
Current State: 42:[27, 69], Operations: ['26+1=27', '65+4=69']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[26, 1, 65, 4], Operations: []
Exploring Operation: 26-4=22, Resulting Numbers: [1, 65, 22]
Generated Node #0,0: 42:[1, 65, 22] Operation: 26-4=22
Exploring Operation: 26-1=25, Resulting Numbers: [65, 4, 25]
Generated Node #0,1: 42:[65, 4, 25] Operation: 26-1=25
Exploring Operation: 65-26=39, Resulting Numbers: [1, 4, 39]
Generated Node #0,2: 42:[1, 4, 39] Operation: 65-26=39
Exploring Operation: 65-4=61, Resulting Numbers: [26, 1, 61]
Generated Node #0,3: 42:[26, 1, 61] Operation: 65-4=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[1, 4, 39], Operations: ['65-26=39']
Exploring Operation: 4-1=3, Resulting Numbers: [39, 3]
Generated Node #0,2,0: 42:[39, 3] Operation: 4-1=3
Exploring Operation: 1+4=5, Resulting Numbers: [39, 5]
Generated Node #0,2,1: 42:[39, 5] Operation: 1+4=5
Exploring Operation: 1+39=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 42:[4, 40] Operation: 1+39=40
Exploring Operation: 4+39=43, Resulting Numbers: [1, 43]
Generated Node #0,2,3: 42:[1, 43] Operation: 4+39=43
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[1, 43], Operations: ['65-26=39', '4+39=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[26, 1, 65, 4], Operations: []
Exploring Operation: 65-26=39, Resulting Numbers: [1, 4, 39]
Generated Node #0,2: 42:[1, 4, 39] Operation: 65-26=39
Moving to Node #0,2
Current State: 42:[1, 4, 39], Operations: ['65-26=39']
Exploring Operation: 4+39=43, Resulting Numbers: [1, 43]
Generated Node #0,2,3: 42:[1, 43] Operation: 4+39=43
Moving to Node #0,2,3
Current State: 42:[1, 43], Operations: ['65-26=39', '4+39=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
2,
14,
39,
71
] | 20 | [
"14-2=12",
"71-39=32",
"32-12=20"
] | Current State: 20:[2, 14, 39, 71], Operations: []
Exploring Operation: 14-2=12, Resulting Numbers: [39, 71, 12]
Generated Node #2: [39, 71, 12] from Operation: 14-2=12
Current State: 20:[39, 71, 12], Operations: ['14-2=12']
Exploring Operation: 71-39=32, Resulting Numbers: [12, 32]
Generated Node #3: [12, 32] from Operation: 71-39=32
Current State: 20:[12, 32], Operations: ['14-2=12', '71-39=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 14, 39, 71], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [2, 14, 32]
Generated Node #0,0: 20:[2, 14, 32] Operation: 71-39=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 14, 32], Operations: ['71-39=32']
Exploring Operation: 32-14=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 32-14=18
Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['71-39=32', '32-14=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[2, 14, 39, 71], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [2, 14, 32]
Generated Node #0,0: 20:[2, 14, 32] Operation: 71-39=32
Moving to Node #0,0
Current State: 20:[2, 14, 32], Operations: ['71-39=32']
Exploring Operation: 32-14=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 32-14=18
Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['71-39=32', '32-14=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
33,
8,
56,
77
] | 20 | [
"33+8=41",
"77-56=21",
"41-21=20"
] | Current State: 20:[33, 8, 56, 77], Operations: []
Exploring Operation: 33+8=41, Resulting Numbers: [56, 77, 41]
Generated Node #2: [56, 77, 41] from Operation: 33+8=41
Current State: 20:[56, 77, 41], Operations: ['33+8=41']
Exploring Operation: 77-56=21, Resulting Numbers: [41, 21]
Generated Node #3: [41, 21] from Operation: 77-56=21
Current State: 20:[41, 21], Operations: ['33+8=41', '77-56=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[33, 8, 56, 77], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [33, 8, 21]
Generated Node #0,0: 20:[33, 8, 21] Operation: 77-56=21
Moving to Node #0,0
Current State: 20:[33, 8, 21], Operations: ['77-56=21']
Exploring Operation: 33-21=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 20:[8, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[8, 12], Operations: ['77-56=21', '33-21=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[33, 8, 56, 77], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [33, 8, 21]
Generated Node #0,0: 20:[33, 8, 21] Operation: 77-56=21
Moving to Node #0,0
Current State: 20:[33, 8, 21], Operations: ['77-56=21']
Exploring Operation: 33-21=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 20:[8, 12] Operation: 33-21=12
Moving to Node #0,0,0
Current State: 20:[8, 12], Operations: ['77-56=21', '33-21=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
94,
94,
33
] | 87 | [
"94-68=26",
"94-33=61",
"26+61=87"
] | Current State: 87:[68, 94, 94, 33], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [33, 26]
Generated Node #2: [33, 26] from Operation: 94-68=26
Current State: 87:[33, 26], Operations: ['94-68=26']
Exploring Operation: 94-33=61, Resulting Numbers: [26, 61]
Generated Node #3: [26, 61] from Operation: 94-33=61
Current State: 87:[26, 61], Operations: ['94-68=26', '94-33=61']
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[68, 94, 94, 33], Operations: []
Exploring Operation: 68-33=35, Resulting Numbers: [94, 94, 35]
Generated Node #0,0: 87:[94, 94, 35] Operation: 68-33=35
Exploring Operation: 94-68=26, Resulting Numbers: [94, 33, 26]
Generated Node #0,1: 87:[94, 33, 26] Operation: 94-68=26
Exploring Operation: 94-68=26, Resulting Numbers: [94, 33, 26]
Generated Node #0,2: 87:[94, 33, 26] Operation: 94-68=26
Moving to Node #0,1
Current State: 87:[94, 33, 26], Operations: ['94-68=26']
Exploring Operation: 94-26=68, Resulting Numbers: [33, 68]
Generated Node #0,1,0: 87:[33, 68] Operation: 94-26=68
Exploring Operation: 33-26=7, Resulting Numbers: [94, 7]
Generated Node #0,1,1: 87:[94, 7] Operation: 33-26=7
Exploring Operation: 94-33=61, Resulting Numbers: [26, 61]
Generated Node #0,1,2: 87:[26, 61] Operation: 94-33=61
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[94, 7], Operations: ['94-68=26', '33-26=7']
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,87 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[68, 94, 94, 33], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [94, 33, 26]
Generated Node #0,1: 87:[94, 33, 26] Operation: 94-68=26
Moving to Node #0,1
Current State: 87:[94, 33, 26], Operations: ['94-68=26']
Exploring Operation: 33-26=7, Resulting Numbers: [94, 7]
Generated Node #0,1,1: 87:[94, 7] Operation: 33-26=7
Moving to Node #0,1,1
Current State: 87:[94, 7], Operations: ['94-68=26', '33-26=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
9,
55,
90,
46
] | 91 | [
"55-9=46",
"46/46=1",
"90+1=91"
] | Current State: 91:[9, 55, 90, 46], Operations: []
Exploring Operation: 55-9=46, Resulting Numbers: [90, 46, 46]
Generated Node #2: [90, 46, 46] from Operation: 55-9=46
Current State: 91:[90, 46, 46], Operations: ['55-9=46']
Exploring Operation: 46/46=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 46/46=1
Current State: 91:[90, 1], Operations: ['55-9=46', '46/46=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 55, 90, 46], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [9, 46, 35]
Generated Node #0,0: 91:[9, 46, 35] Operation: 90-55=35
Exploring Operation: 55+46=101, Resulting Numbers: [9, 90, 101]
Generated Node #0,1: 91:[9, 90, 101] Operation: 55+46=101
Exploring Operation: 55-46=9, Resulting Numbers: [9, 90, 9]
Generated Node #0,2: 91:[9, 90, 9] Operation: 55-46=9
Moving to Node #0,2
Current State: 91:[9, 90, 9], Operations: ['55-46=9']
Exploring Operation: 90/9=10, Resulting Numbers: [9, 10]
Generated Node #0,2,0: 91:[9, 10] Operation: 90/9=10
Exploring Operation: 90/9=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 91:[9, 10] Operation: 90/9=10
Exploring Operation: 9+9=18, Resulting Numbers: [90, 18]
Generated Node #0,2,2: 91:[90, 18] Operation: 9+9=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[9, 10], Operations: ['55-46=9', '90/9=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[9, 10], Operations: ['55-46=9', '90/9=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[90, 18], Operations: ['55-46=9', '9+9=18']
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,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:[9, 90, 101], Operations: ['55+46=101']
Exploring Operation: 90/9=10, Resulting Numbers: [101, 10]
Generated Node #0,1,0: 91:[101, 10] Operation: 90/9=10
Exploring Operation: 101-9=92, Resulting Numbers: [90, 92]
Generated Node #0,1,1: 91:[90, 92] Operation: 101-9=92
Exploring Operation: 101-90=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 91:[9, 11] Operation: 101-90=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[90, 92], Operations: ['55+46=101', '101-9=92']
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,91 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[9, 11], Operations: ['55+46=101', '101-90=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[101, 10], Operations: ['55+46=101', '90/9=10']
Exploring Operation: 101*10=1010, Resulting Numbers: [1010]
1010,91 unequal: No Solution
Exploring Operation: 101+10=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[9, 55, 90, 46], Operations: []
Exploring Operation: 55+46=101, Resulting Numbers: [9, 90, 101]
Generated Node #0,1: 91:[9, 90, 101] Operation: 55+46=101
Moving to Node #0,1
Current State: 91:[9, 90, 101], Operations: ['55+46=101']
Exploring Operation: 90/9=10, Resulting Numbers: [101, 10]
Generated Node #0,1,0: 91:[101, 10] Operation: 90/9=10
Moving to Node #0,1,0
Current State: 91:[101, 10], Operations: ['55+46=101', '90/9=10']
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
49,
99,
20,
83
] | 53 | [
"99-49=50",
"20+83=103",
"103-50=53"
] | Current State: 53:[49, 99, 20, 83], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [20, 83, 50]
Generated Node #2: [20, 83, 50] from Operation: 99-49=50
Current State: 53:[20, 83, 50], Operations: ['99-49=50']
Exploring Operation: 20+83=103, Resulting Numbers: [50, 103]
Generated Node #3: [50, 103] from Operation: 20+83=103
Current State: 53:[50, 103], Operations: ['99-49=50', '20+83=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[49, 99, 20, 83], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [49, 99, 63]
Generated Node #0,0: 53:[49, 99, 63] Operation: 83-20=63
Exploring Operation: 99-20=79, Resulting Numbers: [49, 83, 79]
Generated Node #0,1: 53:[49, 83, 79] Operation: 99-20=79
Moving to Node #0,0
Current State: 53:[49, 99, 63], Operations: ['83-20=63']
Exploring Operation: 99-63=36, Resulting Numbers: [49, 36]
Generated Node #0,0,0: 53:[49, 36] Operation: 99-63=36
Exploring Operation: 99-49=50, Resulting Numbers: [63, 50]
Generated Node #0,0,1: 53:[63, 50] Operation: 99-49=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[63, 50], Operations: ['83-20=63', '99-49=50']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,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,0,0
Current State: 53:[49, 36], Operations: ['83-20=63', '99-63=36']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,53 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: 53:[49, 83, 79], Operations: ['99-20=79']
Exploring Operation: 83-49=34, Resulting Numbers: [79, 34]
Generated Node #0,1,0: 53:[79, 34] Operation: 83-49=34
Exploring Operation: 79-49=30, Resulting Numbers: [83, 30]
Generated Node #0,1,1: 53:[83, 30] Operation: 79-49=30
Moving to Node #0,1,0
Current State: 53:[79, 34], Operations: ['99-20=79', '83-49=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[83, 30], Operations: ['99-20=79', '79-49=30']
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[49, 99, 20, 83], Operations: []
Exploring Operation: 99-20=79, Resulting Numbers: [49, 83, 79]
Generated Node #0,1: 53:[49, 83, 79] Operation: 99-20=79
Moving to Node #0,1
Current State: 53:[49, 83, 79], Operations: ['99-20=79']
Exploring Operation: 79-49=30, Resulting Numbers: [83, 30]
Generated Node #0,1,1: 53:[83, 30] Operation: 79-49=30
Moving to Node #0,1,1
Current State: 53:[83, 30], Operations: ['99-20=79', '79-49=30']
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
89,
1,
15,
80
] | 25 | [
"89+1=90",
"80-15=65",
"90-65=25"
] | Current State: 25:[89, 1, 15, 80], Operations: []
Exploring Operation: 89+1=90, Resulting Numbers: [15, 80, 90]
Generated Node #2: [15, 80, 90] from Operation: 89+1=90
Current State: 25:[15, 80, 90], Operations: ['89+1=90']
Exploring Operation: 80-15=65, Resulting Numbers: [90, 65]
Generated Node #3: [90, 65] from Operation: 80-15=65
Current State: 25:[90, 65], Operations: ['89+1=90', '80-15=65']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[89, 1, 15, 80], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [89, 1, 65]
Generated Node #0,0: 25:[89, 1, 65] Operation: 80-15=65
Exploring Operation: 89-15=74, Resulting Numbers: [1, 80, 74]
Generated Node #0,1: 25:[1, 80, 74] Operation: 89-15=74
Exploring Operation: 89-80=9, Resulting Numbers: [1, 15, 9]
Generated Node #0,2: 25:[1, 15, 9] Operation: 89-80=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[1, 15, 9], Operations: ['89-80=9']
Exploring Operation: 1+15=16, Resulting Numbers: [9, 16]
Generated Node #0,2,0: 25:[9, 16] Operation: 1+15=16
Exploring Operation: 15+9=24, Resulting Numbers: [1, 24]
Generated Node #0,2,1: 25:[1, 24] Operation: 15+9=24
Exploring Operation: 15-9=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 25:[1, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[1, 24], Operations: ['89-80=9', '15+9=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[89, 1, 15, 80], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [1, 15, 9]
Generated Node #0,2: 25:[1, 15, 9] Operation: 89-80=9
Moving to Node #0,2
Current State: 25:[1, 15, 9], Operations: ['89-80=9']
Exploring Operation: 15+9=24, Resulting Numbers: [1, 24]
Generated Node #0,2,1: 25:[1, 24] Operation: 15+9=24
Moving to Node #0,2,1
Current State: 25:[1, 24], Operations: ['89-80=9', '15+9=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
49,
64,
74,
32
] | 71 | [
"49+64=113",
"74-32=42",
"113-42=71"
] | Current State: 71:[49, 64, 74, 32], Operations: []
Exploring Operation: 49+64=113, Resulting Numbers: [74, 32, 113]
Generated Node #2: [74, 32, 113] from Operation: 49+64=113
Current State: 71:[74, 32, 113], Operations: ['49+64=113']
Exploring Operation: 74-32=42, Resulting Numbers: [113, 42]
Generated Node #3: [113, 42] from Operation: 74-32=42
Current State: 71:[113, 42], Operations: ['49+64=113', '74-32=42']
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[49, 64, 74, 32], Operations: []
Exploring Operation: 49+32=81, Resulting Numbers: [64, 74, 81]
Generated Node #0,0: 71:[64, 74, 81] Operation: 49+32=81
Moving to Node #0,0
Current State: 71:[64, 74, 81], Operations: ['49+32=81']
Exploring Operation: 81-64=17, Resulting Numbers: [74, 17]
Generated Node #0,0,0: 71:[74, 17] Operation: 81-64=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[74, 17], Operations: ['49+32=81', '81-64=17']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,71 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 |
[
56,
83,
90,
78
] | 74 | [
"83-78=5",
"90/5=18",
"56+18=74"
] | Current State: 74:[56, 83, 90, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [56, 90, 5]
Generated Node #2: [56, 90, 5] from Operation: 83-78=5
Current State: 74:[56, 90, 5], Operations: ['83-78=5']
Exploring Operation: 90/5=18, Resulting Numbers: [56, 18]
Generated Node #3: [56, 18] from Operation: 90/5=18
Current State: 74:[56, 18], Operations: ['83-78=5', '90/5=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[56, 83, 90, 78], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [83, 78, 34]
Generated Node #0,0: 74:[83, 78, 34] Operation: 90-56=34
Exploring Operation: 90-78=12, Resulting Numbers: [56, 83, 12]
Generated Node #0,1: 74:[56, 83, 12] Operation: 90-78=12
Exploring Operation: 83-56=27, Resulting Numbers: [90, 78, 27]
Generated Node #0,2: 74:[90, 78, 27] Operation: 83-56=27
Exploring Operation: 83-78=5, Resulting Numbers: [56, 90, 5]
Generated Node #0,3: 74:[56, 90, 5] Operation: 83-78=5
Exploring Operation: 90-83=7, Resulting Numbers: [56, 78, 7]
Generated Node #0,4: 74:[56, 78, 7] Operation: 90-83=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[83, 78, 34], Operations: ['90-56=34']
Exploring Operation: 83+34=117, Resulting Numbers: [78, 117]
Generated Node #0,0,0: 74:[78, 117] Operation: 83+34=117
Exploring Operation: 78-34=44, Resulting Numbers: [83, 44]
Generated Node #0,0,1: 74:[83, 44] Operation: 78-34=44
Exploring Operation: 78+34=112, Resulting Numbers: [83, 112]
Generated Node #0,0,2: 74:[83, 112] Operation: 78+34=112
Exploring Operation: 83-78=5, Resulting Numbers: [34, 5]
Generated Node #0,0,3: 74:[34, 5] Operation: 83-78=5
Exploring Operation: 83-34=49, Resulting Numbers: [78, 49]
Generated Node #0,0,4: 74:[78, 49] Operation: 83-34=49
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[34, 5], Operations: ['90-56=34', '83-78=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,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:[83, 44], Operations: ['90-56=34', '78-34=44']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,74 unequal: No Solution
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,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,4
Current State: 74:[78, 49], Operations: ['90-56=34', '83-34=49']
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,74 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,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:[78, 117], Operations: ['90-56=34', '83+34=117']
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 78+117=195, Resulting Numbers: [195]
195,74 unequal: No Solution
Exploring Operation: 78*117=9126, Resulting Numbers: [9126]
9126,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,2
Current State: 74:[83, 112], Operations: ['90-56=34', '78+34=112']
Exploring Operation: 83+112=195, Resulting Numbers: [195]
195,74 unequal: No Solution
Exploring Operation: 83*112=9296, Resulting Numbers: [9296]
9296,74 unequal: No Solution
Exploring Operation: 112-83=29, Resulting Numbers: [29]
29,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,4
Current State: 74:[56, 78, 7], Operations: ['90-83=7']
Exploring Operation: 56-7=49, Resulting Numbers: [78, 49]
Generated Node #0,4,0: 74:[78, 49] Operation: 56-7=49
Exploring Operation: 78-56=22, Resulting Numbers: [7, 22]
Generated Node #0,4,1: 74:[7, 22] Operation: 78-56=22
Exploring Operation: 56+7=63, Resulting Numbers: [78, 63]
Generated Node #0,4,2: 74:[78, 63] Operation: 56+7=63
Exploring Operation: 78-7=71, Resulting Numbers: [56, 71]
Generated Node #0,4,3: 74:[56, 71] Operation: 78-7=71
Exploring Operation: 56/7=8, Resulting Numbers: [78, 8]
Generated Node #0,4,4: 74:[78, 8] Operation: 56/7=8
Moving to Node #0,4,4
Current State: 74:[78, 8], Operations: ['90-83=7', '56/7=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[78, 63], Operations: ['90-83=7', '56+7=63']
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,74 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[78, 49], Operations: ['90-83=7', '56-7=49']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,74 unequal: No Solution
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[7, 22], Operations: ['90-83=7', '78-56=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[56, 71], Operations: ['90-83=7', '78-7=71']
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,74 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[90, 78, 27], Operations: ['83-56=27']
Exploring Operation: 78-27=51, Resulting Numbers: [90, 51]
Generated Node #0,2,0: 74:[90, 51] Operation: 78-27=51
Exploring Operation: 90-78=12, Resulting Numbers: [27, 12]
Generated Node #0,2,1: 74:[27, 12] Operation: 90-78=12
Exploring Operation: 90-27=63, Resulting Numbers: [78, 63]
Generated Node #0,2,2: 74:[78, 63] Operation: 90-27=63
Exploring Operation: 78+27=105, Resulting Numbers: [90, 105]
Generated Node #0,2,3: 74:[90, 105] Operation: 78+27=105
Exploring Operation: 90+27=117, Resulting Numbers: [78, 117]
Generated Node #0,2,4: 74:[78, 117] Operation: 90+27=117
Moving to Node #0,2,2
Current State: 74:[78, 63], Operations: ['83-56=27', '90-27=63']
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,74 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[27, 12], Operations: ['83-56=27', '90-78=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,74 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[90, 51], Operations: ['83-56=27', '78-27=51']
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,74 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[90, 105], Operations: ['83-56=27', '78+27=105']
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,74 unequal: No Solution
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[78, 117], Operations: ['83-56=27', '90+27=117']
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 78*117=9126, Resulting Numbers: [9126]
9126,74 unequal: No Solution
Exploring Operation: 78+117=195, Resulting Numbers: [195]
195,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[56, 83, 12], Operations: ['90-78=12']
Exploring Operation: 83-12=71, Resulting Numbers: [56, 71]
Generated Node #0,1,0: 74:[56, 71] Operation: 83-12=71
Exploring Operation: 83+12=95, Resulting Numbers: [56, 95]
Generated Node #0,1,1: 74:[56, 95] Operation: 83+12=95
Exploring Operation: 83-56=27, Resulting Numbers: [12, 27]
Generated Node #0,1,2: 74:[12, 27] Operation: 83-56=27
Exploring Operation: 56+12=68, Resulting Numbers: [83, 68]
Generated Node #0,1,3: 74:[83, 68] Operation: 56+12=68
Exploring Operation: 56-12=44, Resulting Numbers: [83, 44]
Generated Node #0,1,4: 74:[83, 44] Operation: 56-12=44
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[83, 68], Operations: ['90-78=12', '56+12=68']
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,74 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,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,4
Current State: 74:[83, 44], Operations: ['90-78=12', '56-12=44']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,74 unequal: No Solution
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,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,2
Current State: 74:[12, 27], Operations: ['90-78=12', '83-56=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,74 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,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:[56, 71], Operations: ['90-78=12', '83-12=71']
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,74 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,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:[56, 95], Operations: ['90-78=12', '83+12=95']
Exploring Operation: 56*95=5320, Resulting Numbers: [5320]
5320,74 unequal: No Solution
Exploring Operation: 56+95=151, Resulting Numbers: [151]
151,74 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,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,3
Current State: 74:[56, 90, 5], Operations: ['83-78=5']
Exploring Operation: 56-5=51, Resulting Numbers: [90, 51]
Generated Node #0,3,0: 74:[90, 51] Operation: 56-5=51
Exploring Operation: 90-56=34, Resulting Numbers: [5, 34]
Generated Node #0,3,1: 74:[5, 34] Operation: 90-56=34
Exploring Operation: 56+5=61, Resulting Numbers: [90, 61]
Generated Node #0,3,2: 74:[90, 61] Operation: 56+5=61
Exploring Operation: 90-5=85, Resulting Numbers: [56, 85]
Generated Node #0,3,3: 74:[56, 85] Operation: 90-5=85
Exploring Operation: 90/5=18, Resulting Numbers: [56, 18]
Generated Node #0,3,4: 74:[56, 18] Operation: 90/5=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[5, 34], Operations: ['83-78=5', '90-56=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,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,3,2
Current State: 74:[90, 61], Operations: ['83-78=5', '56+5=61']
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,74 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,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,3,3
Current State: 74:[56, 85], Operations: ['83-78=5', '90-5=85']
Exploring Operation: 56+85=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 56*85=4760, Resulting Numbers: [4760]
4760,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,3,0
Current State: 74:[90, 51], Operations: ['83-78=5', '56-5=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,74 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,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,3,4
Current State: 74:[56, 18], Operations: ['83-78=5', '90/5=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,74 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[56, 83, 90, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [56, 90, 5]
Generated Node #0,3: 74:[56, 90, 5] Operation: 83-78=5
Moving to Node #0,3
Current State: 74:[56, 90, 5], Operations: ['83-78=5']
Exploring Operation: 90/5=18, Resulting Numbers: [56, 18]
Generated Node #0,3,4: 74:[56, 18] Operation: 90/5=18
Moving to Node #0,3,4
Current State: 74:[56, 18], Operations: ['83-78=5', '90/5=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.905382 | hs_5 | mult_heuristic |
[
2,
37,
69,
11
] | 84 | [
"2*11=22",
"37+69=106",
"106-22=84"
] | Current State: 84:[2, 37, 69, 11], Operations: []
Exploring Operation: 2*11=22, Resulting Numbers: [37, 69, 22]
Generated Node #2: [37, 69, 22] from Operation: 2*11=22
Current State: 84:[37, 69, 22], Operations: ['2*11=22']
Exploring Operation: 37+69=106, Resulting Numbers: [22, 106]
Generated Node #3: [22, 106] from Operation: 37+69=106
Current State: 84:[22, 106], Operations: ['2*11=22', '37+69=106']
Exploring Operation: 106-22=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 37, 69, 11], Operations: []
Exploring Operation: 69+11=80, Resulting Numbers: [2, 37, 80]
Generated Node #0,0: 84:[2, 37, 80] Operation: 69+11=80
Exploring Operation: 69-37=32, Resulting Numbers: [2, 11, 32]
Generated Node #0,1: 84:[2, 11, 32] Operation: 69-37=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[2, 11, 32], Operations: ['69-37=32']
Exploring Operation: 11+32=43, Resulting Numbers: [2, 43]
Generated Node #0,1,0: 84:[2, 43] Operation: 11+32=43
Exploring Operation: 32-11=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 84:[2, 21] Operation: 32-11=21
Moving to Node #0,1,1
Current State: 84:[2, 21], Operations: ['69-37=32', '32-11=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[2, 43], Operations: ['69-37=32', '11+32=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[2, 37, 80], Operations: ['69+11=80']
Exploring Operation: 80-37=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 84:[2, 43] Operation: 80-37=43
Exploring Operation: 2+37=39, Resulting Numbers: [80, 39]
Generated Node #0,0,1: 84:[80, 39] Operation: 2+37=39
Moving to Node #0,0,0
Current State: 84:[2, 43], Operations: ['69+11=80', '80-37=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[80, 39], Operations: ['69+11=80', '2+37=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,84 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 |
[
91,
45,
89,
96
] | 53 | [
"91-45=46",
"96-89=7",
"46+7=53"
] | Current State: 53:[91, 45, 89, 96], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [89, 96, 46]
Generated Node #2: [89, 96, 46] from Operation: 91-45=46
Current State: 53:[89, 96, 46], Operations: ['91-45=46']
Exploring Operation: 96-89=7, Resulting Numbers: [46, 7]
Generated Node #3: [46, 7] from Operation: 96-89=7
Current State: 53:[46, 7], Operations: ['91-45=46', '96-89=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[91, 45, 89, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [91, 89, 51]
Generated Node #0,0: 53:[91, 89, 51] Operation: 96-45=51
Exploring Operation: 96-89=7, Resulting Numbers: [91, 45, 7]
Generated Node #0,1: 53:[91, 45, 7] Operation: 96-89=7
Exploring Operation: 89-45=44, Resulting Numbers: [91, 96, 44]
Generated Node #0,2: 53:[91, 96, 44] Operation: 89-45=44
Exploring Operation: 91-45=46, Resulting Numbers: [89, 96, 46]
Generated Node #0,3: 53:[89, 96, 46] Operation: 91-45=46
Exploring Operation: 96-91=5, Resulting Numbers: [45, 89, 5]
Generated Node #0,4: 53:[45, 89, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[91, 89, 51], Operations: ['96-45=51']
Exploring Operation: 89-51=38, Resulting Numbers: [91, 38]
Generated Node #0,0,0: 53:[91, 38] Operation: 89-51=38
Exploring Operation: 91-51=40, Resulting Numbers: [89, 40]
Generated Node #0,0,1: 53:[89, 40] Operation: 91-51=40
Exploring Operation: 91+51=142, Resulting Numbers: [89, 142]
Generated Node #0,0,2: 53:[89, 142] Operation: 91+51=142
Exploring Operation: 89+51=140, Resulting Numbers: [91, 140]
Generated Node #0,0,3: 53:[91, 140] Operation: 89+51=140
Exploring Operation: 91-89=2, Resulting Numbers: [51, 2]
Generated Node #0,0,4: 53:[51, 2] Operation: 91-89=2
Moving to Node #0,0,1
Current State: 53:[89, 40], Operations: ['96-45=51', '91-51=40']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[51, 2], Operations: ['96-45=51', '91-89=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[91, 45, 89, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [91, 89, 51]
Generated Node #0,0: 53:[91, 89, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 53:[91, 89, 51], Operations: ['96-45=51']
Exploring Operation: 91-89=2, Resulting Numbers: [51, 2]
Generated Node #0,0,4: 53:[51, 2] Operation: 91-89=2
Moving to Node #0,0,4
Current State: 53:[51, 2], Operations: ['96-45=51', '91-89=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
4,
13,
13,
17
] | 69 | [
"4*17=68",
"13/13=1",
"68+1=69"
] | Current State: 69:[4, 13, 13, 17], Operations: []
Exploring Operation: 4*17=68, Resulting Numbers: [13, 13, 68]
Generated Node #2: [13, 13, 68] from Operation: 4*17=68
Current State: 69:[13, 13, 68], Operations: ['4*17=68']
Exploring Operation: 13/13=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 13/13=1
Current State: 69:[68, 1], Operations: ['4*17=68', '13/13=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[4, 13, 13, 17], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [4, 13, 4]
Generated Node #0,0: 69:[4, 13, 4] Operation: 17-13=4
Exploring Operation: 13+13=26, Resulting Numbers: [4, 17, 26]
Generated Node #0,1: 69:[4, 17, 26] Operation: 13+13=26
Exploring Operation: 13-13=0, Resulting Numbers: [4, 17, 0]
Generated Node #0,2: 69:[4, 17, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [4, 17, 1]
Generated Node #0,3: 69:[4, 17, 1] Operation: 13/13=1
Moving to Node #0,3
Current State: 69:[4, 17, 1], Operations: ['13/13=1']
Exploring Operation: 4+17=21, Resulting Numbers: [1, 21]
Generated Node #0,3,0: 69:[1, 21] Operation: 4+17=21
Exploring Operation: 4*17=68, Resulting Numbers: [1, 68]
Generated Node #0,3,1: 69:[1, 68] Operation: 4*17=68
Exploring Operation: 4-1=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 69:[17, 3] Operation: 4-1=3
Exploring Operation: 17+1=18, Resulting Numbers: [4, 18]
Generated Node #0,3,3: 69:[4, 18] Operation: 17+1=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[1, 68], Operations: ['13/13=1', '4*17=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[4, 13, 13, 17], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [4, 17, 1]
Generated Node #0,3: 69:[4, 17, 1] Operation: 13/13=1
Moving to Node #0,3
Current State: 69:[4, 17, 1], Operations: ['13/13=1']
Exploring Operation: 4*17=68, Resulting Numbers: [1, 68]
Generated Node #0,3,1: 69:[1, 68] Operation: 4*17=68
Moving to Node #0,3,1
Current State: 69:[1, 68], Operations: ['13/13=1', '4*17=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
42,
84,
42,
40
] | 37 | [
"42+84=126",
"126/42=3",
"40-3=37"
] | Current State: 37:[42, 84, 42, 40], Operations: []
Exploring Operation: 42+84=126, Resulting Numbers: [40, 126]
Generated Node #2: [40, 126] from Operation: 42+84=126
Current State: 37:[40, 126], Operations: ['42+84=126']
Exploring Operation: 126/42=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 126/42=3
Current State: 37:[40, 3], Operations: ['42+84=126', '126/42=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[42, 84, 42, 40], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [42, 40, 42]
Generated Node #0,0: 37:[42, 40, 42] Operation: 84-42=42
Moving to Node #0,0
Current State: 37:[42, 40, 42], Operations: ['84-42=42']
Exploring Operation: 42/42=1, Resulting Numbers: [40, 1]
Generated Node #0,0,0: 37:[40, 1] Operation: 42/42=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[40, 1], Operations: ['84-42=42', '42/42=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,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 |
[
62,
25,
94,
41
] | 90 | [
"62-25=37",
"94-41=53",
"37+53=90"
] | Current State: 90:[62, 25, 94, 41], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [94, 41, 37]
Generated Node #2: [94, 41, 37] from Operation: 62-25=37
Current State: 90:[94, 41, 37], Operations: ['62-25=37']
Exploring Operation: 94-41=53, Resulting Numbers: [37, 53]
Generated Node #3: [37, 53] from Operation: 94-41=53
Current State: 90:[37, 53], Operations: ['62-25=37', '94-41=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[62, 25, 94, 41], Operations: []
Exploring Operation: 62+25=87, Resulting Numbers: [94, 41, 87]
Generated Node #0,0: 90:[94, 41, 87] Operation: 62+25=87
Exploring Operation: 94-62=32, Resulting Numbers: [25, 41, 32]
Generated Node #0,1: 90:[25, 41, 32] Operation: 94-62=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[94, 41, 87], Operations: ['62+25=87']
Exploring Operation: 87-41=46, Resulting Numbers: [94, 46]
Generated Node #0,0,0: 90:[94, 46] Operation: 87-41=46
Exploring Operation: 94-87=7, Resulting Numbers: [41, 7]
Generated Node #0,0,1: 90:[41, 7] Operation: 94-87=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[94, 46], Operations: ['62+25=87', '87-41=46']
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,90 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[41, 7], Operations: ['62+25=87', '94-87=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[25, 41, 32], Operations: ['94-62=32']
Exploring Operation: 41-25=16, Resulting Numbers: [32, 16]
Generated Node #0,1,0: 90:[32, 16] Operation: 41-25=16
Exploring Operation: 32-25=7, Resulting Numbers: [41, 7]
Generated Node #0,1,1: 90:[41, 7] Operation: 32-25=7
Moving to Node #0,1,0
Current State: 90:[32, 16], Operations: ['94-62=32', '41-25=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[41, 7], Operations: ['94-62=32', '32-25=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
16,
84,
79
] | 40 | [
"24-16=8",
"84-79=5",
"8*5=40"
] | Current State: 40:[24, 16, 84, 79], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [84, 79, 8]
Generated Node #2: [84, 79, 8] from Operation: 24-16=8
Current State: 40:[84, 79, 8], Operations: ['24-16=8']
Exploring Operation: 84-79=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 84-79=5
Current State: 40:[8, 5], Operations: ['24-16=8', '84-79=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[24, 16, 84, 79], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [24, 84, 63]
Generated Node #0,0: 40:[24, 84, 63] Operation: 79-16=63
Exploring Operation: 84-24=60, Resulting Numbers: [16, 79, 60]
Generated Node #0,1: 40:[16, 79, 60] Operation: 84-24=60
Exploring Operation: 79-24=55, Resulting Numbers: [16, 84, 55]
Generated Node #0,2: 40:[16, 84, 55] Operation: 79-24=55
Exploring Operation: 84-16=68, Resulting Numbers: [24, 79, 68]
Generated Node #0,3: 40:[24, 79, 68] Operation: 84-16=68
Exploring Operation: 84-79=5, Resulting Numbers: [24, 16, 5]
Generated Node #0,4: 40:[24, 16, 5] Operation: 84-79=5
Moving to Node #0,4
Current State: 40:[24, 16, 5], Operations: ['84-79=5']
Exploring Operation: 24+16=40, Resulting Numbers: [5, 40]
Generated Node #0,4,0: 40:[5, 40] Operation: 24+16=40
Exploring Operation: 24-16=8, Resulting Numbers: [5, 8]
Generated Node #0,4,1: 40:[5, 8] Operation: 24-16=8
Exploring Operation: 16-5=11, Resulting Numbers: [24, 11]
Generated Node #0,4,2: 40:[24, 11] Operation: 16-5=11
Exploring Operation: 24-5=19, Resulting Numbers: [16, 19]
Generated Node #0,4,3: 40:[16, 19] Operation: 24-5=19
Exploring Operation: 16+5=21, Resulting Numbers: [24, 21]
Generated Node #0,4,4: 40:[24, 21] Operation: 16+5=21
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[5, 40], Operations: ['84-79=5', '24+16=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,40 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,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,4,1
Current State: 40:[5, 8], Operations: ['84-79=5', '24-16=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[24, 16, 84, 79], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [24, 16, 5]
Generated Node #0,4: 40:[24, 16, 5] Operation: 84-79=5
Moving to Node #0,4
Current State: 40:[24, 16, 5], Operations: ['84-79=5']
Exploring Operation: 24-16=8, Resulting Numbers: [5, 8]
Generated Node #0,4,1: 40:[5, 8] Operation: 24-16=8
Moving to Node #0,4,1
Current State: 40:[5, 8], Operations: ['84-79=5', '24-16=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
55,
9,
39,
71
] | 64 | [
"55-9=46",
"39+71=110",
"110-46=64"
] | Current State: 64:[55, 9, 39, 71], Operations: []
Exploring Operation: 55-9=46, Resulting Numbers: [39, 71, 46]
Generated Node #2: [39, 71, 46] from Operation: 55-9=46
Current State: 64:[39, 71, 46], Operations: ['55-9=46']
Exploring Operation: 39+71=110, Resulting Numbers: [46, 110]
Generated Node #3: [46, 110] from Operation: 39+71=110
Current State: 64:[46, 110], Operations: ['55-9=46', '39+71=110']
Exploring Operation: 110-46=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[55, 9, 39, 71], Operations: []
Exploring Operation: 55-39=16, Resulting Numbers: [9, 71, 16]
Generated Node #0,0: 64:[9, 71, 16] Operation: 55-39=16
Exploring Operation: 71-55=16, Resulting Numbers: [9, 39, 16]
Generated Node #0,1: 64:[9, 39, 16] Operation: 71-55=16
Moving to Node #0,0
Current State: 64:[9, 71, 16], Operations: ['55-39=16']
Exploring Operation: 16-9=7, Resulting Numbers: [71, 7]
Generated Node #0,0,0: 64:[71, 7] Operation: 16-9=7
Exploring Operation: 71-9=62, Resulting Numbers: [16, 62]
Generated Node #0,0,1: 64:[16, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[16, 62], Operations: ['55-39=16', '71-9=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[71, 7], Operations: ['55-39=16', '16-9=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[55, 9, 39, 71], Operations: []
Exploring Operation: 55-39=16, Resulting Numbers: [9, 71, 16]
Generated Node #0,0: 64:[9, 71, 16] Operation: 55-39=16
Moving to Node #0,0
Current State: 64:[9, 71, 16], Operations: ['55-39=16']
Exploring Operation: 16-9=7, Resulting Numbers: [71, 7]
Generated Node #0,0,0: 64:[71, 7] Operation: 16-9=7
Moving to Node #0,0,0
Current State: 64:[71, 7], Operations: ['55-39=16', '16-9=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
3,
52,
77,
51
] | 94 | [
"52+77=129",
"129/3=43",
"51+43=94"
] | Current State: 94:[3, 52, 77, 51], Operations: []
Exploring Operation: 52+77=129, Resulting Numbers: [3, 51, 129]
Generated Node #2: [3, 51, 129] from Operation: 52+77=129
Current State: 94:[3, 51, 129], Operations: ['52+77=129']
Exploring Operation: 129/3=43, Resulting Numbers: [51, 43]
Generated Node #3: [51, 43] from Operation: 129/3=43
Current State: 94:[51, 43], Operations: ['52+77=129', '129/3=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[3, 52, 77, 51], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [3, 77, 1]
Generated Node #0,0: 94:[3, 77, 1] Operation: 52-51=1
Exploring Operation: 77-52=25, Resulting Numbers: [3, 51, 25]
Generated Node #0,1: 94:[3, 51, 25] Operation: 77-52=25
Exploring Operation: 3+77=80, Resulting Numbers: [52, 51, 80]
Generated Node #0,2: 94:[52, 51, 80] Operation: 3+77=80
Exploring Operation: 51-3=48, Resulting Numbers: [52, 77, 48]
Generated Node #0,3: 94:[52, 77, 48] Operation: 51-3=48
Exploring Operation: 52-3=49, Resulting Numbers: [77, 51, 49]
Generated Node #0,4: 94:[77, 51, 49] Operation: 52-3=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[3, 77, 1], Operations: ['52-51=1']
Exploring Operation: 77+1=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 94:[3, 78] Operation: 77+1=78
Exploring Operation: 3*1=3, Resulting Numbers: [77, 3]
Generated Node #0,0,1: 94:[77, 3] Operation: 3*1=3
Exploring Operation: 3+77=80, Resulting Numbers: [1, 80]
Generated Node #0,0,2: 94:[1, 80] Operation: 3+77=80
Exploring Operation: 3/1=3, Resulting Numbers: [77, 3]
Generated Node #0,0,3: 94:[77, 3] Operation: 3/1=3
Exploring Operation: 3-1=2, Resulting Numbers: [77, 2]
Generated Node #0,0,4: 94:[77, 2] Operation: 3-1=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[1, 80], Operations: ['52-51=1', '3+77=80']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[3, 78], Operations: ['52-51=1', '77+1=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,94 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 94:[77, 2], Operations: ['52-51=1', '3-1=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[77, 3], Operations: ['52-51=1', '3*1=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[77, 3], Operations: ['52-51=1', '3/1=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,94 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[52, 51, 80], Operations: ['3+77=80']
Exploring Operation: 52+80=132, Resulting Numbers: [51, 132]
Generated Node #0,2,0: 94:[51, 132] Operation: 52+80=132
Exploring Operation: 80-51=29, Resulting Numbers: [52, 29]
Generated Node #0,2,1: 94:[52, 29] Operation: 80-51=29
Exploring Operation: 52-51=1, Resulting Numbers: [80, 1]
Generated Node #0,2,2: 94:[80, 1] Operation: 52-51=1
Exploring Operation: 52+51=103, Resulting Numbers: [80, 103]
Generated Node #0,2,3: 94:[80, 103] Operation: 52+51=103
Exploring Operation: 80-52=28, Resulting Numbers: [51, 28]
Generated Node #0,2,4: 94:[51, 28] Operation: 80-52=28
Moving to Node #0,2,2
Current State: 94:[80, 1], Operations: ['3+77=80', '52-51=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[80, 103], Operations: ['3+77=80', '52+51=103']
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 80+103=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 80*103=8240, Resulting Numbers: [8240]
8240,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[52, 29], Operations: ['3+77=80', '80-51=29']
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,94 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[51, 28], Operations: ['3+77=80', '80-52=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,94 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[51, 132], Operations: ['3+77=80', '52+80=132']
Exploring Operation: 51+132=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 132-51=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 51*132=6732, Resulting Numbers: [6732]
6732,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[52, 77, 48], Operations: ['51-3=48']
Exploring Operation: 52-48=4, Resulting Numbers: [77, 4]
Generated Node #0,3,0: 94:[77, 4] Operation: 52-48=4
Exploring Operation: 52+77=129, Resulting Numbers: [48, 129]
Generated Node #0,3,1: 94:[48, 129] Operation: 52+77=129
Exploring Operation: 77-52=25, Resulting Numbers: [48, 25]
Generated Node #0,3,2: 94:[48, 25] Operation: 77-52=25
Exploring Operation: 52+48=100, Resulting Numbers: [77, 100]
Generated Node #0,3,3: 94:[77, 100] Operation: 52+48=100
Exploring Operation: 77-48=29, Resulting Numbers: [52, 29]
Generated Node #0,3,4: 94:[52, 29] Operation: 77-48=29
Moving to Node #0,3,0
Current State: 94:[77, 4], Operations: ['51-3=48', '52-48=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[77, 100], Operations: ['51-3=48', '52+48=100']
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,94 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,94 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[48, 25], Operations: ['51-3=48', '77-52=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,94 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[52, 29], Operations: ['51-3=48', '77-48=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,94 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[48, 129], Operations: ['51-3=48', '52+77=129']
Exploring Operation: 48*129=6192, Resulting Numbers: [6192]
6192,94 unequal: No Solution
Exploring Operation: 48+129=177, Resulting Numbers: [177]
177,94 unequal: No Solution
Exploring Operation: 129-48=81, Resulting Numbers: [81]
81,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,4
Current State: 94:[77, 51, 49], Operations: ['52-3=49']
Exploring Operation: 51-49=2, Resulting Numbers: [77, 2]
Generated Node #0,4,0: 94:[77, 2] Operation: 51-49=2
Exploring Operation: 51+49=100, Resulting Numbers: [77, 100]
Generated Node #0,4,1: 94:[77, 100] Operation: 51+49=100
Exploring Operation: 77-51=26, Resulting Numbers: [49, 26]
Generated Node #0,4,2: 94:[49, 26] Operation: 77-51=26
Exploring Operation: 77-49=28, Resulting Numbers: [51, 28]
Generated Node #0,4,3: 94:[51, 28] Operation: 77-49=28
Exploring Operation: 77+51=128, Resulting Numbers: [49, 128]
Generated Node #0,4,4: 94:[49, 128] Operation: 77+51=128
Moving to Node #0,4,0
Current State: 94:[77, 2], Operations: ['52-3=49', '51-49=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[49, 26], Operations: ['52-3=49', '77-51=26']
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,94 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[77, 100], Operations: ['52-3=49', '51+49=100']
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,94 unequal: No Solution
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,94 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[51, 28], Operations: ['52-3=49', '77-49=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,94 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[49, 128], Operations: ['52-3=49', '77+51=128']
Exploring Operation: 49+128=177, Resulting Numbers: [177]
177,94 unequal: No Solution
Exploring Operation: 49*128=6272, Resulting Numbers: [6272]
6272,94 unequal: No Solution
Exploring Operation: 128-49=79, Resulting Numbers: [79]
79,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[3, 51, 25], Operations: ['77-52=25']
Exploring Operation: 3*25=75, Resulting Numbers: [51, 75]
Generated Node #0,1,0: 94:[51, 75] Operation: 3*25=75
Exploring Operation: 51-25=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 94:[3, 26] Operation: 51-25=26
Exploring Operation: 51+25=76, Resulting Numbers: [3, 76]
Generated Node #0,1,2: 94:[3, 76] Operation: 51+25=76
Exploring Operation: 51-3=48, Resulting Numbers: [25, 48]
Generated Node #0,1,3: 94:[25, 48] Operation: 51-3=48
Exploring Operation: 3+25=28, Resulting Numbers: [51, 28]
Generated Node #0,1,4: 94:[51, 28] Operation: 3+25=28
Moving to Node #0,1,2
Current State: 94:[3, 76], Operations: ['77-52=25', '51+25=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,94 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[3, 26], Operations: ['77-52=25', '51-25=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[51, 75], Operations: ['77-52=25', '3*25=75']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,94 unequal: No Solution
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[25, 48], Operations: ['77-52=25', '51-3=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,94 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[51, 28], Operations: ['77-52=25', '3+25=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,94 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
22,
3,
57
] | 91 | [
"15+22=37",
"57-3=54",
"37+54=91"
] | Current State: 91:[15, 22, 3, 57], Operations: []
Exploring Operation: 15+22=37, Resulting Numbers: [3, 57, 37]
Generated Node #2: [3, 57, 37] from Operation: 15+22=37
Current State: 91:[3, 57, 37], Operations: ['15+22=37']
Exploring Operation: 57-3=54, Resulting Numbers: [37, 54]
Generated Node #3: [37, 54] from Operation: 57-3=54
Current State: 91:[37, 54], Operations: ['15+22=37', '57-3=54']
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 22, 3, 57], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [15, 22, 19]
Generated Node #0,0: 91:[15, 22, 19] Operation: 57/3=19
Moving to Node #0,0
Current State: 91:[15, 22, 19], Operations: ['57/3=19']
Exploring Operation: 22-15=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 91:[19, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[19, 7], Operations: ['57/3=19', '22-15=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,91 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 |
[
26,
33,
41,
32
] | 16 | [
"33-26=7",
"41-32=9",
"7+9=16"
] | Current State: 16:[26, 33, 41, 32], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [41, 32, 7]
Generated Node #2: [41, 32, 7] from Operation: 33-26=7
Current State: 16:[41, 32, 7], Operations: ['33-26=7']
Exploring Operation: 41-32=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 41-32=9
Current State: 16:[7, 9], Operations: ['33-26=7', '41-32=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[26, 33, 41, 32], Operations: []
Exploring Operation: 41-33=8, Resulting Numbers: [26, 32, 8]
Generated Node #0,0: 16:[26, 32, 8] Operation: 41-33=8
Moving to Node #0,0
Current State: 16:[26, 32, 8], Operations: ['41-33=8']
Exploring Operation: 32-26=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 16:[8, 6] Operation: 32-26=6
Moving to Node #0,0,0
Current State: 16:[8, 6], Operations: ['41-33=8', '32-26=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
86,
41,
81,
66
] | 60 | [
"86-41=45",
"81-66=15",
"45+15=60"
] | Current State: 60:[86, 41, 81, 66], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [81, 66, 45]
Generated Node #2: [81, 66, 45] from Operation: 86-41=45
Current State: 60:[81, 66, 45], Operations: ['86-41=45']
Exploring Operation: 81-66=15, Resulting Numbers: [45, 15]
Generated Node #3: [45, 15] from Operation: 81-66=15
Current State: 60:[45, 15], Operations: ['86-41=45', '81-66=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[86, 41, 81, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [41, 81, 20]
Generated Node #0,0: 60:[41, 81, 20] Operation: 86-66=20
Exploring Operation: 81-66=15, Resulting Numbers: [86, 41, 15]
Generated Node #0,1: 60:[86, 41, 15] Operation: 81-66=15
Exploring Operation: 86-81=5, Resulting Numbers: [41, 66, 5]
Generated Node #0,2: 60:[41, 66, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[41, 66, 5], Operations: ['86-81=5']
Exploring Operation: 41-5=36, Resulting Numbers: [66, 36]
Generated Node #0,2,0: 60:[66, 36] Operation: 41-5=36
Exploring Operation: 66-5=61, Resulting Numbers: [41, 61]
Generated Node #0,2,1: 60:[41, 61] Operation: 66-5=61
Exploring Operation: 66-41=25, Resulting Numbers: [5, 25]
Generated Node #0,2,2: 60:[5, 25] Operation: 66-41=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[5, 25], Operations: ['86-81=5', '66-41=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[66, 36], Operations: ['86-81=5', '41-5=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,60 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[41, 61], Operations: ['86-81=5', '66-5=61']
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,60 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[41, 81, 20], Operations: ['86-66=20']
Exploring Operation: 41+20=61, Resulting Numbers: [81, 61]
Generated Node #0,0,0: 60:[81, 61] Operation: 41+20=61
Exploring Operation: 81-20=61, Resulting Numbers: [41, 61]
Generated Node #0,0,1: 60:[41, 61] Operation: 81-20=61
Exploring Operation: 81-41=40, Resulting Numbers: [20, 40]
Generated Node #0,0,2: 60:[20, 40] Operation: 81-41=40
Moving to Node #0,0,2
Current State: 60:[20, 40], Operations: ['86-66=20', '81-41=40']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[86, 41, 81, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [41, 81, 20]
Generated Node #0,0: 60:[41, 81, 20] Operation: 86-66=20
Moving to Node #0,0
Current State: 60:[41, 81, 20], Operations: ['86-66=20']
Exploring Operation: 81-41=40, Resulting Numbers: [20, 40]
Generated Node #0,0,2: 60:[20, 40] Operation: 81-41=40
Moving to Node #0,0,2
Current State: 60:[20, 40], Operations: ['86-66=20', '81-41=40']
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
52,
1,
36,
60
] | 77 | [
"52+1=53",
"60-36=24",
"53+24=77"
] | Current State: 77:[52, 1, 36, 60], Operations: []
Exploring Operation: 52+1=53, Resulting Numbers: [36, 60, 53]
Generated Node #2: [36, 60, 53] from Operation: 52+1=53
Current State: 77:[36, 60, 53], Operations: ['52+1=53']
Exploring Operation: 60-36=24, Resulting Numbers: [53, 24]
Generated Node #3: [53, 24] from Operation: 60-36=24
Current State: 77:[53, 24], Operations: ['52+1=53', '60-36=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[52, 1, 36, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [1, 36, 8]
Generated Node #0,0: 77:[1, 36, 8] Operation: 60-52=8
Exploring Operation: 52+36=88, Resulting Numbers: [1, 60, 88]
Generated Node #0,1: 77:[1, 60, 88] Operation: 52+36=88
Exploring Operation: 52-36=16, Resulting Numbers: [1, 60, 16]
Generated Node #0,2: 77:[1, 60, 16] Operation: 52-36=16
Exploring Operation: 36+60=96, Resulting Numbers: [52, 1, 96]
Generated Node #0,3: 77:[52, 1, 96] Operation: 36+60=96
Exploring Operation: 60-36=24, Resulting Numbers: [52, 1, 24]
Generated Node #0,4: 77:[52, 1, 24] Operation: 60-36=24
Moving to Node #0,2
Current State: 77:[1, 60, 16], Operations: ['52-36=16']
Exploring Operation: 1*60=60, Resulting Numbers: [16, 60]
Generated Node #0,2,0: 77:[16, 60] Operation: 1*60=60
Exploring Operation: 16-1=15, Resulting Numbers: [60, 15]
Generated Node #0,2,1: 77:[60, 15] Operation: 16-1=15
Exploring Operation: 60/1=60, Resulting Numbers: [16, 60]
Generated Node #0,2,2: 77:[16, 60] Operation: 60/1=60
Exploring Operation: 60+16=76, Resulting Numbers: [1, 76]
Generated Node #0,2,3: 77:[1, 76] Operation: 60+16=76
Exploring Operation: 1+60=61, Resulting Numbers: [16, 61]
Generated Node #0,2,4: 77:[16, 61] Operation: 1+60=61
Moving to Node #0,0
Current State: 77:[1, 36, 8], Operations: ['60-52=8']
Exploring Operation: 36/1=36, Resulting Numbers: [8, 36]
Generated Node #0,0,0: 77:[8, 36] Operation: 36/1=36
Exploring Operation: 1*36=36, Resulting Numbers: [8, 36]
Generated Node #0,0,1: 77:[8, 36] Operation: 1*36=36
Exploring Operation: 36-8=28, Resulting Numbers: [1, 28]
Generated Node #0,0,2: 77:[1, 28] Operation: 36-8=28
Exploring Operation: 8-1=7, Resulting Numbers: [36, 7]
Generated Node #0,0,3: 77:[36, 7] Operation: 8-1=7
Exploring Operation: 36-1=35, Resulting Numbers: [8, 35]
Generated Node #0,0,4: 77:[8, 35] Operation: 36-1=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[1, 28], Operations: ['60-52=8', '36-8=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[36, 7], Operations: ['60-52=8', '8-1=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,77 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 77:[8, 35], Operations: ['60-52=8', '36-1=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,77 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[8, 36], Operations: ['60-52=8', '36/1=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,77 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[8, 36], Operations: ['60-52=8', '1*36=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,77 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[1, 60, 88], Operations: ['52+36=88']
Exploring Operation: 1*60=60, Resulting Numbers: [88, 60]
Generated Node #0,1,0: 77:[88, 60] Operation: 1*60=60
Exploring Operation: 88-1=87, Resulting Numbers: [60, 87]
Generated Node #0,1,1: 77:[60, 87] Operation: 88-1=87
Exploring Operation: 1+60=61, Resulting Numbers: [88, 61]
Generated Node #0,1,2: 77:[88, 61] Operation: 1+60=61
Exploring Operation: 60/1=60, Resulting Numbers: [88, 60]
Generated Node #0,1,3: 77:[88, 60] Operation: 60/1=60
Exploring Operation: 88-60=28, Resulting Numbers: [1, 28]
Generated Node #0,1,4: 77:[1, 28] Operation: 88-60=28
Moving to Node #0,4
Current State: 77:[52, 1, 24], Operations: ['60-36=24']
Exploring Operation: 52*1=52, Resulting Numbers: [24, 52]
Generated Node #0,4,0: 77:[24, 52] Operation: 52*1=52
Exploring Operation: 24-1=23, Resulting Numbers: [52, 23]
Generated Node #0,4,1: 77:[52, 23] Operation: 24-1=23
Exploring Operation: 52+24=76, Resulting Numbers: [1, 76]
Generated Node #0,4,2: 77:[1, 76] Operation: 52+24=76
Exploring Operation: 52-24=28, Resulting Numbers: [1, 28]
Generated Node #0,4,3: 77:[1, 28] Operation: 52-24=28
Exploring Operation: 52+1=53, Resulting Numbers: [24, 53]
Generated Node #0,4,4: 77:[24, 53] Operation: 52+1=53
Moving to Node #0,3
Current State: 77:[52, 1, 96], Operations: ['36+60=96']
Exploring Operation: 52*1=52, Resulting Numbers: [96, 52]
Generated Node #0,3,0: 77:[96, 52] Operation: 52*1=52
Exploring Operation: 96-1=95, Resulting Numbers: [52, 95]
Generated Node #0,3,1: 77:[52, 95] Operation: 96-1=95
Exploring Operation: 52+1=53, Resulting Numbers: [96, 53]
Generated Node #0,3,2: 77:[96, 53] Operation: 52+1=53
Exploring Operation: 52/1=52, Resulting Numbers: [96, 52]
Generated Node #0,3,3: 77:[96, 52] Operation: 52/1=52
Exploring Operation: 96-52=44, Resulting Numbers: [1, 44]
Generated Node #0,3,4: 77:[1, 44] Operation: 96-52=44
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 77:[1, 44], Operations: ['36+60=96', '96-52=44']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[52, 95], Operations: ['36+60=96', '96-1=95']
Exploring Operation: 52+95=147, Resulting Numbers: [147]
147,77 unequal: No Solution
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 52*95=4940, Resulting Numbers: [4940]
4940,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[96, 53], Operations: ['36+60=96', '52+1=53']
Exploring Operation: 96+53=149, Resulting Numbers: [149]
149,77 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 96*53=5088, Resulting Numbers: [5088]
5088,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[96, 52], Operations: ['36+60=96', '52*1=52']
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 96+52=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 96*52=4992, Resulting Numbers: [4992]
4992,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[96, 52], Operations: ['36+60=96', '52/1=52']
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 96+52=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 96*52=4992, Resulting Numbers: [4992]
4992,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 77:[1, 76], Operations: ['52-36=16', '60+16=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[52, 1, 36, 60], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [1, 60, 16]
Generated Node #0,2: 77:[1, 60, 16] Operation: 52-36=16
Moving to Node #0,2
Current State: 77:[1, 60, 16], Operations: ['52-36=16']
Exploring Operation: 60+16=76, Resulting Numbers: [1, 76]
Generated Node #0,2,3: 77:[1, 76] Operation: 60+16=76
Moving to Node #0,2,3
Current State: 77:[1, 76], Operations: ['52-36=16', '60+16=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.940104 | hs_5 | mult_heuristic |
[
7,
22,
92,
25
] | 15 | [
"92-22=70",
"70/7=10",
"25-10=15"
] | Current State: 15:[7, 22, 92, 25], Operations: []
Exploring Operation: 92-22=70, Resulting Numbers: [7, 25, 70]
Generated Node #2: [7, 25, 70] from Operation: 92-22=70
Current State: 15:[7, 25, 70], Operations: ['92-22=70']
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #3: [25, 10] from Operation: 70/7=10
Current State: 15:[25, 10], Operations: ['92-22=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 22, 92, 25], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [7, 92, 3]
Generated Node #0,0: 15:[7, 92, 3] Operation: 25-22=3
Exploring Operation: 92-25=67, Resulting Numbers: [7, 22, 67]
Generated Node #0,1: 15:[7, 22, 67] Operation: 92-25=67
Exploring Operation: 92-22=70, Resulting Numbers: [7, 25, 70]
Generated Node #0,2: 15:[7, 25, 70] Operation: 92-22=70
Exploring Operation: 22-7=15, Resulting Numbers: [92, 25, 15]
Generated Node #0,3: 15:[92, 25, 15] Operation: 22-7=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[7, 22, 67], Operations: ['92-25=67']
Exploring Operation: 7+22=29, Resulting Numbers: [67, 29]
Generated Node #0,1,0: 15:[67, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [67, 15]
Generated Node #0,1,1: 15:[67, 15] Operation: 22-7=15
Exploring Operation: 67-7=60, Resulting Numbers: [22, 60]
Generated Node #0,1,2: 15:[22, 60] Operation: 67-7=60
Exploring Operation: 67-22=45, Resulting Numbers: [7, 45]
Generated Node #0,1,3: 15:[7, 45] Operation: 67-22=45
Moving to Node #0,1,3
Current State: 15:[7, 45], Operations: ['92-25=67', '67-22=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[22, 60], Operations: ['92-25=67', '67-7=60']
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,15 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[67, 15], Operations: ['92-25=67', '22-7=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[67, 29], Operations: ['92-25=67', '7+22=29']
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[7, 25, 70], Operations: ['92-22=70']
Exploring Operation: 25-7=18, Resulting Numbers: [70, 18]
Generated Node #0,2,0: 15:[70, 18] Operation: 25-7=18
Exploring Operation: 70-7=63, Resulting Numbers: [25, 63]
Generated Node #0,2,1: 15:[25, 63] Operation: 70-7=63
Exploring Operation: 70-25=45, Resulting Numbers: [7, 45]
Generated Node #0,2,2: 15:[7, 45] Operation: 70-25=45
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #0,2,3: 15:[25, 10] Operation: 70/7=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[25, 10], Operations: ['92-22=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[7, 22, 92, 25], Operations: []
Exploring Operation: 92-22=70, Resulting Numbers: [7, 25, 70]
Generated Node #0,2: 15:[7, 25, 70] Operation: 92-22=70
Moving to Node #0,2
Current State: 15:[7, 25, 70], Operations: ['92-22=70']
Exploring Operation: 70/7=10, Resulting Numbers: [25, 10]
Generated Node #0,2,3: 15:[25, 10] Operation: 70/7=10
Moving to Node #0,2,3
Current State: 15:[25, 10], Operations: ['92-22=70', '70/7=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
77,
85,
17,
20
] | 95 | [
"77*20=1540",
"85*17=1445",
"1540-1445=95"
] | Current State: 95:[77, 85, 17, 20], Operations: []
Exploring Operation: 77*20=1540, Resulting Numbers: [85, 17, 1540]
Generated Node #2: [85, 17, 1540] from Operation: 77*20=1540
Current State: 95:[85, 17, 1540], Operations: ['77*20=1540']
Exploring Operation: 85*17=1445, Resulting Numbers: [1540, 1445]
Generated Node #3: [1540, 1445] from Operation: 85*17=1445
Current State: 95:[1540, 1445], Operations: ['77*20=1540', '85*17=1445']
Exploring Operation: 1540-1445=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[77, 85, 17, 20], Operations: []
Exploring Operation: 77+17=94, Resulting Numbers: [85, 20, 94]
Generated Node #0,0: 95:[85, 20, 94] Operation: 77+17=94
Exploring Operation: 77+20=97, Resulting Numbers: [85, 17, 97]
Generated Node #0,1: 95:[85, 17, 97] Operation: 77+20=97
Exploring Operation: 85-77=8, Resulting Numbers: [17, 20, 8]
Generated Node #0,2: 95:[17, 20, 8] Operation: 85-77=8
Moving to Node #0,2
Current State: 95:[17, 20, 8], Operations: ['85-77=8']
Exploring Operation: 20-17=3, Resulting Numbers: [8, 3]
Generated Node #0,2,0: 95:[8, 3] Operation: 20-17=3
Exploring Operation: 17-8=9, Resulting Numbers: [20, 9]
Generated Node #0,2,1: 95:[20, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [20, 25]
Generated Node #0,2,2: 95:[20, 25] Operation: 17+8=25
Moving to Node #0,0
Current State: 95:[85, 20, 94], Operations: ['77+17=94']
Exploring Operation: 85+20=105, Resulting Numbers: [94, 105]
Generated Node #0,0,0: 95:[94, 105] Operation: 85+20=105
Exploring Operation: 20+94=114, Resulting Numbers: [85, 114]
Generated Node #0,0,1: 95:[85, 114] Operation: 20+94=114
Exploring Operation: 94-85=9, Resulting Numbers: [20, 9]
Generated Node #0,0,2: 95:[20, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[20, 9], Operations: ['77+17=94', '94-85=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[94, 105], Operations: ['77+17=94', '85+20=105']
Exploring Operation: 94*105=9870, Resulting Numbers: [9870]
9870,95 unequal: No Solution
Exploring Operation: 94+105=199, Resulting Numbers: [199]
199,95 unequal: No Solution
Exploring Operation: 105-94=11, Resulting Numbers: [11]
11,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[85, 114], Operations: ['77+17=94', '20+94=114']
Exploring Operation: 85*114=9690, Resulting Numbers: [9690]
9690,95 unequal: No Solution
Exploring Operation: 85+114=199, Resulting Numbers: [199]
199,95 unequal: No Solution
Exploring Operation: 114-85=29, Resulting Numbers: [29]
29,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[85, 17, 97], Operations: ['77+20=97']
Exploring Operation: 85/17=5, Resulting Numbers: [97, 5]
Generated Node #0,1,0: 95:[97, 5] Operation: 85/17=5
Exploring Operation: 97-85=12, Resulting Numbers: [17, 12]
Generated Node #0,1,1: 95:[17, 12] Operation: 97-85=12
Exploring Operation: 85+17=102, Resulting Numbers: [97, 102]
Generated Node #0,1,2: 95:[97, 102] Operation: 85+17=102
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[97, 5], Operations: ['77+20=97', '85/17=5']
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,95 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[17, 12], Operations: ['77+20=97', '97-85=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[97, 102], Operations: ['77+20=97', '85+17=102']
Exploring Operation: 102-97=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 97*102=9894, Resulting Numbers: [9894]
9894,95 unequal: No Solution
Exploring Operation: 97+102=199, Resulting Numbers: [199]
199,95 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: 95:[8, 3], Operations: ['85-77=8', '20-17=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[20, 9], Operations: ['85-77=8', '17-8=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[20, 25], Operations: ['85-77=8', '17+8=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.