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 |
|---|---|---|---|---|---|---|---|---|
[
26,
4,
3,
73
] | 35 | [
"73-26=47",
"4*3=12",
"47-12=35"
] | Current State: 35:[26, 4, 3, 73], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [4, 3, 47]
Generated Node #2: [4, 3, 47] from Operation: 73-26=47
Current State: 35:[4, 3, 47], Operations: ['73-26=47']
Exploring Operation: 4*3=12, Resulting Numbers: [47, 12]
Generated Node #3: [47, 12] from Operation: 4*3=12
Current State: 35:[47, 12], Operations: ['73-26=47', '4*3=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[26, 4, 3, 73], Operations: []
Exploring Operation: 73-4=69, Resulting Numbers: [26, 3, 69]
Generated Node #0,0: 35:[26, 3, 69] Operation: 73-4=69
Exploring Operation: 26+3=29, Resulting Numbers: [4, 73, 29]
Generated Node #0,1: 35:[4, 73, 29] Operation: 26+3=29
Exploring Operation: 73-26=47, Resulting Numbers: [4, 3, 47]
Generated Node #0,2: 35:[4, 3, 47] Operation: 73-26=47
Exploring Operation: 26+4=30, Resulting Numbers: [3, 73, 30]
Generated Node #0,3: 35:[3, 73, 30] Operation: 26+4=30
Exploring Operation: 73-3=70, Resulting Numbers: [26, 4, 70]
Generated Node #0,4: 35:[26, 4, 70] Operation: 73-3=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[4, 3, 47], Operations: ['73-26=47']
Exploring Operation: 4-3=1, Resulting Numbers: [47, 1]
Generated Node #0,2,0: 35:[47, 1] Operation: 4-3=1
Exploring Operation: 3+47=50, Resulting Numbers: [4, 50]
Generated Node #0,2,1: 35:[4, 50] Operation: 3+47=50
Exploring Operation: 47-3=44, Resulting Numbers: [4, 44]
Generated Node #0,2,2: 35:[4, 44] Operation: 47-3=44
Exploring Operation: 4+3=7, Resulting Numbers: [47, 7]
Generated Node #0,2,3: 35:[47, 7] Operation: 4+3=7
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,2,4: 35:[3, 43] Operation: 47-4=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[4, 44], Operations: ['73-26=47', '47-3=44']
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,35 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No 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: 35:[3, 43], Operations: ['73-26=47', '47-4=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,35 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No 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: 35:[47, 7], Operations: ['73-26=47', '4+3=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,35 unequal: No Solution
No 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: 35:[47, 1], Operations: ['73-26=47', '4-3=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
No 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: 35:[4, 50], Operations: ['73-26=47', '3+47=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,35 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: 35:[26, 3, 69], Operations: ['73-4=69']
Exploring Operation: 26+3=29, Resulting Numbers: [69, 29]
Generated Node #0,0,0: 35:[69, 29] Operation: 26+3=29
Exploring Operation: 69-3=66, Resulting Numbers: [26, 66]
Generated Node #0,0,1: 35:[26, 66] Operation: 69-3=66
Exploring Operation: 69-26=43, Resulting Numbers: [3, 43]
Generated Node #0,0,2: 35:[3, 43] Operation: 69-26=43
Exploring Operation: 26-3=23, Resulting Numbers: [69, 23]
Generated Node #0,0,3: 35:[69, 23] Operation: 26-3=23
Exploring Operation: 69/3=23, Resulting Numbers: [26, 23]
Generated Node #0,0,4: 35:[26, 23] Operation: 69/3=23
Moving to Node #0,0,2
Current State: 35:[3, 43], Operations: ['73-4=69', '69-26=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,35 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[26, 23], Operations: ['73-4=69', '69/3=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[69, 29], Operations: ['73-4=69', '26+3=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[26, 66], Operations: ['73-4=69', '69-3=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,35 unequal: No Solution
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[69, 23], Operations: ['73-4=69', '26-3=23']
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[4, 73, 29], Operations: ['26+3=29']
Exploring Operation: 29-4=25, Resulting Numbers: [73, 25]
Generated Node #0,1,0: 35:[73, 25] Operation: 29-4=25
Exploring Operation: 4+29=33, Resulting Numbers: [73, 33]
Generated Node #0,1,1: 35:[73, 33] Operation: 4+29=33
Exploring Operation: 73-29=44, Resulting Numbers: [4, 44]
Generated Node #0,1,2: 35:[4, 44] Operation: 73-29=44
Exploring Operation: 4+73=77, Resulting Numbers: [29, 77]
Generated Node #0,1,3: 35:[29, 77] Operation: 4+73=77
Exploring Operation: 73-4=69, Resulting Numbers: [29, 69]
Generated Node #0,1,4: 35:[29, 69] Operation: 73-4=69
Moving to Node #0,1,2
Current State: 35:[4, 44], Operations: ['26+3=29', '73-29=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,35 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[29, 69], Operations: ['26+3=29', '73-4=69']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[73, 33], Operations: ['26+3=29', '4+29=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[73, 25], Operations: ['26+3=29', '29-4=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,35 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[29, 77], Operations: ['26+3=29', '4+73=77']
Exploring Operation: 29+77=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 29*77=2233, Resulting Numbers: [2233]
2233,35 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[3, 73, 30], Operations: ['26+4=30']
Exploring Operation: 3+73=76, Resulting Numbers: [30, 76]
Generated Node #0,3,0: 35:[30, 76] Operation: 3+73=76
Exploring Operation: 73-3=70, Resulting Numbers: [30, 70]
Generated Node #0,3,1: 35:[30, 70] Operation: 73-3=70
Exploring Operation: 3+30=33, Resulting Numbers: [73, 33]
Generated Node #0,3,2: 35:[73, 33] Operation: 3+30=33
Exploring Operation: 30/3=10, Resulting Numbers: [73, 10]
Generated Node #0,3,3: 35:[73, 10] Operation: 30/3=10
Exploring Operation: 73-30=43, Resulting Numbers: [3, 43]
Generated Node #0,3,4: 35:[3, 43] Operation: 73-30=43
Moving to Node #0,3,4
Current State: 35:[3, 43], Operations: ['26+4=30', '73-30=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[73, 33], Operations: ['26+4=30', '3+30=33']
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,35 unequal: No Solution
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[30, 70], Operations: ['26+4=30', '73-3=70']
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,35 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[73, 10], Operations: ['26+4=30', '30/3=10']
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,35 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[30, 76], Operations: ['26+4=30', '3+73=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[26, 4, 70], Operations: ['73-3=70']
Exploring Operation: 26-4=22, Resulting Numbers: [70, 22]
Generated Node #0,4,0: 35:[70, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [70, 30]
Generated Node #0,4,1: 35:[70, 30] Operation: 26+4=30
Exploring Operation: 70-4=66, Resulting Numbers: [26, 66]
Generated Node #0,4,2: 35:[26, 66] Operation: 70-4=66
Exploring Operation: 4+70=74, Resulting Numbers: [26, 74]
Generated Node #0,4,3: 35:[26, 74] Operation: 4+70=74
Exploring Operation: 70-26=44, Resulting Numbers: [4, 44]
Generated Node #0,4,4: 35:[4, 44] Operation: 70-26=44
Moving to Node #0,4,4
Current State: 35:[4, 44], Operations: ['73-3=70', '70-26=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,35 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[26, 66], Operations: ['73-3=70', '70-4=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,35 unequal: No Solution
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[70, 30], Operations: ['73-3=70', '26+4=30']
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,35 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[70, 22], Operations: ['73-3=70', '26-4=22']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[26, 74], Operations: ['73-3=70', '4+70=74']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
5,
22,
49
] | 57 | [
"49/7=7",
"5*7=35",
"22+35=57"
] | Current State: 57:[7, 5, 22, 49], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [5, 22, 7]
Generated Node #2: [5, 22, 7] from Operation: 49/7=7
Current State: 57:[5, 22, 7], Operations: ['49/7=7']
Exploring Operation: 5*7=35, Resulting Numbers: [22, 35]
Generated Node #3: [22, 35] from Operation: 5*7=35
Current State: 57:[22, 35], Operations: ['49/7=7', '5*7=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[7, 5, 22, 49], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [22, 49, 2]
Generated Node #0,0: 57:[22, 49, 2] Operation: 7-5=2
Exploring Operation: 7+49=56, Resulting Numbers: [5, 22, 56]
Generated Node #0,1: 57:[5, 22, 56] Operation: 7+49=56
Exploring Operation: 49/7=7, Resulting Numbers: [5, 22, 7]
Generated Node #0,2: 57:[5, 22, 7] Operation: 49/7=7
Exploring Operation: 5+49=54, Resulting Numbers: [7, 22, 54]
Generated Node #0,3: 57:[7, 22, 54] Operation: 5+49=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[5, 22, 56], Operations: ['7+49=56']
Exploring Operation: 22-5=17, Resulting Numbers: [56, 17]
Generated Node #0,1,0: 57:[56, 17] Operation: 22-5=17
Exploring Operation: 56-5=51, Resulting Numbers: [22, 51]
Generated Node #0,1,1: 57:[22, 51] Operation: 56-5=51
Exploring Operation: 5+56=61, Resulting Numbers: [22, 61]
Generated Node #0,1,2: 57:[22, 61] Operation: 5+56=61
Exploring Operation: 5+22=27, Resulting Numbers: [56, 27]
Generated Node #0,1,3: 57:[56, 27] Operation: 5+22=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[56, 17], Operations: ['7+49=56', '22-5=17']
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,57 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[22, 61], Operations: ['7+49=56', '5+56=61']
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,57 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[22, 51], Operations: ['7+49=56', '56-5=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[56, 27], Operations: ['7+49=56', '5+22=27']
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,57 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[5, 22, 7], Operations: ['49/7=7']
Exploring Operation: 22-7=15, Resulting Numbers: [5, 15]
Generated Node #0,2,0: 57:[5, 15] Operation: 22-7=15
Exploring Operation: 5+7=12, Resulting Numbers: [22, 12]
Generated Node #0,2,1: 57:[22, 12] Operation: 5+7=12
Exploring Operation: 22-5=17, Resulting Numbers: [7, 17]
Generated Node #0,2,2: 57:[7, 17] Operation: 22-5=17
Exploring Operation: 7-5=2, Resulting Numbers: [22, 2]
Generated Node #0,2,3: 57:[22, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[22, 2], Operations: ['49/7=7', '7-5=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[5, 15], Operations: ['49/7=7', '22-7=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[7, 17], Operations: ['49/7=7', '22-5=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[22, 12], Operations: ['49/7=7', '5+7=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,57 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[7, 22, 54], Operations: ['5+49=54']
Exploring Operation: 54-7=47, Resulting Numbers: [22, 47]
Generated Node #0,3,0: 57:[22, 47] Operation: 54-7=47
Exploring Operation: 22-7=15, Resulting Numbers: [54, 15]
Generated Node #0,3,1: 57:[54, 15] Operation: 22-7=15
Exploring Operation: 7+22=29, Resulting Numbers: [54, 29]
Generated Node #0,3,2: 57:[54, 29] Operation: 7+22=29
Exploring Operation: 7+54=61, Resulting Numbers: [22, 61]
Generated Node #0,3,3: 57:[22, 61] Operation: 7+54=61
Moving to Node #0,3,1
Current State: 57:[54, 15], Operations: ['5+49=54', '22-7=15']
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,57 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[22, 61], Operations: ['5+49=54', '7+54=61']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,57 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[54, 29], Operations: ['5+49=54', '7+22=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,57 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[22, 47], Operations: ['5+49=54', '54-7=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,57 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[22, 49, 2], Operations: ['7-5=2']
Exploring Operation: 49-22=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 57:[2, 27] Operation: 49-22=27
Exploring Operation: 49+2=51, Resulting Numbers: [22, 51]
Generated Node #0,0,1: 57:[22, 51] Operation: 49+2=51
Exploring Operation: 22-2=20, Resulting Numbers: [49, 20]
Generated Node #0,0,2: 57:[49, 20] Operation: 22-2=20
Exploring Operation: 22+2=24, Resulting Numbers: [49, 24]
Generated Node #0,0,3: 57:[49, 24] Operation: 22+2=24
Moving to Node #0,0,0
Current State: 57:[2, 27], Operations: ['7-5=2', '49-22=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[49, 20], Operations: ['7-5=2', '22-2=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,57 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[22, 51], Operations: ['7-5=2', '49+2=51']
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,57 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[49, 24], Operations: ['7-5=2', '22+2=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,57 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,57 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 |
[
36,
51,
71,
50
] | 34 | [
"36+51=87",
"71+50=121",
"121-87=34"
] | Current State: 34:[36, 51, 71, 50], Operations: []
Exploring Operation: 36+51=87, Resulting Numbers: [71, 50, 87]
Generated Node #2: [71, 50, 87] from Operation: 36+51=87
Current State: 34:[71, 50, 87], Operations: ['36+51=87']
Exploring Operation: 71+50=121, Resulting Numbers: [87, 121]
Generated Node #3: [87, 121] from Operation: 71+50=121
Current State: 34:[87, 121], Operations: ['36+51=87', '71+50=121']
Exploring Operation: 121-87=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 51, 71, 50], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [51, 50, 35]
Generated Node #0,0: 34:[51, 50, 35] Operation: 71-36=35
Exploring Operation: 71-50=21, Resulting Numbers: [36, 51, 21]
Generated Node #0,1: 34:[36, 51, 21] Operation: 71-50=21
Exploring Operation: 71-51=20, Resulting Numbers: [36, 50, 20]
Generated Node #0,2: 34:[36, 50, 20] Operation: 71-51=20
Exploring Operation: 51-50=1, Resulting Numbers: [36, 71, 1]
Generated Node #0,3: 34:[36, 71, 1] Operation: 51-50=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[36, 50, 20], Operations: ['71-51=20']
Exploring Operation: 50-20=30, Resulting Numbers: [36, 30]
Generated Node #0,2,0: 34:[36, 30] Operation: 50-20=30
Exploring Operation: 36-20=16, Resulting Numbers: [50, 16]
Generated Node #0,2,1: 34:[50, 16] Operation: 36-20=16
Exploring Operation: 36+20=56, Resulting Numbers: [50, 56]
Generated Node #0,2,2: 34:[50, 56] Operation: 36+20=56
Exploring Operation: 50-36=14, Resulting Numbers: [20, 14]
Generated Node #0,2,3: 34:[20, 14] Operation: 50-36=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[36, 30], Operations: ['71-51=20', '50-20=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,34 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,34 unequal: No Solution
No 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: 34:[20, 14], Operations: ['71-51=20', '50-36=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[36, 51, 71, 50], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [36, 50, 20]
Generated Node #0,2: 34:[36, 50, 20] Operation: 71-51=20
Moving to Node #0,2
Current State: 34:[36, 50, 20], Operations: ['71-51=20']
Exploring Operation: 50-36=14, Resulting Numbers: [20, 14]
Generated Node #0,2,3: 34:[20, 14] Operation: 50-36=14
Moving to Node #0,2,3
Current State: 34:[20, 14], Operations: ['71-51=20', '50-36=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
31,
8,
68,
63
] | 72 | [
"63-31=32",
"32/8=4",
"68+4=72"
] | Current State: 72:[31, 8, 68, 63], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [8, 68, 32]
Generated Node #2: [8, 68, 32] from Operation: 63-31=32
Current State: 72:[8, 68, 32], Operations: ['63-31=32']
Exploring Operation: 32/8=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 32/8=4
Current State: 72:[68, 4], Operations: ['63-31=32', '32/8=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[31, 8, 68, 63], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [31, 8, 5]
Generated Node #0,0: 72:[31, 8, 5] Operation: 68-63=5
Exploring Operation: 63-31=32, Resulting Numbers: [8, 68, 32]
Generated Node #0,1: 72:[8, 68, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[31, 8, 5], Operations: ['68-63=5']
Exploring Operation: 31-8=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 72:[5, 23] Operation: 31-8=23
Exploring Operation: 31+5=36, Resulting Numbers: [8, 36]
Generated Node #0,0,1: 72:[8, 36] Operation: 31+5=36
Moving to Node #0,0,1
Current State: 72:[8, 36], Operations: ['68-63=5', '31+5=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[5, 23], Operations: ['68-63=5', '31-8=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[8, 68, 32], Operations: ['63-31=32']
Exploring Operation: 68-32=36, Resulting Numbers: [8, 36]
Generated Node #0,1,0: 72:[8, 36] Operation: 68-32=36
Exploring Operation: 32-8=24, Resulting Numbers: [68, 24]
Generated Node #0,1,1: 72:[68, 24] Operation: 32-8=24
Moving to Node #0,1,0
Current State: 72:[8, 36], Operations: ['63-31=32', '68-32=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[68, 24], Operations: ['63-31=32', '32-8=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,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 |
[
8,
72,
13,
7
] | 28 | [
"72/8=9",
"13-9=4",
"7*4=28"
] | Current State: 28:[8, 72, 13, 7], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [13, 7, 9]
Generated Node #2: [13, 7, 9] from Operation: 72/8=9
Current State: 28:[13, 7, 9], Operations: ['72/8=9']
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 13-9=4
Current State: 28:[7, 4], Operations: ['72/8=9', '13-9=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[8, 72, 13, 7], Operations: []
Exploring Operation: 72-8=64, Resulting Numbers: [13, 7, 64]
Generated Node #0,0: 28:[13, 7, 64] Operation: 72-8=64
Exploring Operation: 72-13=59, Resulting Numbers: [8, 7, 59]
Generated Node #0,1: 28:[8, 7, 59] Operation: 72-13=59
Exploring Operation: 72-7=65, Resulting Numbers: [8, 13, 65]
Generated Node #0,2: 28:[8, 13, 65] Operation: 72-7=65
Exploring Operation: 72/8=9, Resulting Numbers: [13, 7, 9]
Generated Node #0,3: 28:[13, 7, 9] Operation: 72/8=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[13, 7, 9], Operations: ['72/8=9']
Exploring Operation: 9-7=2, Resulting Numbers: [13, 2]
Generated Node #0,3,0: 28:[13, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [13, 16]
Generated Node #0,3,1: 28:[13, 16] Operation: 7+9=16
Exploring Operation: 13-7=6, Resulting Numbers: [9, 6]
Generated Node #0,3,2: 28:[9, 6] Operation: 13-7=6
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #0,3,3: 28:[7, 4] Operation: 13-9=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[7, 4], Operations: ['72/8=9', '13-9=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[8, 72, 13, 7], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [13, 7, 9]
Generated Node #0,3: 28:[13, 7, 9] Operation: 72/8=9
Moving to Node #0,3
Current State: 28:[13, 7, 9], Operations: ['72/8=9']
Exploring Operation: 13-9=4, Resulting Numbers: [7, 4]
Generated Node #0,3,3: 28:[7, 4] Operation: 13-9=4
Moving to Node #0,3,3
Current State: 28:[7, 4], Operations: ['72/8=9', '13-9=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
30,
44,
98,
22
] | 46 | [
"30+44=74",
"98+22=120",
"120-74=46"
] | Current State: 46:[30, 44, 98, 22], Operations: []
Exploring Operation: 30+44=74, Resulting Numbers: [98, 22, 74]
Generated Node #2: [98, 22, 74] from Operation: 30+44=74
Current State: 46:[98, 22, 74], Operations: ['30+44=74']
Exploring Operation: 98+22=120, Resulting Numbers: [74, 120]
Generated Node #3: [74, 120] from Operation: 98+22=120
Current State: 46:[74, 120], Operations: ['30+44=74', '98+22=120']
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[30, 44, 98, 22], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [44, 22, 68]
Generated Node #0,0: 46:[44, 22, 68] Operation: 98-30=68
Exploring Operation: 98-22=76, Resulting Numbers: [30, 44, 76]
Generated Node #0,1: 46:[30, 44, 76] Operation: 98-22=76
Exploring Operation: 44/22=2, Resulting Numbers: [30, 98, 2]
Generated Node #0,2: 46:[30, 98, 2] Operation: 44/22=2
Exploring Operation: 98-44=54, Resulting Numbers: [30, 22, 54]
Generated Node #0,3: 46:[30, 22, 54] Operation: 98-44=54
Moving to Node #0,3
Current State: 46:[30, 22, 54], Operations: ['98-44=54']
Exploring Operation: 54-30=24, Resulting Numbers: [22, 24]
Generated Node #0,3,0: 46:[22, 24] Operation: 54-30=24
Exploring Operation: 30-22=8, Resulting Numbers: [54, 8]
Generated Node #0,3,1: 46:[54, 8] Operation: 30-22=8
Exploring Operation: 30+22=52, Resulting Numbers: [54, 52]
Generated Node #0,3,2: 46:[54, 52] Operation: 30+22=52
Exploring Operation: 54-22=32, Resulting Numbers: [30, 32]
Generated Node #0,3,3: 46:[30, 32] Operation: 54-22=32
Moving to Node #0,0
Current State: 46:[44, 22, 68], Operations: ['98-30=68']
Exploring Operation: 44-22=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 46:[68, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [68, 2]
Generated Node #0,0,1: 46:[68, 2] Operation: 44/22=2
Exploring Operation: 68-22=46, Resulting Numbers: [44, 46]
Generated Node #0,0,2: 46:[44, 46] Operation: 68-22=46
Exploring Operation: 68-44=24, Resulting Numbers: [22, 24]
Generated Node #0,0,3: 46:[22, 24] Operation: 68-44=24
Moving to Node #0,1
Current State: 46:[30, 44, 76], Operations: ['98-22=76']
Exploring Operation: 76-44=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 46:[30, 32] Operation: 76-44=32
Exploring Operation: 76-30=46, Resulting Numbers: [44, 46]
Generated Node #0,1,1: 46:[44, 46] Operation: 76-30=46
Exploring Operation: 44-30=14, Resulting Numbers: [76, 14]
Generated Node #0,1,2: 46:[76, 14] Operation: 44-30=14
Exploring Operation: 30+44=74, Resulting Numbers: [76, 74]
Generated Node #0,1,3: 46:[76, 74] Operation: 30+44=74
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[44, 46], Operations: ['98-22=76', '76-30=46']
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,46 unequal: No Solution
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,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,0
Current State: 46:[30, 32], Operations: ['98-22=76', '76-44=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,46 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,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, 14], Operations: ['98-22=76', '44-30=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,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, 74], Operations: ['98-22=76', '30+44=74']
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,46 unequal: No Solution
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,46 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,46 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: 46:[30, 98, 2], Operations: ['44/22=2']
Exploring Operation: 98-30=68, Resulting Numbers: [2, 68]
Generated Node #0,2,0: 46:[2, 68] Operation: 98-30=68
Exploring Operation: 98-2=96, Resulting Numbers: [30, 96]
Generated Node #0,2,1: 46:[30, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [30, 49]
Generated Node #0,2,2: 46:[30, 49] Operation: 98/2=49
Exploring Operation: 30-2=28, Resulting Numbers: [98, 28]
Generated Node #0,2,3: 46:[98, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[30, 49], Operations: ['44/22=2', '98/2=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 30*49=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,2,0
Current State: 46:[2, 68], Operations: ['44/22=2', '98-30=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,46 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,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:[30, 96], Operations: ['44/22=2', '98-2=96']
Exploring Operation: 30*96=2880, Resulting Numbers: [2880]
2880,46 unequal: No Solution
Exploring Operation: 30+96=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,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:[98, 28], Operations: ['44/22=2', '30-2=28']
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 46:[22, 24], Operations: ['98-44=54', '54-30=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[30, 44, 98, 22], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [30, 22, 54]
Generated Node #0,3: 46:[30, 22, 54] Operation: 98-44=54
Moving to Node #0,3
Current State: 46:[30, 22, 54], Operations: ['98-44=54']
Exploring Operation: 54-30=24, Resulting Numbers: [22, 24]
Generated Node #0,3,0: 46:[22, 24] Operation: 54-30=24
Moving to Node #0,3,0
Current State: 46:[22, 24], Operations: ['98-44=54', '54-30=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
33,
85,
78,
34
] | 51 | [
"85-33=52",
"78*34=2652",
"2652/52=51"
] | Current State: 51:[33, 85, 78, 34], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [78, 34, 52]
Generated Node #2: [78, 34, 52] from Operation: 85-33=52
Current State: 51:[78, 34, 52], Operations: ['85-33=52']
Exploring Operation: 78*34=2652, Resulting Numbers: [52, 2652]
Generated Node #3: [52, 2652] from Operation: 78*34=2652
Current State: 51:[52, 2652], Operations: ['85-33=52', '78*34=2652']
Exploring Operation: 2652/52=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[33, 85, 78, 34], Operations: []
Exploring Operation: 85-34=51, Resulting Numbers: [33, 78, 51]
Generated Node #0,0: 51:[33, 78, 51] Operation: 85-34=51
Exploring Operation: 85-78=7, Resulting Numbers: [33, 34, 7]
Generated Node #0,1: 51:[33, 34, 7] Operation: 85-78=7
Moving to Node #0,1
Current State: 51:[33, 34, 7], Operations: ['85-78=7']
Exploring Operation: 33+34=67, Resulting Numbers: [7, 67]
Generated Node #0,1,0: 51:[7, 67] Operation: 33+34=67
Exploring Operation: 34-33=1, Resulting Numbers: [7, 1]
Generated Node #0,1,1: 51:[7, 1] Operation: 34-33=1
Moving to Node #0,0
Current State: 51:[33, 78, 51], Operations: ['85-34=51']
Exploring Operation: 78-33=45, Resulting Numbers: [51, 45]
Generated Node #0,0,0: 51:[51, 45] Operation: 78-33=45
Exploring Operation: 78-51=27, Resulting Numbers: [33, 27]
Generated Node #0,0,1: 51:[33, 27] Operation: 78-51=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[51, 45], Operations: ['85-34=51', '78-33=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[33, 27], Operations: ['85-34=51', '78-51=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,51 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: 51:[7, 1], Operations: ['85-78=7', '34-33=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[7, 67], Operations: ['85-78=7', '33+34=67']
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
41,
32,
78,
75
] | 80 | [
"41+32=73",
"78+75=153",
"153-73=80"
] | Current State: 80:[41, 32, 78, 75], Operations: []
Exploring Operation: 41+32=73, Resulting Numbers: [78, 75, 73]
Generated Node #2: [78, 75, 73] from Operation: 41+32=73
Current State: 80:[78, 75, 73], Operations: ['41+32=73']
Exploring Operation: 78+75=153, Resulting Numbers: [73, 153]
Generated Node #3: [73, 153] from Operation: 78+75=153
Current State: 80:[73, 153], Operations: ['41+32=73', '78+75=153']
Exploring Operation: 153-73=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 32, 78, 75], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [41, 75, 46]
Generated Node #0,0: 80:[41, 75, 46] Operation: 78-32=46
Exploring Operation: 75-32=43, Resulting Numbers: [41, 78, 43]
Generated Node #0,1: 80:[41, 78, 43] Operation: 75-32=43
Exploring Operation: 78-75=3, Resulting Numbers: [41, 32, 3]
Generated Node #0,2: 80:[41, 32, 3] Operation: 78-75=3
Exploring Operation: 41+32=73, Resulting Numbers: [78, 75, 73]
Generated Node #0,3: 80:[78, 75, 73] Operation: 41+32=73
Exploring Operation: 41-32=9, Resulting Numbers: [78, 75, 9]
Generated Node #0,4: 80:[78, 75, 9] Operation: 41-32=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[41, 78, 43], Operations: ['75-32=43']
Exploring Operation: 78-41=37, Resulting Numbers: [43, 37]
Generated Node #0,1,0: 80:[43, 37] Operation: 78-41=37
Exploring Operation: 43-41=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 80:[78, 2] Operation: 43-41=2
Exploring Operation: 41+78=119, Resulting Numbers: [43, 119]
Generated Node #0,1,2: 80:[43, 119] Operation: 41+78=119
Exploring Operation: 78-43=35, Resulting Numbers: [41, 35]
Generated Node #0,1,3: 80:[41, 35] Operation: 78-43=35
Exploring Operation: 41+43=84, Resulting Numbers: [78, 84]
Generated Node #0,1,4: 80:[78, 84] Operation: 41+43=84
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[78, 2], Operations: ['75-32=43', '43-41=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,80 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[41, 32, 78, 75], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [41, 78, 43]
Generated Node #0,1: 80:[41, 78, 43] Operation: 75-32=43
Moving to Node #0,1
Current State: 80:[41, 78, 43], Operations: ['75-32=43']
Exploring Operation: 43-41=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 80:[78, 2] Operation: 43-41=2
Moving to Node #0,1,1
Current State: 80:[78, 2], Operations: ['75-32=43', '43-41=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
25,
67,
8,
90
] | 87 | [
"67+8=75",
"75/25=3",
"90-3=87"
] | Current State: 87:[25, 67, 8, 90], Operations: []
Exploring Operation: 67+8=75, Resulting Numbers: [25, 90, 75]
Generated Node #2: [25, 90, 75] from Operation: 67+8=75
Current State: 87:[25, 90, 75], Operations: ['67+8=75']
Exploring Operation: 75/25=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 75/25=3
Current State: 87:[90, 3], Operations: ['67+8=75', '75/25=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[25, 67, 8, 90], Operations: []
Exploring Operation: 67+8=75, Resulting Numbers: [25, 90, 75]
Generated Node #0,0: 87:[25, 90, 75] Operation: 67+8=75
Exploring Operation: 90-67=23, Resulting Numbers: [25, 8, 23]
Generated Node #0,1: 87:[25, 8, 23] Operation: 90-67=23
Exploring Operation: 25+67=92, Resulting Numbers: [8, 90, 92]
Generated Node #0,2: 87:[8, 90, 92] Operation: 25+67=92
Moving to Node #0,2
Current State: 87:[8, 90, 92], Operations: ['25+67=92']
Exploring Operation: 92-90=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 87:[8, 2] Operation: 92-90=2
Exploring Operation: 90-8=82, Resulting Numbers: [92, 82]
Generated Node #0,2,1: 87:[92, 82] Operation: 90-8=82
Exploring Operation: 92-8=84, Resulting Numbers: [90, 84]
Generated Node #0,2,2: 87:[90, 84] Operation: 92-8=84
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[8, 2], Operations: ['25+67=92', '92-90=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No 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: 87:[90, 84], Operations: ['25+67=92', '92-8=84']
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,87 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,87 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No 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: 87:[92, 82], Operations: ['25+67=92', '90-8=82']
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,87 unequal: No Solution
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,87 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: 87:[25, 8, 23], Operations: ['90-67=23']
Exploring Operation: 25+8=33, Resulting Numbers: [23, 33]
Generated Node #0,1,0: 87:[23, 33] Operation: 25+8=33
Exploring Operation: 25-23=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 87:[8, 2] Operation: 25-23=2
Exploring Operation: 8+23=31, Resulting Numbers: [25, 31]
Generated Node #0,1,2: 87:[25, 31] Operation: 8+23=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[8, 2], Operations: ['90-67=23', '25-23=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No 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: 87:[25, 31], Operations: ['90-67=23', '8+23=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,87 unequal: No Solution
No 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: 87:[23, 33], Operations: ['90-67=23', '25+8=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,87 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: 87:[25, 90, 75], Operations: ['67+8=75']
Exploring Operation: 25+75=100, Resulting Numbers: [90, 100]
Generated Node #0,0,0: 87:[90, 100] Operation: 25+75=100
Exploring Operation: 90-75=15, Resulting Numbers: [25, 15]
Generated Node #0,0,1: 87:[25, 15] Operation: 90-75=15
Exploring Operation: 75/25=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 87:[90, 3] Operation: 75/25=3
Moving to Node #0,0,2
Current State: 87:[90, 3], Operations: ['67+8=75', '75/25=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[25, 67, 8, 90], Operations: []
Exploring Operation: 67+8=75, Resulting Numbers: [25, 90, 75]
Generated Node #0,0: 87:[25, 90, 75] Operation: 67+8=75
Moving to Node #0,0
Current State: 87:[25, 90, 75], Operations: ['67+8=75']
Exploring Operation: 75/25=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 87:[90, 3] Operation: 75/25=3
Moving to Node #0,0,2
Current State: 87:[90, 3], Operations: ['67+8=75', '75/25=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
26,
4,
39,
86
] | 77 | [
"26+4=30",
"86-39=47",
"30+47=77"
] | Current State: 77:[26, 4, 39, 86], Operations: []
Exploring Operation: 26+4=30, Resulting Numbers: [39, 86, 30]
Generated Node #2: [39, 86, 30] from Operation: 26+4=30
Current State: 77:[39, 86, 30], Operations: ['26+4=30']
Exploring Operation: 86-39=47, Resulting Numbers: [30, 47]
Generated Node #3: [30, 47] from Operation: 86-39=47
Current State: 77:[30, 47], Operations: ['26+4=30', '86-39=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[26, 4, 39, 86], Operations: []
Exploring Operation: 26+39=65, Resulting Numbers: [4, 86, 65]
Generated Node #0,0: 77:[4, 86, 65] Operation: 26+39=65
Exploring Operation: 26-4=22, Resulting Numbers: [39, 86, 22]
Generated Node #0,1: 77:[39, 86, 22] Operation: 26-4=22
Exploring Operation: 39-26=13, Resulting Numbers: [4, 86, 13]
Generated Node #0,2: 77:[4, 86, 13] Operation: 39-26=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[4, 86, 13], Operations: ['39-26=13']
Exploring Operation: 13-4=9, Resulting Numbers: [86, 9]
Generated Node #0,2,0: 77:[86, 9] Operation: 13-4=9
Exploring Operation: 86-13=73, Resulting Numbers: [4, 73]
Generated Node #0,2,1: 77:[4, 73] Operation: 86-13=73
Exploring Operation: 86-4=82, Resulting Numbers: [13, 82]
Generated Node #0,2,2: 77:[13, 82] Operation: 86-4=82
Moving to Node #0,2,1
Current State: 77:[4, 73], Operations: ['39-26=13', '86-13=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[26, 4, 39, 86], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [4, 86, 13]
Generated Node #0,2: 77:[4, 86, 13] Operation: 39-26=13
Moving to Node #0,2
Current State: 77:[4, 86, 13], Operations: ['39-26=13']
Exploring Operation: 86-13=73, Resulting Numbers: [4, 73]
Generated Node #0,2,1: 77:[4, 73] Operation: 86-13=73
Moving to Node #0,2,1
Current State: 77:[4, 73], Operations: ['39-26=13', '86-13=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
94,
47,
47,
52
] | 21 | [
"94/47=2",
"52/2=26",
"47-26=21"
] | Current State: 21:[94, 47, 47, 52], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [52, 2]
Generated Node #2: [52, 2] from Operation: 94/47=2
Current State: 21:[52, 2], Operations: ['94/47=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,21 equal: Goal Reached
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[94, 47, 47, 52], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [47, 52, 2]
Generated Node #0,0: 21:[47, 52, 2] Operation: 94/47=2
Exploring Operation: 94-52=42, Resulting Numbers: [47, 47, 42]
Generated Node #0,1: 21:[47, 47, 42] Operation: 94-52=42
Exploring Operation: 94-47=47, Resulting Numbers: [47, 52, 47]
Generated Node #0,2: 21:[47, 52, 47] Operation: 94-47=47
Exploring Operation: 94/47=2, Resulting Numbers: [47, 52, 2]
Generated Node #0,3: 21:[47, 52, 2] Operation: 94/47=2
Moving to Node #0,0
Current State: 21:[47, 52, 2], Operations: ['94/47=2']
Exploring Operation: 52-47=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 21:[2, 5] Operation: 52-47=5
Exploring Operation: 47-2=45, Resulting Numbers: [52, 45]
Generated Node #0,0,1: 21:[52, 45] Operation: 47-2=45
Exploring Operation: 52-2=50, Resulting Numbers: [47, 50]
Generated Node #0,0,2: 21:[47, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [47, 26]
Generated Node #0,0,3: 21:[47, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[2, 5], Operations: ['94/47=2', '52-47=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[47, 26], Operations: ['94/47=2', '52/2=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,21 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,21 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[94, 47, 47, 52], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [47, 52, 2]
Generated Node #0,0: 21:[47, 52, 2] Operation: 94/47=2
Moving to Node #0,0
Current State: 21:[47, 52, 2], Operations: ['94/47=2']
Exploring Operation: 52/2=26, Resulting Numbers: [47, 26]
Generated Node #0,0,3: 21:[47, 26] Operation: 52/2=26
Moving to Node #0,0,3
Current State: 21:[47, 26], Operations: ['94/47=2', '52/2=26']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
35,
54,
68,
70
] | 49 | [
"35+54=89",
"68+70=138",
"138-89=49"
] | Current State: 49:[35, 54, 68, 70], Operations: []
Exploring Operation: 35+54=89, Resulting Numbers: [68, 70, 89]
Generated Node #2: [68, 70, 89] from Operation: 35+54=89
Current State: 49:[68, 70, 89], Operations: ['35+54=89']
Exploring Operation: 68+70=138, Resulting Numbers: [89, 138]
Generated Node #3: [89, 138] from Operation: 68+70=138
Current State: 49:[89, 138], Operations: ['35+54=89', '68+70=138']
Exploring Operation: 138-89=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[35, 54, 68, 70], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [35, 54, 2]
Generated Node #0,0: 49:[35, 54, 2] Operation: 70-68=2
Exploring Operation: 70/35=2, Resulting Numbers: [54, 68, 2]
Generated Node #0,1: 49:[54, 68, 2] Operation: 70/35=2
Exploring Operation: 68-35=33, Resulting Numbers: [54, 70, 33]
Generated Node #0,2: 49:[54, 70, 33] Operation: 68-35=33
Exploring Operation: 70-35=35, Resulting Numbers: [54, 68, 35]
Generated Node #0,3: 49:[54, 68, 35] Operation: 70-35=35
Moving to Node #0,0
Current State: 49:[35, 54, 2], Operations: ['70-68=2']
Exploring Operation: 35-2=33, Resulting Numbers: [54, 33]
Generated Node #0,0,0: 49:[54, 33] Operation: 35-2=33
Exploring Operation: 35+2=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 49:[54, 37] Operation: 35+2=37
Exploring Operation: 54-2=52, Resulting Numbers: [35, 52]
Generated Node #0,0,2: 49:[35, 52] Operation: 54-2=52
Exploring Operation: 54-35=19, Resulting Numbers: [2, 19]
Generated Node #0,0,3: 49:[2, 19] Operation: 54-35=19
Moving to Node #0,1
Current State: 49:[54, 68, 2], Operations: ['70/35=2']
Exploring Operation: 68-2=66, Resulting Numbers: [54, 66]
Generated Node #0,1,0: 49:[54, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [54, 34]
Generated Node #0,1,1: 49:[54, 34] Operation: 68/2=34
Exploring Operation: 54-2=52, Resulting Numbers: [68, 52]
Generated Node #0,1,2: 49:[68, 52] Operation: 54-2=52
Exploring Operation: 68-54=14, Resulting Numbers: [2, 14]
Generated Node #0,1,3: 49:[2, 14] Operation: 68-54=14
Moving to Node #0,3
Current State: 49:[54, 68, 35], Operations: ['70-35=35']
Exploring Operation: 54-35=19, Resulting Numbers: [68, 19]
Generated Node #0,3,0: 49:[68, 19] Operation: 54-35=19
Exploring Operation: 68-54=14, Resulting Numbers: [35, 14]
Generated Node #0,3,1: 49:[35, 14] Operation: 68-54=14
Exploring Operation: 54+35=89, Resulting Numbers: [68, 89]
Generated Node #0,3,2: 49:[68, 89] Operation: 54+35=89
Exploring Operation: 68-35=33, Resulting Numbers: [54, 33]
Generated Node #0,3,3: 49:[54, 33] Operation: 68-35=33
Moving to Node #0,2
Current State: 49:[54, 70, 33], Operations: ['68-35=33']
Exploring Operation: 54+33=87, Resulting Numbers: [70, 87]
Generated Node #0,2,0: 49:[70, 87] Operation: 54+33=87
Exploring Operation: 70-33=37, Resulting Numbers: [54, 37]
Generated Node #0,2,1: 49:[54, 37] Operation: 70-33=37
Exploring Operation: 70-54=16, Resulting Numbers: [33, 16]
Generated Node #0,2,2: 49:[33, 16] Operation: 70-54=16
Exploring Operation: 54-33=21, Resulting Numbers: [70, 21]
Generated Node #0,2,3: 49:[70, 21] Operation: 54-33=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[54, 37], Operations: ['68-35=33', '70-33=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[33, 16], Operations: ['68-35=33', '70-54=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,49 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[35, 54, 68, 70], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [54, 70, 33]
Generated Node #0,2: 49:[54, 70, 33] Operation: 68-35=33
Moving to Node #0,2
Current State: 49:[54, 70, 33], Operations: ['68-35=33']
Exploring Operation: 70-54=16, Resulting Numbers: [33, 16]
Generated Node #0,2,2: 49:[33, 16] Operation: 70-54=16
Moving to Node #0,2,2
Current State: 49:[33, 16], Operations: ['68-35=33', '70-54=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
27,
44,
9,
41
] | 88 | [
"27/9=3",
"44+41=85",
"3+85=88"
] | Current State: 88:[27, 44, 9, 41], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [44, 41, 3]
Generated Node #2: [44, 41, 3] from Operation: 27/9=3
Current State: 88:[44, 41, 3], Operations: ['27/9=3']
Exploring Operation: 44+41=85, Resulting Numbers: [3, 85]
Generated Node #3: [3, 85] from Operation: 44+41=85
Current State: 88:[3, 85], Operations: ['27/9=3', '44+41=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[27, 44, 9, 41], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [44, 9, 14]
Generated Node #0,0: 88:[44, 9, 14] Operation: 41-27=14
Exploring Operation: 44-27=17, Resulting Numbers: [9, 41, 17]
Generated Node #0,1: 88:[9, 41, 17] Operation: 44-27=17
Exploring Operation: 27-9=18, Resulting Numbers: [44, 41, 18]
Generated Node #0,2: 88:[44, 41, 18] Operation: 27-9=18
Exploring Operation: 44-41=3, Resulting Numbers: [27, 9, 3]
Generated Node #0,3: 88:[27, 9, 3] Operation: 44-41=3
Exploring Operation: 27/9=3, Resulting Numbers: [44, 41, 3]
Generated Node #0,4: 88:[44, 41, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[44, 9, 14], Operations: ['41-27=14']
Exploring Operation: 9+14=23, Resulting Numbers: [44, 23]
Generated Node #0,0,0: 88:[44, 23] Operation: 9+14=23
Exploring Operation: 44-14=30, Resulting Numbers: [9, 30]
Generated Node #0,0,1: 88:[9, 30] Operation: 44-14=30
Exploring Operation: 44-9=35, Resulting Numbers: [14, 35]
Generated Node #0,0,2: 88:[14, 35] Operation: 44-9=35
Exploring Operation: 14-9=5, Resulting Numbers: [44, 5]
Generated Node #0,0,3: 88:[44, 5] Operation: 14-9=5
Exploring Operation: 44+9=53, Resulting Numbers: [14, 53]
Generated Node #0,0,4: 88:[14, 53] Operation: 44+9=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[44, 23], Operations: ['41-27=14', '9+14=23']
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,88 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,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:[44, 5], Operations: ['41-27=14', '14-9=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,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:[9, 30], Operations: ['41-27=14', '44-14=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,88 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,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:[14, 35], Operations: ['41-27=14', '44-9=35']
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,88 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,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:[14, 53], Operations: ['41-27=14', '44+9=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,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:[44, 41, 3], Operations: ['27/9=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41, 41]
Generated Node #0,4,0: 88:[41, 41] Operation: 44-3=41
Exploring Operation: 41+3=44, Resulting Numbers: [44, 44]
Generated Node #0,4,1: 88:[44, 44] Operation: 41+3=44
Exploring Operation: 44+3=47, Resulting Numbers: [41, 47]
Generated Node #0,4,2: 88:[41, 47] Operation: 44+3=47
Exploring Operation: 44+41=85, Resulting Numbers: [3, 85]
Generated Node #0,4,3: 88:[3, 85] Operation: 44+41=85
Exploring Operation: 44-41=3, Resulting Numbers: [3, 3]
Generated Node #0,4,4: 88:[3, 3] Operation: 44-41=3
Moving to Node #0,4,1
Current State: 88:[44, 44], Operations: ['27/9=3', '41+3=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,88 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[27, 44, 9, 41], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [44, 41, 3]
Generated Node #0,4: 88:[44, 41, 3] Operation: 27/9=3
Moving to Node #0,4
Current State: 88:[44, 41, 3], Operations: ['27/9=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44, 44]
Generated Node #0,4,1: 88:[44, 44] Operation: 41+3=44
Moving to Node #0,4,1
Current State: 88:[44, 44], Operations: ['27/9=3', '41+3=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
68,
85,
7,
41
] | 31 | [
"85-68=17",
"7+41=48",
"48-17=31"
] | Current State: 31:[68, 85, 7, 41], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [7, 41, 17]
Generated Node #2: [7, 41, 17] from Operation: 85-68=17
Current State: 31:[7, 41, 17], Operations: ['85-68=17']
Exploring Operation: 7+41=48, Resulting Numbers: [17, 48]
Generated Node #3: [17, 48] from Operation: 7+41=48
Current State: 31:[17, 48], Operations: ['85-68=17', '7+41=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[68, 85, 7, 41], Operations: []
Exploring Operation: 85-41=44, Resulting Numbers: [68, 7, 44]
Generated Node #0,0: 31:[68, 7, 44] Operation: 85-41=44
Exploring Operation: 85-68=17, Resulting Numbers: [7, 41, 17]
Generated Node #0,1: 31:[7, 41, 17] Operation: 85-68=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[7, 41, 17], Operations: ['85-68=17']
Exploring Operation: 41-7=34, Resulting Numbers: [17, 34]
Generated Node #0,1,0: 31:[17, 34] Operation: 41-7=34
Exploring Operation: 7+17=24, Resulting Numbers: [41, 24]
Generated Node #0,1,1: 31:[41, 24] Operation: 7+17=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[17, 34], Operations: ['85-68=17', '41-7=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No 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: 31:[41, 24], Operations: ['85-68=17', '7+17=24']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,31 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: 31:[68, 7, 44], Operations: ['85-41=44']
Exploring Operation: 68-7=61, Resulting Numbers: [44, 61]
Generated Node #0,0,0: 31:[44, 61] Operation: 68-7=61
Exploring Operation: 68-44=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 31:[7, 24] Operation: 68-44=24
Moving to Node #0,0,1
Current State: 31:[7, 24], Operations: ['85-41=44', '68-44=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[68, 85, 7, 41], Operations: []
Exploring Operation: 85-41=44, Resulting Numbers: [68, 7, 44]
Generated Node #0,0: 31:[68, 7, 44] Operation: 85-41=44
Moving to Node #0,0
Current State: 31:[68, 7, 44], Operations: ['85-41=44']
Exploring Operation: 68-44=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 31:[7, 24] Operation: 68-44=24
Moving to Node #0,0,1
Current State: 31:[7, 24], Operations: ['85-41=44', '68-44=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
16,
2,
52,
44
] | 22 | [
"16-2=14",
"52-44=8",
"14+8=22"
] | Current State: 22:[16, 2, 52, 44], Operations: []
Exploring Operation: 16-2=14, Resulting Numbers: [52, 44, 14]
Generated Node #2: [52, 44, 14] from Operation: 16-2=14
Current State: 22:[52, 44, 14], Operations: ['16-2=14']
Exploring Operation: 52-44=8, Resulting Numbers: [14, 8]
Generated Node #3: [14, 8] from Operation: 52-44=8
Current State: 22:[14, 8], Operations: ['16-2=14', '52-44=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[16, 2, 52, 44], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [16, 2, 8]
Generated Node #0,0: 22:[16, 2, 8] Operation: 52-44=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[16, 2, 8], Operations: ['52-44=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 22:[2, 2] Operation: 16/8=2
Moving to Node #0,0,0
Current State: 22:[2, 2], Operations: ['52-44=8', '16/8=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
70,
17,
92
] | 56 | [
"70-17=53",
"17+92=109",
"109-53=56"
] | Current State: 56:[17, 70, 17, 92], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [92, 53]
Generated Node #2: [92, 53] from Operation: 70-17=53
Current State: 56:[92, 53], Operations: ['70-17=53']
Exploring Operation: 17+92=109, Resulting Numbers: [53, 109]
Generated Node #3: [53, 109] from Operation: 17+92=109
Current State: 56:[53, 109], Operations: ['70-17=53', '17+92=109']
Exploring Operation: 109-53=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[17, 70, 17, 92], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [17, 17, 22]
Generated Node #0,0: 56:[17, 17, 22] Operation: 92-70=22
Exploring Operation: 92-17=75, Resulting Numbers: [70, 17, 75]
Generated Node #0,1: 56:[70, 17, 75] Operation: 92-17=75
Exploring Operation: 92-17=75, Resulting Numbers: [17, 70, 75]
Generated Node #0,2: 56:[17, 70, 75] Operation: 92-17=75
Moving to Node #0,0
Current State: 56:[17, 17, 22], Operations: ['92-70=22']
Exploring Operation: 22-17=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 56:[17, 5] Operation: 22-17=5
Exploring Operation: 22-17=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 56:[17, 5] Operation: 22-17=5
Exploring Operation: 17/17=1, Resulting Numbers: [22, 1]
Generated Node #0,0,2: 56:[22, 1] Operation: 17/17=1
Moving to Node #0,1
Current State: 56:[70, 17, 75], Operations: ['92-17=75']
Exploring Operation: 75-70=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 56:[17, 5] Operation: 75-70=5
Exploring Operation: 75-17=58, Resulting Numbers: [70, 58]
Generated Node #0,1,1: 56:[70, 58] Operation: 75-17=58
Exploring Operation: 70-17=53, Resulting Numbers: [75, 53]
Generated Node #0,1,2: 56:[75, 53] Operation: 70-17=53
Moving to Node #0,2
Current State: 56:[17, 70, 75], Operations: ['92-17=75']
Exploring Operation: 75-70=5, Resulting Numbers: [17, 5]
Generated Node #0,2,0: 56:[17, 5] Operation: 75-70=5
Exploring Operation: 75-17=58, Resulting Numbers: [70, 58]
Generated Node #0,2,1: 56:[70, 58] Operation: 75-17=58
Exploring Operation: 70-17=53, Resulting Numbers: [75, 53]
Generated Node #0,2,2: 56:[75, 53] Operation: 70-17=53
Moving to Node #0,0,0
Current State: 56:[17, 5], Operations: ['92-70=22', '22-17=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[17, 5], Operations: ['92-17=75', '75-70=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[17, 5], Operations: ['92-70=22', '22-17=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[17, 5], Operations: ['92-17=75', '75-70=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[22, 1], Operations: ['92-70=22', '17/17=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[70, 58], Operations: ['92-17=75', '75-17=58']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[70, 58], Operations: ['92-17=75', '75-17=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[75, 53], Operations: ['92-17=75', '70-17=53']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,56 unequal: No Solution
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[75, 53], Operations: ['92-17=75', '70-17=53']
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,56 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
33,
75,
22
] | 12 | [
"75*22=1650",
"1650/33=50",
"62-50=12"
] | Current State: 12:[62, 33, 75, 22], Operations: []
Exploring Operation: 75*22=1650, Resulting Numbers: [62, 33, 1650]
Generated Node #2: [62, 33, 1650] from Operation: 75*22=1650
Current State: 12:[62, 33, 1650], Operations: ['75*22=1650']
Exploring Operation: 1650/33=50, Resulting Numbers: [62, 50]
Generated Node #3: [62, 50] from Operation: 1650/33=50
Current State: 12:[62, 50], Operations: ['75*22=1650', '1650/33=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[62, 33, 75, 22], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [33, 75, 40]
Generated Node #0,0: 12:[33, 75, 40] Operation: 62-22=40
Exploring Operation: 75-22=53, Resulting Numbers: [62, 33, 53]
Generated Node #0,1: 12:[62, 33, 53] Operation: 75-22=53
Exploring Operation: 75-33=42, Resulting Numbers: [62, 22, 42]
Generated Node #0,2: 12:[62, 22, 42] Operation: 75-33=42
Exploring Operation: 75-62=13, Resulting Numbers: [33, 22, 13]
Generated Node #0,3: 12:[33, 22, 13] Operation: 75-62=13
Exploring Operation: 62-33=29, Resulting Numbers: [75, 22, 29]
Generated Node #0,4: 12:[75, 22, 29] Operation: 62-33=29
Moving to Node #0,3
Current State: 12:[33, 22, 13], Operations: ['75-62=13']
Exploring Operation: 33+13=46, Resulting Numbers: [22, 46]
Generated Node #0,3,0: 12:[22, 46] Operation: 33+13=46
Exploring Operation: 22-13=9, Resulting Numbers: [33, 9]
Generated Node #0,3,1: 12:[33, 9] Operation: 22-13=9
Exploring Operation: 33-22=11, Resulting Numbers: [13, 11]
Generated Node #0,3,2: 12:[13, 11] Operation: 33-22=11
Exploring Operation: 33+22=55, Resulting Numbers: [13, 55]
Generated Node #0,3,3: 12:[13, 55] Operation: 33+22=55
Exploring Operation: 33-13=20, Resulting Numbers: [22, 20]
Generated Node #0,3,4: 12:[22, 20] Operation: 33-13=20
Moving to Node #0,4
Current State: 12:[75, 22, 29], Operations: ['62-33=29']
Exploring Operation: 75-22=53, Resulting Numbers: [29, 53]
Generated Node #0,4,0: 12:[29, 53] Operation: 75-22=53
Exploring Operation: 75-29=46, Resulting Numbers: [22, 46]
Generated Node #0,4,1: 12:[22, 46] Operation: 75-29=46
Exploring Operation: 75+22=97, Resulting Numbers: [29, 97]
Generated Node #0,4,2: 12:[29, 97] Operation: 75+22=97
Exploring Operation: 29-22=7, Resulting Numbers: [75, 7]
Generated Node #0,4,3: 12:[75, 7] Operation: 29-22=7
Exploring Operation: 75+29=104, Resulting Numbers: [22, 104]
Generated Node #0,4,4: 12:[22, 104] Operation: 75+29=104
Moving to Node #0,2
Current State: 12:[62, 22, 42], Operations: ['75-33=42']
Exploring Operation: 62+22=84, Resulting Numbers: [42, 84]
Generated Node #0,2,0: 12:[42, 84] Operation: 62+22=84
Exploring Operation: 42-22=20, Resulting Numbers: [62, 20]
Generated Node #0,2,1: 12:[62, 20] Operation: 42-22=20
Exploring Operation: 62-42=20, Resulting Numbers: [22, 20]
Generated Node #0,2,2: 12:[22, 20] Operation: 62-42=20
Exploring Operation: 62-22=40, Resulting Numbers: [42, 40]
Generated Node #0,2,3: 12:[42, 40] Operation: 62-22=40
Exploring Operation: 62+42=104, Resulting Numbers: [22, 104]
Generated Node #0,2,4: 12:[22, 104] Operation: 62+42=104
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[22, 20], Operations: ['75-33=42', '62-42=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[62, 20], Operations: ['75-33=42', '42-22=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,12 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[42, 40], Operations: ['75-33=42', '62-22=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,12 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[42, 84], Operations: ['75-33=42', '62+22=84']
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,12 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[22, 104], Operations: ['75-33=42', '62+42=104']
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 22*104=2288, Resulting Numbers: [2288]
2288,12 unequal: No Solution
Exploring Operation: 22+104=126, Resulting Numbers: [126]
126,12 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: 12:[33, 75, 40], Operations: ['62-22=40']
Exploring Operation: 33+75=108, Resulting Numbers: [40, 108]
Generated Node #0,0,0: 12:[40, 108] Operation: 33+75=108
Exploring Operation: 40-33=7, Resulting Numbers: [75, 7]
Generated Node #0,0,1: 12:[75, 7] Operation: 40-33=7
Exploring Operation: 75-33=42, Resulting Numbers: [40, 42]
Generated Node #0,0,2: 12:[40, 42] Operation: 75-33=42
Exploring Operation: 33+40=73, Resulting Numbers: [75, 73]
Generated Node #0,0,3: 12:[75, 73] Operation: 33+40=73
Exploring Operation: 75-40=35, Resulting Numbers: [33, 35]
Generated Node #0,0,4: 12:[33, 35] Operation: 75-40=35
Moving to Node #0,1
Current State: 12:[62, 33, 53], Operations: ['75-22=53']
Exploring Operation: 62-33=29, Resulting Numbers: [53, 29]
Generated Node #0,1,0: 12:[53, 29] Operation: 62-33=29
Exploring Operation: 62+53=115, Resulting Numbers: [33, 115]
Generated Node #0,1,1: 12:[33, 115] Operation: 62+53=115
Exploring Operation: 53-33=20, Resulting Numbers: [62, 20]
Generated Node #0,1,2: 12:[62, 20] Operation: 53-33=20
Exploring Operation: 62+33=95, Resulting Numbers: [53, 95]
Generated Node #0,1,3: 12:[53, 95] Operation: 62+33=95
Exploring Operation: 62-53=9, Resulting Numbers: [33, 9]
Generated Node #0,1,4: 12:[33, 9] Operation: 62-53=9
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[33, 9], Operations: ['75-22=53', '62-53=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,12 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[53, 29], Operations: ['75-22=53', '62-33=29']
Exploring Operation: 53*29=1537, Resulting Numbers: [1537]
1537,12 unequal: No Solution
Exploring Operation: 53+29=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[62, 20], Operations: ['75-22=53', '53-33=20']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,12 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[33, 115], Operations: ['75-22=53', '62+53=115']
Exploring Operation: 33*115=3795, Resulting Numbers: [3795]
3795,12 unequal: No Solution
Exploring Operation: 33+115=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Exploring Operation: 115-33=82, Resulting Numbers: [82]
82,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[53, 95], Operations: ['75-22=53', '62+33=95']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 12:[13, 11], Operations: ['75-62=13', '33-22=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[22, 20], Operations: ['75-62=13', '33-13=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,12 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[33, 9], Operations: ['75-62=13', '22-13=9']
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[22, 46], Operations: ['62-33=29', '75-29=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,12 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[13, 55], Operations: ['75-62=13', '33+22=55']
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,12 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Moving to Node #0,0,4
Current State: 12:[33, 35], Operations: ['62-22=40', '75-40=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,12 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[22, 46], Operations: ['75-62=13', '33+13=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[29, 53], Operations: ['62-33=29', '75-22=53']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,12 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[40, 42], Operations: ['62-22=40', '75-33=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[75, 7], Operations: ['62-22=40', '40-33=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,12 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[75, 7], Operations: ['62-33=29', '29-22=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,12 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[22, 104], Operations: ['62-33=29', '75+29=104']
Exploring Operation: 22+104=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 22*104=2288, Resulting Numbers: [2288]
2288,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[29, 97], Operations: ['62-33=29', '75+22=97']
Exploring Operation: 29*97=2813, Resulting Numbers: [2813]
2813,12 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[75, 73], Operations: ['62-22=40', '33+40=73']
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,12 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[40, 108], Operations: ['62-22=40', '33+75=108']
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,12 unequal: No Solution
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,12 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
8,
16,
85
] | 100 | [
"8/8=1",
"16+85=101",
"101-1=100"
] | Current State: 100:[8, 8, 16, 85], Operations: []
Exploring Operation: 8/8=1, Resulting Numbers: [16, 85, 1]
Generated Node #2: [16, 85, 1] from Operation: 8/8=1
Current State: 100:[16, 85, 1], Operations: ['8/8=1']
Exploring Operation: 16+85=101, Resulting Numbers: [1, 101]
Generated Node #3: [1, 101] from Operation: 16+85=101
Current State: 100:[1, 101], Operations: ['8/8=1', '16+85=101']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[8, 8, 16, 85], Operations: []
Exploring Operation: 16+85=101, Resulting Numbers: [8, 8, 101]
Generated Node #0,0: 100:[8, 8, 101] Operation: 16+85=101
Exploring Operation: 8+85=93, Resulting Numbers: [8, 16, 93]
Generated Node #0,1: 100:[8, 16, 93] Operation: 8+85=93
Exploring Operation: 8+85=93, Resulting Numbers: [8, 16, 93]
Generated Node #0,2: 100:[8, 16, 93] Operation: 8+85=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[8, 8, 101], Operations: ['16+85=101']
Exploring Operation: 8+8=16, Resulting Numbers: [101, 16]
Generated Node #0,0,0: 100:[101, 16] Operation: 8+8=16
Exploring Operation: 8/8=1, Resulting Numbers: [101, 1]
Generated Node #0,0,1: 100:[101, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [101, 0]
Generated Node #0,0,2: 100:[101, 0] Operation: 8-8=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[101, 1], Operations: ['16+85=101', '8/8=1']
Exploring Operation: 101*1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101/1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[8, 8, 16, 85], Operations: []
Exploring Operation: 16+85=101, Resulting Numbers: [8, 8, 101]
Generated Node #0,0: 100:[8, 8, 101] Operation: 16+85=101
Moving to Node #0,0
Current State: 100:[8, 8, 101], Operations: ['16+85=101']
Exploring Operation: 8/8=1, Resulting Numbers: [101, 1]
Generated Node #0,0,1: 100:[101, 1] Operation: 8/8=1
Moving to Node #0,0,1
Current State: 100:[101, 1], Operations: ['16+85=101', '8/8=1']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
18,
9,
18,
2
] | 11 | [
"18+9=27",
"18-2=16",
"27-16=11"
] | Current State: 11:[18, 9, 18, 2], Operations: []
Exploring Operation: 18+9=27, Resulting Numbers: [2, 27]
Generated Node #2: [2, 27] from Operation: 18+9=27
Current State: 11:[2, 27], Operations: ['18+9=27']
Exploring Operation: 18-2=16, Resulting Numbers: [27, 16]
Generated Node #3: [27, 16] from Operation: 18-2=16
Current State: 11:[27, 16], Operations: ['18+9=27', '18-2=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[18, 9, 18, 2], Operations: []
Exploring Operation: 18-2=16, Resulting Numbers: [9, 18, 16]
Generated Node #0,0: 11:[9, 18, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [18, 9, 9]
Generated Node #0,1: 11:[18, 9, 9] Operation: 18/2=9
Exploring Operation: 18/2=9, Resulting Numbers: [9, 18, 9]
Generated Node #0,2: 11:[9, 18, 9] Operation: 18/2=9
Exploring Operation: 9+2=11, Resulting Numbers: [18, 18, 11]
Generated Node #0,3: 11:[18, 18, 11] Operation: 9+2=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[18, 9, 9], Operations: ['18/2=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 11:[9, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 11:[9, 2] Operation: 18/9=2
Exploring Operation: 18/9=2, Resulting Numbers: [9, 2]
Generated Node #0,1,2: 11:[9, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [9, 9]
Generated Node #0,1,3: 11:[9, 9] Operation: 18-9=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[9, 9], Operations: ['18/2=9', '18-9=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,11 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[9, 9], Operations: ['18/2=9', '18-9=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,11 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[9, 2], Operations: ['18/2=9', '18/9=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[18, 9, 18, 2], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [18, 9, 9]
Generated Node #0,1: 11:[18, 9, 9] Operation: 18/2=9
Moving to Node #0,1
Current State: 11:[18, 9, 9], Operations: ['18/2=9']
Exploring Operation: 18/9=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 11:[9, 2] Operation: 18/9=2
Moving to Node #0,1,1
Current State: 11:[9, 2], Operations: ['18/2=9', '18/9=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
38,
63,
10,
11
] | 85 | [
"63-38=25",
"10*11=110",
"110-25=85"
] | Current State: 85:[38, 63, 10, 11], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [10, 11, 25]
Generated Node #2: [10, 11, 25] from Operation: 63-38=25
Current State: 85:[10, 11, 25], Operations: ['63-38=25']
Exploring Operation: 10*11=110, Resulting Numbers: [25, 110]
Generated Node #3: [25, 110] from Operation: 10*11=110
Current State: 85:[25, 110], Operations: ['63-38=25', '10*11=110']
Exploring Operation: 110-25=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[38, 63, 10, 11], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [10, 11, 25]
Generated Node #0,0: 85:[10, 11, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[10, 11, 25], Operations: ['63-38=25']
Exploring Operation: 25-10=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 85:[11, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[11, 15], Operations: ['63-38=25', '25-10=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,85 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 |
[
2,
25,
30,
36
] | 28 | [
"25*36=900",
"900/30=30",
"30-2=28"
] | Current State: 28:[2, 25, 30, 36], Operations: []
Exploring Operation: 25*36=900, Resulting Numbers: [2, 30, 900]
Generated Node #2: [2, 30, 900] from Operation: 25*36=900
Current State: 28:[2, 30, 900], Operations: ['25*36=900']
Exploring Operation: 900/30=30, Resulting Numbers: [2, 30]
Generated Node #3: [2, 30] from Operation: 900/30=30
Current State: 28:[2, 30], Operations: ['25*36=900', '900/30=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 25, 30, 36], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [25, 30, 18]
Generated Node #0,0: 28:[25, 30, 18] Operation: 36/2=18
Exploring Operation: 36-30=6, Resulting Numbers: [2, 25, 6]
Generated Node #0,1: 28:[2, 25, 6] Operation: 36-30=6
Exploring Operation: 30-25=5, Resulting Numbers: [2, 36, 5]
Generated Node #0,2: 28:[2, 36, 5] Operation: 30-25=5
Exploring Operation: 36-25=11, Resulting Numbers: [2, 30, 11]
Generated Node #0,3: 28:[2, 30, 11] Operation: 36-25=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[2, 25, 6], Operations: ['36-30=6']
Exploring Operation: 2+25=27, Resulting Numbers: [6, 27]
Generated Node #0,1,0: 28:[6, 27] Operation: 2+25=27
Exploring Operation: 6-2=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 28:[25, 4] Operation: 6-2=4
Exploring Operation: 25+6=31, Resulting Numbers: [2, 31]
Generated Node #0,1,2: 28:[2, 31] Operation: 25+6=31
Exploring Operation: 2+6=8, Resulting Numbers: [25, 8]
Generated Node #0,1,3: 28:[25, 8] Operation: 2+6=8
Moving to Node #0,1,0
Current State: 28:[6, 27], Operations: ['36-30=6', '2+25=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[2, 31], Operations: ['36-30=6', '25+6=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[25, 4], Operations: ['36-30=6', '6-2=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[25, 8], Operations: ['36-30=6', '2+6=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,28 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[2, 30, 11], Operations: ['36-25=11']
Exploring Operation: 30-2=28, Resulting Numbers: [11, 28]
Generated Node #0,3,0: 28:[11, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [11, 15]
Generated Node #0,3,1: 28:[11, 15] Operation: 30/2=15
Exploring Operation: 11-2=9, Resulting Numbers: [30, 9]
Generated Node #0,3,2: 28:[30, 9] Operation: 11-2=9
Exploring Operation: 2+11=13, Resulting Numbers: [30, 13]
Generated Node #0,3,3: 28:[30, 13] Operation: 2+11=13
Moving to Node #0,3,0
Current State: 28:[11, 28], Operations: ['36-25=11', '30-2=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,28 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[30, 13], Operations: ['36-25=11', '2+11=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[30, 9], Operations: ['36-25=11', '11-2=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,28 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[11, 15], Operations: ['36-25=11', '30/2=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[25, 30, 18], Operations: ['36/2=18']
Exploring Operation: 25+18=43, Resulting Numbers: [30, 43]
Generated Node #0,0,0: 28:[30, 43] Operation: 25+18=43
Exploring Operation: 25-18=7, Resulting Numbers: [30, 7]
Generated Node #0,0,1: 28:[30, 7] Operation: 25-18=7
Exploring Operation: 30-25=5, Resulting Numbers: [18, 5]
Generated Node #0,0,2: 28:[18, 5] Operation: 30-25=5
Exploring Operation: 30-18=12, Resulting Numbers: [25, 12]
Generated Node #0,0,3: 28:[25, 12] Operation: 30-18=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[30, 7], Operations: ['36/2=18', '25-18=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,28 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[18, 5], Operations: ['36/2=18', '30-25=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[25, 12], Operations: ['36/2=18', '30-18=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,28 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[30, 43], Operations: ['36/2=18', '25+18=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[2, 36, 5], Operations: ['30-25=5']
Exploring Operation: 36/2=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 28:[5, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [5, 34]
Generated Node #0,2,1: 28:[5, 34] Operation: 36-2=34
Exploring Operation: 2+5=7, Resulting Numbers: [36, 7]
Generated Node #0,2,2: 28:[36, 7] Operation: 2+5=7
Exploring Operation: 36-5=31, Resulting Numbers: [2, 31]
Generated Node #0,2,3: 28:[2, 31] Operation: 36-5=31
Moving to Node #0,2,3
Current State: 28:[2, 31], Operations: ['30-25=5', '36-5=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[5, 18], Operations: ['30-25=5', '36/2=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[5, 34], Operations: ['30-25=5', '36-2=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[36, 7], Operations: ['30-25=5', '2+5=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
7,
32,
5
] | 21 | [
"10+32=42",
"7-5=2",
"42/2=21"
] | Current State: 21:[10, 7, 32, 5], Operations: []
Exploring Operation: 10+32=42, Resulting Numbers: [7, 5, 42]
Generated Node #2: [7, 5, 42] from Operation: 10+32=42
Current State: 21:[7, 5, 42], Operations: ['10+32=42']
Exploring Operation: 7-5=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 7-5=2
Current State: 21:[42, 2], Operations: ['10+32=42', '7-5=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[10, 7, 32, 5], Operations: []
Exploring Operation: 32-5=27, Resulting Numbers: [10, 7, 27]
Generated Node #0,0: 21:[10, 7, 27] Operation: 32-5=27
Exploring Operation: 10-7=3, Resulting Numbers: [32, 5, 3]
Generated Node #0,1: 21:[32, 5, 3] Operation: 10-7=3
Exploring Operation: 10/5=2, Resulting Numbers: [7, 32, 2]
Generated Node #0,2: 21:[7, 32, 2] Operation: 10/5=2
Exploring Operation: 32-7=25, Resulting Numbers: [10, 5, 25]
Generated Node #0,3: 21:[10, 5, 25] Operation: 32-7=25
Exploring Operation: 32-10=22, Resulting Numbers: [7, 5, 22]
Generated Node #0,4: 21:[7, 5, 22] Operation: 32-10=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[7, 5, 22], Operations: ['32-10=22']
Exploring Operation: 22-7=15, Resulting Numbers: [5, 15]
Generated Node #0,4,0: 21:[5, 15] Operation: 22-7=15
Exploring Operation: 5+22=27, Resulting Numbers: [7, 27]
Generated Node #0,4,1: 21:[7, 27] Operation: 5+22=27
Exploring Operation: 7-5=2, Resulting Numbers: [22, 2]
Generated Node #0,4,2: 21:[22, 2] Operation: 7-5=2
Exploring Operation: 22-5=17, Resulting Numbers: [7, 17]
Generated Node #0,4,3: 21:[7, 17] Operation: 22-5=17
Exploring Operation: 7+5=12, Resulting Numbers: [22, 12]
Generated Node #0,4,4: 21:[22, 12] Operation: 7+5=12
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 21:[22, 2], Operations: ['32-10=22', '7-5=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,21 unequal: No Solution
No 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: 21:[7, 17], Operations: ['32-10=22', '22-5=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No 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: 21:[7, 27], Operations: ['32-10=22', '5+22=27']
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,21 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No 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: 21:[22, 12], Operations: ['32-10=22', '7+5=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,21 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No 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: 21:[5, 15], Operations: ['32-10=22', '22-7=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,21 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: 21:[10, 7, 27], Operations: ['32-5=27']
Exploring Operation: 27-7=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 21:[10, 20] Operation: 27-7=20
Exploring Operation: 27-10=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 21:[7, 17] Operation: 27-10=17
Exploring Operation: 10+27=37, Resulting Numbers: [7, 37]
Generated Node #0,0,2: 21:[7, 37] Operation: 10+27=37
Exploring Operation: 10-7=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 21:[27, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [27, 17]
Generated Node #0,0,4: 21:[27, 17] Operation: 10+7=17
Moving to Node #0,0,0
Current State: 21:[10, 20], Operations: ['32-5=27', '27-7=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,21 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[7, 17], Operations: ['32-5=27', '27-10=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[27, 3], Operations: ['32-5=27', '10-7=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[27, 17], Operations: ['32-5=27', '10+7=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,21 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[7, 37], Operations: ['32-5=27', '10+27=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[10, 5, 25], Operations: ['32-7=25']
Exploring Operation: 25/5=5, Resulting Numbers: [10, 5]
Generated Node #0,3,0: 21:[10, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [10, 20]
Generated Node #0,3,1: 21:[10, 20] Operation: 25-5=20
Exploring Operation: 10/5=2, Resulting Numbers: [25, 2]
Generated Node #0,3,2: 21:[25, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [25, 5]
Generated Node #0,3,3: 21:[25, 5] Operation: 10-5=5
Exploring Operation: 25-10=15, Resulting Numbers: [5, 15]
Generated Node #0,3,4: 21:[5, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[10, 20], Operations: ['32-7=25', '25-5=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,21 unequal: No Solution
No 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: 21:[10, 5], Operations: ['32-7=25', '25/5=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,21 unequal: No Solution
No 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: 21:[25, 2], Operations: ['32-7=25', '10/5=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,21 unequal: No Solution
No 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: 21:[25, 5], Operations: ['32-7=25', '10-5=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,21 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No 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: 21:[5, 15], Operations: ['32-7=25', '25-10=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,21 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: 21:[7, 32, 2], Operations: ['10/5=2']
Exploring Operation: 32-7=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 21:[2, 25] Operation: 32-7=25
Exploring Operation: 7+2=9, Resulting Numbers: [32, 9]
Generated Node #0,2,1: 21:[32, 9] Operation: 7+2=9
Exploring Operation: 32-2=30, Resulting Numbers: [7, 30]
Generated Node #0,2,2: 21:[7, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [7, 16]
Generated Node #0,2,3: 21:[7, 16] Operation: 32/2=16
Exploring Operation: 7-2=5, Resulting Numbers: [32, 5]
Generated Node #0,2,4: 21:[32, 5] Operation: 7-2=5
Moving to Node #0,2,0
Current State: 21:[2, 25], Operations: ['10/5=2', '32-7=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[7, 16], Operations: ['10/5=2', '32/2=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[7, 30], Operations: ['10/5=2', '32-2=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,21 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[32, 9], Operations: ['10/5=2', '7+2=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[32, 5], Operations: ['10/5=2', '7-2=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,21 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[32, 5, 3], Operations: ['10-7=3']
Exploring Operation: 32-3=29, Resulting Numbers: [5, 29]
Generated Node #0,1,0: 21:[5, 29] Operation: 32-3=29
Exploring Operation: 5+3=8, Resulting Numbers: [32, 8]
Generated Node #0,1,1: 21:[32, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 21:[32, 2] Operation: 5-3=2
Exploring Operation: 32-5=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 21:[3, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [3, 37]
Generated Node #0,1,4: 21:[3, 37] Operation: 32+5=37
Moving to Node #0,1,3
Current State: 21:[3, 27], Operations: ['10-7=3', '32-5=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[5, 29], Operations: ['10-7=3', '32-3=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[32, 8], Operations: ['10-7=3', '5+3=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,21 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[32, 2], Operations: ['10-7=3', '5-3=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,1,4
Current State: 21:[3, 37], Operations: ['10-7=3', '32+5=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
5,
96,
96
] | 82 | [
"78+5=83",
"96/96=1",
"83-1=82"
] | Current State: 82:[78, 5, 96, 96], Operations: []
Exploring Operation: 78+5=83, Resulting Numbers: [96, 96, 83]
Generated Node #2: [96, 96, 83] from Operation: 78+5=83
Current State: 82:[96, 96, 83], Operations: ['78+5=83']
Exploring Operation: 96/96=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 96/96=1
Current State: 82:[83, 1], Operations: ['78+5=83', '96/96=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[78, 5, 96, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [78, 5, 1]
Generated Node #0,0: 82:[78, 5, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [78, 5, 0]
Generated Node #0,1: 82:[78, 5, 0] Operation: 96-96=0
Exploring Operation: 96-5=91, Resulting Numbers: [78, 96, 91]
Generated Node #0,2: 82:[78, 96, 91] Operation: 96-5=91
Moving to Node #0,0
Current State: 82:[78, 5, 1], Operations: ['96/96=1']
Exploring Operation: 78+1=79, Resulting Numbers: [5, 79]
Generated Node #0,0,0: 82:[5, 79] Operation: 78+1=79
Exploring Operation: 78+5=83, Resulting Numbers: [1, 83]
Generated Node #0,0,1: 82:[1, 83] Operation: 78+5=83
Exploring Operation: 5-1=4, Resulting Numbers: [78, 4]
Generated Node #0,0,2: 82:[78, 4] Operation: 5-1=4
Moving to Node #0,1
Current State: 82:[78, 5, 0], Operations: ['96-96=0']
Exploring Operation: 78*0=0, Resulting Numbers: [5, 0]
Generated Node #0,1,0: 82:[5, 0] Operation: 78*0=0
Exploring Operation: 78+5=83, Resulting Numbers: [0, 83]
Generated Node #0,1,1: 82:[0, 83] Operation: 78+5=83
Exploring Operation: 5*0=0, Resulting Numbers: [78, 0]
Generated Node #0,1,2: 82:[78, 0] Operation: 5*0=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[0, 83], Operations: ['96-96=0', '78+5=83']
Exploring Operation: 0*83=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 83-0=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 0+83=83, Resulting Numbers: [83]
83,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,0
Current State: 82:[5, 0], Operations: ['96-96=0', '78*0=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,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,2
Current State: 82:[78, 0], Operations: ['96-96=0', '5*0=0']
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,82 unequal: No Solution
Exploring Operation: 78*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 78-0=78, Resulting Numbers: [78]
78,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 82:[78, 96, 91], Operations: ['96-5=91']
Exploring Operation: 91-78=13, Resulting Numbers: [96, 13]
Generated Node #0,2,0: 82:[96, 13] Operation: 91-78=13
Exploring Operation: 96-91=5, Resulting Numbers: [78, 5]
Generated Node #0,2,1: 82:[78, 5] Operation: 96-91=5
Exploring Operation: 96-78=18, Resulting Numbers: [91, 18]
Generated Node #0,2,2: 82:[91, 18] Operation: 96-78=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[78, 5], Operations: ['96-5=91', '96-91=5']
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,82 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[96, 13], Operations: ['96-5=91', '91-78=13']
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,82 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[91, 18], Operations: ['96-5=91', '96-78=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,82 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,82 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: 82:[1, 83], Operations: ['96/96=1', '78+5=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[78, 5, 96, 96], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [78, 5, 1]
Generated Node #0,0: 82:[78, 5, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 82:[78, 5, 1], Operations: ['96/96=1']
Exploring Operation: 78+5=83, Resulting Numbers: [1, 83]
Generated Node #0,0,1: 82:[1, 83] Operation: 78+5=83
Moving to Node #0,0,1
Current State: 82:[1, 83], Operations: ['96/96=1', '78+5=83']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
82,
94,
30,
61
] | 79 | [
"94-82=12",
"30+61=91",
"91-12=79"
] | Current State: 79:[82, 94, 30, 61], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [30, 61, 12]
Generated Node #2: [30, 61, 12] from Operation: 94-82=12
Current State: 79:[30, 61, 12], Operations: ['94-82=12']
Exploring Operation: 30+61=91, Resulting Numbers: [12, 91]
Generated Node #3: [12, 91] from Operation: 30+61=91
Current State: 79:[12, 91], Operations: ['94-82=12', '30+61=91']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[82, 94, 30, 61], Operations: []
Exploring Operation: 30+61=91, Resulting Numbers: [82, 94, 91]
Generated Node #0,0: 79:[82, 94, 91] Operation: 30+61=91
Exploring Operation: 94-30=64, Resulting Numbers: [82, 61, 64]
Generated Node #0,1: 79:[82, 61, 64] Operation: 94-30=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[82, 94, 91], Operations: ['30+61=91']
Exploring Operation: 94-91=3, Resulting Numbers: [82, 3]
Generated Node #0,0,0: 79:[82, 3] Operation: 94-91=3
Exploring Operation: 94-82=12, Resulting Numbers: [91, 12]
Generated Node #0,0,1: 79:[91, 12] Operation: 94-82=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[82, 3], Operations: ['30+61=91', '94-91=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[82, 94, 30, 61], Operations: []
Exploring Operation: 30+61=91, Resulting Numbers: [82, 94, 91]
Generated Node #0,0: 79:[82, 94, 91] Operation: 30+61=91
Moving to Node #0,0
Current State: 79:[82, 94, 91], Operations: ['30+61=91']
Exploring Operation: 94-91=3, Resulting Numbers: [82, 3]
Generated Node #0,0,0: 79:[82, 3] Operation: 94-91=3
Moving to Node #0,0,0
Current State: 79:[82, 3], Operations: ['30+61=91', '94-91=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
79,
39,
5,
2
] | 100 | [
"79-39=40",
"5*40=200",
"200/2=100"
] | Current State: 100:[79, 39, 5, 2], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [5, 2, 40]
Generated Node #2: [5, 2, 40] from Operation: 79-39=40
Current State: 100:[5, 2, 40], Operations: ['79-39=40']
Exploring Operation: 5*40=200, Resulting Numbers: [2, 200]
Generated Node #3: [2, 200] from Operation: 5*40=200
Current State: 100:[2, 200], Operations: ['79-39=40', '5*40=200']
Exploring Operation: 200/2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[79, 39, 5, 2], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [5, 2, 40]
Generated Node #0,0: 100:[5, 2, 40] Operation: 79-39=40
Moving to Node #0,0
Current State: 100:[5, 2, 40], Operations: ['79-39=40']
Exploring Operation: 40/2=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 100:[5, 20] Operation: 40/2=20
Moving to Node #0,0,0
Current State: 100:[5, 20], Operations: ['79-39=40', '40/2=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
29,
33,
1
] | 23 | [
"33-29=4",
"88/4=22",
"1+22=23"
] | Current State: 23:[88, 29, 33, 1], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [88, 1, 4]
Generated Node #2: [88, 1, 4] from Operation: 33-29=4
Current State: 23:[88, 1, 4], Operations: ['33-29=4']
Exploring Operation: 88/4=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 88/4=22
Current State: 23:[1, 22], Operations: ['33-29=4', '88/4=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[88, 29, 33, 1], Operations: []
Exploring Operation: 29-1=28, Resulting Numbers: [88, 33, 28]
Generated Node #0,0: 23:[88, 33, 28] Operation: 29-1=28
Exploring Operation: 33-1=32, Resulting Numbers: [88, 29, 32]
Generated Node #0,1: 23:[88, 29, 32] Operation: 33-1=32
Exploring Operation: 88-29=59, Resulting Numbers: [33, 1, 59]
Generated Node #0,2: 23:[33, 1, 59] Operation: 88-29=59
Exploring Operation: 88-33=55, Resulting Numbers: [29, 1, 55]
Generated Node #0,3: 23:[29, 1, 55] Operation: 88-33=55
Exploring Operation: 88-1=87, Resulting Numbers: [29, 33, 87]
Generated Node #0,4: 23:[29, 33, 87] Operation: 88-1=87
Moving to Node #0,3
Current State: 23:[29, 1, 55], Operations: ['88-33=55']
Exploring Operation: 55-29=26, Resulting Numbers: [1, 26]
Generated Node #0,3,0: 23:[1, 26] Operation: 55-29=26
Exploring Operation: 29/1=29, Resulting Numbers: [55, 29]
Generated Node #0,3,1: 23:[55, 29] Operation: 29/1=29
Exploring Operation: 55-1=54, Resulting Numbers: [29, 54]
Generated Node #0,3,2: 23:[29, 54] Operation: 55-1=54
Exploring Operation: 29*1=29, Resulting Numbers: [55, 29]
Generated Node #0,3,3: 23:[55, 29] Operation: 29*1=29
Exploring Operation: 29-1=28, Resulting Numbers: [55, 28]
Generated Node #0,3,4: 23:[55, 28] Operation: 29-1=28
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[1, 26], Operations: ['88-33=55', '55-29=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[29, 54], Operations: ['88-33=55', '55-1=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,23 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 23:[55, 28], Operations: ['88-33=55', '29-1=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,23 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[55, 29], Operations: ['88-33=55', '29/1=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,23 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[55, 29], Operations: ['88-33=55', '29*1=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,23 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[33, 1, 59], Operations: ['88-29=59']
Exploring Operation: 59-33=26, Resulting Numbers: [1, 26]
Generated Node #0,2,0: 23:[1, 26] Operation: 59-33=26
Exploring Operation: 33*1=33, Resulting Numbers: [59, 33]
Generated Node #0,2,1: 23:[59, 33] Operation: 33*1=33
Exploring Operation: 33-1=32, Resulting Numbers: [59, 32]
Generated Node #0,2,2: 23:[59, 32] Operation: 33-1=32
Exploring Operation: 33/1=33, Resulting Numbers: [59, 33]
Generated Node #0,2,3: 23:[59, 33] Operation: 33/1=33
Exploring Operation: 59-1=58, Resulting Numbers: [33, 58]
Generated Node #0,2,4: 23:[33, 58] Operation: 59-1=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[1, 26], Operations: ['88-29=59', '59-33=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[59, 32], Operations: ['88-29=59', '33-1=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,23 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 23:[33, 58], Operations: ['88-29=59', '59-1=58']
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[59, 33], Operations: ['88-29=59', '33*1=33']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,23 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[59, 33], Operations: ['88-29=59', '33/1=33']
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,23 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: 23:[88, 33, 28], Operations: ['29-1=28']
Exploring Operation: 88+28=116, Resulting Numbers: [33, 116]
Generated Node #0,0,0: 23:[33, 116] Operation: 88+28=116
Exploring Operation: 33-28=5, Resulting Numbers: [88, 5]
Generated Node #0,0,1: 23:[88, 5] Operation: 33-28=5
Exploring Operation: 88-28=60, Resulting Numbers: [33, 60]
Generated Node #0,0,2: 23:[33, 60] Operation: 88-28=60
Exploring Operation: 88+33=121, Resulting Numbers: [28, 121]
Generated Node #0,0,3: 23:[28, 121] Operation: 88+33=121
Exploring Operation: 88-33=55, Resulting Numbers: [28, 55]
Generated Node #0,0,4: 23:[28, 55] Operation: 88-33=55
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 23:[28, 55], Operations: ['29-1=28', '88-33=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,23 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[33, 60], Operations: ['29-1=28', '88-28=60']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,23 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[88, 5], Operations: ['29-1=28', '33-28=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[33, 116], Operations: ['29-1=28', '88+28=116']
Exploring Operation: 33+116=149, Resulting Numbers: [149]
149,23 unequal: No Solution
Exploring Operation: 116-33=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 33*116=3828, Resulting Numbers: [3828]
3828,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[28, 121], Operations: ['29-1=28', '88+33=121']
Exploring Operation: 121-28=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 28*121=3388, Resulting Numbers: [3388]
3388,23 unequal: No Solution
Exploring Operation: 28+121=149, Resulting Numbers: [149]
149,23 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: 23:[88, 29, 32], Operations: ['33-1=32']
Exploring Operation: 88+32=120, Resulting Numbers: [29, 120]
Generated Node #0,1,0: 23:[29, 120] Operation: 88+32=120
Exploring Operation: 88-29=59, Resulting Numbers: [32, 59]
Generated Node #0,1,1: 23:[32, 59] Operation: 88-29=59
Exploring Operation: 88+29=117, Resulting Numbers: [32, 117]
Generated Node #0,1,2: 23:[32, 117] Operation: 88+29=117
Exploring Operation: 32-29=3, Resulting Numbers: [88, 3]
Generated Node #0,1,3: 23:[88, 3] Operation: 32-29=3
Exploring Operation: 88-32=56, Resulting Numbers: [29, 56]
Generated Node #0,1,4: 23:[29, 56] Operation: 88-32=56
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[29, 56], Operations: ['33-1=32', '88-32=56']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[32, 59], Operations: ['33-1=32', '88-29=59']
Exploring Operation: 32*59=1888, Resulting Numbers: [1888]
1888,23 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 32+59=91, Resulting Numbers: [91]
91,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[88, 3], Operations: ['33-1=32', '32-29=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,23 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[29, 120], Operations: ['33-1=32', '88+32=120']
Exploring Operation: 120-29=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 29*120=3480, Resulting Numbers: [3480]
3480,23 unequal: No Solution
Exploring Operation: 29+120=149, Resulting Numbers: [149]
149,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[32, 117], Operations: ['33-1=32', '88+29=117']
Exploring Operation: 32+117=149, Resulting Numbers: [149]
149,23 unequal: No Solution
Exploring Operation: 32*117=3744, Resulting Numbers: [3744]
3744,23 unequal: No Solution
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,23 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: 23:[29, 33, 87], Operations: ['88-1=87']
Exploring Operation: 87-33=54, Resulting Numbers: [29, 54]
Generated Node #0,4,0: 23:[29, 54] Operation: 87-33=54
Exploring Operation: 33-29=4, Resulting Numbers: [87, 4]
Generated Node #0,4,1: 23:[87, 4] Operation: 33-29=4
Exploring Operation: 29+33=62, Resulting Numbers: [87, 62]
Generated Node #0,4,2: 23:[87, 62] Operation: 29+33=62
Exploring Operation: 87/29=3, Resulting Numbers: [33, 3]
Generated Node #0,4,3: 23:[33, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [33, 58]
Generated Node #0,4,4: 23:[33, 58] Operation: 87-29=58
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[33, 3], Operations: ['88-1=87', '87/29=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[29, 54], Operations: ['88-1=87', '87-33=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[33, 58], Operations: ['88-1=87', '87-29=58']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[87, 4], Operations: ['88-1=87', '33-29=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,23 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[87, 62], Operations: ['88-1=87', '29+33=62']
Exploring Operation: 87*62=5394, Resulting Numbers: [5394]
5394,23 unequal: No Solution
Exploring Operation: 87+62=149, Resulting Numbers: [149]
149,23 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,23 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 |
[
53,
86,
91,
40
] | 43 | [
"91-53=38",
"40-38=2",
"86/2=43"
] | Current State: 43:[53, 86, 91, 40], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [86, 40, 38]
Generated Node #2: [86, 40, 38] from Operation: 91-53=38
Current State: 43:[86, 40, 38], Operations: ['91-53=38']
Exploring Operation: 40-38=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 40-38=2
Current State: 43:[86, 2], Operations: ['91-53=38', '40-38=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[53, 86, 91, 40], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [91, 40, 33]
Generated Node #0,0: 43:[91, 40, 33] Operation: 86-53=33
Exploring Operation: 91-40=51, Resulting Numbers: [53, 86, 51]
Generated Node #0,1: 43:[53, 86, 51] Operation: 91-40=51
Exploring Operation: 91-86=5, Resulting Numbers: [53, 40, 5]
Generated Node #0,2: 43:[53, 40, 5] Operation: 91-86=5
Exploring Operation: 91-53=38, Resulting Numbers: [86, 40, 38]
Generated Node #0,3: 43:[86, 40, 38] Operation: 91-53=38
Exploring Operation: 86-40=46, Resulting Numbers: [53, 91, 46]
Generated Node #0,4: 43:[53, 91, 46] Operation: 86-40=46
Moving to Node #0,2
Current State: 43:[53, 40, 5], Operations: ['91-86=5']
Exploring Operation: 40-5=35, Resulting Numbers: [53, 35]
Generated Node #0,2,0: 43:[53, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [53, 8]
Generated Node #0,2,1: 43:[53, 8] Operation: 40/5=8
Exploring Operation: 53+5=58, Resulting Numbers: [40, 58]
Generated Node #0,2,2: 43:[40, 58] Operation: 53+5=58
Exploring Operation: 40+5=45, Resulting Numbers: [53, 45]
Generated Node #0,2,3: 43:[53, 45] Operation: 40+5=45
Exploring Operation: 53-5=48, Resulting Numbers: [40, 48]
Generated Node #0,2,4: 43:[40, 48] Operation: 53-5=48
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 43:[40, 48], Operations: ['91-86=5', '53-5=48']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,43 unequal: No Solution
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[53, 45], Operations: ['91-86=5', '40+5=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,43 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[53, 35], Operations: ['91-86=5', '40-5=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[40, 58], Operations: ['91-86=5', '53+5=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[53, 8], Operations: ['91-86=5', '40/5=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 43:[86, 40, 38], Operations: ['91-53=38']
Exploring Operation: 86-40=46, Resulting Numbers: [38, 46]
Generated Node #0,3,0: 43:[38, 46] Operation: 86-40=46
Exploring Operation: 40+38=78, Resulting Numbers: [86, 78]
Generated Node #0,3,1: 43:[86, 78] Operation: 40+38=78
Exploring Operation: 86-38=48, Resulting Numbers: [40, 48]
Generated Node #0,3,2: 43:[40, 48] Operation: 86-38=48
Exploring Operation: 40-38=2, Resulting Numbers: [86, 2]
Generated Node #0,3,3: 43:[86, 2] Operation: 40-38=2
Exploring Operation: 86+38=124, Resulting Numbers: [40, 124]
Generated Node #0,3,4: 43:[40, 124] Operation: 86+38=124
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[38, 46], Operations: ['91-53=38', '86-40=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,43 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[40, 48], Operations: ['91-53=38', '86-38=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[86, 78], Operations: ['91-53=38', '40+38=78']
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,43 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[86, 2], Operations: ['91-53=38', '40-38=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,43 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[53, 86, 91, 40], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [86, 40, 38]
Generated Node #0,3: 43:[86, 40, 38] Operation: 91-53=38
Moving to Node #0,3
Current State: 43:[86, 40, 38], Operations: ['91-53=38']
Exploring Operation: 40-38=2, Resulting Numbers: [86, 2]
Generated Node #0,3,3: 43:[86, 2] Operation: 40-38=2
Moving to Node #0,3,3
Current State: 43:[86, 2], Operations: ['91-53=38', '40-38=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
13,
58,
33,
5
] | 73 | [
"58-13=45",
"33-5=28",
"45+28=73"
] | Current State: 73:[13, 58, 33, 5], Operations: []
Exploring Operation: 58-13=45, Resulting Numbers: [33, 5, 45]
Generated Node #2: [33, 5, 45] from Operation: 58-13=45
Current State: 73:[33, 5, 45], Operations: ['58-13=45']
Exploring Operation: 33-5=28, Resulting Numbers: [45, 28]
Generated Node #3: [45, 28] from Operation: 33-5=28
Current State: 73:[45, 28], Operations: ['58-13=45', '33-5=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[13, 58, 33, 5], Operations: []
Exploring Operation: 13*5=65, Resulting Numbers: [58, 33, 65]
Generated Node #0,0: 73:[58, 33, 65] Operation: 13*5=65
Exploring Operation: 13+5=18, Resulting Numbers: [58, 33, 18]
Generated Node #0,1: 73:[58, 33, 18] Operation: 13+5=18
Exploring Operation: 13+58=71, Resulting Numbers: [33, 5, 71]
Generated Node #0,2: 73:[33, 5, 71] Operation: 13+58=71
Exploring Operation: 13+33=46, Resulting Numbers: [58, 5, 46]
Generated Node #0,3: 73:[58, 5, 46] Operation: 13+33=46
Exploring Operation: 58+5=63, Resulting Numbers: [13, 33, 63]
Generated Node #0,4: 73:[13, 33, 63] Operation: 58+5=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[58, 33, 65], Operations: ['13*5=65']
Exploring Operation: 33+65=98, Resulting Numbers: [58, 98]
Generated Node #0,0,0: 73:[58, 98] Operation: 33+65=98
Exploring Operation: 58+33=91, Resulting Numbers: [65, 91]
Generated Node #0,0,1: 73:[65, 91] Operation: 58+33=91
Exploring Operation: 58+65=123, Resulting Numbers: [33, 123]
Generated Node #0,0,2: 73:[33, 123] Operation: 58+65=123
Exploring Operation: 58-33=25, Resulting Numbers: [65, 25]
Generated Node #0,0,3: 73:[65, 25] Operation: 58-33=25
Exploring Operation: 65-33=32, Resulting Numbers: [58, 32]
Generated Node #0,0,4: 73:[58, 32] Operation: 65-33=32
Moving to Node #0,0,1
Current State: 73:[65, 91], Operations: ['13*5=65', '58+33=91']
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,73 unequal: No Solution
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[58, 98], Operations: ['13*5=65', '33+65=98']
Exploring Operation: 98-58=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 58+98=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 58*98=5684, Resulting Numbers: [5684]
5684,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[65, 25], Operations: ['13*5=65', '58-33=25']
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,73 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[58, 32], Operations: ['13*5=65', '65-33=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,73 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[33, 123], Operations: ['13*5=65', '58+65=123']
Exploring Operation: 33+123=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 123-33=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 33*123=4059, Resulting Numbers: [4059]
4059,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[58, 33, 18], Operations: ['13+5=18']
Exploring Operation: 58+18=76, Resulting Numbers: [33, 76]
Generated Node #0,1,0: 73:[33, 76] Operation: 58+18=76
Exploring Operation: 58+33=91, Resulting Numbers: [18, 91]
Generated Node #0,1,1: 73:[18, 91] Operation: 58+33=91
Exploring Operation: 58-18=40, Resulting Numbers: [33, 40]
Generated Node #0,1,2: 73:[33, 40] Operation: 58-18=40
Exploring Operation: 33-18=15, Resulting Numbers: [58, 15]
Generated Node #0,1,3: 73:[58, 15] Operation: 33-18=15
Exploring Operation: 33+18=51, Resulting Numbers: [58, 51]
Generated Node #0,1,4: 73:[58, 51] Operation: 33+18=51
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[58, 51], Operations: ['13+5=18', '33+18=51']
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,73 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[33, 76], Operations: ['13+5=18', '58+18=76']
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,73 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[18, 91], Operations: ['13+5=18', '58+33=91']
Exploring Operation: 18+91=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[13, 58, 33, 5], Operations: []
Exploring Operation: 13+5=18, Resulting Numbers: [58, 33, 18]
Generated Node #0,1: 73:[58, 33, 18] Operation: 13+5=18
Moving to Node #0,1
Current State: 73:[58, 33, 18], Operations: ['13+5=18']
Exploring Operation: 58+33=91, Resulting Numbers: [18, 91]
Generated Node #0,1,1: 73:[18, 91] Operation: 58+33=91
Moving to Node #0,1,1
Current State: 73:[18, 91], Operations: ['13+5=18', '58+33=91']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
54,
55,
10,
9
] | 11 | [
"54+55=109",
"109-10=99",
"99/9=11"
] | Current State: 11:[54, 55, 10, 9], Operations: []
Exploring Operation: 54+55=109, Resulting Numbers: [10, 9, 109]
Generated Node #2: [10, 9, 109] from Operation: 54+55=109
Current State: 11:[10, 9, 109], Operations: ['54+55=109']
Exploring Operation: 109-10=99, Resulting Numbers: [9, 99]
Generated Node #3: [9, 99] from Operation: 109-10=99
Current State: 11:[9, 99], Operations: ['54+55=109', '109-10=99']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[54, 55, 10, 9], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [10, 9, 1]
Generated Node #0,0: 11:[10, 9, 1] Operation: 55-54=1
Moving to Node #0,0
Current State: 11:[10, 9, 1], Operations: ['55-54=1']
Exploring Operation: 10+1=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 11:[9, 11] Operation: 10+1=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[9, 11], Operations: ['55-54=1', '10+1=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
11,
13,
58,
4
] | 41 | [
"13-4=9",
"11*9=99",
"99-58=41"
] | Current State: 41:[11, 13, 58, 4], Operations: []
Exploring Operation: 13-4=9, Resulting Numbers: [11, 58, 9]
Generated Node #2: [11, 58, 9] from Operation: 13-4=9
Current State: 41:[11, 58, 9], Operations: ['13-4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [58, 99]
Generated Node #3: [58, 99] from Operation: 11*9=99
Current State: 41:[58, 99], Operations: ['13-4=9', '11*9=99']
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[11, 13, 58, 4], Operations: []
Exploring Operation: 11+13=24, Resulting Numbers: [58, 4, 24]
Generated Node #0,0: 41:[58, 4, 24] Operation: 11+13=24
Exploring Operation: 11*4=44, Resulting Numbers: [13, 58, 44]
Generated Node #0,1: 41:[13, 58, 44] Operation: 11*4=44
Exploring Operation: 13*4=52, Resulting Numbers: [11, 58, 52]
Generated Node #0,2: 41:[11, 58, 52] Operation: 13*4=52
Moving to Node #0,1
Current State: 41:[13, 58, 44], Operations: ['11*4=44']
Exploring Operation: 44-13=31, Resulting Numbers: [58, 31]
Generated Node #0,1,0: 41:[58, 31] Operation: 44-13=31
Exploring Operation: 13+58=71, Resulting Numbers: [44, 71]
Generated Node #0,1,1: 41:[44, 71] Operation: 13+58=71
Exploring Operation: 58-13=45, Resulting Numbers: [44, 45]
Generated Node #0,1,2: 41:[44, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[44, 45], Operations: ['11*4=44', '58-13=45']
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,41 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,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:[58, 31], Operations: ['11*4=44', '44-13=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,41 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[44, 71], Operations: ['11*4=44', '13+58=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,41 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,41 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: 41:[11, 58, 52], Operations: ['13*4=52']
Exploring Operation: 52-11=41, Resulting Numbers: [58, 41]
Generated Node #0,2,0: 41:[58, 41] Operation: 52-11=41
Exploring Operation: 58-11=47, Resulting Numbers: [52, 47]
Generated Node #0,2,1: 41:[52, 47] Operation: 58-11=47
Exploring Operation: 11+58=69, Resulting Numbers: [52, 69]
Generated Node #0,2,2: 41:[52, 69] Operation: 11+58=69
Moving to Node #0,0
Current State: 41:[58, 4, 24], Operations: ['11+13=24']
Exploring Operation: 58-4=54, Resulting Numbers: [24, 54]
Generated Node #0,0,0: 41:[24, 54] Operation: 58-4=54
Exploring Operation: 58+4=62, Resulting Numbers: [24, 62]
Generated Node #0,0,1: 41:[24, 62] Operation: 58+4=62
Exploring Operation: 4+24=28, Resulting Numbers: [58, 28]
Generated Node #0,0,2: 41:[58, 28] Operation: 4+24=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[24, 54], Operations: ['11+13=24', '58-4=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,41 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[58, 28], Operations: ['11+13=24', '4+24=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,41 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[24, 62], Operations: ['11+13=24', '58+4=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,41 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: 41:[58, 41], Operations: ['13*4=52', '52-11=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[52, 47], Operations: ['13*4=52', '58-11=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[52, 69], Operations: ['13*4=52', '11+58=69']
Exploring Operation: 52+69=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 52*69=3588, Resulting Numbers: [3588]
3588,41 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
97,
12,
77
] | 40 | [
"24/12=2",
"97-77=20",
"2*20=40"
] | Current State: 40:[24, 97, 12, 77], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [97, 77, 2]
Generated Node #2: [97, 77, 2] from Operation: 24/12=2
Current State: 40:[97, 77, 2], Operations: ['24/12=2']
Exploring Operation: 97-77=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 97-77=20
Current State: 40:[2, 20], Operations: ['24/12=2', '97-77=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[24, 97, 12, 77], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [97, 12, 53]
Generated Node #0,0: 40:[97, 12, 53] Operation: 77-24=53
Exploring Operation: 97-24=73, Resulting Numbers: [12, 77, 73]
Generated Node #0,1: 40:[12, 77, 73] Operation: 97-24=73
Exploring Operation: 97-77=20, Resulting Numbers: [24, 12, 20]
Generated Node #0,2: 40:[24, 12, 20] Operation: 97-77=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[24, 12, 20], Operations: ['97-77=20']
Exploring Operation: 24/12=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 40:[20, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [20, 12]
Generated Node #0,2,1: 40:[20, 12] Operation: 24-12=12
Exploring Operation: 24-20=4, Resulting Numbers: [12, 4]
Generated Node #0,2,2: 40:[12, 4] Operation: 24-20=4
Moving to Node #0,2,0
Current State: 40:[20, 2], Operations: ['97-77=20', '24/12=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[24, 97, 12, 77], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [24, 12, 20]
Generated Node #0,2: 40:[24, 12, 20] Operation: 97-77=20
Moving to Node #0,2
Current State: 40:[24, 12, 20], Operations: ['97-77=20']
Exploring Operation: 24/12=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 40:[20, 2] Operation: 24/12=2
Moving to Node #0,2,0
Current State: 40:[20, 2], Operations: ['97-77=20', '24/12=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
78,
37,
21,
2
] | 47 | [
"78+37=115",
"115-21=94",
"94/2=47"
] | Current State: 47:[78, 37, 21, 2], Operations: []
Exploring Operation: 78+37=115, Resulting Numbers: [21, 2, 115]
Generated Node #2: [21, 2, 115] from Operation: 78+37=115
Current State: 47:[21, 2, 115], Operations: ['78+37=115']
Exploring Operation: 115-21=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 115-21=94
Current State: 47:[2, 94], Operations: ['78+37=115', '115-21=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[78, 37, 21, 2], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [78, 37, 42]
Generated Node #0,0: 47:[78, 37, 42] Operation: 21*2=42
Exploring Operation: 78-2=76, Resulting Numbers: [37, 21, 76]
Generated Node #0,1: 47:[37, 21, 76] Operation: 78-2=76
Exploring Operation: 78-21=57, Resulting Numbers: [37, 2, 57]
Generated Node #0,2: 47:[37, 2, 57] Operation: 78-21=57
Exploring Operation: 78/2=39, Resulting Numbers: [37, 21, 39]
Generated Node #0,3: 47:[37, 21, 39] Operation: 78/2=39
Exploring Operation: 37+2=39, Resulting Numbers: [78, 21, 39]
Generated Node #0,4: 47:[78, 21, 39] Operation: 37+2=39
Moving to Node #0,3
Current State: 47:[37, 21, 39], Operations: ['78/2=39']
Exploring Operation: 21+39=60, Resulting Numbers: [37, 60]
Generated Node #0,3,0: 47:[37, 60] Operation: 21+39=60
Exploring Operation: 37-21=16, Resulting Numbers: [39, 16]
Generated Node #0,3,1: 47:[39, 16] Operation: 37-21=16
Exploring Operation: 37+39=76, Resulting Numbers: [21, 76]
Generated Node #0,3,2: 47:[21, 76] Operation: 37+39=76
Exploring Operation: 37+21=58, Resulting Numbers: [39, 58]
Generated Node #0,3,3: 47:[39, 58] Operation: 37+21=58
Exploring Operation: 39-21=18, Resulting Numbers: [37, 18]
Generated Node #0,3,4: 47:[37, 18] Operation: 39-21=18
Moving to Node #0,0
Current State: 47:[78, 37, 42], Operations: ['21*2=42']
Exploring Operation: 78+37=115, Resulting Numbers: [42, 115]
Generated Node #0,0,0: 47:[42, 115] Operation: 78+37=115
Exploring Operation: 78-37=41, Resulting Numbers: [42, 41]
Generated Node #0,0,1: 47:[42, 41] Operation: 78-37=41
Exploring Operation: 78-42=36, Resulting Numbers: [37, 36]
Generated Node #0,0,2: 47:[37, 36] Operation: 78-42=36
Exploring Operation: 37+42=79, Resulting Numbers: [78, 79]
Generated Node #0,0,3: 47:[78, 79] Operation: 37+42=79
Exploring Operation: 42-37=5, Resulting Numbers: [78, 5]
Generated Node #0,0,4: 47:[78, 5] Operation: 42-37=5
Moving to Node #0,1
Current State: 47:[37, 21, 76], Operations: ['78-2=76']
Exploring Operation: 21+76=97, Resulting Numbers: [37, 97]
Generated Node #0,1,0: 47:[37, 97] Operation: 21+76=97
Exploring Operation: 76-37=39, Resulting Numbers: [21, 39]
Generated Node #0,1,1: 47:[21, 39] Operation: 76-37=39
Exploring Operation: 37-21=16, Resulting Numbers: [76, 16]
Generated Node #0,1,2: 47:[76, 16] Operation: 37-21=16
Exploring Operation: 76-21=55, Resulting Numbers: [37, 55]
Generated Node #0,1,3: 47:[37, 55] Operation: 76-21=55
Exploring Operation: 37+21=58, Resulting Numbers: [76, 58]
Generated Node #0,1,4: 47:[76, 58] Operation: 37+21=58
Moving to Node #0,2
Current State: 47:[37, 2, 57], Operations: ['78-21=57']
Exploring Operation: 57-2=55, Resulting Numbers: [37, 55]
Generated Node #0,2,0: 47:[37, 55] Operation: 57-2=55
Exploring Operation: 37+2=39, Resulting Numbers: [57, 39]
Generated Node #0,2,1: 47:[57, 39] Operation: 37+2=39
Exploring Operation: 37*2=74, Resulting Numbers: [57, 74]
Generated Node #0,2,2: 47:[57, 74] Operation: 37*2=74
Exploring Operation: 2+57=59, Resulting Numbers: [37, 59]
Generated Node #0,2,3: 47:[37, 59] Operation: 2+57=59
Exploring Operation: 37-2=35, Resulting Numbers: [57, 35]
Generated Node #0,2,4: 47:[57, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[37, 55], Operations: ['78-21=57', '57-2=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[57, 39], Operations: ['78-21=57', '37+2=39']
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,47 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[37, 59], Operations: ['78-21=57', '2+57=59']
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,47 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[57, 35], Operations: ['78-21=57', '37-2=35']
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,47 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[57, 74], Operations: ['78-21=57', '37*2=74']
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 57*74=4218, Resulting Numbers: [4218]
4218,47 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,47 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: 47:[78, 21, 39], Operations: ['37+2=39']
Exploring Operation: 39-21=18, Resulting Numbers: [78, 18]
Generated Node #0,4,0: 47:[78, 18] Operation: 39-21=18
Exploring Operation: 78+21=99, Resulting Numbers: [39, 99]
Generated Node #0,4,1: 47:[39, 99] Operation: 78+21=99
Exploring Operation: 21+39=60, Resulting Numbers: [78, 60]
Generated Node #0,4,2: 47:[78, 60] Operation: 21+39=60
Exploring Operation: 78-39=39, Resulting Numbers: [21, 39]
Generated Node #0,4,3: 47:[21, 39] Operation: 78-39=39
Exploring Operation: 78-21=57, Resulting Numbers: [39, 57]
Generated Node #0,4,4: 47:[39, 57] Operation: 78-21=57
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 47:[39, 57], Operations: ['37+2=39', '78-21=57']
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,47 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 47:[21, 39], Operations: ['37+2=39', '78-39=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,47 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[78, 60], Operations: ['37+2=39', '21+39=60']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 78*60=4680, Resulting Numbers: [4680]
4680,47 unequal: No Solution
Exploring Operation: 78+60=138, Resulting Numbers: [138]
138,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 47:[78, 18], Operations: ['37+2=39', '39-21=18']
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,47 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 47:[39, 99], Operations: ['37+2=39', '78+21=99']
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,47 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: 47:[42, 41], Operations: ['21*2=42', '78-37=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,47 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[37, 55], Operations: ['78-2=76', '76-21=55']
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,47 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[39, 58], Operations: ['78/2=39', '37+21=58']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,47 unequal: No Solution
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[37, 36], Operations: ['21*2=42', '78-42=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[37, 60], Operations: ['78/2=39', '21+39=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,47 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[21, 39], Operations: ['78-2=76', '76-37=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,47 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[39, 16], Operations: ['78/2=39', '37-21=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[37, 18], Operations: ['78/2=39', '39-21=18']
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,47 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[76, 58], Operations: ['78-2=76', '37+21=58']
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,47 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[21, 76], Operations: ['78/2=39', '37+39=76']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 21+76=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 21*76=1596, Resulting Numbers: [1596]
1596,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[37, 97], Operations: ['78-2=76', '21+76=97']
Exploring Operation: 37*97=3589, Resulting Numbers: [3589]
3589,47 unequal: No Solution
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 37+97=134, Resulting Numbers: [134]
134,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[76, 16], Operations: ['78-2=76', '37-21=16']
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[78, 79], Operations: ['21*2=42', '37+42=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,47 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,47 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[78, 5], Operations: ['21*2=42', '42-37=5']
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,47 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[42, 115], Operations: ['21*2=42', '78+37=115']
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,47 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,47 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
15,
2,
82
] | 90 | [
"31-15=16",
"16/2=8",
"82+8=90"
] | Current State: 90:[31, 15, 2, 82], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [2, 82, 16]
Generated Node #2: [2, 82, 16] from Operation: 31-15=16
Current State: 90:[2, 82, 16], Operations: ['31-15=16']
Exploring Operation: 16/2=8, Resulting Numbers: [82, 8]
Generated Node #3: [82, 8] from Operation: 16/2=8
Current State: 90:[82, 8], Operations: ['31-15=16', '16/2=8']
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[31, 15, 2, 82], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [31, 15, 41]
Generated Node #0,0: 90:[31, 15, 41] Operation: 82/2=41
Exploring Operation: 2+82=84, Resulting Numbers: [31, 15, 84]
Generated Node #0,1: 90:[31, 15, 84] Operation: 2+82=84
Exploring Operation: 15+82=97, Resulting Numbers: [31, 2, 97]
Generated Node #0,2: 90:[31, 2, 97] Operation: 15+82=97
Exploring Operation: 82-31=51, Resulting Numbers: [15, 2, 51]
Generated Node #0,3: 90:[15, 2, 51] Operation: 82-31=51
Moving to Node #0,0
Current State: 90:[31, 15, 41], Operations: ['82/2=41']
Exploring Operation: 41-31=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 90:[15, 10] Operation: 41-31=10
Exploring Operation: 41-15=26, Resulting Numbers: [31, 26]
Generated Node #0,0,1: 90:[31, 26] Operation: 41-15=26
Exploring Operation: 31-15=16, Resulting Numbers: [41, 16]
Generated Node #0,0,2: 90:[41, 16] Operation: 31-15=16
Exploring Operation: 31+15=46, Resulting Numbers: [41, 46]
Generated Node #0,0,3: 90:[41, 46] Operation: 31+15=46
Moving to Node #0,3
Current State: 90:[15, 2, 51], Operations: ['82-31=51']
Exploring Operation: 51-2=49, Resulting Numbers: [15, 49]
Generated Node #0,3,0: 90:[15, 49] Operation: 51-2=49
Exploring Operation: 15+2=17, Resulting Numbers: [51, 17]
Generated Node #0,3,1: 90:[51, 17] Operation: 15+2=17
Exploring Operation: 15*2=30, Resulting Numbers: [51, 30]
Generated Node #0,3,2: 90:[51, 30] Operation: 15*2=30
Exploring Operation: 51-15=36, Resulting Numbers: [2, 36]
Generated Node #0,3,3: 90:[2, 36] Operation: 51-15=36
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[15, 49], Operations: ['82-31=51', '51-2=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,90 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[51, 30], Operations: ['82-31=51', '15*2=30']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[2, 36], Operations: ['82-31=51', '51-15=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[51, 17], Operations: ['82-31=51', '15+2=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[31, 15, 84], Operations: ['2+82=84']
Exploring Operation: 84-31=53, Resulting Numbers: [15, 53]
Generated Node #0,1,0: 90:[15, 53] Operation: 84-31=53
Exploring Operation: 31-15=16, Resulting Numbers: [84, 16]
Generated Node #0,1,1: 90:[84, 16] Operation: 31-15=16
Exploring Operation: 15+84=99, Resulting Numbers: [31, 99]
Generated Node #0,1,2: 90:[31, 99] Operation: 15+84=99
Exploring Operation: 31+15=46, Resulting Numbers: [84, 46]
Generated Node #0,1,3: 90:[84, 46] Operation: 31+15=46
Moving to Node #0,2
Current State: 90:[31, 2, 97], Operations: ['15+82=97']
Exploring Operation: 31+2=33, Resulting Numbers: [97, 33]
Generated Node #0,2,0: 90:[97, 33] Operation: 31+2=33
Exploring Operation: 2+97=99, Resulting Numbers: [31, 99]
Generated Node #0,2,1: 90:[31, 99] Operation: 2+97=99
Exploring Operation: 97-2=95, Resulting Numbers: [31, 95]
Generated Node #0,2,2: 90:[31, 95] Operation: 97-2=95
Exploring Operation: 31-2=29, Resulting Numbers: [97, 29]
Generated Node #0,2,3: 90:[97, 29] Operation: 31-2=29
Moving to Node #0,0,0
Current State: 90:[15, 10], Operations: ['82/2=41', '41-31=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,90 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[41, 16], Operations: ['82/2=41', '31-15=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,90 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[31, 26], Operations: ['82/2=41', '41-15=26']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[41, 46], Operations: ['82/2=41', '31+15=46']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,90 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[31, 95], Operations: ['15+82=97', '97-2=95']
Exploring Operation: 31*95=2945, Resulting Numbers: [2945]
2945,90 unequal: No Solution
Exploring Operation: 31+95=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[84, 46], Operations: ['2+82=84', '31+15=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,90 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[84, 16], Operations: ['2+82=84', '31-15=16']
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,90 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[15, 53], Operations: ['2+82=84', '84-31=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,90 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[97, 29], Operations: ['15+82=97', '31-2=29']
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,90 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[31, 99], Operations: ['15+82=97', '2+97=99']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 31*99=3069, Resulting Numbers: [3069]
3069,90 unequal: No Solution
Exploring Operation: 31+99=130, Resulting Numbers: [130]
130,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[31, 99], Operations: ['2+82=84', '15+84=99']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 31+99=130, Resulting Numbers: [130]
130,90 unequal: No Solution
Exploring Operation: 31*99=3069, Resulting Numbers: [3069]
3069,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[97, 33], Operations: ['15+82=97', '31+2=33']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,90 unequal: No Solution
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
59,
69,
35,
70
] | 12 | [
"69-59=10",
"70/35=2",
"10+2=12"
] | Current State: 12:[59, 69, 35, 70], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [35, 70, 10]
Generated Node #2: [35, 70, 10] from Operation: 69-59=10
Current State: 12:[35, 70, 10], Operations: ['69-59=10']
Exploring Operation: 70/35=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 70/35=2
Current State: 12:[10, 2], Operations: ['69-59=10', '70/35=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[59, 69, 35, 70], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [35, 70, 10]
Generated Node #0,0: 12:[35, 70, 10] Operation: 69-59=10
Exploring Operation: 70/35=2, Resulting Numbers: [59, 69, 2]
Generated Node #0,1: 12:[59, 69, 2] Operation: 70/35=2
Exploring Operation: 70-59=11, Resulting Numbers: [69, 35, 11]
Generated Node #0,2: 12:[69, 35, 11] Operation: 70-59=11
Exploring Operation: 70-69=1, Resulting Numbers: [59, 35, 1]
Generated Node #0,3: 12:[59, 35, 1] Operation: 70-69=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[59, 35, 1], Operations: ['70-69=1']
Exploring Operation: 59-35=24, Resulting Numbers: [1, 24]
Generated Node #0,3,0: 12:[1, 24] Operation: 59-35=24
Exploring Operation: 59-1=58, Resulting Numbers: [35, 58]
Generated Node #0,3,1: 12:[35, 58] Operation: 59-1=58
Exploring Operation: 59*1=59, Resulting Numbers: [35, 59]
Generated Node #0,3,2: 12:[35, 59] Operation: 59*1=59
Exploring Operation: 35-1=34, Resulting Numbers: [59, 34]
Generated Node #0,3,3: 12:[59, 34] Operation: 35-1=34
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[1, 24], Operations: ['70-69=1', '59-35=24']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[35, 58], Operations: ['70-69=1', '59-1=58']
Exploring Operation: 35*58=2030, Resulting Numbers: [2030]
2030,12 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[59, 34], Operations: ['70-69=1', '35-1=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[35, 59], Operations: ['70-69=1', '59*1=59']
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,12 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[69, 35, 11], Operations: ['70-59=11']
Exploring Operation: 35-11=24, Resulting Numbers: [69, 24]
Generated Node #0,2,0: 12:[69, 24] Operation: 35-11=24
Exploring Operation: 69-11=58, Resulting Numbers: [35, 58]
Generated Node #0,2,1: 12:[35, 58] Operation: 69-11=58
Exploring Operation: 69+11=80, Resulting Numbers: [35, 80]
Generated Node #0,2,2: 12:[35, 80] Operation: 69+11=80
Exploring Operation: 69-35=34, Resulting Numbers: [11, 34]
Generated Node #0,2,3: 12:[11, 34] Operation: 69-35=34
Moving to Node #0,2,3
Current State: 12:[11, 34], Operations: ['70-59=11', '69-35=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,12 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[35, 58], Operations: ['70-59=11', '69-11=58']
Exploring Operation: 35*58=2030, Resulting Numbers: [2030]
2030,12 unequal: No Solution
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[69, 24], Operations: ['70-59=11', '35-11=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[35, 80], Operations: ['70-59=11', '69+11=80']
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,12 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[35, 70, 10], Operations: ['69-59=10']
Exploring Operation: 70-35=35, Resulting Numbers: [10, 35]
Generated Node #0,0,0: 12:[10, 35] Operation: 70-35=35
Exploring Operation: 35-10=25, Resulting Numbers: [70, 25]
Generated Node #0,0,1: 12:[70, 25] Operation: 35-10=25
Exploring Operation: 70/10=7, Resulting Numbers: [35, 7]
Generated Node #0,0,2: 12:[35, 7] Operation: 70/10=7
Exploring Operation: 70/35=2, Resulting Numbers: [10, 2]
Generated Node #0,0,3: 12:[10, 2] Operation: 70/35=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[10, 2], Operations: ['69-59=10', '70/35=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[59, 69, 35, 70], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [35, 70, 10]
Generated Node #0,0: 12:[35, 70, 10] Operation: 69-59=10
Moving to Node #0,0
Current State: 12:[35, 70, 10], Operations: ['69-59=10']
Exploring Operation: 70/35=2, Resulting Numbers: [10, 2]
Generated Node #0,0,3: 12:[10, 2] Operation: 70/35=2
Moving to Node #0,0,3
Current State: 12:[10, 2], Operations: ['69-59=10', '70/35=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
83,
45,
3,
33
] | 98 | [
"83+45=128",
"33-3=30",
"128-30=98"
] | Current State: 98:[83, 45, 3, 33], Operations: []
Exploring Operation: 83+45=128, Resulting Numbers: [3, 33, 128]
Generated Node #2: [3, 33, 128] from Operation: 83+45=128
Current State: 98:[3, 33, 128], Operations: ['83+45=128']
Exploring Operation: 33-3=30, Resulting Numbers: [128, 30]
Generated Node #3: [128, 30] from Operation: 33-3=30
Current State: 98:[128, 30], Operations: ['83+45=128', '33-3=30']
Exploring Operation: 128-30=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[83, 45, 3, 33], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [83, 45, 11]
Generated Node #0,0: 98:[83, 45, 11] Operation: 33/3=11
Exploring Operation: 3*33=99, Resulting Numbers: [83, 45, 99]
Generated Node #0,1: 98:[83, 45, 99] Operation: 3*33=99
Exploring Operation: 45-33=12, Resulting Numbers: [83, 3, 12]
Generated Node #0,2: 98:[83, 3, 12] Operation: 45-33=12
Exploring Operation: 83-33=50, Resulting Numbers: [45, 3, 50]
Generated Node #0,3: 98:[45, 3, 50] Operation: 83-33=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[45, 3, 50], Operations: ['83-33=50']
Exploring Operation: 45/3=15, Resulting Numbers: [50, 15]
Generated Node #0,3,0: 98:[50, 15] Operation: 45/3=15
Exploring Operation: 45+50=95, Resulting Numbers: [3, 95]
Generated Node #0,3,1: 98:[3, 95] Operation: 45+50=95
Exploring Operation: 50-45=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 98:[3, 5] Operation: 50-45=5
Exploring Operation: 45+3=48, Resulting Numbers: [50, 48]
Generated Node #0,3,3: 98:[50, 48] Operation: 45+3=48
Moving to Node #0,3,0
Current State: 98:[50, 15], Operations: ['83-33=50', '45/3=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[50, 48], Operations: ['83-33=50', '45+3=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,98 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[83, 45, 3, 33], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [45, 3, 50]
Generated Node #0,3: 98:[45, 3, 50] Operation: 83-33=50
Moving to Node #0,3
Current State: 98:[45, 3, 50], Operations: ['83-33=50']
Exploring Operation: 45+3=48, Resulting Numbers: [50, 48]
Generated Node #0,3,3: 98:[50, 48] Operation: 45+3=48
Moving to Node #0,3,3
Current State: 98:[50, 48], Operations: ['83-33=50', '45+3=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
83,
3,
83,
46
] | 42 | [
"83/83=1",
"46-3=43",
"43-1=42"
] | Current State: 42:[83, 3, 83, 46], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [3, 46, 1]
Generated Node #2: [3, 46, 1] from Operation: 83/83=1
Current State: 42:[3, 46, 1], Operations: ['83/83=1']
Exploring Operation: 46-3=43, Resulting Numbers: [1, 43]
Generated Node #3: [1, 43] from Operation: 46-3=43
Current State: 42:[1, 43], Operations: ['83/83=1', '46-3=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[83, 3, 83, 46], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [3, 46, 1]
Generated Node #0,0: 42:[3, 46, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 42:[3, 46, 1], Operations: ['83/83=1']
Exploring Operation: 46-3=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 42:[1, 43] Operation: 46-3=43
Moving to Node #0,0,0
Current State: 42:[1, 43], Operations: ['83/83=1', '46-3=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[83, 3, 83, 46], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [3, 46, 1]
Generated Node #0,0: 42:[3, 46, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 42:[3, 46, 1], Operations: ['83/83=1']
Exploring Operation: 46-3=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 42:[1, 43] Operation: 46-3=43
Moving to Node #0,0,0
Current State: 42:[1, 43], Operations: ['83/83=1', '46-3=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
42,
87,
10,
19
] | 39 | [
"10+19=29",
"87/29=3",
"42-3=39"
] | Current State: 39:[42, 87, 10, 19], Operations: []
Exploring Operation: 10+19=29, Resulting Numbers: [42, 87, 29]
Generated Node #2: [42, 87, 29] from Operation: 10+19=29
Current State: 39:[42, 87, 29], Operations: ['10+19=29']
Exploring Operation: 87/29=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 87/29=3
Current State: 39:[42, 3], Operations: ['10+19=29', '87/29=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 87, 10, 19], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [10, 19, 45]
Generated Node #0,0: 39:[10, 19, 45] Operation: 87-42=45
Exploring Operation: 87-19=68, Resulting Numbers: [42, 10, 68]
Generated Node #0,1: 39:[42, 10, 68] Operation: 87-19=68
Exploring Operation: 87-10=77, Resulting Numbers: [42, 19, 77]
Generated Node #0,2: 39:[42, 19, 77] Operation: 87-10=77
Moving to Node #0,0
Current State: 39:[10, 19, 45], Operations: ['87-42=45']
Exploring Operation: 19-10=9, Resulting Numbers: [45, 9]
Generated Node #0,0,0: 39:[45, 9] Operation: 19-10=9
Exploring Operation: 10+19=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 39:[45, 29] Operation: 10+19=29
Exploring Operation: 45-10=35, Resulting Numbers: [19, 35]
Generated Node #0,0,2: 39:[19, 35] Operation: 45-10=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[45, 9], Operations: ['87-42=45', '19-10=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,39 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,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,2
Current State: 39:[19, 35], Operations: ['87-42=45', '45-10=35']
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,39 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,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,1
Current State: 39:[45, 29], Operations: ['87-42=45', '10+19=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,39 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,39 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: 39:[42, 10, 68], Operations: ['87-19=68']
Exploring Operation: 42-10=32, Resulting Numbers: [68, 32]
Generated Node #0,1,0: 39:[68, 32] Operation: 42-10=32
Exploring Operation: 68-10=58, Resulting Numbers: [42, 58]
Generated Node #0,1,1: 39:[42, 58] Operation: 68-10=58
Exploring Operation: 68-42=26, Resulting Numbers: [10, 26]
Generated Node #0,1,2: 39:[10, 26] Operation: 68-42=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[10, 26], Operations: ['87-19=68', '68-42=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,39 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[42, 58], Operations: ['87-19=68', '68-10=58']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[68, 32], Operations: ['87-19=68', '42-10=32']
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,39 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,39 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: 39:[42, 19, 77], Operations: ['87-10=77']
Exploring Operation: 77-42=35, Resulting Numbers: [19, 35]
Generated Node #0,2,0: 39:[19, 35] Operation: 77-42=35
Exploring Operation: 77-19=58, Resulting Numbers: [42, 58]
Generated Node #0,2,1: 39:[42, 58] Operation: 77-19=58
Exploring Operation: 42-19=23, Resulting Numbers: [77, 23]
Generated Node #0,2,2: 39:[77, 23] Operation: 42-19=23
Moving to Node #0,2,0
Current State: 39:[19, 35], Operations: ['87-10=77', '77-42=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,39 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,39 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[42, 58], Operations: ['87-10=77', '77-19=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,39 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[77, 23], Operations: ['87-10=77', '42-19=23']
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,39 unequal: No Solution
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,39 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
6,
2,
36
] | 63 | [
"81*2=162",
"162/6=27",
"36+27=63"
] | Current State: 63:[81, 6, 2, 36], Operations: []
Exploring Operation: 81*2=162, Resulting Numbers: [6, 36, 162]
Generated Node #2: [6, 36, 162] from Operation: 81*2=162
Current State: 63:[6, 36, 162], Operations: ['81*2=162']
Exploring Operation: 162/6=27, Resulting Numbers: [36, 27]
Generated Node #3: [36, 27] from Operation: 162/6=27
Current State: 63:[36, 27], Operations: ['81*2=162', '162/6=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[81, 6, 2, 36], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [81, 6, 18]
Generated Node #0,0: 63:[81, 6, 18] Operation: 36/2=18
Exploring Operation: 36/6=6, Resulting Numbers: [81, 2, 6]
Generated Node #0,1: 63:[81, 2, 6] Operation: 36/6=6
Exploring Operation: 81-36=45, Resulting Numbers: [6, 2, 45]
Generated Node #0,2: 63:[6, 2, 45] Operation: 81-36=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[81, 2, 6], Operations: ['36/6=6']
Exploring Operation: 81-6=75, Resulting Numbers: [2, 75]
Generated Node #0,1,0: 63:[2, 75] Operation: 81-6=75
Exploring Operation: 81-2=79, Resulting Numbers: [6, 79]
Generated Node #0,1,1: 63:[6, 79] Operation: 81-2=79
Exploring Operation: 6/2=3, Resulting Numbers: [81, 3]
Generated Node #0,1,2: 63:[81, 3] Operation: 6/2=3
Moving to Node #0,1,0
Current State: 63:[2, 75], Operations: ['36/6=6', '81-6=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[6, 79], Operations: ['36/6=6', '81-2=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,63 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[81, 3], Operations: ['36/6=6', '6/2=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,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,2
Current State: 63:[6, 2, 45], Operations: ['81-36=45']
Exploring Operation: 6/2=3, Resulting Numbers: [45, 3]
Generated Node #0,2,0: 63:[45, 3] Operation: 6/2=3
Exploring Operation: 2+45=47, Resulting Numbers: [6, 47]
Generated Node #0,2,1: 63:[6, 47] Operation: 2+45=47
Exploring Operation: 6+45=51, Resulting Numbers: [2, 51]
Generated Node #0,2,2: 63:[2, 51] Operation: 6+45=51
Moving to Node #0,2,2
Current State: 63:[2, 51], Operations: ['81-36=45', '6+45=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[6, 47], Operations: ['81-36=45', '2+45=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[45, 3], Operations: ['81-36=45', '6/2=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,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
Current State: 63:[81, 6, 18], Operations: ['36/2=18']
Exploring Operation: 81-18=63, Resulting Numbers: [6, 63]
Generated Node #0,0,0: 63:[6, 63] Operation: 81-18=63
Exploring Operation: 81-6=75, Resulting Numbers: [18, 75]
Generated Node #0,0,1: 63:[18, 75] Operation: 81-6=75
Exploring Operation: 18/6=3, Resulting Numbers: [81, 3]
Generated Node #0,0,2: 63:[81, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 63:[6, 63], Operations: ['36/2=18', '81-18=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[18, 75], Operations: ['36/2=18', '81-6=75']
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,63 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[81, 3], Operations: ['36/2=18', '18/6=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
1,
72,
79,
44
] | 50 | [
"1+72=73",
"79+44=123",
"123-73=50"
] | Current State: 50:[1, 72, 79, 44], Operations: []
Exploring Operation: 1+72=73, Resulting Numbers: [79, 44, 73]
Generated Node #2: [79, 44, 73] from Operation: 1+72=73
Current State: 50:[79, 44, 73], Operations: ['1+72=73']
Exploring Operation: 79+44=123, Resulting Numbers: [73, 123]
Generated Node #3: [73, 123] from Operation: 79+44=123
Current State: 50:[73, 123], Operations: ['1+72=73', '79+44=123']
Exploring Operation: 123-73=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[1, 72, 79, 44], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [1, 44, 7]
Generated Node #0,0: 50:[1, 44, 7] Operation: 79-72=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[1, 44, 7], Operations: ['79-72=7']
Exploring Operation: 44+7=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 44+7=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['79-72=7', '44+7=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[1, 72, 79, 44], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [1, 44, 7]
Generated Node #0,0: 50:[1, 44, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 50:[1, 44, 7], Operations: ['79-72=7']
Exploring Operation: 44+7=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 44+7=51
Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['79-72=7', '44+7=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
11,
4,
94
] | 71 | [
"8+11=19",
"94-4=90",
"90-19=71"
] | Current State: 71:[8, 11, 4, 94], Operations: []
Exploring Operation: 8+11=19, Resulting Numbers: [4, 94, 19]
Generated Node #2: [4, 94, 19] from Operation: 8+11=19
Current State: 71:[4, 94, 19], Operations: ['8+11=19']
Exploring Operation: 94-4=90, Resulting Numbers: [19, 90]
Generated Node #3: [19, 90] from Operation: 94-4=90
Current State: 71:[19, 90], Operations: ['8+11=19', '94-4=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 11, 4, 94], Operations: []
Exploring Operation: 8*11=88, Resulting Numbers: [4, 94, 88]
Generated Node #0,0: 71:[4, 94, 88] Operation: 8*11=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[4, 94, 88], Operations: ['8*11=88']
Exploring Operation: 94-4=90, Resulting Numbers: [88, 90]
Generated Node #0,0,0: 71:[88, 90] Operation: 94-4=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[88, 90], Operations: ['8*11=88', '94-4=90']
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
58,
14,
49
] | 84 | [
"82-58=24",
"49*24=1176",
"1176/14=84"
] | Current State: 84:[82, 58, 14, 49], Operations: []
Exploring Operation: 82-58=24, Resulting Numbers: [14, 49, 24]
Generated Node #2: [14, 49, 24] from Operation: 82-58=24
Current State: 84:[14, 49, 24], Operations: ['82-58=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [14, 1176]
Generated Node #3: [14, 1176] from Operation: 49*24=1176
Current State: 84:[14, 1176], Operations: ['82-58=24', '49*24=1176']
Exploring Operation: 1176/14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[82, 58, 14, 49], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [82, 14, 9]
Generated Node #0,0: 84:[82, 14, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 84:[82, 14, 9], Operations: ['58-49=9']
Exploring Operation: 14-9=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 84:[82, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[82, 5], Operations: ['58-49=9', '14-9=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
37,
20,
15
] | 52 | [
"21-20=1",
"37+15=52",
"1*52=52"
] | Current State: 52:[21, 37, 20, 15], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [37, 15, 1]
Generated Node #2: [37, 15, 1] from Operation: 21-20=1
Current State: 52:[37, 15, 1], Operations: ['21-20=1']
Exploring Operation: 37+15=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 37+15=52
Current State: 52:[1, 52], Operations: ['21-20=1', '37+15=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[21, 37, 20, 15], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [20, 15, 16]
Generated Node #0,0: 52:[20, 15, 16] Operation: 37-21=16
Exploring Operation: 37+20=57, Resulting Numbers: [21, 15, 57]
Generated Node #0,1: 52:[21, 15, 57] Operation: 37+20=57
Exploring Operation: 37-20=17, Resulting Numbers: [21, 15, 17]
Generated Node #0,2: 52:[21, 15, 17] Operation: 37-20=17
Exploring Operation: 37+15=52, Resulting Numbers: [21, 20, 52]
Generated Node #0,3: 52:[21, 20, 52] Operation: 37+15=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[20, 15, 16], Operations: ['37-21=16']
Exploring Operation: 15+16=31, Resulting Numbers: [20, 31]
Generated Node #0,0,0: 52:[20, 31] Operation: 15+16=31
Exploring Operation: 20-16=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 52:[15, 4] Operation: 20-16=4
Exploring Operation: 20-15=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 52:[16, 5] Operation: 20-15=5
Exploring Operation: 16-15=1, Resulting Numbers: [20, 1]
Generated Node #0,0,3: 52:[20, 1] Operation: 16-15=1
Moving to Node #0,0,1
Current State: 52:[15, 4], Operations: ['37-21=16', '20-16=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[16, 5], Operations: ['37-21=16', '20-15=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[20, 1], Operations: ['37-21=16', '16-15=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[20, 31], Operations: ['37-21=16', '15+16=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,52 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[21, 15, 17], Operations: ['37-20=17']
Exploring Operation: 21-15=6, Resulting Numbers: [17, 6]
Generated Node #0,2,0: 52:[17, 6] Operation: 21-15=6
Exploring Operation: 17-15=2, Resulting Numbers: [21, 2]
Generated Node #0,2,1: 52:[21, 2] Operation: 17-15=2
Exploring Operation: 21-17=4, Resulting Numbers: [15, 4]
Generated Node #0,2,2: 52:[15, 4] Operation: 21-17=4
Exploring Operation: 15+17=32, Resulting Numbers: [21, 32]
Generated Node #0,2,3: 52:[21, 32] Operation: 15+17=32
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[15, 4], Operations: ['37-20=17', '21-17=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,52 unequal: No Solution
No 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: 52:[21, 2], Operations: ['37-20=17', '17-15=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,52 unequal: No Solution
No 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: 52:[17, 6], Operations: ['37-20=17', '21-15=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No 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: 52:[21, 32], Operations: ['37-20=17', '15+17=32']
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,52 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: 52:[21, 20, 52], Operations: ['37+15=52']
Exploring Operation: 21+20=41, Resulting Numbers: [52, 41]
Generated Node #0,3,0: 52:[52, 41] Operation: 21+20=41
Exploring Operation: 52-20=32, Resulting Numbers: [21, 32]
Generated Node #0,3,1: 52:[21, 32] Operation: 52-20=32
Exploring Operation: 52-21=31, Resulting Numbers: [20, 31]
Generated Node #0,3,2: 52:[20, 31] Operation: 52-21=31
Exploring Operation: 21-20=1, Resulting Numbers: [52, 1]
Generated Node #0,3,3: 52:[52, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[52, 1], Operations: ['37+15=52', '21-20=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[21, 37, 20, 15], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [21, 20, 52]
Generated Node #0,3: 52:[21, 20, 52] Operation: 37+15=52
Moving to Node #0,3
Current State: 52:[21, 20, 52], Operations: ['37+15=52']
Exploring Operation: 21-20=1, Resulting Numbers: [52, 1]
Generated Node #0,3,3: 52:[52, 1] Operation: 21-20=1
Moving to Node #0,3,3
Current State: 52:[52, 1], Operations: ['37+15=52', '21-20=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
4,
56,
44,
64
] | 67 | [
"56-44=12",
"12/4=3",
"64+3=67"
] | Current State: 67:[4, 56, 44, 64], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [4, 64, 12]
Generated Node #2: [4, 64, 12] from Operation: 56-44=12
Current State: 67:[4, 64, 12], Operations: ['56-44=12']
Exploring Operation: 12/4=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 12/4=3
Current State: 67:[64, 3], Operations: ['56-44=12', '12/4=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[4, 56, 44, 64], Operations: []
Exploring Operation: 4+64=68, Resulting Numbers: [56, 44, 68]
Generated Node #0,0: 67:[56, 44, 68] Operation: 4+64=68
Exploring Operation: 4+56=60, Resulting Numbers: [44, 64, 60]
Generated Node #0,1: 67:[44, 64, 60] Operation: 4+56=60
Exploring Operation: 56-4=52, Resulting Numbers: [44, 64, 52]
Generated Node #0,2: 67:[44, 64, 52] Operation: 56-4=52
Exploring Operation: 44-4=40, Resulting Numbers: [56, 64, 40]
Generated Node #0,3: 67:[56, 64, 40] Operation: 44-4=40
Exploring Operation: 4+44=48, Resulting Numbers: [56, 64, 48]
Generated Node #0,4: 67:[56, 64, 48] Operation: 4+44=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[44, 64, 60], Operations: ['4+56=60']
Exploring Operation: 64+60=124, Resulting Numbers: [44, 124]
Generated Node #0,1,0: 67:[44, 124] Operation: 64+60=124
Exploring Operation: 44+60=104, Resulting Numbers: [64, 104]
Generated Node #0,1,1: 67:[64, 104] Operation: 44+60=104
Exploring Operation: 64-44=20, Resulting Numbers: [60, 20]
Generated Node #0,1,2: 67:[60, 20] Operation: 64-44=20
Exploring Operation: 44+64=108, Resulting Numbers: [60, 108]
Generated Node #0,1,3: 67:[60, 108] Operation: 44+64=108
Exploring Operation: 60-44=16, Resulting Numbers: [64, 16]
Generated Node #0,1,4: 67:[64, 16] Operation: 60-44=16
Moving to Node #0,1,1
Current State: 67:[64, 104], Operations: ['4+56=60', '44+60=104']
Exploring Operation: 64+104=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 64*104=6656, Resulting Numbers: [6656]
6656,67 unequal: No Solution
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[60, 108], Operations: ['4+56=60', '44+64=108']
Exploring Operation: 60+108=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 60*108=6480, Resulting Numbers: [6480]
6480,67 unequal: No Solution
Exploring Operation: 108-60=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[60, 20], Operations: ['4+56=60', '64-44=20']
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[64, 16], Operations: ['4+56=60', '60-44=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,67 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[44, 124], Operations: ['4+56=60', '64+60=124']
Exploring Operation: 44+124=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 44*124=5456, Resulting Numbers: [5456]
5456,67 unequal: No Solution
Exploring Operation: 124-44=80, Resulting Numbers: [80]
80,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,4
Current State: 67:[56, 64, 48], Operations: ['4+44=48']
Exploring Operation: 56+64=120, Resulting Numbers: [48, 120]
Generated Node #0,4,0: 67:[48, 120] Operation: 56+64=120
Exploring Operation: 64-48=16, Resulting Numbers: [56, 16]
Generated Node #0,4,1: 67:[56, 16] Operation: 64-48=16
Exploring Operation: 56-48=8, Resulting Numbers: [64, 8]
Generated Node #0,4,2: 67:[64, 8] Operation: 56-48=8
Exploring Operation: 56+48=104, Resulting Numbers: [64, 104]
Generated Node #0,4,3: 67:[64, 104] Operation: 56+48=104
Exploring Operation: 64+48=112, Resulting Numbers: [56, 112]
Generated Node #0,4,4: 67:[56, 112] Operation: 64+48=112
Moving to Node #0,4,3
Current State: 67:[64, 104], Operations: ['4+44=48', '56+48=104']
Exploring Operation: 64+104=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 64*104=6656, Resulting Numbers: [6656]
6656,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[56, 112], Operations: ['4+44=48', '64+48=112']
Exploring Operation: 56+112=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 112/56=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 56*112=6272, Resulting Numbers: [6272]
6272,67 unequal: No Solution
Exploring Operation: 112-56=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[56, 16], Operations: ['4+44=48', '64-48=16']
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,67 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[64, 8], Operations: ['4+44=48', '56-48=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,67 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[48, 120], Operations: ['4+44=48', '56+64=120']
Exploring Operation: 48+120=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 48*120=5760, Resulting Numbers: [5760]
5760,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,0
Current State: 67:[56, 44, 68], Operations: ['4+64=68']
Exploring Operation: 68-56=12, Resulting Numbers: [44, 12]
Generated Node #0,0,0: 67:[44, 12] Operation: 68-56=12
Exploring Operation: 44+68=112, Resulting Numbers: [56, 112]
Generated Node #0,0,1: 67:[56, 112] Operation: 44+68=112
Exploring Operation: 56-44=12, Resulting Numbers: [68, 12]
Generated Node #0,0,2: 67:[68, 12] Operation: 56-44=12
Exploring Operation: 56+44=100, Resulting Numbers: [68, 100]
Generated Node #0,0,3: 67:[68, 100] Operation: 56+44=100
Exploring Operation: 68-44=24, Resulting Numbers: [56, 24]
Generated Node #0,0,4: 67:[56, 24] Operation: 68-44=24
Moving to Node #0,0,3
Current State: 67:[68, 100], Operations: ['4+64=68', '56+44=100']
Exploring Operation: 68+100=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 68*100=6800, Resulting Numbers: [6800]
6800,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[56, 24], Operations: ['4+64=68', '68-44=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[56, 112], Operations: ['4+64=68', '44+68=112']
Exploring Operation: 112/56=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 112-56=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 56*112=6272, Resulting Numbers: [6272]
6272,67 unequal: No Solution
Exploring Operation: 56+112=168, Resulting Numbers: [168]
168,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[68, 12], Operations: ['4+64=68', '56-44=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[44, 12], Operations: ['4+64=68', '68-56=12']
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,67 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,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,2
Current State: 67:[44, 64, 52], Operations: ['56-4=52']
Exploring Operation: 44+52=96, Resulting Numbers: [64, 96]
Generated Node #0,2,0: 67:[64, 96] Operation: 44+52=96
Exploring Operation: 64-44=20, Resulting Numbers: [52, 20]
Generated Node #0,2,1: 67:[52, 20] Operation: 64-44=20
Exploring Operation: 52-44=8, Resulting Numbers: [64, 8]
Generated Node #0,2,2: 67:[64, 8] Operation: 52-44=8
Exploring Operation: 44+64=108, Resulting Numbers: [52, 108]
Generated Node #0,2,3: 67:[52, 108] Operation: 44+64=108
Exploring Operation: 64+52=116, Resulting Numbers: [44, 116]
Generated Node #0,2,4: 67:[44, 116] Operation: 64+52=116
Moving to Node #0,2,0
Current State: 67:[64, 96], Operations: ['56-4=52', '44+52=96']
Exploring Operation: 64+96=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 64*96=6144, Resulting Numbers: [6144]
6144,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[52, 108], Operations: ['56-4=52', '44+64=108']
Exploring Operation: 52*108=5616, Resulting Numbers: [5616]
5616,67 unequal: No Solution
Exploring Operation: 52+108=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 108-52=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[52, 20], Operations: ['56-4=52', '64-44=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,67 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[64, 8], Operations: ['56-4=52', '52-44=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,67 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[44, 116], Operations: ['56-4=52', '64+52=116']
Exploring Operation: 44+116=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 44*116=5104, Resulting Numbers: [5104]
5104,67 unequal: No Solution
Exploring Operation: 116-44=72, Resulting Numbers: [72]
72,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,3
Current State: 67:[56, 64, 40], Operations: ['44-4=40']
Exploring Operation: 56+40=96, Resulting Numbers: [64, 96]
Generated Node #0,3,0: 67:[64, 96] Operation: 56+40=96
Exploring Operation: 64+40=104, Resulting Numbers: [56, 104]
Generated Node #0,3,1: 67:[56, 104] Operation: 64+40=104
Exploring Operation: 64-40=24, Resulting Numbers: [56, 24]
Generated Node #0,3,2: 67:[56, 24] Operation: 64-40=24
Exploring Operation: 56+64=120, Resulting Numbers: [40, 120]
Generated Node #0,3,3: 67:[40, 120] Operation: 56+64=120
Exploring Operation: 56-40=16, Resulting Numbers: [64, 16]
Generated Node #0,3,4: 67:[64, 16] Operation: 56-40=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[64, 96], Operations: ['44-4=40', '56+40=96']
Exploring Operation: 64+96=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 64*96=6144, Resulting Numbers: [6144]
6144,67 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,67 unequal: No Solution
No 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: 67:[56, 104], Operations: ['44-4=40', '64+40=104']
Exploring Operation: 104-56=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 56*104=5824, Resulting Numbers: [5824]
5824,67 unequal: No Solution
Exploring Operation: 56+104=160, Resulting Numbers: [160]
160,67 unequal: No Solution
No 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: 67:[56, 24], Operations: ['44-4=40', '64-40=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
No 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: 67:[64, 16], Operations: ['44-4=40', '56-40=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,67 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,67 unequal: No Solution
No 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: 67:[40, 120], Operations: ['44-4=40', '56+64=120']
Exploring Operation: 120/40=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 40*120=4800, Resulting Numbers: [4800]
4800,67 unequal: No Solution
Exploring Operation: 120-40=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 40+120=160, Resulting Numbers: [160]
160,67 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 |
[
21,
97,
21,
15
] | 81 | [
"21/21=1",
"97-15=82",
"82-1=81"
] | Current State: 81:[21, 97, 21, 15], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [97, 15, 1]
Generated Node #2: [97, 15, 1] from Operation: 21/21=1
Current State: 81:[97, 15, 1], Operations: ['21/21=1']
Exploring Operation: 97-15=82, Resulting Numbers: [1, 82]
Generated Node #3: [1, 82] from Operation: 97-15=82
Current State: 81:[1, 82], Operations: ['21/21=1', '97-15=82']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[21, 97, 21, 15], Operations: []
Exploring Operation: 97-21=76, Resulting Numbers: [21, 15, 76]
Generated Node #0,0: 81:[21, 15, 76] Operation: 97-21=76
Exploring Operation: 97-15=82, Resulting Numbers: [21, 21, 82]
Generated Node #0,1: 81:[21, 21, 82] Operation: 97-15=82
Exploring Operation: 97-21=76, Resulting Numbers: [21, 15, 76]
Generated Node #0,2: 81:[21, 15, 76] Operation: 97-21=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[21, 21, 82], Operations: ['97-15=82']
Exploring Operation: 21/21=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 81:[82, 1] Operation: 21/21=1
Exploring Operation: 21+21=42, Resulting Numbers: [82, 42]
Generated Node #0,1,1: 81:[82, 42] Operation: 21+21=42
Exploring Operation: 21-21=0, Resulting Numbers: [82, 0]
Generated Node #0,1,2: 81:[82, 0] Operation: 21-21=0
Moving to Node #0,1,0
Current State: 81:[82, 1], Operations: ['97-15=82', '21/21=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[21, 97, 21, 15], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [21, 21, 82]
Generated Node #0,1: 81:[21, 21, 82] Operation: 97-15=82
Moving to Node #0,1
Current State: 81:[21, 21, 82], Operations: ['97-15=82']
Exploring Operation: 21/21=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 81:[82, 1] Operation: 21/21=1
Moving to Node #0,1,0
Current State: 81:[82, 1], Operations: ['97-15=82', '21/21=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
74,
7,
38,
32
] | 75 | [
"74+7=81",
"38-32=6",
"81-6=75"
] | Current State: 75:[74, 7, 38, 32], Operations: []
Exploring Operation: 74+7=81, Resulting Numbers: [38, 32, 81]
Generated Node #2: [38, 32, 81] from Operation: 74+7=81
Current State: 75:[38, 32, 81], Operations: ['74+7=81']
Exploring Operation: 38-32=6, Resulting Numbers: [81, 6]
Generated Node #3: [81, 6] from Operation: 38-32=6
Current State: 75:[81, 6], Operations: ['74+7=81', '38-32=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[74, 7, 38, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [74, 7, 6]
Generated Node #0,0: 75:[74, 7, 6] Operation: 38-32=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[74, 7, 6], Operations: ['38-32=6']
Exploring Operation: 7+6=13, Resulting Numbers: [74, 13]
Generated Node #0,0,0: 75:[74, 13] Operation: 7+6=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[74, 13], Operations: ['38-32=6', '7+6=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
50,
67,
19
] | 43 | [
"50-48=2",
"67+19=86",
"86/2=43"
] | Current State: 43:[48, 50, 67, 19], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [67, 19, 2]
Generated Node #2: [67, 19, 2] from Operation: 50-48=2
Current State: 43:[67, 19, 2], Operations: ['50-48=2']
Exploring Operation: 67+19=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 67+19=86
Current State: 43:[2, 86], Operations: ['50-48=2', '67+19=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[48, 50, 67, 19], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [48, 67, 31]
Generated Node #0,0: 43:[48, 67, 31] Operation: 50-19=31
Exploring Operation: 67-19=48, Resulting Numbers: [48, 50, 48]
Generated Node #0,1: 43:[48, 50, 48] Operation: 67-19=48
Moving to Node #0,1
Current State: 43:[48, 50, 48], Operations: ['67-19=48']
Exploring Operation: 50-48=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 43:[48, 2] Operation: 50-48=2
Exploring Operation: 50-48=2, Resulting Numbers: [48, 2]
Generated Node #0,1,1: 43:[48, 2] Operation: 50-48=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[48, 2], Operations: ['67-19=48', '50-48=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[48, 2], Operations: ['67-19=48', '50-48=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,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 1
No solution found in sub search
Moving to Node #0,0
Current State: 43:[48, 67, 31], Operations: ['50-19=31']
Exploring Operation: 67-31=36, Resulting Numbers: [48, 36]
Generated Node #0,0,0: 43:[48, 36] Operation: 67-31=36
Exploring Operation: 67-48=19, Resulting Numbers: [31, 19]
Generated Node #0,0,1: 43:[31, 19] Operation: 67-48=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[48, 36], Operations: ['50-19=31', '67-31=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[31, 19], Operations: ['50-19=31', '67-48=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
2,
2,
13
] | 10 | [
"72/2=36",
"2*13=26",
"36-26=10"
] | Current State: 10:[72, 2, 2, 13], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [13, 36]
Generated Node #2: [13, 36] from Operation: 72/2=36
Current State: 10:[13, 36], Operations: ['72/2=36']
Exploring Operation: 2*13=26, Resulting Numbers: [36, 26]
Generated Node #3: [36, 26] from Operation: 2*13=26
Current State: 10:[36, 26], Operations: ['72/2=36', '2*13=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[72, 2, 2, 13], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [2, 13, 36]
Generated Node #0,0: 10:[2, 13, 36] Operation: 72/2=36
Moving to Node #0,0
Current State: 10:[2, 13, 36], Operations: ['72/2=36']
Exploring Operation: 36/2=18, Resulting Numbers: [13, 18]
Generated Node #0,0,0: 10:[13, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[13, 18], Operations: ['72/2=36', '36/2=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
98,
69,
96
] | 79 | [
"8+98=106",
"96-69=27",
"106-27=79"
] | Current State: 79:[8, 98, 69, 96], Operations: []
Exploring Operation: 8+98=106, Resulting Numbers: [69, 96, 106]
Generated Node #2: [69, 96, 106] from Operation: 8+98=106
Current State: 79:[69, 96, 106], Operations: ['8+98=106']
Exploring Operation: 96-69=27, Resulting Numbers: [106, 27]
Generated Node #3: [106, 27] from Operation: 96-69=27
Current State: 79:[106, 27], Operations: ['8+98=106', '96-69=27']
Exploring Operation: 106-27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[8, 98, 69, 96], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [69, 96, 90]
Generated Node #0,0: 79:[69, 96, 90] Operation: 98-8=90
Exploring Operation: 8+69=77, Resulting Numbers: [98, 96, 77]
Generated Node #0,1: 79:[98, 96, 77] Operation: 8+69=77
Exploring Operation: 8+98=106, Resulting Numbers: [69, 96, 106]
Generated Node #0,2: 79:[69, 96, 106] Operation: 8+98=106
Exploring Operation: 96-8=88, Resulting Numbers: [98, 69, 88]
Generated Node #0,3: 79:[98, 69, 88] Operation: 96-8=88
Moving to Node #0,0
Current State: 79:[69, 96, 90], Operations: ['98-8=90']
Exploring Operation: 69+96=165, Resulting Numbers: [90, 165]
Generated Node #0,0,0: 79:[90, 165] Operation: 69+96=165
Exploring Operation: 90-69=21, Resulting Numbers: [96, 21]
Generated Node #0,0,1: 79:[96, 21] Operation: 90-69=21
Exploring Operation: 96-90=6, Resulting Numbers: [69, 6]
Generated Node #0,0,2: 79:[69, 6] Operation: 96-90=6
Exploring Operation: 96-69=27, Resulting Numbers: [90, 27]
Generated Node #0,0,3: 79:[90, 27] Operation: 96-69=27
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[90, 27], Operations: ['98-8=90', '96-69=27']
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[96, 21], Operations: ['98-8=90', '90-69=21']
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,79 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[69, 6], Operations: ['98-8=90', '96-90=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,79 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[90, 165], Operations: ['98-8=90', '69+96=165']
Exploring Operation: 90+165=255, Resulting Numbers: [255]
255,79 unequal: No Solution
Exploring Operation: 90*165=14850, Resulting Numbers: [14850]
14850,79 unequal: No Solution
Exploring Operation: 165-90=75, Resulting Numbers: [75]
75,79 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: 79:[98, 69, 88], Operations: ['96-8=88']
Exploring Operation: 98-88=10, Resulting Numbers: [69, 10]
Generated Node #0,3,0: 79:[69, 10] Operation: 98-88=10
Exploring Operation: 98-69=29, Resulting Numbers: [88, 29]
Generated Node #0,3,1: 79:[88, 29] Operation: 98-69=29
Exploring Operation: 98+69=167, Resulting Numbers: [88, 167]
Generated Node #0,3,2: 79:[88, 167] Operation: 98+69=167
Exploring Operation: 88-69=19, Resulting Numbers: [98, 19]
Generated Node #0,3,3: 79:[98, 19] Operation: 88-69=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[88, 29], Operations: ['96-8=88', '98-69=29']
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,79 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[69, 10], Operations: ['96-8=88', '98-88=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,79 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[8, 98, 69, 96], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [98, 69, 88]
Generated Node #0,3: 79:[98, 69, 88] Operation: 96-8=88
Moving to Node #0,3
Current State: 79:[98, 69, 88], Operations: ['96-8=88']
Exploring Operation: 98-88=10, Resulting Numbers: [69, 10]
Generated Node #0,3,0: 79:[69, 10] Operation: 98-88=10
Moving to Node #0,3,0
Current State: 79:[69, 10], Operations: ['96-8=88', '98-88=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
26,
64,
11,
24
] | 34 | [
"64+24=88",
"88/11=8",
"26+8=34"
] | Current State: 34:[26, 64, 11, 24], Operations: []
Exploring Operation: 64+24=88, Resulting Numbers: [26, 11, 88]
Generated Node #2: [26, 11, 88] from Operation: 64+24=88
Current State: 34:[26, 11, 88], Operations: ['64+24=88']
Exploring Operation: 88/11=8, Resulting Numbers: [26, 8]
Generated Node #3: [26, 8] from Operation: 88/11=8
Current State: 34:[26, 8], Operations: ['64+24=88', '88/11=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[26, 64, 11, 24], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [26, 11, 40]
Generated Node #0,0: 34:[26, 11, 40] Operation: 64-24=40
Exploring Operation: 64-11=53, Resulting Numbers: [26, 24, 53]
Generated Node #0,1: 34:[26, 24, 53] Operation: 64-11=53
Exploring Operation: 26-24=2, Resulting Numbers: [64, 11, 2]
Generated Node #0,2: 34:[64, 11, 2] Operation: 26-24=2
Exploring Operation: 26-11=15, Resulting Numbers: [64, 24, 15]
Generated Node #0,3: 34:[64, 24, 15] Operation: 26-11=15
Exploring Operation: 64-26=38, Resulting Numbers: [11, 24, 38]
Generated Node #0,4: 34:[11, 24, 38] Operation: 64-26=38
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[11, 24, 38], Operations: ['64-26=38']
Exploring Operation: 38-24=14, Resulting Numbers: [11, 14]
Generated Node #0,4,0: 34:[11, 14] Operation: 38-24=14
Exploring Operation: 11+24=35, Resulting Numbers: [38, 35]
Generated Node #0,4,1: 34:[38, 35] Operation: 11+24=35
Exploring Operation: 24-11=13, Resulting Numbers: [38, 13]
Generated Node #0,4,2: 34:[38, 13] Operation: 24-11=13
Exploring Operation: 38-11=27, Resulting Numbers: [24, 27]
Generated Node #0,4,3: 34:[24, 27] Operation: 38-11=27
Exploring Operation: 11+38=49, Resulting Numbers: [24, 49]
Generated Node #0,4,4: 34:[24, 49] Operation: 11+38=49
Moving to Node #0,4,1
Current State: 34:[38, 35], Operations: ['64-26=38', '11+24=35']
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,34 unequal: No Solution
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[38, 13], Operations: ['64-26=38', '24-11=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[11, 14], Operations: ['64-26=38', '38-24=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,34 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[24, 27], Operations: ['64-26=38', '38-11=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[24, 49], Operations: ['64-26=38', '11+38=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,34 unequal: No Solution
No 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: 34:[26, 11, 40], Operations: ['64-24=40']
Exploring Operation: 40-26=14, Resulting Numbers: [11, 14]
Generated Node #0,0,0: 34:[11, 14] Operation: 40-26=14
Exploring Operation: 26-11=15, Resulting Numbers: [40, 15]
Generated Node #0,0,1: 34:[40, 15] Operation: 26-11=15
Exploring Operation: 40-11=29, Resulting Numbers: [26, 29]
Generated Node #0,0,2: 34:[26, 29] Operation: 40-11=29
Exploring Operation: 11+40=51, Resulting Numbers: [26, 51]
Generated Node #0,0,3: 34:[26, 51] Operation: 11+40=51
Exploring Operation: 26+11=37, Resulting Numbers: [40, 37]
Generated Node #0,0,4: 34:[40, 37] Operation: 26+11=37
Moving to Node #0,0,1
Current State: 34:[40, 15], Operations: ['64-24=40', '26-11=15']
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,34 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[40, 37], Operations: ['64-24=40', '26+11=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[11, 14], Operations: ['64-24=40', '40-26=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,34 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[26, 29], Operations: ['64-24=40', '40-11=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[26, 51], Operations: ['64-24=40', '11+40=51']
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,34 unequal: No Solution
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No 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: 34:[26, 24, 53], Operations: ['64-11=53']
Exploring Operation: 26-24=2, Resulting Numbers: [53, 2]
Generated Node #0,1,0: 34:[53, 2] Operation: 26-24=2
Exploring Operation: 26+24=50, Resulting Numbers: [53, 50]
Generated Node #0,1,1: 34:[53, 50] Operation: 26+24=50
Exploring Operation: 53-26=27, Resulting Numbers: [24, 27]
Generated Node #0,1,2: 34:[24, 27] Operation: 53-26=27
Exploring Operation: 24+53=77, Resulting Numbers: [26, 77]
Generated Node #0,1,3: 34:[26, 77] Operation: 24+53=77
Exploring Operation: 53-24=29, Resulting Numbers: [26, 29]
Generated Node #0,1,4: 34:[26, 29] Operation: 53-24=29
Moving to Node #0,1,4
Current State: 34:[26, 29], Operations: ['64-11=53', '53-24=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,34 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[24, 27], Operations: ['64-11=53', '53-26=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[53, 2], Operations: ['64-11=53', '26-24=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[53, 50], Operations: ['64-11=53', '26+24=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,34 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[26, 77], Operations: ['64-11=53', '24+53=77']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 26*77=2002, Resulting Numbers: [2002]
2002,34 unequal: No Solution
Exploring Operation: 26+77=103, Resulting Numbers: [103]
103,34 unequal: No Solution
No 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: 34:[64, 11, 2], Operations: ['26-24=2']
Exploring Operation: 64-2=62, Resulting Numbers: [11, 62]
Generated Node #0,2,0: 34:[11, 62] Operation: 64-2=62
Exploring Operation: 64-11=53, Resulting Numbers: [2, 53]
Generated Node #0,2,1: 34:[2, 53] Operation: 64-11=53
Exploring Operation: 11*2=22, Resulting Numbers: [64, 22]
Generated Node #0,2,2: 34:[64, 22] Operation: 11*2=22
Exploring Operation: 11+2=13, Resulting Numbers: [64, 13]
Generated Node #0,2,3: 34:[64, 13] Operation: 11+2=13
Exploring Operation: 64/2=32, Resulting Numbers: [11, 32]
Generated Node #0,2,4: 34:[11, 32] Operation: 64/2=32
Moving to Node #0,2,4
Current State: 34:[11, 32], Operations: ['26-24=2', '64/2=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,34 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,34 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[2, 53], Operations: ['26-24=2', '64-11=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[11, 62], Operations: ['26-24=2', '64-2=62']
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,34 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[64, 13], Operations: ['26-24=2', '11+2=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[64, 22], Operations: ['26-24=2', '11*2=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,34 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,34 unequal: No Solution
No 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: 34:[64, 24, 15], Operations: ['26-11=15']
Exploring Operation: 64-24=40, Resulting Numbers: [15, 40]
Generated Node #0,3,0: 34:[15, 40] Operation: 64-24=40
Exploring Operation: 64+15=79, Resulting Numbers: [24, 79]
Generated Node #0,3,1: 34:[24, 79] Operation: 64+15=79
Exploring Operation: 24-15=9, Resulting Numbers: [64, 9]
Generated Node #0,3,2: 34:[64, 9] Operation: 24-15=9
Exploring Operation: 24+15=39, Resulting Numbers: [64, 39]
Generated Node #0,3,3: 34:[64, 39] Operation: 24+15=39
Exploring Operation: 64-15=49, Resulting Numbers: [24, 49]
Generated Node #0,3,4: 34:[24, 49] Operation: 64-15=49
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[15, 40], Operations: ['26-11=15', '64-24=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,34 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,34 unequal: No Solution
No 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: 34:[24, 49], Operations: ['26-11=15', '64-15=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,34 unequal: No Solution
No 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: 34:[64, 39], Operations: ['26-11=15', '24+15=39']
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,34 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No 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: 34:[64, 9], Operations: ['26-11=15', '24-15=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,34 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,34 unequal: No Solution
No 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: 34:[24, 79], Operations: ['26-11=15', '64+15=79']
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 24+79=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Exploring Operation: 24*79=1896, Resulting Numbers: [1896]
1896,34 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 |
[
24,
71,
60,
5
] | 83 | [
"24+71=95",
"60/5=12",
"95-12=83"
] | Current State: 83:[24, 71, 60, 5], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [60, 5, 95]
Generated Node #2: [60, 5, 95] from Operation: 24+71=95
Current State: 83:[60, 5, 95], Operations: ['24+71=95']
Exploring Operation: 60/5=12, Resulting Numbers: [95, 12]
Generated Node #3: [95, 12] from Operation: 60/5=12
Current State: 83:[95, 12], Operations: ['24+71=95', '60/5=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[24, 71, 60, 5], Operations: []
Exploring Operation: 60+5=65, Resulting Numbers: [24, 71, 65]
Generated Node #0,0: 83:[24, 71, 65] Operation: 60+5=65
Exploring Operation: 24*5=120, Resulting Numbers: [71, 60, 120]
Generated Node #0,1: 83:[71, 60, 120] Operation: 24*5=120
Exploring Operation: 24+5=29, Resulting Numbers: [71, 60, 29]
Generated Node #0,2: 83:[71, 60, 29] Operation: 24+5=29
Exploring Operation: 71+5=76, Resulting Numbers: [24, 60, 76]
Generated Node #0,3: 83:[24, 60, 76] Operation: 71+5=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[71, 60, 120], Operations: ['24*5=120']
Exploring Operation: 120/60=2, Resulting Numbers: [71, 2]
Generated Node #0,1,0: 83:[71, 2] Operation: 120/60=2
Exploring Operation: 120-71=49, Resulting Numbers: [60, 49]
Generated Node #0,1,1: 83:[60, 49] Operation: 120-71=49
Exploring Operation: 120-60=60, Resulting Numbers: [71, 60]
Generated Node #0,1,2: 83:[71, 60] Operation: 120-60=60
Exploring Operation: 71+60=131, Resulting Numbers: [120, 131]
Generated Node #0,1,3: 83:[120, 131] Operation: 71+60=131
Moving to Node #0,1,2
Current State: 83:[71, 60], Operations: ['24*5=120', '120-60=60']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,83 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[60, 49], Operations: ['24*5=120', '120-71=49']
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,83 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[120, 131], Operations: ['24*5=120', '71+60=131']
Exploring Operation: 131-120=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 120+131=251, Resulting Numbers: [251]
251,83 unequal: No Solution
Exploring Operation: 120*131=15720, Resulting Numbers: [15720]
15720,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[71, 2], Operations: ['24*5=120', '120/60=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[24, 71, 65], Operations: ['60+5=65']
Exploring Operation: 24+65=89, Resulting Numbers: [71, 89]
Generated Node #0,0,0: 83:[71, 89] Operation: 24+65=89
Exploring Operation: 24+71=95, Resulting Numbers: [65, 95]
Generated Node #0,0,1: 83:[65, 95] Operation: 24+71=95
Exploring Operation: 65-24=41, Resulting Numbers: [71, 41]
Generated Node #0,0,2: 83:[71, 41] Operation: 65-24=41
Exploring Operation: 71-24=47, Resulting Numbers: [65, 47]
Generated Node #0,0,3: 83:[65, 47] Operation: 71-24=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[71, 89], Operations: ['60+5=65', '24+65=89']
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,83 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[65, 95], Operations: ['60+5=65', '24+71=95']
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,83 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[71, 41], Operations: ['60+5=65', '65-24=41']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,83 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[65, 47], Operations: ['60+5=65', '71-24=47']
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,83 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[71, 60, 29], Operations: ['24+5=29']
Exploring Operation: 60-29=31, Resulting Numbers: [71, 31]
Generated Node #0,2,0: 83:[71, 31] Operation: 60-29=31
Exploring Operation: 60+29=89, Resulting Numbers: [71, 89]
Generated Node #0,2,1: 83:[71, 89] Operation: 60+29=89
Exploring Operation: 71+29=100, Resulting Numbers: [60, 100]
Generated Node #0,2,2: 83:[60, 100] Operation: 71+29=100
Exploring Operation: 71-29=42, Resulting Numbers: [60, 42]
Generated Node #0,2,3: 83:[60, 42] Operation: 71-29=42
Moving to Node #0,2,1
Current State: 83:[71, 89], Operations: ['24+5=29', '60+29=89']
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,83 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[60, 100], Operations: ['24+5=29', '71+29=100']
Exploring Operation: 60*100=6000, Resulting Numbers: [6000]
6000,83 unequal: No Solution
Exploring Operation: 60+100=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[60, 42], Operations: ['24+5=29', '71-29=42']
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,83 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[71, 31], Operations: ['24+5=29', '60-29=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,83 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[24, 60, 76], Operations: ['71+5=76']
Exploring Operation: 60-24=36, Resulting Numbers: [76, 36]
Generated Node #0,3,0: 83:[76, 36] Operation: 60-24=36
Exploring Operation: 76-24=52, Resulting Numbers: [60, 52]
Generated Node #0,3,1: 83:[60, 52] Operation: 76-24=52
Exploring Operation: 24+76=100, Resulting Numbers: [60, 100]
Generated Node #0,3,2: 83:[60, 100] Operation: 24+76=100
Exploring Operation: 24+60=84, Resulting Numbers: [76, 84]
Generated Node #0,3,3: 83:[76, 84] Operation: 24+60=84
Moving to Node #0,3,3
Current State: 83:[76, 84], Operations: ['71+5=76', '24+60=84']
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,83 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[60, 100], Operations: ['71+5=76', '24+76=100']
Exploring Operation: 60*100=6000, Resulting Numbers: [6000]
6000,83 unequal: No Solution
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 60+100=160, Resulting Numbers: [160]
160,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[60, 52], Operations: ['71+5=76', '76-24=52']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[76, 36], Operations: ['71+5=76', '60-24=36']
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,83 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,83 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 |
[
36,
81,
84,
28
] | 69 | [
"36*28=1008",
"1008/84=12",
"81-12=69"
] | Current State: 69:[36, 81, 84, 28], Operations: []
Exploring Operation: 36*28=1008, Resulting Numbers: [81, 84, 1008]
Generated Node #2: [81, 84, 1008] from Operation: 36*28=1008
Current State: 69:[81, 84, 1008], Operations: ['36*28=1008']
Exploring Operation: 1008/84=12, Resulting Numbers: [81, 12]
Generated Node #3: [81, 12] from Operation: 1008/84=12
Current State: 69:[81, 12], Operations: ['36*28=1008', '1008/84=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[36, 81, 84, 28], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [36, 28, 3]
Generated Node #0,0: 69:[36, 28, 3] Operation: 84-81=3
Exploring Operation: 36+28=64, Resulting Numbers: [81, 84, 64]
Generated Node #0,1: 69:[81, 84, 64] Operation: 36+28=64
Exploring Operation: 84/28=3, Resulting Numbers: [36, 81, 3]
Generated Node #0,2: 69:[36, 81, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[36, 28, 3], Operations: ['84-81=3']
Exploring Operation: 36-28=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 69:[3, 8] Operation: 36-28=8
Exploring Operation: 36/3=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 69:[28, 12] Operation: 36/3=12
Exploring Operation: 36+28=64, Resulting Numbers: [3, 64]
Generated Node #0,0,2: 69:[3, 64] Operation: 36+28=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 8], Operations: ['84-81=3', '36-28=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[3, 64], Operations: ['84-81=3', '36+28=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[28, 12], Operations: ['84-81=3', '36/3=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,69 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[36, 81, 3], Operations: ['84/28=3']
Exploring Operation: 36/3=12, Resulting Numbers: [81, 12]
Generated Node #0,2,0: 69:[81, 12] Operation: 36/3=12
Exploring Operation: 81/3=27, Resulting Numbers: [36, 27]
Generated Node #0,2,1: 69:[36, 27] Operation: 81/3=27
Exploring Operation: 81-36=45, Resulting Numbers: [3, 45]
Generated Node #0,2,2: 69:[3, 45] Operation: 81-36=45
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[36, 27], Operations: ['84/28=3', '81/3=27']
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,69 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[81, 12], Operations: ['84/28=3', '36/3=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,69 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[36, 81, 84, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [36, 81, 3]
Generated Node #0,2: 69:[36, 81, 3] Operation: 84/28=3
Moving to Node #0,2
Current State: 69:[36, 81, 3], Operations: ['84/28=3']
Exploring Operation: 36/3=12, Resulting Numbers: [81, 12]
Generated Node #0,2,0: 69:[81, 12] Operation: 36/3=12
Moving to Node #0,2,0
Current State: 69:[81, 12], Operations: ['84/28=3', '36/3=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
7,
62,
17,
83
] | 28 | [
"62+17=79",
"83-79=4",
"7*4=28"
] | Current State: 28:[7, 62, 17, 83], Operations: []
Exploring Operation: 62+17=79, Resulting Numbers: [7, 83, 79]
Generated Node #2: [7, 83, 79] from Operation: 62+17=79
Current State: 28:[7, 83, 79], Operations: ['62+17=79']
Exploring Operation: 83-79=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 83-79=4
Current State: 28:[7, 4], Operations: ['62+17=79', '83-79=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[7, 62, 17, 83], Operations: []
Exploring Operation: 83-7=76, Resulting Numbers: [62, 17, 76]
Generated Node #0,0: 28:[62, 17, 76] Operation: 83-7=76
Exploring Operation: 83-17=66, Resulting Numbers: [7, 62, 66]
Generated Node #0,1: 28:[7, 62, 66] Operation: 83-17=66
Exploring Operation: 62-17=45, Resulting Numbers: [7, 83, 45]
Generated Node #0,2: 28:[7, 83, 45] Operation: 62-17=45
Exploring Operation: 62-7=55, Resulting Numbers: [17, 83, 55]
Generated Node #0,3: 28:[17, 83, 55] Operation: 62-7=55
Exploring Operation: 83-62=21, Resulting Numbers: [7, 17, 21]
Generated Node #0,4: 28:[7, 17, 21] Operation: 83-62=21
Moving to Node #0,4
Current State: 28:[7, 17, 21], Operations: ['83-62=21']
Exploring Operation: 21-7=14, Resulting Numbers: [17, 14]
Generated Node #0,4,0: 28:[17, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [17, 3]
Generated Node #0,4,1: 28:[17, 3] Operation: 21/7=3
Exploring Operation: 17-7=10, Resulting Numbers: [21, 10]
Generated Node #0,4,2: 28:[21, 10] Operation: 17-7=10
Exploring Operation: 21-17=4, Resulting Numbers: [7, 4]
Generated Node #0,4,3: 28:[7, 4] Operation: 21-17=4
Exploring Operation: 7+21=28, Resulting Numbers: [17, 28]
Generated Node #0,4,4: 28:[17, 28] Operation: 7+21=28
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 28:[7, 4], Operations: ['83-62=21', '21-17=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[7, 62, 17, 83], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [7, 17, 21]
Generated Node #0,4: 28:[7, 17, 21] Operation: 83-62=21
Moving to Node #0,4
Current State: 28:[7, 17, 21], Operations: ['83-62=21']
Exploring Operation: 21-17=4, Resulting Numbers: [7, 4]
Generated Node #0,4,3: 28:[7, 4] Operation: 21-17=4
Moving to Node #0,4,3
Current State: 28:[7, 4], Operations: ['83-62=21', '21-17=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
28,
97,
28,
43
] | 33 | [
"97+43=140",
"140/28=5",
"28+5=33"
] | Current State: 33:[28, 97, 28, 43], Operations: []
Exploring Operation: 97+43=140, Resulting Numbers: [28, 28, 140]
Generated Node #2: [28, 28, 140] from Operation: 97+43=140
Current State: 33:[28, 28, 140], Operations: ['97+43=140']
Exploring Operation: 140/28=5, Resulting Numbers: [5]
5,33 equal: Goal Reached
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[28, 97, 28, 43], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [28, 43, 69]
Generated Node #0,0: 33:[28, 43, 69] Operation: 97-28=69
Exploring Operation: 97-43=54, Resulting Numbers: [28, 28, 54]
Generated Node #0,1: 33:[28, 28, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[28, 28, 54], Operations: ['97-43=54']
Exploring Operation: 54-28=26, Resulting Numbers: [28, 26]
Generated Node #0,1,0: 33:[28, 26] Operation: 54-28=26
Exploring Operation: 54-28=26, Resulting Numbers: [28, 26]
Generated Node #0,1,1: 33:[28, 26] Operation: 54-28=26
Moving to Node #0,1,0
Current State: 33:[28, 26], Operations: ['97-43=54', '54-28=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[28, 26], Operations: ['97-43=54', '54-28=26']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[28, 43, 69], Operations: ['97-28=69']
Exploring Operation: 69-43=26, Resulting Numbers: [28, 26]
Generated Node #0,0,0: 33:[28, 26] Operation: 69-43=26
Exploring Operation: 69-28=41, Resulting Numbers: [43, 41]
Generated Node #0,0,1: 33:[43, 41] Operation: 69-28=41
Moving to Node #0,0,0
Current State: 33:[28, 26], Operations: ['97-28=69', '69-43=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[43, 41], Operations: ['97-28=69', '69-28=41']
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
57,
95,
18
] | 27 | [
"83+57=140",
"95+18=113",
"140-113=27"
] | Current State: 27:[83, 57, 95, 18], Operations: []
Exploring Operation: 83+57=140, Resulting Numbers: [95, 18, 140]
Generated Node #2: [95, 18, 140] from Operation: 83+57=140
Current State: 27:[95, 18, 140], Operations: ['83+57=140']
Exploring Operation: 95+18=113, Resulting Numbers: [140, 113]
Generated Node #3: [140, 113] from Operation: 95+18=113
Current State: 27:[140, 113], Operations: ['83+57=140', '95+18=113']
Exploring Operation: 140-113=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[83, 57, 95, 18], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [95, 18, 26]
Generated Node #0,0: 27:[95, 18, 26] Operation: 83-57=26
Exploring Operation: 95-57=38, Resulting Numbers: [83, 18, 38]
Generated Node #0,1: 27:[83, 18, 38] Operation: 95-57=38
Exploring Operation: 95-83=12, Resulting Numbers: [57, 18, 12]
Generated Node #0,2: 27:[57, 18, 12] Operation: 95-83=12
Moving to Node #0,2
Current State: 27:[57, 18, 12], Operations: ['95-83=12']
Exploring Operation: 57-12=45, Resulting Numbers: [18, 45]
Generated Node #0,2,0: 27:[18, 45] Operation: 57-12=45
Exploring Operation: 18+12=30, Resulting Numbers: [57, 30]
Generated Node #0,2,1: 27:[57, 30] Operation: 18+12=30
Exploring Operation: 57-18=39, Resulting Numbers: [12, 39]
Generated Node #0,2,2: 27:[12, 39] Operation: 57-18=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[12, 39], Operations: ['95-83=12', '57-18=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[83, 57, 95, 18], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [57, 18, 12]
Generated Node #0,2: 27:[57, 18, 12] Operation: 95-83=12
Moving to Node #0,2
Current State: 27:[57, 18, 12], Operations: ['95-83=12']
Exploring Operation: 57-18=39, Resulting Numbers: [12, 39]
Generated Node #0,2,2: 27:[12, 39] Operation: 57-18=39
Moving to Node #0,2,2
Current State: 27:[12, 39], Operations: ['95-83=12', '57-18=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
8,
18,
91,
8
] | 73 | [
"8+18=26",
"91+8=99",
"99-26=73"
] | Current State: 73:[8, 18, 91, 8], Operations: []
Exploring Operation: 8+18=26, Resulting Numbers: [91, 26]
Generated Node #2: [91, 26] from Operation: 8+18=26
Current State: 73:[91, 26], Operations: ['8+18=26']
Exploring Operation: 91+8=99, Resulting Numbers: [26, 99]
Generated Node #3: [26, 99] from Operation: 91+8=99
Current State: 73:[26, 99], Operations: ['8+18=26', '91+8=99']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[8, 18, 91, 8], Operations: []
Exploring Operation: 8*8=64, Resulting Numbers: [18, 91, 64]
Generated Node #0,0: 73:[18, 91, 64] Operation: 8*8=64
Exploring Operation: 91-8=83, Resulting Numbers: [18, 8, 83]
Generated Node #0,1: 73:[18, 8, 83] Operation: 91-8=83
Exploring Operation: 8+18=26, Resulting Numbers: [91, 8, 26]
Generated Node #0,2: 73:[91, 8, 26] Operation: 8+18=26
Moving to Node #0,0
Current State: 73:[18, 91, 64], Operations: ['8*8=64']
Exploring Operation: 18+64=82, Resulting Numbers: [91, 82]
Generated Node #0,0,0: 73:[91, 82] Operation: 18+64=82
Exploring Operation: 18+91=109, Resulting Numbers: [64, 109]
Generated Node #0,0,1: 73:[64, 109] Operation: 18+91=109
Exploring Operation: 91-18=73, Resulting Numbers: [64, 73]
Generated Node #0,0,2: 73:[64, 73] Operation: 91-18=73
Moving to Node #0,1
Current State: 73:[18, 8, 83], Operations: ['91-8=83']
Exploring Operation: 18+8=26, Resulting Numbers: [83, 26]
Generated Node #0,1,0: 73:[83, 26] Operation: 18+8=26
Exploring Operation: 83-8=75, Resulting Numbers: [18, 75]
Generated Node #0,1,1: 73:[18, 75] Operation: 83-8=75
Exploring Operation: 18-8=10, Resulting Numbers: [83, 10]
Generated Node #0,1,2: 73:[83, 10] Operation: 18-8=10
Moving to Node #0,2
Current State: 73:[91, 8, 26], Operations: ['8+18=26']
Exploring Operation: 8+26=34, Resulting Numbers: [91, 34]
Generated Node #0,2,0: 73:[91, 34] Operation: 8+26=34
Exploring Operation: 91+8=99, Resulting Numbers: [26, 99]
Generated Node #0,2,1: 73:[26, 99] Operation: 91+8=99
Exploring Operation: 91-8=83, Resulting Numbers: [26, 83]
Generated Node #0,2,2: 73:[26, 83] Operation: 91-8=83
Moving to Node #0,0,2
Current State: 73:[64, 73], Operations: ['8*8=64', '91-18=73']
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[91, 82], Operations: ['8*8=64', '18+64=82']
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[64, 109], Operations: ['8*8=64', '18+91=109']
Exploring Operation: 109-64=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 64*109=6976, Resulting Numbers: [6976]
6976,73 unequal: No Solution
Exploring Operation: 64+109=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[91, 34], Operations: ['8+18=26', '8+26=34']
Exploring Operation: 91*34=3094, Resulting Numbers: [3094]
3094,73 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 91+34=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[26, 83], Operations: ['8+18=26', '91-8=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[18, 75], Operations: ['91-8=83', '83-8=75']
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,73 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[83, 26], Operations: ['91-8=83', '18+8=26']
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[26, 99], Operations: ['8+18=26', '91+8=99']
Exploring Operation: 26*99=2574, Resulting Numbers: [2574]
2574,73 unequal: No Solution
Exploring Operation: 26+99=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[8, 18, 91, 8], Operations: []
Exploring Operation: 8+18=26, Resulting Numbers: [91, 8, 26]
Generated Node #0,2: 73:[91, 8, 26] Operation: 8+18=26
Moving to Node #0,2
Current State: 73:[91, 8, 26], Operations: ['8+18=26']
Exploring Operation: 91+8=99, Resulting Numbers: [26, 99]
Generated Node #0,2,1: 73:[26, 99] Operation: 91+8=99
Moving to Node #0,2,1
Current State: 73:[26, 99], Operations: ['8+18=26', '91+8=99']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
76,
82,
55,
71
] | 81 | [
"82-71=11",
"55/11=5",
"76+5=81"
] | Current State: 81:[76, 82, 55, 71], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [76, 55, 11]
Generated Node #2: [76, 55, 11] from Operation: 82-71=11
Current State: 81:[76, 55, 11], Operations: ['82-71=11']
Exploring Operation: 55/11=5, Resulting Numbers: [76, 5]
Generated Node #3: [76, 5] from Operation: 55/11=5
Current State: 81:[76, 5], Operations: ['82-71=11', '55/11=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 82, 55, 71], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [76, 82, 16]
Generated Node #0,0: 81:[76, 82, 16] Operation: 71-55=16
Exploring Operation: 82-55=27, Resulting Numbers: [76, 71, 27]
Generated Node #0,1: 81:[76, 71, 27] Operation: 82-55=27
Moving to Node #0,0
Current State: 81:[76, 82, 16], Operations: ['71-55=16']
Exploring Operation: 76+16=92, Resulting Numbers: [82, 92]
Generated Node #0,0,0: 81:[82, 92] Operation: 76+16=92
Exploring Operation: 82-76=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 81:[16, 6] Operation: 82-76=6
Moving to Node #0,1
Current State: 81:[76, 71, 27], Operations: ['82-55=27']
Exploring Operation: 76-71=5, Resulting Numbers: [27, 5]
Generated Node #0,1,0: 81:[27, 5] Operation: 76-71=5
Exploring Operation: 71+27=98, Resulting Numbers: [76, 98]
Generated Node #0,1,1: 81:[76, 98] Operation: 71+27=98
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[27, 5], Operations: ['82-55=27', '76-71=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[76, 98], Operations: ['82-55=27', '71+27=98']
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,81 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: 81:[16, 6], Operations: ['71-55=16', '82-76=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[82, 92], Operations: ['71-55=16', '76+16=92']
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
54,
48,
59
] | 56 | [
"59-48=11",
"22/11=2",
"54+2=56"
] | Current State: 56:[22, 54, 48, 59], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [22, 54, 11]
Generated Node #2: [22, 54, 11] from Operation: 59-48=11
Current State: 56:[22, 54, 11], Operations: ['59-48=11']
Exploring Operation: 22/11=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 22/11=2
Current State: 56:[54, 2], Operations: ['59-48=11', '22/11=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[22, 54, 48, 59], Operations: []
Exploring Operation: 48-22=26, Resulting Numbers: [54, 59, 26]
Generated Node #0,0: 56:[54, 59, 26] Operation: 48-22=26
Exploring Operation: 59-48=11, Resulting Numbers: [22, 54, 11]
Generated Node #0,1: 56:[22, 54, 11] Operation: 59-48=11
Exploring Operation: 54-48=6, Resulting Numbers: [22, 59, 6]
Generated Node #0,2: 56:[22, 59, 6] Operation: 54-48=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[54, 59, 26], Operations: ['48-22=26']
Exploring Operation: 59-26=33, Resulting Numbers: [54, 33]
Generated Node #0,0,0: 56:[54, 33] Operation: 59-26=33
Exploring Operation: 54-26=28, Resulting Numbers: [59, 28]
Generated Node #0,0,1: 56:[59, 28] Operation: 54-26=28
Exploring Operation: 59-54=5, Resulting Numbers: [26, 5]
Generated Node #0,0,2: 56:[26, 5] Operation: 59-54=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[59, 28], Operations: ['48-22=26', '54-26=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,56 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,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,0,2
Current State: 56:[26, 5], Operations: ['48-22=26', '59-54=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,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,0,0
Current State: 56:[54, 33], Operations: ['48-22=26', '59-26=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,56 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,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:[22, 59, 6], Operations: ['54-48=6']
Exploring Operation: 22-6=16, Resulting Numbers: [59, 16]
Generated Node #0,2,0: 56:[59, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [59, 28]
Generated Node #0,2,1: 56:[59, 28] Operation: 22+6=28
Exploring Operation: 59-6=53, Resulting Numbers: [22, 53]
Generated Node #0,2,2: 56:[22, 53] Operation: 59-6=53
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[59, 28], Operations: ['54-48=6', '22+6=28']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,56 unequal: No Solution
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,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,2,0
Current State: 56:[59, 16], Operations: ['54-48=6', '22-6=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,56 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,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,2,2
Current State: 56:[22, 53], Operations: ['54-48=6', '59-6=53']
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,56 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,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,1
Current State: 56:[22, 54, 11], Operations: ['59-48=11']
Exploring Operation: 54-22=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 56:[11, 32] Operation: 54-22=32
Exploring Operation: 22/11=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 56:[54, 2] Operation: 22/11=2
Exploring Operation: 22-11=11, Resulting Numbers: [54, 11]
Generated Node #0,1,2: 56:[54, 11] Operation: 22-11=11
Moving to Node #0,1,1
Current State: 56:[54, 2], Operations: ['59-48=11', '22/11=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[22, 54, 48, 59], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [22, 54, 11]
Generated Node #0,1: 56:[22, 54, 11] Operation: 59-48=11
Moving to Node #0,1
Current State: 56:[22, 54, 11], Operations: ['59-48=11']
Exploring Operation: 22/11=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 56:[54, 2] Operation: 22/11=2
Moving to Node #0,1,1
Current State: 56:[54, 2], Operations: ['59-48=11', '22/11=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
1,
4,
28,
10
] | 13 | [
"1+4=5",
"28-10=18",
"18-5=13"
] | Current State: 13:[1, 4, 28, 10], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [28, 10, 5]
Generated Node #2: [28, 10, 5] from Operation: 1+4=5
Current State: 13:[28, 10, 5], Operations: ['1+4=5']
Exploring Operation: 28-10=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 28-10=18
Current State: 13:[5, 18], Operations: ['1+4=5', '28-10=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[1, 4, 28, 10], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [1, 10, 7]
Generated Node #0,0: 13:[1, 10, 7] Operation: 28/4=7
Exploring Operation: 28-1=27, Resulting Numbers: [4, 10, 27]
Generated Node #0,1: 13:[4, 10, 27] Operation: 28-1=27
Exploring Operation: 1+4=5, Resulting Numbers: [28, 10, 5]
Generated Node #0,2: 13:[28, 10, 5] Operation: 1+4=5
Moving to Node #0,0
Current State: 13:[1, 10, 7], Operations: ['28/4=7']
Exploring Operation: 1*10=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 13:[7, 10] Operation: 1*10=10
Exploring Operation: 1+10=11, Resulting Numbers: [7, 11]
Generated Node #0,0,1: 13:[7, 11] Operation: 1+10=11
Exploring Operation: 1+7=8, Resulting Numbers: [10, 8]
Generated Node #0,0,2: 13:[10, 8] Operation: 1+7=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[7, 11], Operations: ['28/4=7', '1+10=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,13 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,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,0,2
Current State: 13:[10, 8], Operations: ['28/4=7', '1+7=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,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,0,0
Current State: 13:[7, 10], Operations: ['28/4=7', '1*10=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,13 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: 13:[4, 10, 27], Operations: ['28-1=27']
Exploring Operation: 4+10=14, Resulting Numbers: [27, 14]
Generated Node #0,1,0: 13:[27, 14] Operation: 4+10=14
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 13:[4, 17] Operation: 27-10=17
Exploring Operation: 27-4=23, Resulting Numbers: [10, 23]
Generated Node #0,1,2: 13:[10, 23] Operation: 27-4=23
Moving to Node #0,2
Current State: 13:[28, 10, 5], Operations: ['1+4=5']
Exploring Operation: 28-5=23, Resulting Numbers: [10, 23]
Generated Node #0,2,0: 13:[10, 23] Operation: 28-5=23
Exploring Operation: 28-10=18, Resulting Numbers: [5, 18]
Generated Node #0,2,1: 13:[5, 18] Operation: 28-10=18
Exploring Operation: 10+5=15, Resulting Numbers: [28, 15]
Generated Node #0,2,2: 13:[28, 15] Operation: 10+5=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[10, 23], Operations: ['1+4=5', '28-5=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,13 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[1, 4, 28, 10], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [28, 10, 5]
Generated Node #0,2: 13:[28, 10, 5] Operation: 1+4=5
Moving to Node #0,2
Current State: 13:[28, 10, 5], Operations: ['1+4=5']
Exploring Operation: 28-5=23, Resulting Numbers: [10, 23]
Generated Node #0,2,0: 13:[10, 23] Operation: 28-5=23
Moving to Node #0,2,0
Current State: 13:[10, 23], Operations: ['1+4=5', '28-5=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
5,
77,
45,
37
] | 63 | [
"5*37=185",
"77+45=122",
"185-122=63"
] | Current State: 63:[5, 77, 45, 37], Operations: []
Exploring Operation: 5*37=185, Resulting Numbers: [77, 45, 185]
Generated Node #2: [77, 45, 185] from Operation: 5*37=185
Current State: 63:[77, 45, 185], Operations: ['5*37=185']
Exploring Operation: 77+45=122, Resulting Numbers: [185, 122]
Generated Node #3: [185, 122] from Operation: 77+45=122
Current State: 63:[185, 122], Operations: ['5*37=185', '77+45=122']
Exploring Operation: 185-122=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 77, 45, 37], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [77, 37, 9]
Generated Node #0,0: 63:[77, 37, 9] Operation: 45/5=9
Exploring Operation: 45-37=8, Resulting Numbers: [5, 77, 8]
Generated Node #0,1: 63:[5, 77, 8] Operation: 45-37=8
Exploring Operation: 45+37=82, Resulting Numbers: [5, 77, 82]
Generated Node #0,2: 63:[5, 77, 82] Operation: 45+37=82
Exploring Operation: 77-45=32, Resulting Numbers: [5, 37, 32]
Generated Node #0,3: 63:[5, 37, 32] Operation: 77-45=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[5, 77, 8], Operations: ['45-37=8']
Exploring Operation: 5+8=13, Resulting Numbers: [77, 13]
Generated Node #0,1,0: 63:[77, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [77, 3]
Generated Node #0,1,1: 63:[77, 3] Operation: 8-5=3
Exploring Operation: 77-5=72, Resulting Numbers: [8, 72]
Generated Node #0,1,2: 63:[8, 72] Operation: 77-5=72
Exploring Operation: 77-8=69, Resulting Numbers: [5, 69]
Generated Node #0,1,3: 63:[5, 69] Operation: 77-8=69
Moving to Node #0,1,3
Current State: 63:[5, 69], Operations: ['45-37=8', '77-8=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,63 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[8, 72], Operations: ['45-37=8', '77-5=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[77, 3], Operations: ['45-37=8', '8-5=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,63 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[77, 13], Operations: ['45-37=8', '5+8=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,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,3
Current State: 63:[5, 37, 32], Operations: ['77-45=32']
Exploring Operation: 37+32=69, Resulting Numbers: [5, 69]
Generated Node #0,3,0: 63:[5, 69] Operation: 37+32=69
Exploring Operation: 32-5=27, Resulting Numbers: [37, 27]
Generated Node #0,3,1: 63:[37, 27] Operation: 32-5=27
Exploring Operation: 37-32=5, Resulting Numbers: [5, 5]
Generated Node #0,3,2: 63:[5, 5] Operation: 37-32=5
Exploring Operation: 37-5=32, Resulting Numbers: [32, 32]
Generated Node #0,3,3: 63:[32, 32] Operation: 37-5=32
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[5, 5], Operations: ['77-45=32', '37-32=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[5, 69], Operations: ['77-45=32', '37+32=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,63 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[37, 27], Operations: ['77-45=32', '32-5=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[32, 32], Operations: ['77-45=32', '37-5=32']
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,63 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[77, 37, 9], Operations: ['45/5=9']
Exploring Operation: 37+9=46, Resulting Numbers: [77, 46]
Generated Node #0,0,0: 63:[77, 46] Operation: 37+9=46
Exploring Operation: 37-9=28, Resulting Numbers: [77, 28]
Generated Node #0,0,1: 63:[77, 28] Operation: 37-9=28
Exploring Operation: 77-9=68, Resulting Numbers: [37, 68]
Generated Node #0,0,2: 63:[37, 68] Operation: 77-9=68
Exploring Operation: 77-37=40, Resulting Numbers: [9, 40]
Generated Node #0,0,3: 63:[9, 40] Operation: 77-37=40
Moving to Node #0,0,3
Current State: 63:[9, 40], Operations: ['45/5=9', '77-37=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[37, 68], Operations: ['45/5=9', '77-9=68']
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,63 unequal: No Solution
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[77, 28], Operations: ['45/5=9', '37-9=28']
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[77, 46], Operations: ['45/5=9', '37+9=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,63 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,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,2
Current State: 63:[5, 77, 82], Operations: ['45+37=82']
Exploring Operation: 82-77=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 63:[5, 5] Operation: 82-77=5
Exploring Operation: 77-5=72, Resulting Numbers: [82, 72]
Generated Node #0,2,1: 63:[82, 72] Operation: 77-5=72
Exploring Operation: 5+77=82, Resulting Numbers: [82, 82]
Generated Node #0,2,2: 63:[82, 82] Operation: 5+77=82
Exploring Operation: 82-5=77, Resulting Numbers: [77, 77]
Generated Node #0,2,3: 63:[77, 77] Operation: 82-5=77
Moving to Node #0,2,0
Current State: 63:[5, 5], Operations: ['45+37=82', '82-77=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[77, 77], Operations: ['45+37=82', '82-5=77']
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,63 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[82, 72], Operations: ['45+37=82', '77-5=72']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,63 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[82, 82], Operations: ['45+37=82', '5+77=82']
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,63 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,63 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 |
[
42,
44,
14,
17
] | 33 | [
"44-42=2",
"14+17=31",
"2+31=33"
] | Current State: 33:[42, 44, 14, 17], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [14, 17, 2]
Generated Node #2: [14, 17, 2] from Operation: 44-42=2
Current State: 33:[14, 17, 2], Operations: ['44-42=2']
Exploring Operation: 14+17=31, Resulting Numbers: [2, 31]
Generated Node #3: [2, 31] from Operation: 14+17=31
Current State: 33:[2, 31], Operations: ['44-42=2', '14+17=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[42, 44, 14, 17], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [14, 17, 2]
Generated Node #0,0: 33:[14, 17, 2] Operation: 44-42=2
Exploring Operation: 44-17=27, Resulting Numbers: [42, 14, 27]
Generated Node #0,1: 33:[42, 14, 27] Operation: 44-17=27
Exploring Operation: 17-14=3, Resulting Numbers: [42, 44, 3]
Generated Node #0,2: 33:[42, 44, 3] Operation: 17-14=3
Exploring Operation: 44-14=30, Resulting Numbers: [42, 17, 30]
Generated Node #0,3: 33:[42, 17, 30] Operation: 44-14=30
Exploring Operation: 42/14=3, Resulting Numbers: [44, 17, 3]
Generated Node #0,4: 33:[44, 17, 3] Operation: 42/14=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[14, 17, 2], Operations: ['44-42=2']
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 33:[2, 3] Operation: 17-14=3
Exploring Operation: 14+17=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 33:[2, 31] Operation: 14+17=31
Exploring Operation: 14-2=12, Resulting Numbers: [17, 12]
Generated Node #0,0,2: 33:[17, 12] Operation: 14-2=12
Exploring Operation: 17*2=34, Resulting Numbers: [14, 34]
Generated Node #0,0,3: 33:[14, 34] Operation: 17*2=34
Exploring Operation: 17-2=15, Resulting Numbers: [14, 15]
Generated Node #0,0,4: 33:[14, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[2, 3], Operations: ['44-42=2', '17-14=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[2, 31], Operations: ['44-42=2', '14+17=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[42, 44, 14, 17], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [14, 17, 2]
Generated Node #0,0: 33:[14, 17, 2] Operation: 44-42=2
Moving to Node #0,0
Current State: 33:[14, 17, 2], Operations: ['44-42=2']
Exploring Operation: 14+17=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 33:[2, 31] Operation: 14+17=31
Moving to Node #0,0,1
Current State: 33:[2, 31], Operations: ['44-42=2', '14+17=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
6,
58,
57,
9
] | 61 | [
"6*9=54",
"58+57=115",
"115-54=61"
] | Current State: 61:[6, 58, 57, 9], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [58, 57, 54]
Generated Node #2: [58, 57, 54] from Operation: 6*9=54
Current State: 61:[58, 57, 54], Operations: ['6*9=54']
Exploring Operation: 58+57=115, Resulting Numbers: [54, 115]
Generated Node #3: [54, 115] from Operation: 58+57=115
Current State: 61:[54, 115], Operations: ['6*9=54', '58+57=115']
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[6, 58, 57, 9], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [58, 57, 15]
Generated Node #0,0: 61:[58, 57, 15] Operation: 6+9=15
Exploring Operation: 6+58=64, Resulting Numbers: [57, 9, 64]
Generated Node #0,1: 61:[57, 9, 64] Operation: 6+58=64
Exploring Operation: 6*9=54, Resulting Numbers: [58, 57, 54]
Generated Node #0,2: 61:[58, 57, 54] Operation: 6*9=54
Exploring Operation: 6+57=63, Resulting Numbers: [58, 9, 63]
Generated Node #0,3: 61:[58, 9, 63] Operation: 6+57=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[58, 57, 54], Operations: ['6*9=54']
Exploring Operation: 58-54=4, Resulting Numbers: [57, 4]
Generated Node #0,2,0: 61:[57, 4] Operation: 58-54=4
Exploring Operation: 58+54=112, Resulting Numbers: [57, 112]
Generated Node #0,2,1: 61:[57, 112] Operation: 58+54=112
Exploring Operation: 57+54=111, Resulting Numbers: [58, 111]
Generated Node #0,2,2: 61:[58, 111] Operation: 57+54=111
Exploring Operation: 58+57=115, Resulting Numbers: [54, 115]
Generated Node #0,2,3: 61:[54, 115] Operation: 58+57=115
Moving to Node #0,2,2
Current State: 61:[58, 111], Operations: ['6*9=54', '57+54=111']
Exploring Operation: 58*111=6438, Resulting Numbers: [6438]
6438,61 unequal: No Solution
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 58+111=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[57, 112], Operations: ['6*9=54', '58+54=112']
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,61 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[54, 115], Operations: ['6*9=54', '58+57=115']
Exploring Operation: 54+115=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 54*115=6210, Resulting Numbers: [6210]
6210,61 unequal: No Solution
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[6, 58, 57, 9], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [58, 57, 54]
Generated Node #0,2: 61:[58, 57, 54] Operation: 6*9=54
Moving to Node #0,2
Current State: 61:[58, 57, 54], Operations: ['6*9=54']
Exploring Operation: 58+57=115, Resulting Numbers: [54, 115]
Generated Node #0,2,3: 61:[54, 115] Operation: 58+57=115
Moving to Node #0,2,3
Current State: 61:[54, 115], Operations: ['6*9=54', '58+57=115']
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
36,
30,
58,
21
] | 31 | [
"36-30=6",
"58-21=37",
"37-6=31"
] | Current State: 31:[36, 30, 58, 21], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [58, 21, 6]
Generated Node #2: [58, 21, 6] from Operation: 36-30=6
Current State: 31:[58, 21, 6], Operations: ['36-30=6']
Exploring Operation: 58-21=37, Resulting Numbers: [6, 37]
Generated Node #3: [6, 37] from Operation: 58-21=37
Current State: 31:[6, 37], Operations: ['36-30=6', '58-21=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[36, 30, 58, 21], Operations: []
Exploring Operation: 58-21=37, Resulting Numbers: [36, 30, 37]
Generated Node #0,0: 31:[36, 30, 37] Operation: 58-21=37
Exploring Operation: 58-30=28, Resulting Numbers: [36, 21, 28]
Generated Node #0,1: 31:[36, 21, 28] Operation: 58-30=28
Moving to Node #0,0
Current State: 31:[36, 30, 37], Operations: ['58-21=37']
Exploring Operation: 36-30=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 31:[37, 6] Operation: 36-30=6
Exploring Operation: 37-30=7, Resulting Numbers: [36, 7]
Generated Node #0,0,1: 31:[36, 7] Operation: 37-30=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[36, 7], Operations: ['58-21=37', '37-30=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[37, 6], Operations: ['58-21=37', '36-30=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[36, 30, 58, 21], Operations: []
Exploring Operation: 58-21=37, Resulting Numbers: [36, 30, 37]
Generated Node #0,0: 31:[36, 30, 37] Operation: 58-21=37
Moving to Node #0,0
Current State: 31:[36, 30, 37], Operations: ['58-21=37']
Exploring Operation: 36-30=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 31:[37, 6] Operation: 36-30=6
Moving to Node #0,0,0
Current State: 31:[37, 6], Operations: ['58-21=37', '36-30=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
17,
82,
22,
66
] | 80 | [
"22-17=5",
"82-66=16",
"5*16=80"
] | Current State: 80:[17, 82, 22, 66], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [82, 66, 5]
Generated Node #2: [82, 66, 5] from Operation: 22-17=5
Current State: 80:[82, 66, 5], Operations: ['22-17=5']
Exploring Operation: 82-66=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 82-66=16
Current State: 80:[5, 16], Operations: ['22-17=5', '82-66=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[17, 82, 22, 66], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [17, 22, 16]
Generated Node #0,0: 80:[17, 22, 16] Operation: 82-66=16
Exploring Operation: 17+66=83, Resulting Numbers: [82, 22, 83]
Generated Node #0,1: 80:[82, 22, 83] Operation: 17+66=83
Exploring Operation: 66-22=44, Resulting Numbers: [17, 82, 44]
Generated Node #0,2: 80:[17, 82, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [17, 82, 3]
Generated Node #0,3: 80:[17, 82, 3] Operation: 66/22=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[17, 22, 16], Operations: ['82-66=16']
Exploring Operation: 22-17=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 80:[16, 5] Operation: 22-17=5
Exploring Operation: 22-16=6, Resulting Numbers: [17, 6]
Generated Node #0,0,1: 80:[17, 6] Operation: 22-16=6
Exploring Operation: 17+22=39, Resulting Numbers: [16, 39]
Generated Node #0,0,2: 80:[16, 39] Operation: 17+22=39
Exploring Operation: 17-16=1, Resulting Numbers: [22, 1]
Generated Node #0,0,3: 80:[22, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 80:[16, 5], Operations: ['82-66=16', '22-17=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[17, 82, 22, 66], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [17, 22, 16]
Generated Node #0,0: 80:[17, 22, 16] Operation: 82-66=16
Moving to Node #0,0
Current State: 80:[17, 22, 16], Operations: ['82-66=16']
Exploring Operation: 22-17=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 80:[16, 5] Operation: 22-17=5
Moving to Node #0,0,0
Current State: 80:[16, 5], Operations: ['82-66=16', '22-17=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
5,
88,
98,
19
] | 17 | [
"98-88=10",
"10/5=2",
"19-2=17"
] | Current State: 17:[5, 88, 98, 19], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [5, 19, 10]
Generated Node #2: [5, 19, 10] from Operation: 98-88=10
Current State: 17:[5, 19, 10], Operations: ['98-88=10']
Exploring Operation: 10/5=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 10/5=2
Current State: 17:[19, 2], Operations: ['98-88=10', '10/5=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 88, 98, 19], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [5, 98, 69]
Generated Node #0,0: 17:[5, 98, 69] Operation: 88-19=69
Exploring Operation: 98-88=10, Resulting Numbers: [5, 19, 10]
Generated Node #0,1: 17:[5, 19, 10] Operation: 98-88=10
Moving to Node #0,1
Current State: 17:[5, 19, 10], Operations: ['98-88=10']
Exploring Operation: 5+10=15, Resulting Numbers: [19, 15]
Generated Node #0,1,0: 17:[19, 15] Operation: 5+10=15
Exploring Operation: 19-5=14, Resulting Numbers: [10, 14]
Generated Node #0,1,1: 17:[10, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[19, 15], Operations: ['98-88=10', '5+10=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[10, 14], Operations: ['98-88=10', '19-5=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[5, 98, 69], Operations: ['88-19=69']
Exploring Operation: 98-5=93, Resulting Numbers: [69, 93]
Generated Node #0,0,0: 17:[69, 93] Operation: 98-5=93
Exploring Operation: 98-69=29, Resulting Numbers: [5, 29]
Generated Node #0,0,1: 17:[5, 29] Operation: 98-69=29
Moving to Node #0,0,1
Current State: 17:[5, 29], Operations: ['88-19=69', '98-69=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[69, 93], Operations: ['88-19=69', '98-5=93']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 69+93=162, Resulting Numbers: [162]
162,17 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
78,
81,
30
] | 57 | [
"90+78=168",
"81+30=111",
"168-111=57"
] | Current State: 57:[90, 78, 81, 30], Operations: []
Exploring Operation: 90+78=168, Resulting Numbers: [81, 30, 168]
Generated Node #2: [81, 30, 168] from Operation: 90+78=168
Current State: 57:[81, 30, 168], Operations: ['90+78=168']
Exploring Operation: 81+30=111, Resulting Numbers: [168, 111]
Generated Node #3: [168, 111] from Operation: 81+30=111
Current State: 57:[168, 111], Operations: ['90+78=168', '81+30=111']
Exploring Operation: 168-111=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[90, 78, 81, 30], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [78, 30, 9]
Generated Node #0,0: 57:[78, 30, 9] Operation: 90-81=9
Exploring Operation: 90-78=12, Resulting Numbers: [81, 30, 12]
Generated Node #0,1: 57:[81, 30, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[78, 30, 9], Operations: ['90-81=9']
Exploring Operation: 78-30=48, Resulting Numbers: [9, 48]
Generated Node #0,0,0: 57:[9, 48] Operation: 78-30=48
Exploring Operation: 78-9=69, Resulting Numbers: [30, 69]
Generated Node #0,0,1: 57:[30, 69] Operation: 78-9=69
Moving to Node #0,0,0
Current State: 57:[9, 48], Operations: ['90-81=9', '78-30=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[90, 78, 81, 30], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [78, 30, 9]
Generated Node #0,0: 57:[78, 30, 9] Operation: 90-81=9
Moving to Node #0,0
Current State: 57:[78, 30, 9], Operations: ['90-81=9']
Exploring Operation: 78-30=48, Resulting Numbers: [9, 48]
Generated Node #0,0,0: 57:[9, 48] Operation: 78-30=48
Moving to Node #0,0,0
Current State: 57:[9, 48], Operations: ['90-81=9', '78-30=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
37,
7,
71,
52
] | 63 | [
"37+7=44",
"71-52=19",
"44+19=63"
] | Current State: 63:[37, 7, 71, 52], Operations: []
Exploring Operation: 37+7=44, Resulting Numbers: [71, 52, 44]
Generated Node #2: [71, 52, 44] from Operation: 37+7=44
Current State: 63:[71, 52, 44], Operations: ['37+7=44']
Exploring Operation: 71-52=19, Resulting Numbers: [44, 19]
Generated Node #3: [44, 19] from Operation: 71-52=19
Current State: 63:[44, 19], Operations: ['37+7=44', '71-52=19']
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[37, 7, 71, 52], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [7, 52, 34]
Generated Node #0,0: 63:[7, 52, 34] Operation: 71-37=34
Exploring Operation: 52-37=15, Resulting Numbers: [7, 71, 15]
Generated Node #0,1: 63:[7, 71, 15] Operation: 52-37=15
Exploring Operation: 71-52=19, Resulting Numbers: [37, 7, 19]
Generated Node #0,2: 63:[37, 7, 19] Operation: 71-52=19
Moving to Node #0,1
Current State: 63:[7, 71, 15], Operations: ['52-37=15']
Exploring Operation: 71-7=64, Resulting Numbers: [15, 64]
Generated Node #0,1,0: 63:[15, 64] Operation: 71-7=64
Exploring Operation: 71-15=56, Resulting Numbers: [7, 56]
Generated Node #0,1,1: 63:[7, 56] Operation: 71-15=56
Exploring Operation: 7+15=22, Resulting Numbers: [71, 22]
Generated Node #0,1,2: 63:[71, 22] Operation: 7+15=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[15, 64], Operations: ['52-37=15', '71-7=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,63 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,63 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,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,1,1
Current State: 63:[7, 56], Operations: ['52-37=15', '71-15=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[37, 7, 71, 52], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [7, 71, 15]
Generated Node #0,1: 63:[7, 71, 15] Operation: 52-37=15
Moving to Node #0,1
Current State: 63:[7, 71, 15], Operations: ['52-37=15']
Exploring Operation: 71-15=56, Resulting Numbers: [7, 56]
Generated Node #0,1,1: 63:[7, 56] Operation: 71-15=56
Moving to Node #0,1,1
Current State: 63:[7, 56], Operations: ['52-37=15', '71-15=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
49,
75,
53,
1
] | 70 | [
"49+75=124",
"53+1=54",
"124-54=70"
] | Current State: 70:[49, 75, 53, 1], Operations: []
Exploring Operation: 49+75=124, Resulting Numbers: [53, 1, 124]
Generated Node #2: [53, 1, 124] from Operation: 49+75=124
Current State: 70:[53, 1, 124], Operations: ['49+75=124']
Exploring Operation: 53+1=54, Resulting Numbers: [124, 54]
Generated Node #3: [124, 54] from Operation: 53+1=54
Current State: 70:[124, 54], Operations: ['49+75=124', '53+1=54']
Exploring Operation: 124-54=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[49, 75, 53, 1], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [75, 53, 48]
Generated Node #0,0: 70:[75, 53, 48] Operation: 49-1=48
Exploring Operation: 53-49=4, Resulting Numbers: [75, 1, 4]
Generated Node #0,1: 70:[75, 1, 4] Operation: 53-49=4
Exploring Operation: 75-49=26, Resulting Numbers: [53, 1, 26]
Generated Node #0,2: 70:[53, 1, 26] Operation: 75-49=26
Exploring Operation: 75-1=74, Resulting Numbers: [49, 53, 74]
Generated Node #0,3: 70:[49, 53, 74] Operation: 75-1=74
Exploring Operation: 75-53=22, Resulting Numbers: [49, 1, 22]
Generated Node #0,4: 70:[49, 1, 22] Operation: 75-53=22
Moving to Node #0,1
Current State: 70:[75, 1, 4], Operations: ['53-49=4']
Exploring Operation: 75-4=71, Resulting Numbers: [1, 71]
Generated Node #0,1,0: 70:[1, 71] Operation: 75-4=71
Exploring Operation: 75-1=74, Resulting Numbers: [4, 74]
Generated Node #0,1,1: 70:[4, 74] Operation: 75-1=74
Exploring Operation: 1+4=5, Resulting Numbers: [75, 5]
Generated Node #0,1,2: 70:[75, 5] Operation: 1+4=5
Exploring Operation: 75/1=75, Resulting Numbers: [4, 75]
Generated Node #0,1,3: 70:[4, 75] Operation: 75/1=75
Exploring Operation: 75*1=75, Resulting Numbers: [4, 75]
Generated Node #0,1,4: 70:[4, 75] Operation: 75*1=75
Moving to Node #0,4
Current State: 70:[49, 1, 22], Operations: ['75-53=22']
Exploring Operation: 22-1=21, Resulting Numbers: [49, 21]
Generated Node #0,4,0: 70:[49, 21] Operation: 22-1=21
Exploring Operation: 49-22=27, Resulting Numbers: [1, 27]
Generated Node #0,4,1: 70:[1, 27] Operation: 49-22=27
Exploring Operation: 49+22=71, Resulting Numbers: [1, 71]
Generated Node #0,4,2: 70:[1, 71] Operation: 49+22=71
Exploring Operation: 49-1=48, Resulting Numbers: [22, 48]
Generated Node #0,4,3: 70:[22, 48] Operation: 49-1=48
Exploring Operation: 49*1=49, Resulting Numbers: [22, 49]
Generated Node #0,4,4: 70:[22, 49] Operation: 49*1=49
Moving to Node #0,2
Current State: 70:[53, 1, 26], Operations: ['75-49=26']
Exploring Operation: 53+1=54, Resulting Numbers: [26, 54]
Generated Node #0,2,0: 70:[26, 54] Operation: 53+1=54
Exploring Operation: 53*1=53, Resulting Numbers: [26, 53]
Generated Node #0,2,1: 70:[26, 53] Operation: 53*1=53
Exploring Operation: 53+26=79, Resulting Numbers: [1, 79]
Generated Node #0,2,2: 70:[1, 79] Operation: 53+26=79
Exploring Operation: 1+26=27, Resulting Numbers: [53, 27]
Generated Node #0,2,3: 70:[53, 27] Operation: 1+26=27
Exploring Operation: 53-26=27, Resulting Numbers: [1, 27]
Generated Node #0,2,4: 70:[1, 27] Operation: 53-26=27
Moving to Node #0,0
Current State: 70:[75, 53, 48], Operations: ['49-1=48']
Exploring Operation: 53-48=5, Resulting Numbers: [75, 5]
Generated Node #0,0,0: 70:[75, 5] Operation: 53-48=5
Exploring Operation: 75+48=123, Resulting Numbers: [53, 123]
Generated Node #0,0,1: 70:[53, 123] Operation: 75+48=123
Exploring Operation: 75-48=27, Resulting Numbers: [53, 27]
Generated Node #0,0,2: 70:[53, 27] Operation: 75-48=27
Exploring Operation: 75-53=22, Resulting Numbers: [48, 22]
Generated Node #0,0,3: 70:[48, 22] Operation: 75-53=22
Exploring Operation: 53+48=101, Resulting Numbers: [75, 101]
Generated Node #0,0,4: 70:[75, 101] Operation: 53+48=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[75, 5], Operations: ['49-1=48', '53-48=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[49, 75, 53, 1], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [75, 53, 48]
Generated Node #0,0: 70:[75, 53, 48] Operation: 49-1=48
Moving to Node #0,0
Current State: 70:[75, 53, 48], Operations: ['49-1=48']
Exploring Operation: 53-48=5, Resulting Numbers: [75, 5]
Generated Node #0,0,0: 70:[75, 5] Operation: 53-48=5
Moving to Node #0,0,0
Current State: 70:[75, 5], Operations: ['49-1=48', '53-48=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
3,
26,
22,
80
] | 96 | [
"26+22=48",
"48/3=16",
"80+16=96"
] | Current State: 96:[3, 26, 22, 80], Operations: []
Exploring Operation: 26+22=48, Resulting Numbers: [3, 80, 48]
Generated Node #2: [3, 80, 48] from Operation: 26+22=48
Current State: 96:[3, 80, 48], Operations: ['26+22=48']
Exploring Operation: 48/3=16, Resulting Numbers: [80, 16]
Generated Node #3: [80, 16] from Operation: 48/3=16
Current State: 96:[80, 16], Operations: ['26+22=48', '48/3=16']
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[3, 26, 22, 80], Operations: []
Exploring Operation: 80-26=54, Resulting Numbers: [3, 22, 54]
Generated Node #0,0: 96:[3, 22, 54] Operation: 80-26=54
Exploring Operation: 80-22=58, Resulting Numbers: [3, 26, 58]
Generated Node #0,1: 96:[3, 26, 58] Operation: 80-22=58
Exploring Operation: 26+80=106, Resulting Numbers: [3, 22, 106]
Generated Node #0,2: 96:[3, 22, 106] Operation: 26+80=106
Exploring Operation: 22+80=102, Resulting Numbers: [3, 26, 102]
Generated Node #0,3: 96:[3, 26, 102] Operation: 22+80=102
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[3, 22, 54], Operations: ['80-26=54']
Exploring Operation: 54-3=51, Resulting Numbers: [22, 51]
Generated Node #0,0,0: 96:[22, 51] Operation: 54-3=51
Exploring Operation: 54-22=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 96:[3, 32] Operation: 54-22=32
Exploring Operation: 3+22=25, Resulting Numbers: [54, 25]
Generated Node #0,0,2: 96:[54, 25] Operation: 3+22=25
Exploring Operation: 54/3=18, Resulting Numbers: [22, 18]
Generated Node #0,0,3: 96:[22, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[3, 32], Operations: ['80-26=54', '54-22=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[3, 26, 22, 80], Operations: []
Exploring Operation: 80-26=54, Resulting Numbers: [3, 22, 54]
Generated Node #0,0: 96:[3, 22, 54] Operation: 80-26=54
Moving to Node #0,0
Current State: 96:[3, 22, 54], Operations: ['80-26=54']
Exploring Operation: 54-22=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 96:[3, 32] Operation: 54-22=32
Moving to Node #0,0,1
Current State: 96:[3, 32], Operations: ['80-26=54', '54-22=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
33,
85,
67,
64
] | 96 | [
"67-64=3",
"33/3=11",
"85+11=96"
] | Current State: 96:[33, 85, 67, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [33, 85, 3]
Generated Node #2: [33, 85, 3] from Operation: 67-64=3
Current State: 96:[33, 85, 3], Operations: ['67-64=3']
Exploring Operation: 33/3=11, Resulting Numbers: [85, 11]
Generated Node #3: [85, 11] from Operation: 33/3=11
Current State: 96:[85, 11], Operations: ['67-64=3', '33/3=11']
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[33, 85, 67, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [33, 85, 3]
Generated Node #0,0: 96:[33, 85, 3] Operation: 67-64=3
Exploring Operation: 85-67=18, Resulting Numbers: [33, 64, 18]
Generated Node #0,1: 96:[33, 64, 18] Operation: 85-67=18
Exploring Operation: 85-64=21, Resulting Numbers: [33, 67, 21]
Generated Node #0,2: 96:[33, 67, 21] Operation: 85-64=21
Exploring Operation: 67-33=34, Resulting Numbers: [85, 64, 34]
Generated Node #0,3: 96:[85, 64, 34] Operation: 67-33=34
Moving to Node #0,0
Current State: 96:[33, 85, 3], Operations: ['67-64=3']
Exploring Operation: 85-33=52, Resulting Numbers: [3, 52]
Generated Node #0,0,0: 96:[3, 52] Operation: 85-33=52
Exploring Operation: 33-3=30, Resulting Numbers: [85, 30]
Generated Node #0,0,1: 96:[85, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [85, 11]
Generated Node #0,0,2: 96:[85, 11] Operation: 33/3=11
Exploring Operation: 85+3=88, Resulting Numbers: [33, 88]
Generated Node #0,0,3: 96:[33, 88] Operation: 85+3=88
Moving to Node #0,1
Current State: 96:[33, 64, 18], Operations: ['85-67=18']
Exploring Operation: 33+64=97, Resulting Numbers: [18, 97]
Generated Node #0,1,0: 96:[18, 97] Operation: 33+64=97
Exploring Operation: 64+18=82, Resulting Numbers: [33, 82]
Generated Node #0,1,1: 96:[33, 82] Operation: 64+18=82
Exploring Operation: 64-18=46, Resulting Numbers: [33, 46]
Generated Node #0,1,2: 96:[33, 46] Operation: 64-18=46
Exploring Operation: 64-33=31, Resulting Numbers: [18, 31]
Generated Node #0,1,3: 96:[18, 31] Operation: 64-33=31
Moving to Node #0,2
Current State: 96:[33, 67, 21], Operations: ['85-64=21']
Exploring Operation: 67-33=34, Resulting Numbers: [21, 34]
Generated Node #0,2,0: 96:[21, 34] Operation: 67-33=34
Exploring Operation: 67-21=46, Resulting Numbers: [33, 46]
Generated Node #0,2,1: 96:[33, 46] Operation: 67-21=46
Exploring Operation: 67+21=88, Resulting Numbers: [33, 88]
Generated Node #0,2,2: 96:[33, 88] Operation: 67+21=88
Exploring Operation: 33+67=100, Resulting Numbers: [21, 100]
Generated Node #0,2,3: 96:[21, 100] Operation: 33+67=100
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[33, 46], Operations: ['85-64=21', '67-21=46']
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,96 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[21, 34], Operations: ['85-64=21', '67-33=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,96 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[21, 100], Operations: ['85-64=21', '33+67=100']
Exploring Operation: 100-21=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 21*100=2100, Resulting Numbers: [2100]
2100,96 unequal: No Solution
Exploring Operation: 21+100=121, Resulting Numbers: [121]
121,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[33, 88], Operations: ['85-64=21', '67+21=88']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,96 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,96 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: 96:[85, 64, 34], Operations: ['67-33=34']
Exploring Operation: 64-34=30, Resulting Numbers: [85, 30]
Generated Node #0,3,0: 96:[85, 30] Operation: 64-34=30
Exploring Operation: 64+34=98, Resulting Numbers: [85, 98]
Generated Node #0,3,1: 96:[85, 98] Operation: 64+34=98
Exploring Operation: 85-64=21, Resulting Numbers: [34, 21]
Generated Node #0,3,2: 96:[34, 21] Operation: 85-64=21
Exploring Operation: 85-34=51, Resulting Numbers: [64, 51]
Generated Node #0,3,3: 96:[64, 51] Operation: 85-34=51
Moving to Node #0,1,0
Current State: 96:[18, 97], Operations: ['85-67=18', '33+64=97']
Exploring Operation: 18+97=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 18*97=1746, Resulting Numbers: [1746]
1746,96 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[33, 46], Operations: ['85-67=18', '64-18=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[18, 31], Operations: ['85-67=18', '64-33=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[3, 52], Operations: ['67-64=3', '85-33=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[34, 21], Operations: ['67-33=34', '85-64=21']
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[33, 88], Operations: ['67-64=3', '85+3=88']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,96 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[85, 11], Operations: ['67-64=3', '33/3=11']
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[33, 85, 67, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [33, 85, 3]
Generated Node #0,0: 96:[33, 85, 3] Operation: 67-64=3
Moving to Node #0,0
Current State: 96:[33, 85, 3], Operations: ['67-64=3']
Exploring Operation: 33/3=11, Resulting Numbers: [85, 11]
Generated Node #0,0,2: 96:[85, 11] Operation: 33/3=11
Moving to Node #0,0,2
Current State: 96:[85, 11], Operations: ['67-64=3', '33/3=11']
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.952257 | hs_4 | sum_heuristic |
[
36,
53,
8,
94
] | 69 | [
"53-36=17",
"94-8=86",
"86-17=69"
] | Current State: 69:[36, 53, 8, 94], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [8, 94, 17]
Generated Node #2: [8, 94, 17] from Operation: 53-36=17
Current State: 69:[8, 94, 17], Operations: ['53-36=17']
Exploring Operation: 94-8=86, Resulting Numbers: [17, 86]
Generated Node #3: [17, 86] from Operation: 94-8=86
Current State: 69:[17, 86], Operations: ['53-36=17', '94-8=86']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[36, 53, 8, 94], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [53, 8, 58]
Generated Node #0,0: 69:[53, 8, 58] Operation: 94-36=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[53, 8, 58], Operations: ['94-36=58']
Exploring Operation: 58-53=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 69:[8, 5] Operation: 58-53=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[8, 5], Operations: ['94-36=58', '58-53=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
44,
85,
9
] | 38 | [
"27/9=3",
"85-44=41",
"41-3=38"
] | Current State: 38:[27, 44, 85, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [44, 85, 3]
Generated Node #2: [44, 85, 3] from Operation: 27/9=3
Current State: 38:[44, 85, 3], Operations: ['27/9=3']
Exploring Operation: 85-44=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 85-44=41
Current State: 38:[3, 41], Operations: ['27/9=3', '85-44=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[27, 44, 85, 9], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [27, 44, 76]
Generated Node #0,0: 38:[27, 44, 76] Operation: 85-9=76
Exploring Operation: 85-27=58, Resulting Numbers: [44, 9, 58]
Generated Node #0,1: 38:[44, 9, 58] Operation: 85-27=58
Exploring Operation: 27/9=3, Resulting Numbers: [44, 85, 3]
Generated Node #0,2: 38:[44, 85, 3] Operation: 27/9=3
Exploring Operation: 85-44=41, Resulting Numbers: [27, 9, 41]
Generated Node #0,3: 38:[27, 9, 41] Operation: 85-44=41
Exploring Operation: 27-9=18, Resulting Numbers: [44, 85, 18]
Generated Node #0,4: 38:[44, 85, 18] Operation: 27-9=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[27, 9, 41], Operations: ['85-44=41']
Exploring Operation: 41-9=32, Resulting Numbers: [27, 32]
Generated Node #0,3,0: 38:[27, 32] Operation: 41-9=32
Exploring Operation: 27-9=18, Resulting Numbers: [41, 18]
Generated Node #0,3,1: 38:[41, 18] Operation: 27-9=18
Exploring Operation: 27+9=36, Resulting Numbers: [41, 36]
Generated Node #0,3,2: 38:[41, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [41, 3]
Generated Node #0,3,3: 38:[41, 3] Operation: 27/9=3
Exploring Operation: 41-27=14, Resulting Numbers: [9, 14]
Generated Node #0,3,4: 38:[9, 14] Operation: 41-27=14
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[41, 18], Operations: ['85-44=41', '27-9=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[41, 3], Operations: ['85-44=41', '27/9=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[27, 44, 85, 9], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [27, 9, 41]
Generated Node #0,3: 38:[27, 9, 41] Operation: 85-44=41
Moving to Node #0,3
Current State: 38:[27, 9, 41], Operations: ['85-44=41']
Exploring Operation: 27/9=3, Resulting Numbers: [41, 3]
Generated Node #0,3,3: 38:[41, 3] Operation: 27/9=3
Moving to Node #0,3,3
Current State: 38:[41, 3], Operations: ['85-44=41', '27/9=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
63,
96,
47,
57
] | 63 | [
"63-47=16",
"96/16=6",
"57+6=63"
] | Current State: 63:[63, 96, 47, 57], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [96, 57, 16]
Generated Node #2: [96, 57, 16] from Operation: 63-47=16
Current State: 63:[96, 57, 16], Operations: ['63-47=16']
Exploring Operation: 96/16=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 96/16=6
Current State: 63:[57, 6], Operations: ['63-47=16', '96/16=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[63, 96, 47, 57], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [63, 57, 49]
Generated Node #0,0: 63:[63, 57, 49] Operation: 96-47=49
Moving to Node #0,0
Current State: 63:[63, 57, 49], Operations: ['96-47=49']
Exploring Operation: 57-49=8, Resulting Numbers: [63, 8]
Generated Node #0,0,0: 63:[63, 8] Operation: 57-49=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[63, 8], Operations: ['96-47=49', '57-49=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
9,
91,
40
] | 55 | [
"9+91=100",
"22*100=2200",
"2200/40=55"
] | Current State: 55:[22, 9, 91, 40], Operations: []
Exploring Operation: 9+91=100, Resulting Numbers: [22, 40, 100]
Generated Node #2: [22, 40, 100] from Operation: 9+91=100
Current State: 55:[22, 40, 100], Operations: ['9+91=100']
Exploring Operation: 22*100=2200, Resulting Numbers: [40, 2200]
Generated Node #3: [40, 2200] from Operation: 22*100=2200
Current State: 55:[40, 2200], Operations: ['9+91=100', '22*100=2200']
Exploring Operation: 2200/40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 9, 91, 40], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [22, 9, 51]
Generated Node #0,0: 55:[22, 9, 51] Operation: 91-40=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[22, 9, 51], Operations: ['91-40=51']
Exploring Operation: 22-9=13, Resulting Numbers: [51, 13]
Generated Node #0,0,0: 55:[51, 13] Operation: 22-9=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[51, 13], Operations: ['91-40=51', '22-9=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
92,
46,
87
] | 95 | [
"10+87=97",
"92/46=2",
"97-2=95"
] | Current State: 95:[10, 92, 46, 87], Operations: []
Exploring Operation: 10+87=97, Resulting Numbers: [92, 46, 97]
Generated Node #2: [92, 46, 97] from Operation: 10+87=97
Current State: 95:[92, 46, 97], Operations: ['10+87=97']
Exploring Operation: 92/46=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 92/46=2
Current State: 95:[97, 2], Operations: ['10+87=97', '92/46=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 92, 46, 87], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [10, 87, 2]
Generated Node #0,0: 95:[10, 87, 2] Operation: 92/46=2
Exploring Operation: 46-10=36, Resulting Numbers: [92, 87, 36]
Generated Node #0,1: 95:[92, 87, 36] Operation: 46-10=36
Exploring Operation: 10+87=97, Resulting Numbers: [92, 46, 97]
Generated Node #0,2: 95:[92, 46, 97] Operation: 10+87=97
Exploring Operation: 87-46=41, Resulting Numbers: [10, 92, 41]
Generated Node #0,3: 95:[10, 92, 41] Operation: 87-46=41
Exploring Operation: 92-87=5, Resulting Numbers: [10, 46, 5]
Generated Node #0,4: 95:[10, 46, 5] Operation: 92-87=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[10, 87, 2], Operations: ['92/46=2']
Exploring Operation: 87+2=89, Resulting Numbers: [10, 89]
Generated Node #0,0,0: 95:[10, 89] Operation: 87+2=89
Exploring Operation: 10/2=5, Resulting Numbers: [87, 5]
Generated Node #0,0,1: 95:[87, 5] Operation: 10/2=5
Exploring Operation: 10+87=97, Resulting Numbers: [2, 97]
Generated Node #0,0,2: 95:[2, 97] Operation: 10+87=97
Exploring Operation: 10-2=8, Resulting Numbers: [87, 8]
Generated Node #0,0,3: 95:[87, 8] Operation: 10-2=8
Exploring Operation: 10*2=20, Resulting Numbers: [87, 20]
Generated Node #0,0,4: 95:[87, 20] Operation: 10*2=20
Moving to Node #0,0,2
Current State: 95:[2, 97], Operations: ['92/46=2', '10+87=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 92, 46, 87], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [10, 87, 2]
Generated Node #0,0: 95:[10, 87, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 95:[10, 87, 2], Operations: ['92/46=2']
Exploring Operation: 10+87=97, Resulting Numbers: [2, 97]
Generated Node #0,0,2: 95:[2, 97] Operation: 10+87=97
Moving to Node #0,0,2
Current State: 95:[2, 97], Operations: ['92/46=2', '10+87=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
1,
86,
3,
16
] | 94 | [
"3-1=2",
"16/2=8",
"86+8=94"
] | Current State: 94:[1, 86, 3, 16], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [86, 16, 2]
Generated Node #2: [86, 16, 2] from Operation: 3-1=2
Current State: 94:[86, 16, 2], Operations: ['3-1=2']
Exploring Operation: 16/2=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 16/2=8
Current State: 94:[86, 8], Operations: ['3-1=2', '16/2=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 86, 3, 16], Operations: []
Exploring Operation: 86+16=102, Resulting Numbers: [1, 3, 102]
Generated Node #0,0: 94:[1, 3, 102] Operation: 86+16=102
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[1, 3, 102], Operations: ['86+16=102']
Exploring Operation: 102-3=99, Resulting Numbers: [1, 99]
Generated Node #0,0,0: 94:[1, 99] Operation: 102-3=99
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[1, 99], Operations: ['86+16=102', '102-3=99']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
9,
63,
80
] | 79 | [
"55+9=64",
"63+80=143",
"143-64=79"
] | Current State: 79:[55, 9, 63, 80], Operations: []
Exploring Operation: 55+9=64, Resulting Numbers: [63, 80, 64]
Generated Node #2: [63, 80, 64] from Operation: 55+9=64
Current State: 79:[63, 80, 64], Operations: ['55+9=64']
Exploring Operation: 63+80=143, Resulting Numbers: [64, 143]
Generated Node #3: [64, 143] from Operation: 63+80=143
Current State: 79:[64, 143], Operations: ['55+9=64', '63+80=143']
Exploring Operation: 143-64=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[55, 9, 63, 80], Operations: []
Exploring Operation: 80-9=71, Resulting Numbers: [55, 63, 71]
Generated Node #0,0: 79:[55, 63, 71] Operation: 80-9=71
Exploring Operation: 55+9=64, Resulting Numbers: [63, 80, 64]
Generated Node #0,1: 79:[63, 80, 64] Operation: 55+9=64
Exploring Operation: 9+63=72, Resulting Numbers: [55, 80, 72]
Generated Node #0,2: 79:[55, 80, 72] Operation: 9+63=72
Moving to Node #0,1
Current State: 79:[63, 80, 64], Operations: ['55+9=64']
Exploring Operation: 63+80=143, Resulting Numbers: [64, 143]
Generated Node #0,1,0: 79:[64, 143] Operation: 63+80=143
Exploring Operation: 80-63=17, Resulting Numbers: [64, 17]
Generated Node #0,1,1: 79:[64, 17] Operation: 80-63=17
Exploring Operation: 63+64=127, Resulting Numbers: [80, 127]
Generated Node #0,1,2: 79:[80, 127] Operation: 63+64=127
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[80, 127], Operations: ['55+9=64', '63+64=127']
Exploring Operation: 127-80=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 80*127=10160, Resulting Numbers: [10160]
10160,79 unequal: No Solution
Exploring Operation: 80+127=207, Resulting Numbers: [207]
207,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[64, 17], Operations: ['55+9=64', '80-63=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,79 unequal: No Solution
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[64, 143], Operations: ['55+9=64', '63+80=143']
Exploring Operation: 64*143=9152, Resulting Numbers: [9152]
9152,79 unequal: No Solution
Exploring Operation: 64+143=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 143-64=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[55, 9, 63, 80], Operations: []
Exploring Operation: 55+9=64, Resulting Numbers: [63, 80, 64]
Generated Node #0,1: 79:[63, 80, 64] Operation: 55+9=64
Moving to Node #0,1
Current State: 79:[63, 80, 64], Operations: ['55+9=64']
Exploring Operation: 63+80=143, Resulting Numbers: [64, 143]
Generated Node #0,1,0: 79:[64, 143] Operation: 63+80=143
Moving to Node #0,1,0
Current State: 79:[64, 143], Operations: ['55+9=64', '63+80=143']
Exploring Operation: 143-64=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
68,
96,
75,
93
] | 93 | [
"93-68=25",
"75/25=3",
"96-3=93"
] | Current State: 93:[68, 96, 75, 93], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [96, 75, 25]
Generated Node #2: [96, 75, 25] from Operation: 93-68=25
Current State: 93:[96, 75, 25], Operations: ['93-68=25']
Exploring Operation: 75/25=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 75/25=3
Current State: 93:[96, 3], Operations: ['93-68=25', '75/25=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[68, 96, 75, 93], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [96, 93, 7]
Generated Node #0,0: 93:[96, 93, 7] Operation: 75-68=7
Exploring Operation: 93-68=25, Resulting Numbers: [96, 75, 25]
Generated Node #0,1: 93:[96, 75, 25] Operation: 93-68=25
Exploring Operation: 96-75=21, Resulting Numbers: [68, 93, 21]
Generated Node #0,2: 93:[68, 93, 21] Operation: 96-75=21
Exploring Operation: 96-68=28, Resulting Numbers: [75, 93, 28]
Generated Node #0,3: 93:[75, 93, 28] Operation: 96-68=28
Moving to Node #0,0
Current State: 93:[96, 93, 7], Operations: ['75-68=7']
Exploring Operation: 93+7=100, Resulting Numbers: [96, 100]
Generated Node #0,0,0: 93:[96, 100] Operation: 93+7=100
Exploring Operation: 96-93=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 93:[7, 3] Operation: 96-93=3
Exploring Operation: 96-7=89, Resulting Numbers: [93, 89]
Generated Node #0,0,2: 93:[93, 89] Operation: 96-7=89
Exploring Operation: 96+7=103, Resulting Numbers: [93, 103]
Generated Node #0,0,3: 93:[93, 103] Operation: 96+7=103
Moving to Node #0,3
Current State: 93:[75, 93, 28], Operations: ['96-68=28']
Exploring Operation: 75-28=47, Resulting Numbers: [93, 47]
Generated Node #0,3,0: 93:[93, 47] Operation: 75-28=47
Exploring Operation: 93+28=121, Resulting Numbers: [75, 121]
Generated Node #0,3,1: 93:[75, 121] Operation: 93+28=121
Exploring Operation: 75+28=103, Resulting Numbers: [93, 103]
Generated Node #0,3,2: 93:[93, 103] Operation: 75+28=103
Exploring Operation: 93-75=18, Resulting Numbers: [28, 18]
Generated Node #0,3,3: 93:[28, 18] Operation: 93-75=18
Moving to Node #0,1
Current State: 93:[96, 75, 25], Operations: ['93-68=25']
Exploring Operation: 96-75=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 93:[25, 21] Operation: 96-75=21
Exploring Operation: 75/25=3, Resulting Numbers: [96, 3]
Generated Node #0,1,1: 93:[96, 3] Operation: 75/25=3
Exploring Operation: 75+25=100, Resulting Numbers: [96, 100]
Generated Node #0,1,2: 93:[96, 100] Operation: 75+25=100
Exploring Operation: 75-25=50, Resulting Numbers: [96, 50]
Generated Node #0,1,3: 93:[96, 50] Operation: 75-25=50
Moving to Node #0,2
Current State: 93:[68, 93, 21], Operations: ['96-75=21']
Exploring Operation: 68+21=89, Resulting Numbers: [93, 89]
Generated Node #0,2,0: 93:[93, 89] Operation: 68+21=89
Exploring Operation: 68-21=47, Resulting Numbers: [93, 47]
Generated Node #0,2,1: 93:[93, 47] Operation: 68-21=47
Exploring Operation: 93+21=114, Resulting Numbers: [68, 114]
Generated Node #0,2,2: 93:[68, 114] Operation: 93+21=114
Exploring Operation: 93-68=25, Resulting Numbers: [21, 25]
Generated Node #0,2,3: 93:[21, 25] Operation: 93-68=25
Moving to Node #0,1,1
Current State: 93:[96, 3], Operations: ['93-68=25', '75/25=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[68, 96, 75, 93], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [96, 75, 25]
Generated Node #0,1: 93:[96, 75, 25] Operation: 93-68=25
Moving to Node #0,1
Current State: 93:[96, 75, 25], Operations: ['93-68=25']
Exploring Operation: 75/25=3, Resulting Numbers: [96, 3]
Generated Node #0,1,1: 93:[96, 3] Operation: 75/25=3
Moving to Node #0,1,1
Current State: 93:[96, 3], Operations: ['93-68=25', '75/25=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
61,
68,
5,
36
] | 33 | [
"61+68=129",
"36+129=165",
"165/5=33"
] | Current State: 33:[61, 68, 5, 36], Operations: []
Exploring Operation: 61+68=129, Resulting Numbers: [5, 36, 129]
Generated Node #2: [5, 36, 129] from Operation: 61+68=129
Current State: 33:[5, 36, 129], Operations: ['61+68=129']
Exploring Operation: 36+129=165, Resulting Numbers: [5, 165]
Generated Node #3: [5, 165] from Operation: 36+129=165
Current State: 33:[5, 165], Operations: ['61+68=129', '36+129=165']
Exploring Operation: 165/5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[61, 68, 5, 36], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [5, 36, 7]
Generated Node #0,0: 33:[5, 36, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 33:[5, 36, 7], Operations: ['68-61=7']
Exploring Operation: 5+7=12, Resulting Numbers: [36, 12]
Generated Node #0,0,0: 33:[36, 12] Operation: 5+7=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[36, 12], Operations: ['68-61=7', '5+7=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
13,
21,
41
] | 60 | [
"27+13=40",
"41-21=20",
"40+20=60"
] | Current State: 60:[27, 13, 21, 41], Operations: []
Exploring Operation: 27+13=40, Resulting Numbers: [21, 41, 40]
Generated Node #2: [21, 41, 40] from Operation: 27+13=40
Current State: 60:[21, 41, 40], Operations: ['27+13=40']
Exploring Operation: 41-21=20, Resulting Numbers: [40, 20]
Generated Node #3: [40, 20] from Operation: 41-21=20
Current State: 60:[40, 20], Operations: ['27+13=40', '41-21=20']
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[27, 13, 21, 41], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [13, 21, 14]
Generated Node #0,0: 60:[13, 21, 14] Operation: 41-27=14
Exploring Operation: 41-21=20, Resulting Numbers: [27, 13, 20]
Generated Node #0,1: 60:[27, 13, 20] Operation: 41-21=20
Exploring Operation: 41-13=28, Resulting Numbers: [27, 21, 28]
Generated Node #0,2: 60:[27, 21, 28] Operation: 41-13=28
Exploring Operation: 27+41=68, Resulting Numbers: [13, 21, 68]
Generated Node #0,3: 60:[13, 21, 68] Operation: 27+41=68
Exploring Operation: 21+41=62, Resulting Numbers: [27, 13, 62]
Generated Node #0,4: 60:[27, 13, 62] Operation: 21+41=62
Moving to Node #0,0
Current State: 60:[13, 21, 14], Operations: ['41-27=14']
Exploring Operation: 14-13=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 60:[21, 1] Operation: 14-13=1
Exploring Operation: 13+14=27, Resulting Numbers: [21, 27]
Generated Node #0,0,1: 60:[21, 27] Operation: 13+14=27
Exploring Operation: 13+21=34, Resulting Numbers: [14, 34]
Generated Node #0,0,2: 60:[14, 34] Operation: 13+21=34
Exploring Operation: 21-14=7, Resulting Numbers: [13, 7]
Generated Node #0,0,3: 60:[13, 7] Operation: 21-14=7
Exploring Operation: 21-13=8, Resulting Numbers: [14, 8]
Generated Node #0,0,4: 60:[14, 8] Operation: 21-13=8
Moving to Node #0,1
Current State: 60:[27, 13, 20], Operations: ['41-21=20']
Exploring Operation: 13+20=33, Resulting Numbers: [27, 33]
Generated Node #0,1,0: 60:[27, 33] Operation: 13+20=33
Exploring Operation: 20-13=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 60:[27, 7] Operation: 20-13=7
Exploring Operation: 27-20=7, Resulting Numbers: [13, 7]
Generated Node #0,1,2: 60:[13, 7] Operation: 27-20=7
Exploring Operation: 27-13=14, Resulting Numbers: [20, 14]
Generated Node #0,1,3: 60:[20, 14] Operation: 27-13=14
Exploring Operation: 27+13=40, Resulting Numbers: [20, 40]
Generated Node #0,1,4: 60:[20, 40] Operation: 27+13=40
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[20, 14], Operations: ['41-21=20', '27-13=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,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,1,2
Current State: 60:[13, 7], Operations: ['41-21=20', '27-20=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,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,1,1
Current State: 60:[27, 7], Operations: ['41-21=20', '20-13=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,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,1,0
Current State: 60:[27, 33], Operations: ['41-21=20', '13+20=33']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[27, 13, 21, 41], Operations: []
Exploring Operation: 41-21=20, Resulting Numbers: [27, 13, 20]
Generated Node #0,1: 60:[27, 13, 20] Operation: 41-21=20
Moving to Node #0,1
Current State: 60:[27, 13, 20], Operations: ['41-21=20']
Exploring Operation: 13+20=33, Resulting Numbers: [27, 33]
Generated Node #0,1,0: 60:[27, 33] Operation: 13+20=33
Moving to Node #0,1,0
Current State: 60:[27, 33], Operations: ['41-21=20', '13+20=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
97,
3,
57,
7
] | 49 | [
"97+57=154",
"154-7=147",
"147/3=49"
] | Current State: 49:[97, 3, 57, 7], Operations: []
Exploring Operation: 97+57=154, Resulting Numbers: [3, 7, 154]
Generated Node #2: [3, 7, 154] from Operation: 97+57=154
Current State: 49:[3, 7, 154], Operations: ['97+57=154']
Exploring Operation: 154-7=147, Resulting Numbers: [3, 147]
Generated Node #3: [3, 147] from Operation: 154-7=147
Current State: 49:[3, 147], Operations: ['97+57=154', '154-7=147']
Exploring Operation: 147/3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[97, 3, 57, 7], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [3, 7, 40]
Generated Node #0,0: 49:[3, 7, 40] Operation: 97-57=40
Moving to Node #0,0
Current State: 49:[3, 7, 40], Operations: ['97-57=40']
Exploring Operation: 3+40=43, Resulting Numbers: [7, 43]
Generated Node #0,0,0: 49:[7, 43] Operation: 3+40=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[7, 43], Operations: ['97-57=40', '3+40=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
14,
80,
63
] | 49 | [
"18+14=32",
"80-63=17",
"32+17=49"
] | Current State: 49:[18, 14, 80, 63], Operations: []
Exploring Operation: 18+14=32, Resulting Numbers: [80, 63, 32]
Generated Node #2: [80, 63, 32] from Operation: 18+14=32
Current State: 49:[80, 63, 32], Operations: ['18+14=32']
Exploring Operation: 80-63=17, Resulting Numbers: [32, 17]
Generated Node #3: [32, 17] from Operation: 80-63=17
Current State: 49:[32, 17], Operations: ['18+14=32', '80-63=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[18, 14, 80, 63], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [18, 80, 49]
Generated Node #0,0: 49:[18, 80, 49] Operation: 63-14=49
Exploring Operation: 63-18=45, Resulting Numbers: [14, 80, 45]
Generated Node #0,1: 49:[14, 80, 45] Operation: 63-18=45
Exploring Operation: 80-63=17, Resulting Numbers: [18, 14, 17]
Generated Node #0,2: 49:[18, 14, 17] Operation: 80-63=17
Exploring Operation: 80-14=66, Resulting Numbers: [18, 63, 66]
Generated Node #0,3: 49:[18, 63, 66] Operation: 80-14=66
Exploring Operation: 80-18=62, Resulting Numbers: [14, 63, 62]
Generated Node #0,4: 49:[14, 63, 62] Operation: 80-18=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[18, 14, 17], Operations: ['80-63=17']
Exploring Operation: 18-17=1, Resulting Numbers: [14, 1]
Generated Node #0,2,0: 49:[14, 1] Operation: 18-17=1
Exploring Operation: 17-14=3, Resulting Numbers: [18, 3]
Generated Node #0,2,1: 49:[18, 3] Operation: 17-14=3
Exploring Operation: 18-14=4, Resulting Numbers: [17, 4]
Generated Node #0,2,2: 49:[17, 4] Operation: 18-14=4
Exploring Operation: 18+17=35, Resulting Numbers: [14, 35]
Generated Node #0,2,3: 49:[14, 35] Operation: 18+17=35
Exploring Operation: 18+14=32, Resulting Numbers: [17, 32]
Generated Node #0,2,4: 49:[17, 32] Operation: 18+14=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[14, 1], Operations: ['80-63=17', '18-17=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[17, 4], Operations: ['80-63=17', '18-14=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[18, 3], Operations: ['80-63=17', '17-14=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,49 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[14, 35], Operations: ['80-63=17', '18+17=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[18, 14, 80, 63], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [18, 14, 17]
Generated Node #0,2: 49:[18, 14, 17] Operation: 80-63=17
Moving to Node #0,2
Current State: 49:[18, 14, 17], Operations: ['80-63=17']
Exploring Operation: 18+17=35, Resulting Numbers: [14, 35]
Generated Node #0,2,3: 49:[14, 35] Operation: 18+17=35
Moving to Node #0,2,3
Current State: 49:[14, 35], Operations: ['80-63=17', '18+17=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
52,
91,
59,
13
] | 36 | [
"52/13=4",
"91-59=32",
"4+32=36"
] | Current State: 36:[52, 91, 59, 13], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [91, 59, 4]
Generated Node #2: [91, 59, 4] from Operation: 52/13=4
Current State: 36:[91, 59, 4], Operations: ['52/13=4']
Exploring Operation: 91-59=32, Resulting Numbers: [4, 32]
Generated Node #3: [4, 32] from Operation: 91-59=32
Current State: 36:[4, 32], Operations: ['52/13=4', '91-59=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 91, 59, 13], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [52, 13, 32]
Generated Node #0,0: 36:[52, 13, 32] Operation: 91-59=32
Exploring Operation: 91-52=39, Resulting Numbers: [59, 13, 39]
Generated Node #0,1: 36:[59, 13, 39] Operation: 91-52=39
Moving to Node #0,0
Current State: 36:[52, 13, 32], Operations: ['91-59=32']
Exploring Operation: 52-32=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 36:[13, 20] Operation: 52-32=20
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 36:[32, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[13, 20], Operations: ['91-59=32', '52-32=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[32, 4], Operations: ['91-59=32', '52/13=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[52, 91, 59, 13], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [52, 13, 32]
Generated Node #0,0: 36:[52, 13, 32] Operation: 91-59=32
Moving to Node #0,0
Current State: 36:[52, 13, 32], Operations: ['91-59=32']
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 36:[32, 4] Operation: 52/13=4
Moving to Node #0,0,1
Current State: 36:[32, 4], Operations: ['91-59=32', '52/13=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
44,
67,
3,
46
] | 35 | [
"46-44=2",
"67+3=70",
"70/2=35"
] | Current State: 35:[44, 67, 3, 46], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [67, 3, 2]
Generated Node #2: [67, 3, 2] from Operation: 46-44=2
Current State: 35:[67, 3, 2], Operations: ['46-44=2']
Exploring Operation: 67+3=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 67+3=70
Current State: 35:[2, 70], Operations: ['46-44=2', '67+3=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[44, 67, 3, 46], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [3, 46, 23]
Generated Node #0,0: 35:[3, 46, 23] Operation: 67-44=23
Exploring Operation: 67-46=21, Resulting Numbers: [44, 3, 21]
Generated Node #0,1: 35:[44, 3, 21] Operation: 67-46=21
Exploring Operation: 46-44=2, Resulting Numbers: [67, 3, 2]
Generated Node #0,2: 35:[67, 3, 2] Operation: 46-44=2
Moving to Node #0,0
Current State: 35:[3, 46, 23], Operations: ['67-44=23']
Exploring Operation: 46-3=43, Resulting Numbers: [23, 43]
Generated Node #0,0,0: 35:[23, 43] Operation: 46-3=43
Exploring Operation: 46/23=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 35:[3, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 35:[3, 23] Operation: 46-23=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[3, 2], Operations: ['67-44=23', '46/23=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[3, 23], Operations: ['67-44=23', '46-23=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[23, 43], Operations: ['67-44=23', '46-3=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 35:[44, 3, 21], Operations: ['67-46=21']
Exploring Operation: 44-21=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 35:[3, 23] Operation: 44-21=23
Exploring Operation: 44-3=41, Resulting Numbers: [21, 41]
Generated Node #0,1,1: 35:[21, 41] Operation: 44-3=41
Exploring Operation: 21/3=7, Resulting Numbers: [44, 7]
Generated Node #0,1,2: 35:[44, 7] Operation: 21/3=7
Moving to Node #0,2
Current State: 35:[67, 3, 2], Operations: ['46-44=2']
Exploring Operation: 3+2=5, Resulting Numbers: [67, 5]
Generated Node #0,2,0: 35:[67, 5] Operation: 3+2=5
Exploring Operation: 67-3=64, Resulting Numbers: [2, 64]
Generated Node #0,2,1: 35:[2, 64] Operation: 67-3=64
Exploring Operation: 67-2=65, Resulting Numbers: [3, 65]
Generated Node #0,2,2: 35:[3, 65] Operation: 67-2=65
Moving to Node #0,1,2
Current State: 35:[44, 7], Operations: ['67-46=21', '21/3=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[3, 23], Operations: ['67-46=21', '44-21=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[21, 41], Operations: ['67-46=21', '44-3=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,35 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[3, 65], Operations: ['46-44=2', '67-2=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[2, 64], Operations: ['46-44=2', '67-3=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[67, 5], Operations: ['46-44=2', '3+2=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
93,
20,
21,
17
] | 88 | [
"21-17=4",
"20/4=5",
"93-5=88"
] | Current State: 88:[93, 20, 21, 17], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [93, 20, 4]
Generated Node #2: [93, 20, 4] from Operation: 21-17=4
Current State: 88:[93, 20, 4], Operations: ['21-17=4']
Exploring Operation: 20/4=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 20/4=5
Current State: 88:[93, 5], Operations: ['21-17=4', '20/4=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[93, 20, 21, 17], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [93, 20, 4]
Generated Node #0,0: 88:[93, 20, 4] Operation: 21-17=4
Exploring Operation: 21-20=1, Resulting Numbers: [93, 17, 1]
Generated Node #0,1: 88:[93, 17, 1] Operation: 21-20=1
Exploring Operation: 20-17=3, Resulting Numbers: [93, 21, 3]
Generated Node #0,2: 88:[93, 21, 3] Operation: 20-17=3
Moving to Node #0,0
Current State: 88:[93, 20, 4], Operations: ['21-17=4']
Exploring Operation: 20+4=24, Resulting Numbers: [93, 24]
Generated Node #0,0,0: 88:[93, 24] Operation: 20+4=24
Exploring Operation: 93-4=89, Resulting Numbers: [20, 89]
Generated Node #0,0,1: 88:[20, 89] Operation: 93-4=89
Exploring Operation: 20/4=5, Resulting Numbers: [93, 5]
Generated Node #0,0,2: 88:[93, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[20, 89], Operations: ['21-17=4', '93-4=89']
Exploring Operation: 20*89=1780, Resulting Numbers: [1780]
1780,88 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 20+89=109, Resulting Numbers: [109]
109,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[93, 5], Operations: ['21-17=4', '20/4=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[93, 20, 21, 17], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [93, 20, 4]
Generated Node #0,0: 88:[93, 20, 4] Operation: 21-17=4
Moving to Node #0,0
Current State: 88:[93, 20, 4], Operations: ['21-17=4']
Exploring Operation: 20/4=5, Resulting Numbers: [93, 5]
Generated Node #0,0,2: 88:[93, 5] Operation: 20/4=5
Moving to Node #0,0,2
Current State: 88:[93, 5], Operations: ['21-17=4', '20/4=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
34,
73,
34,
99
] | 99 | [
"34-34=0",
"73*0=0",
"99+0=99"
] | Current State: 99:[34, 73, 34, 99], Operations: []
Exploring Operation: 34-34=0, Resulting Numbers: [73, 99, 0]
Generated Node #2: [73, 99, 0] from Operation: 34-34=0
Current State: 99:[73, 99, 0], Operations: ['34-34=0']
Exploring Operation: 73*0=0, Resulting Numbers: [99, 0]
Generated Node #3: [99, 0] from Operation: 73*0=0
Current State: 99:[99, 0], Operations: ['34-34=0', '73*0=0']
Exploring Operation: 99+0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[34, 73, 34, 99], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [34, 99, 39]
Generated Node #0,0: 99:[34, 99, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[34, 99, 39], Operations: ['73-34=39']
Exploring Operation: 39-34=5, Resulting Numbers: [99, 5]
Generated Node #0,0,0: 99:[99, 5] Operation: 39-34=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[99, 5], Operations: ['73-34=39', '39-34=5']
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,99 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 |
[
50,
29,
44,
3
] | 26 | [
"50-29=21",
"44+3=47",
"47-21=26"
] | Current State: 26:[50, 29, 44, 3], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [44, 3, 21]
Generated Node #2: [44, 3, 21] from Operation: 50-29=21
Current State: 26:[44, 3, 21], Operations: ['50-29=21']
Exploring Operation: 44+3=47, Resulting Numbers: [21, 47]
Generated Node #3: [21, 47] from Operation: 44+3=47
Current State: 26:[21, 47], Operations: ['50-29=21', '44+3=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[50, 29, 44, 3], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [44, 3, 21]
Generated Node #0,0: 26:[44, 3, 21] Operation: 50-29=21
Exploring Operation: 44-29=15, Resulting Numbers: [50, 3, 15]
Generated Node #0,1: 26:[50, 3, 15] Operation: 44-29=15
Exploring Operation: 50-44=6, Resulting Numbers: [29, 3, 6]
Generated Node #0,2: 26:[29, 3, 6] Operation: 50-44=6
Moving to Node #0,2
Current State: 26:[29, 3, 6], Operations: ['50-44=6']
Exploring Operation: 6/3=2, Resulting Numbers: [29, 2]
Generated Node #0,2,0: 26:[29, 2] Operation: 6/3=2
Exploring Operation: 29-3=26, Resulting Numbers: [6, 26]
Generated Node #0,2,1: 26:[6, 26] Operation: 29-3=26
Exploring Operation: 29-6=23, Resulting Numbers: [3, 23]
Generated Node #0,2,2: 26:[3, 23] Operation: 29-6=23
Moving to Node #0,0
Current State: 26:[44, 3, 21], Operations: ['50-29=21']
Exploring Operation: 44-3=41, Resulting Numbers: [21, 41]
Generated Node #0,0,0: 26:[21, 41] Operation: 44-3=41
Exploring Operation: 3+21=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 26:[44, 24] Operation: 3+21=24
Exploring Operation: 44-21=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 26:[3, 23] Operation: 44-21=23
Moving to Node #0,1
Current State: 26:[50, 3, 15], Operations: ['44-29=15']
Exploring Operation: 15-3=12, Resulting Numbers: [50, 12]
Generated Node #0,1,0: 26:[50, 12] Operation: 15-3=12
Exploring Operation: 50-3=47, Resulting Numbers: [15, 47]
Generated Node #0,1,1: 26:[15, 47] Operation: 50-3=47
Exploring Operation: 50-15=35, Resulting Numbers: [3, 35]
Generated Node #0,1,2: 26:[3, 35] Operation: 50-15=35
Moving to Node #0,2,0
Current State: 26:[29, 2], Operations: ['50-44=6', '6/3=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[3, 23], Operations: ['50-44=6', '29-6=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[50, 29, 44, 3], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [29, 3, 6]
Generated Node #0,2: 26:[29, 3, 6] Operation: 50-44=6
Moving to Node #0,2
Current State: 26:[29, 3, 6], Operations: ['50-44=6']
Exploring Operation: 29-6=23, Resulting Numbers: [3, 23]
Generated Node #0,2,2: 26:[3, 23] Operation: 29-6=23
Moving to Node #0,2,2
Current State: 26:[3, 23], Operations: ['50-44=6', '29-6=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.981771 | hs_3 | mult_heuristic |
[
16,
6,
72,
10
] | 17 | [
"6*72=432",
"432/16=27",
"27-10=17"
] | Current State: 17:[16, 6, 72, 10], Operations: []
Exploring Operation: 6*72=432, Resulting Numbers: [16, 10, 432]
Generated Node #2: [16, 10, 432] from Operation: 6*72=432
Current State: 17:[16, 10, 432], Operations: ['6*72=432']
Exploring Operation: 432/16=27, Resulting Numbers: [10, 27]
Generated Node #3: [10, 27] from Operation: 432/16=27
Current State: 17:[10, 27], Operations: ['6*72=432', '432/16=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[16, 6, 72, 10], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [16, 10, 12]
Generated Node #0,0: 17:[16, 10, 12] Operation: 72/6=12
Exploring Operation: 72-16=56, Resulting Numbers: [6, 10, 56]
Generated Node #0,1: 17:[6, 10, 56] Operation: 72-16=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[16, 10, 12], Operations: ['72/6=12']
Exploring Operation: 16+10=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 17:[12, 26] Operation: 16+10=26
Exploring Operation: 10+12=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 17:[16, 22] Operation: 10+12=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[16, 22], Operations: ['72/6=12', '10+12=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No 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: 17:[12, 26], Operations: ['72/6=12', '16+10=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[6, 10, 56], Operations: ['72-16=56']
Exploring Operation: 56-6=50, Resulting Numbers: [10, 50]
Generated Node #0,1,0: 17:[10, 50] Operation: 56-6=50
Exploring Operation: 6+10=16, Resulting Numbers: [56, 16]
Generated Node #0,1,1: 17:[56, 16] Operation: 6+10=16
Moving to Node #0,1,0
Current State: 17:[10, 50], Operations: ['72-16=56', '56-6=50']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[56, 16], Operations: ['72-16=56', '6+10=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,17 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 |
[
46,
84,
3,
77
] | 95 | [
"46+77=123",
"84/3=28",
"123-28=95"
] | Current State: 95:[46, 84, 3, 77], Operations: []
Exploring Operation: 46+77=123, Resulting Numbers: [84, 3, 123]
Generated Node #2: [84, 3, 123] from Operation: 46+77=123
Current State: 95:[84, 3, 123], Operations: ['46+77=123']
Exploring Operation: 84/3=28, Resulting Numbers: [123, 28]
Generated Node #3: [123, 28] from Operation: 84/3=28
Current State: 95:[123, 28], Operations: ['46+77=123', '84/3=28']
Exploring Operation: 123-28=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[46, 84, 3, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [46, 3, 7]
Generated Node #0,0: 95:[46, 3, 7] Operation: 84-77=7
Exploring Operation: 77-46=31, Resulting Numbers: [84, 3, 31]
Generated Node #0,1: 95:[84, 3, 31] Operation: 77-46=31
Exploring Operation: 84-46=38, Resulting Numbers: [3, 77, 38]
Generated Node #0,2: 95:[3, 77, 38] Operation: 84-46=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[84, 3, 31], Operations: ['77-46=31']
Exploring Operation: 3*31=93, Resulting Numbers: [84, 93]
Generated Node #0,1,0: 95:[84, 93] Operation: 3*31=93
Exploring Operation: 31-3=28, Resulting Numbers: [84, 28]
Generated Node #0,1,1: 95:[84, 28] Operation: 31-3=28
Exploring Operation: 84+3=87, Resulting Numbers: [31, 87]
Generated Node #0,1,2: 95:[31, 87] Operation: 84+3=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[84, 93], Operations: ['77-46=31', '3*31=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,95 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,95 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[84, 28], Operations: ['77-46=31', '31-3=28']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[31, 87], Operations: ['77-46=31', '84+3=87']
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,95 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[46, 3, 7], Operations: ['84-77=7']
Exploring Operation: 46-7=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 95:[3, 39] Operation: 46-7=39
Exploring Operation: 46-3=43, Resulting Numbers: [7, 43]
Generated Node #0,0,1: 95:[7, 43] Operation: 46-3=43
Exploring Operation: 7-3=4, Resulting Numbers: [46, 4]
Generated Node #0,0,2: 95:[46, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[3, 39], Operations: ['84-77=7', '46-7=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,95 unequal: No Solution
No 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: 95:[7, 43], Operations: ['84-77=7', '46-3=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[46, 4], Operations: ['84-77=7', '7-3=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[3, 77, 38], Operations: ['84-46=38']
Exploring Operation: 77+38=115, Resulting Numbers: [3, 115]
Generated Node #0,2,0: 95:[3, 115] Operation: 77+38=115
Exploring Operation: 3+77=80, Resulting Numbers: [38, 80]
Generated Node #0,2,1: 95:[38, 80] Operation: 3+77=80
Exploring Operation: 77-38=39, Resulting Numbers: [3, 39]
Generated Node #0,2,2: 95:[3, 39] Operation: 77-38=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[3, 115], Operations: ['84-46=38', '77+38=115']
Exploring Operation: 3+115=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 115-3=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 3*115=345, Resulting Numbers: [345]
345,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[3, 39], Operations: ['84-46=38', '77-38=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[38, 80], Operations: ['84-46=38', '3+77=80']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
77,
54,
32
] | 42 | [
"35*54=1890",
"77-32=45",
"1890/45=42"
] | Current State: 42:[35, 77, 54, 32], Operations: []
Exploring Operation: 35*54=1890, Resulting Numbers: [77, 32, 1890]
Generated Node #2: [77, 32, 1890] from Operation: 35*54=1890
Current State: 42:[77, 32, 1890], Operations: ['35*54=1890']
Exploring Operation: 77-32=45, Resulting Numbers: [1890, 45]
Generated Node #3: [1890, 45] from Operation: 77-32=45
Current State: 42:[1890, 45], Operations: ['35*54=1890', '77-32=45']
Exploring Operation: 1890/45=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[35, 77, 54, 32], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [77, 32, 19]
Generated Node #0,0: 42:[77, 32, 19] Operation: 54-35=19
Exploring Operation: 54-32=22, Resulting Numbers: [35, 77, 22]
Generated Node #0,1: 42:[35, 77, 22] Operation: 54-32=22
Exploring Operation: 77-35=42, Resulting Numbers: [54, 32, 42]
Generated Node #0,2: 42:[54, 32, 42] Operation: 77-35=42
Exploring Operation: 77-54=23, Resulting Numbers: [35, 32, 23]
Generated Node #0,3: 42:[35, 32, 23] Operation: 77-54=23
Exploring Operation: 77-32=45, Resulting Numbers: [35, 54, 45]
Generated Node #0,4: 42:[35, 54, 45] Operation: 77-32=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[35, 32, 23], Operations: ['77-54=23']
Exploring Operation: 35+23=58, Resulting Numbers: [32, 58]
Generated Node #0,3,0: 42:[32, 58] Operation: 35+23=58
Exploring Operation: 35-23=12, Resulting Numbers: [32, 12]
Generated Node #0,3,1: 42:[32, 12] Operation: 35-23=12
Exploring Operation: 32+23=55, Resulting Numbers: [35, 55]
Generated Node #0,3,2: 42:[35, 55] Operation: 32+23=55
Exploring Operation: 32-23=9, Resulting Numbers: [35, 9]
Generated Node #0,3,3: 42:[35, 9] Operation: 32-23=9
Exploring Operation: 35-32=3, Resulting Numbers: [23, 3]
Generated Node #0,3,4: 42:[23, 3] Operation: 35-32=3
Moving to Node #0,3,4
Current State: 42:[23, 3], Operations: ['77-54=23', '35-32=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[35, 9], Operations: ['77-54=23', '32-23=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,42 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[32, 12], Operations: ['77-54=23', '35-23=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,42 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[35, 55], Operations: ['77-54=23', '32+23=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,42 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[32, 58], Operations: ['77-54=23', '35+23=58']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[54, 32, 42], Operations: ['77-35=42']
Exploring Operation: 54+32=86, Resulting Numbers: [42, 86]
Generated Node #0,2,0: 42:[42, 86] Operation: 54+32=86
Exploring Operation: 32+42=74, Resulting Numbers: [54, 74]
Generated Node #0,2,1: 42:[54, 74] Operation: 32+42=74
Exploring Operation: 42-32=10, Resulting Numbers: [54, 10]
Generated Node #0,2,2: 42:[54, 10] Operation: 42-32=10
Exploring Operation: 54-32=22, Resulting Numbers: [42, 22]
Generated Node #0,2,3: 42:[42, 22] Operation: 54-32=22
Exploring Operation: 54-42=12, Resulting Numbers: [32, 12]
Generated Node #0,2,4: 42:[32, 12] Operation: 54-42=12
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[42, 22], Operations: ['77-35=42', '54-32=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 42:[32, 12], Operations: ['77-35=42', '54-42=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,42 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[54, 10], Operations: ['77-35=42', '42-32=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,42 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[42, 86], Operations: ['77-35=42', '54+32=86']
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,42 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[54, 74], Operations: ['77-35=42', '32+42=74']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,42 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[35, 54, 45], Operations: ['77-32=45']
Exploring Operation: 45-35=10, Resulting Numbers: [54, 10]
Generated Node #0,4,0: 42:[54, 10] Operation: 45-35=10
Exploring Operation: 54-45=9, Resulting Numbers: [35, 9]
Generated Node #0,4,1: 42:[35, 9] Operation: 54-45=9
Exploring Operation: 35+45=80, Resulting Numbers: [54, 80]
Generated Node #0,4,2: 42:[54, 80] Operation: 35+45=80
Exploring Operation: 35+54=89, Resulting Numbers: [45, 89]
Generated Node #0,4,3: 42:[45, 89] Operation: 35+54=89
Exploring Operation: 54-35=19, Resulting Numbers: [45, 19]
Generated Node #0,4,4: 42:[45, 19] Operation: 54-35=19
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 42:[45, 19], Operations: ['77-32=45', '54-35=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,42 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 42:[35, 9], Operations: ['77-32=45', '54-45=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,42 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 42:[54, 10], Operations: ['77-32=45', '45-35=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 42:[54, 80], Operations: ['77-32=45', '35+45=80']
Exploring Operation: 54+80=134, Resulting Numbers: [134]
134,42 unequal: No Solution
Exploring Operation: 54*80=4320, Resulting Numbers: [4320]
4320,42 unequal: No Solution
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 42:[45, 89], Operations: ['77-32=45', '35+54=89']
Exploring Operation: 45+89=134, Resulting Numbers: [134]
134,42 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 45*89=4005, Resulting Numbers: [4005]
4005,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[35, 77, 22], Operations: ['54-32=22']
Exploring Operation: 77+22=99, Resulting Numbers: [35, 99]
Generated Node #0,1,0: 42:[35, 99] Operation: 77+22=99
Exploring Operation: 35+22=57, Resulting Numbers: [77, 57]
Generated Node #0,1,1: 42:[77, 57] Operation: 35+22=57
Exploring Operation: 77-35=42, Resulting Numbers: [22, 42]
Generated Node #0,1,2: 42:[22, 42] Operation: 77-35=42
Exploring Operation: 35-22=13, Resulting Numbers: [77, 13]
Generated Node #0,1,3: 42:[77, 13] Operation: 35-22=13
Exploring Operation: 77-22=55, Resulting Numbers: [35, 55]
Generated Node #0,1,4: 42:[35, 55] Operation: 77-22=55
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[22, 42], Operations: ['54-32=22', '77-35=42']
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 42:[35, 55], Operations: ['54-32=22', '77-22=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,42 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[77, 13], Operations: ['54-32=22', '35-22=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,42 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[77, 57], Operations: ['54-32=22', '35+22=57']
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,42 unequal: No Solution
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,42 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[35, 99], Operations: ['54-32=22', '77+22=99']
Exploring Operation: 35*99=3465, Resulting Numbers: [3465]
3465,42 unequal: No Solution
Exploring Operation: 35+99=134, Resulting Numbers: [134]
134,42 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[77, 32, 19], Operations: ['54-35=19']
Exploring Operation: 32-19=13, Resulting Numbers: [77, 13]
Generated Node #0,0,0: 42:[77, 13] Operation: 32-19=13
Exploring Operation: 32+19=51, Resulting Numbers: [77, 51]
Generated Node #0,0,1: 42:[77, 51] Operation: 32+19=51
Exploring Operation: 77+19=96, Resulting Numbers: [32, 96]
Generated Node #0,0,2: 42:[32, 96] Operation: 77+19=96
Exploring Operation: 77-19=58, Resulting Numbers: [32, 58]
Generated Node #0,0,3: 42:[32, 58] Operation: 77-19=58
Exploring Operation: 77-32=45, Resulting Numbers: [19, 45]
Generated Node #0,0,4: 42:[19, 45] Operation: 77-32=45
Moving to Node #0,0,4
Current State: 42:[19, 45], Operations: ['54-35=19', '77-32=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,42 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[32, 58], Operations: ['54-35=19', '77-19=58']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[77, 13], Operations: ['54-35=19', '32-19=13']
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,42 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[77, 51], Operations: ['54-35=19', '32+19=51']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,42 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[32, 96], Operations: ['54-35=19', '77+19=96']
Exploring Operation: 32*96=3072, Resulting Numbers: [3072]
3072,42 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 32+96=128, Resulting Numbers: [128]
128,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
52,
40,
36
] | 50 | [
"57*36=2052",
"2052-52=2000",
"2000/40=50"
] | Current State: 50:[57, 52, 40, 36], Operations: []
Exploring Operation: 57*36=2052, Resulting Numbers: [52, 40, 2052]
Generated Node #2: [52, 40, 2052] from Operation: 57*36=2052
Current State: 50:[52, 40, 2052], Operations: ['57*36=2052']
Exploring Operation: 2052-52=2000, Resulting Numbers: [40, 2000]
Generated Node #3: [40, 2000] from Operation: 2052-52=2000
Current State: 50:[40, 2000], Operations: ['57*36=2052', '2052-52=2000']
Exploring Operation: 2000/40=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[57, 52, 40, 36], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [57, 52, 4]
Generated Node #0,0: 50:[57, 52, 4] Operation: 40-36=4
Moving to Node #0,0
Current State: 50:[57, 52, 4], Operations: ['40-36=4']
Exploring Operation: 57-52=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 50:[4, 5] Operation: 57-52=5
Moving to Node #0,0,0
Current State: 50:[4, 5], Operations: ['40-36=4', '57-52=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
18,
34,
54
] | 60 | [
"34-14=20",
"54/18=3",
"20*3=60"
] | Current State: 60:[14, 18, 34, 54], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [18, 54, 20]
Generated Node #2: [18, 54, 20] from Operation: 34-14=20
Current State: 60:[18, 54, 20], Operations: ['34-14=20']
Exploring Operation: 54/18=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 54/18=3
Current State: 60:[20, 3], Operations: ['34-14=20', '54/18=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[14, 18, 34, 54], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [14, 34, 3]
Generated Node #0,0: 60:[14, 34, 3] Operation: 54/18=3
Exploring Operation: 54-34=20, Resulting Numbers: [14, 18, 20]
Generated Node #0,1: 60:[14, 18, 20] Operation: 54-34=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[14, 18, 20], Operations: ['54-34=20']
Exploring Operation: 20-18=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 60:[14, 2] Operation: 20-18=2
Exploring Operation: 18-14=4, Resulting Numbers: [20, 4]
Generated Node #0,1,1: 60:[20, 4] Operation: 18-14=4
Moving to Node #0,1,1
Current State: 60:[20, 4], Operations: ['54-34=20', '18-14=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[14, 2], Operations: ['54-34=20', '20-18=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,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:[14, 34, 3], Operations: ['54/18=3']
Exploring Operation: 34-3=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 60:[14, 31] Operation: 34-3=31
Exploring Operation: 34-14=20, Resulting Numbers: [3, 20]
Generated Node #0,0,1: 60:[3, 20] Operation: 34-14=20
Moving to Node #0,0,1
Current State: 60:[3, 20], Operations: ['54/18=3', '34-14=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[14, 18, 34, 54], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [14, 34, 3]
Generated Node #0,0: 60:[14, 34, 3] Operation: 54/18=3
Moving to Node #0,0
Current State: 60:[14, 34, 3], Operations: ['54/18=3']
Exploring Operation: 34-14=20, Resulting Numbers: [3, 20]
Generated Node #0,0,1: 60:[3, 20] Operation: 34-14=20
Moving to Node #0,0,1
Current State: 60:[3, 20], Operations: ['54/18=3', '34-14=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
42,
69,
2,
10
] | 100 | [
"42/2=21",
"69+10=79",
"21+79=100"
] | Current State: 100:[42, 69, 2, 10], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [69, 10, 21]
Generated Node #2: [69, 10, 21] from Operation: 42/2=21
Current State: 100:[69, 10, 21], Operations: ['42/2=21']
Exploring Operation: 69+10=79, Resulting Numbers: [21, 79]
Generated Node #3: [21, 79] from Operation: 69+10=79
Current State: 100:[21, 79], Operations: ['42/2=21', '69+10=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[42, 69, 2, 10], Operations: []
Exploring Operation: 42+69=111, Resulting Numbers: [2, 10, 111]
Generated Node #0,0: 100:[2, 10, 111] Operation: 42+69=111
Exploring Operation: 42/2=21, Resulting Numbers: [69, 10, 21]
Generated Node #0,1: 100:[69, 10, 21] Operation: 42/2=21
Exploring Operation: 69-10=59, Resulting Numbers: [42, 2, 59]
Generated Node #0,2: 100:[42, 2, 59] Operation: 69-10=59
Exploring Operation: 42+10=52, Resulting Numbers: [69, 2, 52]
Generated Node #0,3: 100:[69, 2, 52] Operation: 42+10=52
Exploring Operation: 69-42=27, Resulting Numbers: [2, 10, 27]
Generated Node #0,4: 100:[2, 10, 27] Operation: 69-42=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[2, 10, 27], Operations: ['69-42=27']
Exploring Operation: 27-2=25, Resulting Numbers: [10, 25]
Generated Node #0,4,0: 100:[10, 25] Operation: 27-2=25
Exploring Operation: 2*10=20, Resulting Numbers: [27, 20]
Generated Node #0,4,1: 100:[27, 20] Operation: 2*10=20
Exploring Operation: 2+10=12, Resulting Numbers: [27, 12]
Generated Node #0,4,2: 100:[27, 12] Operation: 2+10=12
Exploring Operation: 27-10=17, Resulting Numbers: [2, 17]
Generated Node #0,4,3: 100:[2, 17] Operation: 27-10=17
Exploring Operation: 10/2=5, Resulting Numbers: [27, 5]
Generated Node #0,4,4: 100:[27, 5] Operation: 10/2=5
Moving to Node #0,4,0
Current State: 100:[10, 25], Operations: ['69-42=27', '27-2=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,100 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[27, 5], Operations: ['69-42=27', '10/2=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,100 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[27, 20], Operations: ['69-42=27', '2*10=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,100 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[2, 17], Operations: ['69-42=27', '27-10=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[27, 12], Operations: ['69-42=27', '2+10=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,100 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,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:[2, 10, 111], Operations: ['42+69=111']
Exploring Operation: 111-10=101, Resulting Numbers: [2, 101]
Generated Node #0,0,0: 100:[2, 101] Operation: 111-10=101
Exploring Operation: 111-2=109, Resulting Numbers: [10, 109]
Generated Node #0,0,1: 100:[10, 109] Operation: 111-2=109
Exploring Operation: 10/2=5, Resulting Numbers: [111, 5]
Generated Node #0,0,2: 100:[111, 5] Operation: 10/2=5
Exploring Operation: 2*10=20, Resulting Numbers: [111, 20]
Generated Node #0,0,3: 100:[111, 20] Operation: 2*10=20
Exploring Operation: 2+10=12, Resulting Numbers: [111, 12]
Generated Node #0,0,4: 100:[111, 12] Operation: 2+10=12
Moving to Node #0,0,0
Current State: 100:[2, 101], Operations: ['42+69=111', '111-10=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[10, 109], Operations: ['42+69=111', '111-2=109']
Exploring Operation: 10*109=1090, Resulting Numbers: [1090]
1090,100 unequal: No Solution
Exploring Operation: 10+109=119, Resulting Numbers: [119]
119,100 unequal: No Solution
Exploring Operation: 109-10=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[111, 5], Operations: ['42+69=111', '10/2=5']
Exploring Operation: 111+5=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 111-5=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 111*5=555, Resulting Numbers: [555]
555,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[111, 20], Operations: ['42+69=111', '2*10=20']
Exploring Operation: 111-20=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 111*20=2220, Resulting Numbers: [2220]
2220,100 unequal: No Solution
Exploring Operation: 111+20=131, Resulting Numbers: [131]
131,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[111, 12], Operations: ['42+69=111', '2+10=12']
Exploring Operation: 111+12=123, Resulting Numbers: [123]
123,100 unequal: No Solution
Exploring Operation: 111*12=1332, Resulting Numbers: [1332]
1332,100 unequal: No Solution
Exploring Operation: 111-12=99, Resulting Numbers: [99]
99,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:[42, 2, 59], Operations: ['69-10=59']
Exploring Operation: 42+59=101, Resulting Numbers: [2, 101]
Generated Node #0,2,0: 100:[2, 101] Operation: 42+59=101
Exploring Operation: 59-42=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 100:[2, 17] Operation: 59-42=17
Exploring Operation: 59-2=57, Resulting Numbers: [42, 57]
Generated Node #0,2,2: 100:[42, 57] Operation: 59-2=57
Exploring Operation: 42+2=44, Resulting Numbers: [59, 44]
Generated Node #0,2,3: 100:[59, 44] Operation: 42+2=44
Exploring Operation: 42/2=21, Resulting Numbers: [59, 21]
Generated Node #0,2,4: 100:[59, 21] Operation: 42/2=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[2, 101], Operations: ['69-10=59', '42+59=101']
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,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,2,1
Current State: 100:[2, 17], Operations: ['69-10=59', '59-42=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,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,2,4
Current State: 100:[59, 21], Operations: ['69-10=59', '42/2=21']
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,100 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,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,2,2
Current State: 100:[42, 57], Operations: ['69-10=59', '59-2=57']
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,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,2,3
Current State: 100:[59, 44], Operations: ['69-10=59', '42+2=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[69, 10, 21], Operations: ['42/2=21']
Exploring Operation: 69-21=48, Resulting Numbers: [10, 48]
Generated Node #0,1,0: 100:[10, 48] Operation: 69-21=48
Exploring Operation: 69-10=59, Resulting Numbers: [21, 59]
Generated Node #0,1,1: 100:[21, 59] Operation: 69-10=59
Exploring Operation: 21-10=11, Resulting Numbers: [69, 11]
Generated Node #0,1,2: 100:[69, 11] Operation: 21-10=11
Exploring Operation: 69+10=79, Resulting Numbers: [21, 79]
Generated Node #0,1,3: 100:[21, 79] Operation: 69+10=79
Exploring Operation: 69+21=90, Resulting Numbers: [10, 90]
Generated Node #0,1,4: 100:[10, 90] Operation: 69+21=90
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[10, 48], Operations: ['42/2=21', '69-21=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[21, 59], Operations: ['42/2=21', '69-10=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 100:[10, 90], Operations: ['42/2=21', '69+21=90']
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[42, 69, 2, 10], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [69, 10, 21]
Generated Node #0,1: 100:[69, 10, 21] Operation: 42/2=21
Moving to Node #0,1
Current State: 100:[69, 10, 21], Operations: ['42/2=21']
Exploring Operation: 69+21=90, Resulting Numbers: [10, 90]
Generated Node #0,1,4: 100:[10, 90] Operation: 69+21=90
Moving to Node #0,1,4
Current State: 100:[10, 90], Operations: ['42/2=21', '69+21=90']
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.929688 | hs_5 | mult_heuristic |
[
34,
79,
12,
38
] | 85 | [
"34+38=72",
"72/12=6",
"79+6=85"
] | Current State: 85:[34, 79, 12, 38], Operations: []
Exploring Operation: 34+38=72, Resulting Numbers: [79, 12, 72]
Generated Node #2: [79, 12, 72] from Operation: 34+38=72
Current State: 85:[79, 12, 72], Operations: ['34+38=72']
Exploring Operation: 72/12=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 72/12=6
Current State: 85:[79, 6], Operations: ['34+38=72', '72/12=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[34, 79, 12, 38], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [79, 12, 4]
Generated Node #0,0: 85:[79, 12, 4] Operation: 38-34=4
Exploring Operation: 34-12=22, Resulting Numbers: [79, 38, 22]
Generated Node #0,1: 85:[79, 38, 22] Operation: 34-12=22
Exploring Operation: 34+38=72, Resulting Numbers: [79, 12, 72]
Generated Node #0,2: 85:[79, 12, 72] Operation: 34+38=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[79, 12, 4], Operations: ['38-34=4']
Exploring Operation: 79+12=91, Resulting Numbers: [4, 91]
Generated Node #0,0,0: 85:[4, 91] Operation: 79+12=91
Exploring Operation: 12+4=16, Resulting Numbers: [79, 16]
Generated Node #0,0,1: 85:[79, 16] Operation: 12+4=16
Exploring Operation: 79+4=83, Resulting Numbers: [12, 83]
Generated Node #0,0,2: 85:[12, 83] Operation: 79+4=83
Moving to Node #0,0,0
Current State: 85:[4, 91], Operations: ['38-34=4', '79+12=91']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 4*91=364, Resulting Numbers: [364]
364,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[79, 16], Operations: ['38-34=4', '12+4=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[12, 83], Operations: ['38-34=4', '79+4=83']
Exploring Operation: 12+83=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,85 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,85 unequal: No Solution
No 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: 85:[79, 12, 72], Operations: ['34+38=72']
Exploring Operation: 79-72=7, Resulting Numbers: [12, 7]
Generated Node #0,2,0: 85:[12, 7] Operation: 79-72=7
Exploring Operation: 12+72=84, Resulting Numbers: [79, 84]
Generated Node #0,2,1: 85:[79, 84] Operation: 12+72=84
Exploring Operation: 72/12=6, Resulting Numbers: [79, 6]
Generated Node #0,2,2: 85:[79, 6] Operation: 72/12=6
Moving to Node #0,2,0
Current State: 85:[12, 7], Operations: ['34+38=72', '79-72=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[79, 84], Operations: ['34+38=72', '12+72=84']
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,85 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[79, 6], Operations: ['34+38=72', '72/12=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,85 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[34, 79, 12, 38], Operations: []
Exploring Operation: 34+38=72, Resulting Numbers: [79, 12, 72]
Generated Node #0,2: 85:[79, 12, 72] Operation: 34+38=72
Moving to Node #0,2
Current State: 85:[79, 12, 72], Operations: ['34+38=72']
Exploring Operation: 72/12=6, Resulting Numbers: [79, 6]
Generated Node #0,2,2: 85:[79, 6] Operation: 72/12=6
Moving to Node #0,2,2
Current State: 85:[79, 6], Operations: ['34+38=72', '72/12=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
45,
56,
94,
15
] | 71 | [
"56-45=11",
"15*11=165",
"165-94=71"
] | Current State: 71:[45, 56, 94, 15], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [94, 15, 11]
Generated Node #2: [94, 15, 11] from Operation: 56-45=11
Current State: 71:[94, 15, 11], Operations: ['56-45=11']
Exploring Operation: 15*11=165, Resulting Numbers: [94, 165]
Generated Node #3: [94, 165] from Operation: 15*11=165
Current State: 71:[94, 165], Operations: ['56-45=11', '15*11=165']
Exploring Operation: 165-94=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[45, 56, 94, 15], Operations: []
Exploring Operation: 45+15=60, Resulting Numbers: [56, 94, 60]
Generated Node #0,0: 71:[56, 94, 60] Operation: 45+15=60
Moving to Node #0,0
Current State: 71:[56, 94, 60], Operations: ['45+15=60']
Exploring Operation: 94-56=38, Resulting Numbers: [60, 38]
Generated Node #0,0,0: 71:[60, 38] Operation: 94-56=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[60, 38], Operations: ['45+15=60', '94-56=38']
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,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 |
[
9,
5,
28,
86
] | 99 | [
"9+28=37",
"5*37=185",
"185-86=99"
] | Current State: 99:[9, 5, 28, 86], Operations: []
Exploring Operation: 9+28=37, Resulting Numbers: [5, 86, 37]
Generated Node #2: [5, 86, 37] from Operation: 9+28=37
Current State: 99:[5, 86, 37], Operations: ['9+28=37']
Exploring Operation: 5*37=185, Resulting Numbers: [86, 185]
Generated Node #3: [86, 185] from Operation: 5*37=185
Current State: 99:[86, 185], Operations: ['9+28=37', '5*37=185']
Exploring Operation: 185-86=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[9, 5, 28, 86], Operations: []
Exploring Operation: 28+86=114, Resulting Numbers: [9, 5, 114]
Generated Node #0,0: 99:[9, 5, 114] Operation: 28+86=114
Exploring Operation: 9+86=95, Resulting Numbers: [5, 28, 95]
Generated Node #0,1: 99:[5, 28, 95] Operation: 9+86=95
Exploring Operation: 5+28=33, Resulting Numbers: [9, 86, 33]
Generated Node #0,2: 99:[9, 86, 33] Operation: 5+28=33
Exploring Operation: 5+86=91, Resulting Numbers: [9, 28, 91]
Generated Node #0,3: 99:[9, 28, 91] Operation: 5+86=91
Moving to Node #0,1
Current State: 99:[5, 28, 95], Operations: ['9+86=95']
Exploring Operation: 28-5=23, Resulting Numbers: [95, 23]
Generated Node #0,1,0: 99:[95, 23] Operation: 28-5=23
Exploring Operation: 95/5=19, Resulting Numbers: [28, 19]
Generated Node #0,1,1: 99:[28, 19] Operation: 95/5=19
Exploring Operation: 5+28=33, Resulting Numbers: [95, 33]
Generated Node #0,1,2: 99:[95, 33] Operation: 5+28=33
Exploring Operation: 5+95=100, Resulting Numbers: [28, 100]
Generated Node #0,1,3: 99:[28, 100] Operation: 5+95=100
Moving to Node #0,3
Current State: 99:[9, 28, 91], Operations: ['5+86=91']
Exploring Operation: 9+28=37, Resulting Numbers: [91, 37]
Generated Node #0,3,0: 99:[91, 37] Operation: 9+28=37
Exploring Operation: 28+91=119, Resulting Numbers: [9, 119]
Generated Node #0,3,1: 99:[9, 119] Operation: 28+91=119
Exploring Operation: 28-9=19, Resulting Numbers: [91, 19]
Generated Node #0,3,2: 99:[91, 19] Operation: 28-9=19
Exploring Operation: 9+91=100, Resulting Numbers: [28, 100]
Generated Node #0,3,3: 99:[28, 100] Operation: 9+91=100
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[28, 100], Operations: ['5+86=91', '9+91=100']
Exploring Operation: 100-28=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 28+100=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 28*100=2800, Resulting Numbers: [2800]
2800,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[91, 37], Operations: ['5+86=91', '9+28=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[91, 19], Operations: ['5+86=91', '28-9=19']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,99 unequal: No Solution
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[9, 119], Operations: ['5+86=91', '28+91=119']
Exploring Operation: 119-9=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 9+119=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 9*119=1071, Resulting Numbers: [1071]
1071,99 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: 99:[9, 86, 33], Operations: ['5+28=33']
Exploring Operation: 86-9=77, Resulting Numbers: [33, 77]
Generated Node #0,2,0: 99:[33, 77] Operation: 86-9=77
Exploring Operation: 86+33=119, Resulting Numbers: [9, 119]
Generated Node #0,2,1: 99:[9, 119] Operation: 86+33=119
Exploring Operation: 9+86=95, Resulting Numbers: [33, 95]
Generated Node #0,2,2: 99:[33, 95] Operation: 9+86=95
Exploring Operation: 86-33=53, Resulting Numbers: [9, 53]
Generated Node #0,2,3: 99:[9, 53] Operation: 86-33=53
Moving to Node #0,0
Current State: 99:[9, 5, 114], Operations: ['28+86=114']
Exploring Operation: 9+5=14, Resulting Numbers: [114, 14]
Generated Node #0,0,0: 99:[114, 14] Operation: 9+5=14
Exploring Operation: 114-5=109, Resulting Numbers: [9, 109]
Generated Node #0,0,1: 99:[9, 109] Operation: 114-5=109
Exploring Operation: 9-5=4, Resulting Numbers: [114, 4]
Generated Node #0,0,2: 99:[114, 4] Operation: 9-5=4
Exploring Operation: 114-9=105, Resulting Numbers: [5, 105]
Generated Node #0,0,3: 99:[5, 105] Operation: 114-9=105
Moving to Node #0,1,2
Current State: 99:[95, 33], Operations: ['9+86=95', '5+28=33']
Exploring Operation: 95+33=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 95*33=3135, Resulting Numbers: [3135]
3135,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[33, 95], Operations: ['5+28=33', '9+86=95']
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 33*95=3135, Resulting Numbers: [3135]
3135,99 unequal: No Solution
Exploring Operation: 33+95=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[28, 100], Operations: ['9+86=95', '5+95=100']
Exploring Operation: 28+100=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 100-28=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 28*100=2800, Resulting Numbers: [2800]
2800,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[5, 105], Operations: ['28+86=114', '114-9=105']
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 5*105=525, Resulting Numbers: [525]
525,99 unequal: No Solution
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[9, 109], Operations: ['28+86=114', '114-5=109']
Exploring Operation: 9+109=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 9*109=981, Resulting Numbers: [981]
981,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[28, 19], Operations: ['9+86=95', '95/5=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,99 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[95, 23], Operations: ['9+86=95', '28-5=23']
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 95*23=2185, Resulting Numbers: [2185]
2185,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[114, 4], Operations: ['28+86=114', '9-5=4']
Exploring Operation: 114-4=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 114+4=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 114*4=456, Resulting Numbers: [456]
456,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[114, 14], Operations: ['28+86=114', '9+5=14']
Exploring Operation: 114+14=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 114-14=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 114*14=1596, Resulting Numbers: [1596]
1596,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[9, 119], Operations: ['5+28=33', '86+33=119']
Exploring Operation: 9+119=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 9*119=1071, Resulting Numbers: [1071]
1071,99 unequal: No Solution
Exploring Operation: 119-9=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[9, 53], Operations: ['5+28=33', '86-33=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[33, 77], Operations: ['5+28=33', '86-9=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,99 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
11,
7,
41
] | 28 | [
"56-11=45",
"45-41=4",
"7*4=28"
] | Current State: 28:[56, 11, 7, 41], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [7, 41, 45]
Generated Node #2: [7, 41, 45] from Operation: 56-11=45
Current State: 28:[7, 41, 45], Operations: ['56-11=45']
Exploring Operation: 45-41=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 45-41=4
Current State: 28:[7, 4], Operations: ['56-11=45', '45-41=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[56, 11, 7, 41], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [7, 41, 45]
Generated Node #0,0: 28:[7, 41, 45] Operation: 56-11=45
Exploring Operation: 56-41=15, Resulting Numbers: [11, 7, 15]
Generated Node #0,1: 28:[11, 7, 15] Operation: 56-41=15
Exploring Operation: 56/7=8, Resulting Numbers: [11, 41, 8]
Generated Node #0,2: 28:[11, 41, 8] Operation: 56/7=8
Exploring Operation: 41-11=30, Resulting Numbers: [56, 7, 30]
Generated Node #0,3: 28:[56, 7, 30] Operation: 41-11=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[11, 7, 15], Operations: ['56-41=15']
Exploring Operation: 11+15=26, Resulting Numbers: [7, 26]
Generated Node #0,1,0: 28:[7, 26] Operation: 11+15=26
Exploring Operation: 11-7=4, Resulting Numbers: [15, 4]
Generated Node #0,1,1: 28:[15, 4] Operation: 11-7=4
Exploring Operation: 15-7=8, Resulting Numbers: [11, 8]
Generated Node #0,1,2: 28:[11, 8] Operation: 15-7=8
Exploring Operation: 15-11=4, Resulting Numbers: [7, 4]
Generated Node #0,1,3: 28:[7, 4] Operation: 15-11=4
Moving to Node #0,1,3
Current State: 28:[7, 4], Operations: ['56-41=15', '15-11=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[56, 11, 7, 41], Operations: []
Exploring Operation: 56-41=15, Resulting Numbers: [11, 7, 15]
Generated Node #0,1: 28:[11, 7, 15] Operation: 56-41=15
Moving to Node #0,1
Current State: 28:[11, 7, 15], Operations: ['56-41=15']
Exploring Operation: 15-11=4, Resulting Numbers: [7, 4]
Generated Node #0,1,3: 28:[7, 4] Operation: 15-11=4
Moving to Node #0,1,3
Current State: 28:[7, 4], Operations: ['56-41=15', '15-11=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
72,
83,
35,
74
] | 96 | [
"74-72=2",
"83-35=48",
"2*48=96"
] | Current State: 96:[72, 83, 35, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [83, 35, 2]
Generated Node #2: [83, 35, 2] from Operation: 74-72=2
Current State: 96:[83, 35, 2], Operations: ['74-72=2']
Exploring Operation: 83-35=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 83-35=48
Current State: 96:[2, 48], Operations: ['74-72=2', '83-35=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[72, 83, 35, 74], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [35, 74, 11]
Generated Node #0,0: 96:[35, 74, 11] Operation: 83-72=11
Exploring Operation: 72-35=37, Resulting Numbers: [83, 74, 37]
Generated Node #0,1: 96:[83, 74, 37] Operation: 72-35=37
Exploring Operation: 83-74=9, Resulting Numbers: [72, 35, 9]
Generated Node #0,2: 96:[72, 35, 9] Operation: 83-74=9
Exploring Operation: 74-72=2, Resulting Numbers: [83, 35, 2]
Generated Node #0,3: 96:[83, 35, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[83, 35, 2], Operations: ['74-72=2']
Exploring Operation: 83-2=81, Resulting Numbers: [35, 81]
Generated Node #0,3,0: 96:[35, 81] Operation: 83-2=81
Exploring Operation: 35-2=33, Resulting Numbers: [83, 33]
Generated Node #0,3,1: 96:[83, 33] Operation: 35-2=33
Exploring Operation: 83+2=85, Resulting Numbers: [35, 85]
Generated Node #0,3,2: 96:[35, 85] Operation: 83+2=85
Exploring Operation: 83-35=48, Resulting Numbers: [2, 48]
Generated Node #0,3,3: 96:[2, 48] Operation: 83-35=48
Moving to Node #0,3,3
Current State: 96:[2, 48], Operations: ['74-72=2', '83-35=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[72, 83, 35, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [83, 35, 2]
Generated Node #0,3: 96:[83, 35, 2] Operation: 74-72=2
Moving to Node #0,3
Current State: 96:[83, 35, 2], Operations: ['74-72=2']
Exploring Operation: 83-35=48, Resulting Numbers: [2, 48]
Generated Node #0,3,3: 96:[2, 48] Operation: 83-35=48
Moving to Node #0,3,3
Current State: 96:[2, 48], Operations: ['74-72=2', '83-35=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
7,
52,
10,
36
] | 91 | [
"52-7=45",
"10+36=46",
"45+46=91"
] | Current State: 91:[7, 52, 10, 36], Operations: []
Exploring Operation: 52-7=45, Resulting Numbers: [10, 36, 45]
Generated Node #2: [10, 36, 45] from Operation: 52-7=45
Current State: 91:[10, 36, 45], Operations: ['52-7=45']
Exploring Operation: 10+36=46, Resulting Numbers: [45, 46]
Generated Node #3: [45, 46] from Operation: 10+36=46
Current State: 91:[45, 46], Operations: ['52-7=45', '10+36=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[7, 52, 10, 36], Operations: []
Exploring Operation: 52+36=88, Resulting Numbers: [7, 10, 88]
Generated Node #0,0: 91:[7, 10, 88] Operation: 52+36=88
Exploring Operation: 52-36=16, Resulting Numbers: [7, 10, 16]
Generated Node #0,1: 91:[7, 10, 16] Operation: 52-36=16
Moving to Node #0,0
Current State: 91:[7, 10, 88], Operations: ['52+36=88']
Exploring Operation: 7+10=17, Resulting Numbers: [88, 17]
Generated Node #0,0,0: 91:[88, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[88, 17], Operations: ['52+36=88', '7+10=17']
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['52+36=88', '10-7=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[7, 52, 10, 36], Operations: []
Exploring Operation: 52+36=88, Resulting Numbers: [7, 10, 88]
Generated Node #0,0: 91:[7, 10, 88] Operation: 52+36=88
Moving to Node #0,0
Current State: 91:[7, 10, 88], Operations: ['52+36=88']
Exploring Operation: 10-7=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 10-7=3
Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['52+36=88', '10-7=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
70,
6,
7,
36
] | 64 | [
"70+36=106",
"6*7=42",
"106-42=64"
] | Current State: 64:[70, 6, 7, 36], Operations: []
Exploring Operation: 70+36=106, Resulting Numbers: [6, 7, 106]
Generated Node #2: [6, 7, 106] from Operation: 70+36=106
Current State: 64:[6, 7, 106], Operations: ['70+36=106']
Exploring Operation: 6*7=42, Resulting Numbers: [106, 42]
Generated Node #3: [106, 42] from Operation: 6*7=42
Current State: 64:[106, 42], Operations: ['70+36=106', '6*7=42']
Exploring Operation: 106-42=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[70, 6, 7, 36], Operations: []
Exploring Operation: 70-36=34, Resulting Numbers: [6, 7, 34]
Generated Node #0,0: 64:[6, 7, 34] Operation: 70-36=34
Exploring Operation: 70-6=64, Resulting Numbers: [7, 36, 64]
Generated Node #0,1: 64:[7, 36, 64] Operation: 70-6=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[6, 7, 34], Operations: ['70-36=34']
Exploring Operation: 6+7=13, Resulting Numbers: [34, 13]
Generated Node #0,0,0: 64:[34, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 64:[34, 1] Operation: 7-6=1
Moving to Node #0,0,1
Current State: 64:[34, 1], Operations: ['70-36=34', '7-6=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[34, 13], Operations: ['70-36=34', '6+7=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,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,1
Current State: 64:[7, 36, 64], Operations: ['70-6=64']
Exploring Operation: 64-36=28, Resulting Numbers: [7, 28]
Generated Node #0,1,0: 64:[7, 28] Operation: 64-36=28
Exploring Operation: 36-7=29, Resulting Numbers: [64, 29]
Generated Node #0,1,1: 64:[64, 29] Operation: 36-7=29
Moving to Node #0,1,1
Current State: 64:[64, 29], Operations: ['70-6=64', '36-7=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[7, 28], Operations: ['70-6=64', '64-36=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
55,
2,
73
] | 60 | [
"73-55=18",
"18/2=9",
"69-9=60"
] | Current State: 60:[69, 55, 2, 73], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [69, 2, 18]
Generated Node #2: [69, 2, 18] from Operation: 73-55=18
Current State: 60:[69, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [69, 9]
Generated Node #3: [69, 9] from Operation: 18/2=9
Current State: 60:[69, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[69, 55, 2, 73], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [55, 2, 4]
Generated Node #0,0: 60:[55, 2, 4] Operation: 73-69=4
Moving to Node #0,0
Current State: 60:[55, 2, 4], Operations: ['73-69=4']
Exploring Operation: 55+4=59, Resulting Numbers: [2, 59]
Generated Node #0,0,0: 60:[2, 59] Operation: 55+4=59
Moving to Node #0,0,0
Current State: 60:[2, 59], Operations: ['73-69=4', '55+4=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.