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 |
|---|---|---|---|---|---|---|---|---|
[
39,
14,
45,
84
] | 92 | [
"39+14=53",
"84-45=39",
"53+39=92"
] | Current State: 92:[39, 14, 45, 84], Operations: []
Exploring Operation: 39+14=53, Resulting Numbers: [45, 84, 53]
Generated Node #2: [45, 84, 53] from Operation: 39+14=53
Current State: 92:[45, 84, 53], Operations: ['39+14=53']
Exploring Operation: 84-45=39, Resulting Numbers: [53, 39]
Generated Node #3: [53, 39] from Operation: 84-45=39
Current State: 92:[53, 39], Operations: ['39+14=53', '84-45=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[39, 14, 45, 84], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [39, 45, 6]
Generated Node #0,0: 92:[39, 45, 6] Operation: 84/14=6
Exploring Operation: 39-14=25, Resulting Numbers: [45, 84, 25]
Generated Node #0,1: 92:[45, 84, 25] Operation: 39-14=25
Moving to Node #0,0
Current State: 92:[39, 45, 6], Operations: ['84/14=6']
Exploring Operation: 45-39=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 92:[6, 6] Operation: 45-39=6
Exploring Operation: 39+6=45, Resulting Numbers: [45, 45]
Generated Node #0,0,1: 92:[45, 45] Operation: 39+6=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[45, 45], Operations: ['84/14=6', '39+6=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[6, 6], Operations: ['84/14=6', '45-39=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[45, 84, 25], Operations: ['39-14=25']
Exploring Operation: 84-45=39, Resulting Numbers: [25, 39]
Generated Node #0,1,0: 92:[25, 39] Operation: 84-45=39
Exploring Operation: 45-25=20, Resulting Numbers: [84, 20]
Generated Node #0,1,1: 92:[84, 20] Operation: 45-25=20
Moving to Node #0,1,0
Current State: 92:[25, 39], Operations: ['39-14=25', '84-45=39']
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[84, 20], Operations: ['39-14=25', '45-25=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
17,
11,
18
] | 18 | [
"17-7=10",
"11-10=1",
"18*1=18"
] | Current State: 18:[7, 17, 11, 18], Operations: []
Exploring Operation: 17-7=10, Resulting Numbers: [11, 18, 10]
Generated Node #2: [11, 18, 10] from Operation: 17-7=10
Current State: 18:[11, 18, 10], Operations: ['17-7=10']
Exploring Operation: 11-10=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 11-10=1
Current State: 18:[18, 1], Operations: ['17-7=10', '11-10=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[7, 17, 11, 18], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [7, 17, 7]
Generated Node #0,0: 18:[7, 17, 7] Operation: 18-11=7
Exploring Operation: 7+11=18, Resulting Numbers: [17, 18, 18]
Generated Node #0,1: 18:[17, 18, 18] Operation: 7+11=18
Exploring Operation: 11-7=4, Resulting Numbers: [17, 18, 4]
Generated Node #0,2: 18:[17, 18, 4] Operation: 11-7=4
Exploring Operation: 17-7=10, Resulting Numbers: [11, 18, 10]
Generated Node #0,3: 18:[11, 18, 10] Operation: 17-7=10
Exploring Operation: 17-11=6, Resulting Numbers: [7, 18, 6]
Generated Node #0,4: 18:[7, 18, 6] Operation: 17-11=6
Moving to Node #0,1
Current State: 18:[17, 18, 18], Operations: ['7+11=18']
Exploring Operation: 18-17=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 18:[18, 1] Operation: 18-17=1
Exploring Operation: 17+18=35, Resulting Numbers: [18, 35]
Generated Node #0,1,1: 18:[18, 35] Operation: 17+18=35
Exploring Operation: 18-18=0, Resulting Numbers: [17, 0]
Generated Node #0,1,2: 18:[17, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [17, 1]
Generated Node #0,1,3: 18:[17, 1] Operation: 18/18=1
Exploring Operation: 18-17=1, Resulting Numbers: [18, 1]
Generated Node #0,1,4: 18:[18, 1] Operation: 18-17=1
Moving to Node #0,4
Current State: 18:[7, 18, 6], Operations: ['17-11=6']
Exploring Operation: 7+6=13, Resulting Numbers: [18, 13]
Generated Node #0,4,0: 18:[18, 13] Operation: 7+6=13
Exploring Operation: 18-7=11, Resulting Numbers: [6, 11]
Generated Node #0,4,1: 18:[6, 11] Operation: 18-7=11
Exploring Operation: 18/6=3, Resulting Numbers: [7, 3]
Generated Node #0,4,2: 18:[7, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [7, 12]
Generated Node #0,4,3: 18:[7, 12] Operation: 18-6=12
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #0,4,4: 18:[18, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[7, 3], Operations: ['17-11=6', '18/6=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[18, 1], Operations: ['17-11=6', '7-6=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[7, 17, 11, 18], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [7, 18, 6]
Generated Node #0,4: 18:[7, 18, 6] Operation: 17-11=6
Moving to Node #0,4
Current State: 18:[7, 18, 6], Operations: ['17-11=6']
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #0,4,4: 18:[18, 1] Operation: 7-6=1
Moving to Node #0,4,4
Current State: 18:[18, 1], Operations: ['17-11=6', '7-6=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
72,
76,
19,
26
] | 44 | [
"72*19=1368",
"1368/76=18",
"26+18=44"
] | Current State: 44:[72, 76, 19, 26], Operations: []
Exploring Operation: 72*19=1368, Resulting Numbers: [76, 26, 1368]
Generated Node #2: [76, 26, 1368] from Operation: 72*19=1368
Current State: 44:[76, 26, 1368], Operations: ['72*19=1368']
Exploring Operation: 1368/76=18, Resulting Numbers: [26, 18]
Generated Node #3: [26, 18] from Operation: 1368/76=18
Current State: 44:[26, 18], Operations: ['72*19=1368', '1368/76=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[72, 76, 19, 26], Operations: []
Exploring Operation: 72-26=46, Resulting Numbers: [76, 19, 46]
Generated Node #0,0: 44:[76, 19, 46] Operation: 72-26=46
Exploring Operation: 72-19=53, Resulting Numbers: [76, 26, 53]
Generated Node #0,1: 44:[76, 26, 53] Operation: 72-19=53
Exploring Operation: 76/19=4, Resulting Numbers: [72, 26, 4]
Generated Node #0,2: 44:[72, 26, 4] Operation: 76/19=4
Exploring Operation: 76-72=4, Resulting Numbers: [19, 26, 4]
Generated Node #0,3: 44:[19, 26, 4] Operation: 76-72=4
Exploring Operation: 76-26=50, Resulting Numbers: [72, 19, 50]
Generated Node #0,4: 44:[72, 19, 50] Operation: 76-26=50
Moving to Node #0,3
Current State: 44:[19, 26, 4], Operations: ['76-72=4']
Exploring Operation: 26-4=22, Resulting Numbers: [19, 22]
Generated Node #0,3,0: 44:[19, 22] Operation: 26-4=22
Exploring Operation: 26-19=7, Resulting Numbers: [4, 7]
Generated Node #0,3,1: 44:[4, 7] Operation: 26-19=7
Exploring Operation: 19-4=15, Resulting Numbers: [26, 15]
Generated Node #0,3,2: 44:[26, 15] Operation: 19-4=15
Exploring Operation: 19+4=23, Resulting Numbers: [26, 23]
Generated Node #0,3,3: 44:[26, 23] Operation: 19+4=23
Exploring Operation: 19+26=45, Resulting Numbers: [4, 45]
Generated Node #0,3,4: 44:[4, 45] Operation: 19+26=45
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 44:[4, 45], Operations: ['76-72=4', '19+26=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[19, 22], Operations: ['76-72=4', '26-4=22']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,44 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[4, 7], Operations: ['76-72=4', '26-19=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[26, 23], Operations: ['76-72=4', '19+4=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,44 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[26, 15], Operations: ['76-72=4', '19-4=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,44 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: 44:[72, 26, 4], Operations: ['76/19=4']
Exploring Operation: 72-4=68, Resulting Numbers: [26, 68]
Generated Node #0,2,0: 44:[26, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [26, 18]
Generated Node #0,2,1: 44:[26, 18] Operation: 72/4=18
Exploring Operation: 72-26=46, Resulting Numbers: [4, 46]
Generated Node #0,2,2: 44:[4, 46] Operation: 72-26=46
Exploring Operation: 26-4=22, Resulting Numbers: [72, 22]
Generated Node #0,2,3: 44:[72, 22] Operation: 26-4=22
Exploring Operation: 72+4=76, Resulting Numbers: [26, 76]
Generated Node #0,2,4: 44:[26, 76] Operation: 72+4=76
Moving to Node #0,0
Current State: 44:[76, 19, 46], Operations: ['72-26=46']
Exploring Operation: 76-46=30, Resulting Numbers: [19, 30]
Generated Node #0,0,0: 44:[19, 30] Operation: 76-46=30
Exploring Operation: 76-19=57, Resulting Numbers: [46, 57]
Generated Node #0,0,1: 44:[46, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [46, 4]
Generated Node #0,0,2: 44:[46, 4] Operation: 76/19=4
Exploring Operation: 46-19=27, Resulting Numbers: [76, 27]
Generated Node #0,0,3: 44:[76, 27] Operation: 46-19=27
Exploring Operation: 76+19=95, Resulting Numbers: [46, 95]
Generated Node #0,0,4: 44:[46, 95] Operation: 76+19=95
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[46, 4], Operations: ['72-26=46', '76/19=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,44 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[19, 30], Operations: ['72-26=46', '76-46=30']
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[46, 57], Operations: ['72-26=46', '76-19=57']
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,44 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,44 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 44:[76, 27], Operations: ['72-26=46', '46-19=27']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,44 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 44:[46, 95], Operations: ['72-26=46', '76+19=95']
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,44 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: 44:[72, 19, 50], Operations: ['76-26=50']
Exploring Operation: 72-50=22, Resulting Numbers: [19, 22]
Generated Node #0,4,0: 44:[19, 22] Operation: 72-50=22
Exploring Operation: 72+19=91, Resulting Numbers: [50, 91]
Generated Node #0,4,1: 44:[50, 91] Operation: 72+19=91
Exploring Operation: 19+50=69, Resulting Numbers: [72, 69]
Generated Node #0,4,2: 44:[72, 69] Operation: 19+50=69
Exploring Operation: 50-19=31, Resulting Numbers: [72, 31]
Generated Node #0,4,3: 44:[72, 31] Operation: 50-19=31
Exploring Operation: 72-19=53, Resulting Numbers: [50, 53]
Generated Node #0,4,4: 44:[50, 53] Operation: 72-19=53
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 44:[19, 22], Operations: ['76-26=50', '72-50=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,44 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 44:[50, 53], Operations: ['76-26=50', '72-19=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,44 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 44:[72, 31], Operations: ['76-26=50', '50-19=31']
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,44 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[50, 91], Operations: ['76-26=50', '72+19=91']
Exploring Operation: 50+91=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 50*91=4550, Resulting Numbers: [4550]
4550,44 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 44:[72, 69], Operations: ['76-26=50', '19+50=69']
Exploring Operation: 72*69=4968, Resulting Numbers: [4968]
4968,44 unequal: No Solution
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,44 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: 44:[76, 26, 53], Operations: ['72-19=53']
Exploring Operation: 76-26=50, Resulting Numbers: [53, 50]
Generated Node #0,1,0: 44:[53, 50] Operation: 76-26=50
Exploring Operation: 76+26=102, Resulting Numbers: [53, 102]
Generated Node #0,1,1: 44:[53, 102] Operation: 76+26=102
Exploring Operation: 76-53=23, Resulting Numbers: [26, 23]
Generated Node #0,1,2: 44:[26, 23] Operation: 76-53=23
Exploring Operation: 26+53=79, Resulting Numbers: [76, 79]
Generated Node #0,1,3: 44:[76, 79] Operation: 26+53=79
Exploring Operation: 53-26=27, Resulting Numbers: [76, 27]
Generated Node #0,1,4: 44:[76, 27] Operation: 53-26=27
Moving to Node #0,2,2
Current State: 44:[4, 46], Operations: ['76/19=4', '72-26=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,44 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[26, 23], Operations: ['72-19=53', '76-53=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[26, 18], Operations: ['76/19=4', '72/4=18']
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,44 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[72, 76, 19, 26], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [72, 26, 4]
Generated Node #0,2: 44:[72, 26, 4] Operation: 76/19=4
Moving to Node #0,2
Current State: 44:[72, 26, 4], Operations: ['76/19=4']
Exploring Operation: 72/4=18, Resulting Numbers: [26, 18]
Generated Node #0,2,1: 44:[26, 18] Operation: 72/4=18
Moving to Node #0,2,1
Current State: 44:[26, 18], Operations: ['76/19=4', '72/4=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.924479 | hs_5 | mult_heuristic |
[
76,
52,
5,
40
] | 69 | [
"76-52=24",
"5+40=45",
"24+45=69"
] | Current State: 69:[76, 52, 5, 40], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [5, 40, 24]
Generated Node #2: [5, 40, 24] from Operation: 76-52=24
Current State: 69:[5, 40, 24], Operations: ['76-52=24']
Exploring Operation: 5+40=45, Resulting Numbers: [24, 45]
Generated Node #3: [24, 45] from Operation: 5+40=45
Current State: 69:[24, 45], Operations: ['76-52=24', '5+40=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[76, 52, 5, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [76, 5, 12]
Generated Node #0,0: 69:[76, 5, 12] Operation: 52-40=12
Exploring Operation: 76-40=36, Resulting Numbers: [52, 5, 36]
Generated Node #0,1: 69:[52, 5, 36] Operation: 76-40=36
Exploring Operation: 52+40=92, Resulting Numbers: [76, 5, 92]
Generated Node #0,2: 69:[76, 5, 92] Operation: 52+40=92
Exploring Operation: 40/5=8, Resulting Numbers: [76, 52, 8]
Generated Node #0,3: 69:[76, 52, 8] Operation: 40/5=8
Exploring Operation: 76-52=24, Resulting Numbers: [5, 40, 24]
Generated Node #0,4: 69:[5, 40, 24] Operation: 76-52=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[76, 5, 12], Operations: ['52-40=12']
Exploring Operation: 76-5=71, Resulting Numbers: [12, 71]
Generated Node #0,0,0: 69:[12, 71] Operation: 76-5=71
Exploring Operation: 12-5=7, Resulting Numbers: [76, 7]
Generated Node #0,0,1: 69:[76, 7] Operation: 12-5=7
Exploring Operation: 76-12=64, Resulting Numbers: [5, 64]
Generated Node #0,0,2: 69:[5, 64] Operation: 76-12=64
Exploring Operation: 5*12=60, Resulting Numbers: [76, 60]
Generated Node #0,0,3: 69:[76, 60] Operation: 5*12=60
Exploring Operation: 5+12=17, Resulting Numbers: [76, 17]
Generated Node #0,0,4: 69:[76, 17] Operation: 5+12=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[5, 64], Operations: ['52-40=12', '76-12=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[76, 52, 5, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [76, 5, 12]
Generated Node #0,0: 69:[76, 5, 12] Operation: 52-40=12
Moving to Node #0,0
Current State: 69:[76, 5, 12], Operations: ['52-40=12']
Exploring Operation: 76-12=64, Resulting Numbers: [5, 64]
Generated Node #0,0,2: 69:[5, 64] Operation: 76-12=64
Moving to Node #0,0,2
Current State: 69:[5, 64], Operations: ['52-40=12', '76-12=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
34,
30,
73,
21
] | 98 | [
"34-30=4",
"73+21=94",
"4+94=98"
] | Current State: 98:[34, 30, 73, 21], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [73, 21, 4]
Generated Node #2: [73, 21, 4] from Operation: 34-30=4
Current State: 98:[73, 21, 4], Operations: ['34-30=4']
Exploring Operation: 73+21=94, Resulting Numbers: [4, 94]
Generated Node #3: [4, 94] from Operation: 73+21=94
Current State: 98:[4, 94], Operations: ['34-30=4', '73+21=94']
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[34, 30, 73, 21], Operations: []
Exploring Operation: 34+73=107, Resulting Numbers: [30, 21, 107]
Generated Node #0,0: 98:[30, 21, 107] Operation: 34+73=107
Exploring Operation: 34-30=4, Resulting Numbers: [73, 21, 4]
Generated Node #0,1: 98:[73, 21, 4] Operation: 34-30=4
Exploring Operation: 73-30=43, Resulting Numbers: [34, 21, 43]
Generated Node #0,2: 98:[34, 21, 43] Operation: 73-30=43
Exploring Operation: 30+73=103, Resulting Numbers: [34, 21, 103]
Generated Node #0,3: 98:[34, 21, 103] Operation: 30+73=103
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[34, 21, 103], Operations: ['30+73=103']
Exploring Operation: 103-21=82, Resulting Numbers: [34, 82]
Generated Node #0,3,0: 98:[34, 82] Operation: 103-21=82
Exploring Operation: 103-34=69, Resulting Numbers: [21, 69]
Generated Node #0,3,1: 98:[21, 69] Operation: 103-34=69
Exploring Operation: 34-21=13, Resulting Numbers: [103, 13]
Generated Node #0,3,2: 98:[103, 13] Operation: 34-21=13
Exploring Operation: 34+21=55, Resulting Numbers: [103, 55]
Generated Node #0,3,3: 98:[103, 55] Operation: 34+21=55
Moving to Node #0,3,2
Current State: 98:[103, 13], Operations: ['30+73=103', '34-21=13']
Exploring Operation: 103-13=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 103*13=1339, Resulting Numbers: [1339]
1339,98 unequal: No Solution
Exploring Operation: 103+13=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[103, 55], Operations: ['30+73=103', '34+21=55']
Exploring Operation: 103-55=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 103*55=5665, Resulting Numbers: [5665]
5665,98 unequal: No Solution
Exploring Operation: 103+55=158, Resulting Numbers: [158]
158,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[21, 69], Operations: ['30+73=103', '103-34=69']
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,98 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[34, 82], Operations: ['30+73=103', '103-21=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,98 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[34, 21, 43], Operations: ['73-30=43']
Exploring Operation: 34+21=55, Resulting Numbers: [43, 55]
Generated Node #0,2,0: 98:[43, 55] Operation: 34+21=55
Exploring Operation: 43-34=9, Resulting Numbers: [21, 9]
Generated Node #0,2,1: 98:[21, 9] Operation: 43-34=9
Exploring Operation: 43-21=22, Resulting Numbers: [34, 22]
Generated Node #0,2,2: 98:[34, 22] Operation: 43-21=22
Exploring Operation: 34-21=13, Resulting Numbers: [43, 13]
Generated Node #0,2,3: 98:[43, 13] Operation: 34-21=13
Moving to Node #0,2,3
Current State: 98:[43, 13], Operations: ['73-30=43', '34-21=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,98 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[21, 9], Operations: ['73-30=43', '43-34=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,98 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[43, 55], Operations: ['73-30=43', '34+21=55']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[34, 30, 73, 21], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [34, 21, 43]
Generated Node #0,2: 98:[34, 21, 43] Operation: 73-30=43
Moving to Node #0,2
Current State: 98:[34, 21, 43], Operations: ['73-30=43']
Exploring Operation: 34+21=55, Resulting Numbers: [43, 55]
Generated Node #0,2,0: 98:[43, 55] Operation: 34+21=55
Moving to Node #0,2,0
Current State: 98:[43, 55], Operations: ['73-30=43', '34+21=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
81,
32,
83,
74
] | 84 | [
"83-81=2",
"74-32=42",
"2*42=84"
] | Current State: 84:[81, 32, 83, 74], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [32, 74, 2]
Generated Node #2: [32, 74, 2] from Operation: 83-81=2
Current State: 84:[32, 74, 2], Operations: ['83-81=2']
Exploring Operation: 74-32=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 74-32=42
Current State: 84:[2, 42], Operations: ['83-81=2', '74-32=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[81, 32, 83, 74], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [32, 83, 7]
Generated Node #0,0: 84:[32, 83, 7] Operation: 81-74=7
Exploring Operation: 74-32=42, Resulting Numbers: [81, 83, 42]
Generated Node #0,1: 84:[81, 83, 42] Operation: 74-32=42
Exploring Operation: 83-74=9, Resulting Numbers: [81, 32, 9]
Generated Node #0,2: 84:[81, 32, 9] Operation: 83-74=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[81, 83, 42], Operations: ['74-32=42']
Exploring Operation: 81-42=39, Resulting Numbers: [83, 39]
Generated Node #0,1,0: 84:[83, 39] Operation: 81-42=39
Exploring Operation: 83-42=41, Resulting Numbers: [81, 41]
Generated Node #0,1,1: 84:[81, 41] Operation: 83-42=41
Exploring Operation: 83-81=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 84:[42, 2] Operation: 83-81=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[42, 2], Operations: ['74-32=42', '83-81=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[81, 32, 83, 74], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [81, 83, 42]
Generated Node #0,1: 84:[81, 83, 42] Operation: 74-32=42
Moving to Node #0,1
Current State: 84:[81, 83, 42], Operations: ['74-32=42']
Exploring Operation: 83-81=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 84:[42, 2] Operation: 83-81=2
Moving to Node #0,1,2
Current State: 84:[42, 2], Operations: ['74-32=42', '83-81=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
48,
6,
28,
32
] | 33 | [
"28-6=22",
"48*22=1056",
"1056/32=33"
] | Current State: 33:[48, 6, 28, 32], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [48, 32, 22]
Generated Node #2: [48, 32, 22] from Operation: 28-6=22
Current State: 33:[48, 32, 22], Operations: ['28-6=22']
Exploring Operation: 48*22=1056, Resulting Numbers: [32, 1056]
Generated Node #3: [32, 1056] from Operation: 48*22=1056
Current State: 33:[32, 1056], Operations: ['28-6=22', '48*22=1056']
Exploring Operation: 1056/32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[48, 6, 28, 32], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [6, 28, 16]
Generated Node #0,0: 33:[6, 28, 16] Operation: 48-32=16
Exploring Operation: 48-28=20, Resulting Numbers: [6, 32, 20]
Generated Node #0,1: 33:[6, 32, 20] Operation: 48-28=20
Exploring Operation: 48-6=42, Resulting Numbers: [28, 32, 42]
Generated Node #0,2: 33:[28, 32, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [28, 32, 8]
Generated Node #0,3: 33:[28, 32, 8] Operation: 48/6=8
Moving to Node #0,3
Current State: 33:[28, 32, 8], Operations: ['48/6=8']
Exploring Operation: 28-8=20, Resulting Numbers: [32, 20]
Generated Node #0,3,0: 33:[32, 20] Operation: 28-8=20
Exploring Operation: 32-28=4, Resulting Numbers: [8, 4]
Generated Node #0,3,1: 33:[8, 4] Operation: 32-28=4
Exploring Operation: 32/8=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 33:[28, 4] Operation: 32/8=4
Exploring Operation: 28+8=36, Resulting Numbers: [32, 36]
Generated Node #0,3,3: 33:[32, 36] Operation: 28+8=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[8, 4], Operations: ['48/6=8', '32-28=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,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,3,3
Current State: 33:[32, 36], Operations: ['48/6=8', '28+8=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,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,3,2
Current State: 33:[28, 4], Operations: ['48/6=8', '32/8=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,33 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,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,3,0
Current State: 33:[32, 20], Operations: ['48/6=8', '28-8=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,33 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,33 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: 33:[6, 32, 20], Operations: ['48-28=20']
Exploring Operation: 20-6=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 33:[32, 14] Operation: 20-6=14
Exploring Operation: 32-20=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 33:[6, 12] Operation: 32-20=12
Exploring Operation: 6+20=26, Resulting Numbers: [32, 26]
Generated Node #0,1,2: 33:[32, 26] Operation: 6+20=26
Exploring Operation: 6+32=38, Resulting Numbers: [20, 38]
Generated Node #0,1,3: 33:[20, 38] Operation: 6+32=38
Moving to Node #0,0
Current State: 33:[6, 28, 16], Operations: ['48-32=16']
Exploring Operation: 16-6=10, Resulting Numbers: [28, 10]
Generated Node #0,0,0: 33:[28, 10] Operation: 16-6=10
Exploring Operation: 6+28=34, Resulting Numbers: [16, 34]
Generated Node #0,0,1: 33:[16, 34] Operation: 6+28=34
Exploring Operation: 28-16=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 33:[6, 12] Operation: 28-16=12
Exploring Operation: 28+16=44, Resulting Numbers: [6, 44]
Generated Node #0,0,3: 33:[6, 44] Operation: 28+16=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[6, 12], Operations: ['48-32=16', '28-16=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,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,0
Current State: 33:[28, 10], Operations: ['48-32=16', '16-6=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[16, 34], Operations: ['48-32=16', '6+28=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,33 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,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,3
Current State: 33:[6, 44], Operations: ['48-32=16', '28+16=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,33 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,33 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: 33:[28, 32, 42], Operations: ['48-6=42']
Exploring Operation: 32-28=4, Resulting Numbers: [42, 4]
Generated Node #0,2,0: 33:[42, 4] Operation: 32-28=4
Exploring Operation: 42-28=14, Resulting Numbers: [32, 14]
Generated Node #0,2,1: 33:[32, 14] Operation: 42-28=14
Exploring Operation: 28+32=60, Resulting Numbers: [42, 60]
Generated Node #0,2,2: 33:[42, 60] Operation: 28+32=60
Exploring Operation: 42-32=10, Resulting Numbers: [28, 10]
Generated Node #0,2,3: 33:[28, 10] Operation: 42-32=10
Moving to Node #0,1,0
Current State: 33:[32, 14], Operations: ['48-28=20', '20-6=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,33 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[6, 12], Operations: ['48-28=20', '32-20=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[32, 14], Operations: ['48-6=42', '42-28=14']
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,33 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[28, 10], Operations: ['48-6=42', '42-32=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[32, 26], Operations: ['48-28=20', '6+20=26']
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,33 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[42, 4], Operations: ['48-6=42', '32-28=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,33 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[20, 38], Operations: ['48-28=20', '6+32=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,33 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[42, 60], Operations: ['48-6=42', '28+32=60']
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,33 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,33 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
99,
33,
73
] | 71 | [
"73-5=68",
"99/33=3",
"68+3=71"
] | Current State: 71:[5, 99, 33, 73], Operations: []
Exploring Operation: 73-5=68, Resulting Numbers: [99, 33, 68]
Generated Node #2: [99, 33, 68] from Operation: 73-5=68
Current State: 71:[99, 33, 68], Operations: ['73-5=68']
Exploring Operation: 99/33=3, Resulting Numbers: [68, 3]
Generated Node #3: [68, 3] from Operation: 99/33=3
Current State: 71:[68, 3], Operations: ['73-5=68', '99/33=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[5, 99, 33, 73], Operations: []
Exploring Operation: 5+99=104, Resulting Numbers: [33, 73, 104]
Generated Node #0,0: 71:[33, 73, 104] Operation: 5+99=104
Exploring Operation: 73-5=68, Resulting Numbers: [99, 33, 68]
Generated Node #0,1: 71:[99, 33, 68] Operation: 73-5=68
Exploring Operation: 99-5=94, Resulting Numbers: [33, 73, 94]
Generated Node #0,2: 71:[33, 73, 94] Operation: 99-5=94
Exploring Operation: 5+33=38, Resulting Numbers: [99, 73, 38]
Generated Node #0,3: 71:[99, 73, 38] Operation: 5+33=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[33, 73, 94], Operations: ['99-5=94']
Exploring Operation: 33+73=106, Resulting Numbers: [94, 106]
Generated Node #0,2,0: 71:[94, 106] Operation: 33+73=106
Exploring Operation: 33+94=127, Resulting Numbers: [73, 127]
Generated Node #0,2,1: 71:[73, 127] Operation: 33+94=127
Exploring Operation: 94-33=61, Resulting Numbers: [73, 61]
Generated Node #0,2,2: 71:[73, 61] Operation: 94-33=61
Exploring Operation: 73-33=40, Resulting Numbers: [94, 40]
Generated Node #0,2,3: 71:[94, 40] Operation: 73-33=40
Moving to Node #0,2,2
Current State: 71:[73, 61], Operations: ['99-5=94', '94-33=61']
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,71 unequal: No Solution
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[94, 40], Operations: ['99-5=94', '73-33=40']
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 94*40=3760, Resulting Numbers: [3760]
3760,71 unequal: No Solution
Exploring Operation: 94+40=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[73, 127], Operations: ['99-5=94', '33+94=127']
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,71 unequal: No Solution
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 73*127=9271, Resulting Numbers: [9271]
9271,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[94, 106], Operations: ['99-5=94', '33+73=106']
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,71 unequal: No Solution
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,71 unequal: No Solution
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[99, 73, 38], Operations: ['5+33=38']
Exploring Operation: 73+38=111, Resulting Numbers: [99, 111]
Generated Node #0,3,0: 71:[99, 111] Operation: 73+38=111
Exploring Operation: 99+38=137, Resulting Numbers: [73, 137]
Generated Node #0,3,1: 71:[73, 137] Operation: 99+38=137
Exploring Operation: 99-38=61, Resulting Numbers: [73, 61]
Generated Node #0,3,2: 71:[73, 61] Operation: 99-38=61
Exploring Operation: 73-38=35, Resulting Numbers: [99, 35]
Generated Node #0,3,3: 71:[99, 35] Operation: 73-38=35
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[73, 61], Operations: ['5+33=38', '99-38=61']
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,71 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[99, 35], Operations: ['5+33=38', '73-38=35']
Exploring Operation: 99*35=3465, Resulting Numbers: [3465]
3465,71 unequal: No Solution
Exploring Operation: 99+35=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[99, 111], Operations: ['5+33=38', '73+38=111']
Exploring Operation: 99*111=10989, Resulting Numbers: [10989]
10989,71 unequal: No Solution
Exploring Operation: 99+111=210, Resulting Numbers: [210]
210,71 unequal: No Solution
Exploring Operation: 111-99=12, Resulting Numbers: [12]
12,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[73, 137], Operations: ['5+33=38', '99+38=137']
Exploring Operation: 137-73=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 73+137=210, Resulting Numbers: [210]
210,71 unequal: No Solution
Exploring Operation: 73*137=10001, Resulting Numbers: [10001]
10001,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[99, 33, 68], Operations: ['73-5=68']
Exploring Operation: 99+33=132, Resulting Numbers: [68, 132]
Generated Node #0,1,0: 71:[68, 132] Operation: 99+33=132
Exploring Operation: 68-33=35, Resulting Numbers: [99, 35]
Generated Node #0,1,1: 71:[99, 35] Operation: 68-33=35
Exploring Operation: 99-33=66, Resulting Numbers: [68, 66]
Generated Node #0,1,2: 71:[68, 66] Operation: 99-33=66
Exploring Operation: 33+68=101, Resulting Numbers: [99, 101]
Generated Node #0,1,3: 71:[99, 101] Operation: 33+68=101
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[68, 66], Operations: ['73-5=68', '99-33=66']
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 68*66=4488, Resulting Numbers: [4488]
4488,71 unequal: No Solution
Exploring Operation: 68+66=134, Resulting Numbers: [134]
134,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[99, 101], Operations: ['73-5=68', '33+68=101']
Exploring Operation: 101-99=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 99*101=9999, Resulting Numbers: [9999]
9999,71 unequal: No Solution
Exploring Operation: 99+101=200, Resulting Numbers: [200]
200,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[68, 132], Operations: ['73-5=68', '99+33=132']
Exploring Operation: 68*132=8976, Resulting Numbers: [8976]
8976,71 unequal: No Solution
Exploring Operation: 132-68=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 68+132=200, Resulting Numbers: [200]
200,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[99, 35], Operations: ['73-5=68', '68-33=35']
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 99+35=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 99*35=3465, Resulting Numbers: [3465]
3465,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[33, 73, 104], Operations: ['5+99=104']
Exploring Operation: 33+104=137, Resulting Numbers: [73, 137]
Generated Node #0,0,0: 71:[73, 137] Operation: 33+104=137
Exploring Operation: 104-33=71, Resulting Numbers: [73, 71]
Generated Node #0,0,1: 71:[73, 71] Operation: 104-33=71
Exploring Operation: 73-33=40, Resulting Numbers: [104, 40]
Generated Node #0,0,2: 71:[104, 40] Operation: 73-33=40
Exploring Operation: 33+73=106, Resulting Numbers: [104, 106]
Generated Node #0,0,3: 71:[104, 106] Operation: 33+73=106
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[73, 71], Operations: ['5+99=104', '104-33=71']
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 73+71=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 73*71=5183, Resulting Numbers: [5183]
5183,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[104, 40], Operations: ['5+99=104', '73-33=40']
Exploring Operation: 104*40=4160, Resulting Numbers: [4160]
4160,71 unequal: No Solution
Exploring Operation: 104+40=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 104-40=64, Resulting Numbers: [64]
64,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[73, 137], Operations: ['5+99=104', '33+104=137']
Exploring Operation: 73*137=10001, Resulting Numbers: [10001]
10001,71 unequal: No Solution
Exploring Operation: 137-73=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 73+137=210, Resulting Numbers: [210]
210,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[104, 106], Operations: ['5+99=104', '33+73=106']
Exploring Operation: 104*106=11024, Resulting Numbers: [11024]
11024,71 unequal: No Solution
Exploring Operation: 104+106=210, Resulting Numbers: [210]
210,71 unequal: No Solution
Exploring Operation: 106-104=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_4 | mult_heuristic |
[
32,
60,
24,
72
] | 27 | [
"32*60=1920",
"24+1920=1944",
"1944/72=27"
] | Current State: 27:[32, 60, 24, 72], Operations: []
Exploring Operation: 32*60=1920, Resulting Numbers: [24, 72, 1920]
Generated Node #2: [24, 72, 1920] from Operation: 32*60=1920
Current State: 27:[24, 72, 1920], Operations: ['32*60=1920']
Exploring Operation: 24+1920=1944, Resulting Numbers: [72, 1944]
Generated Node #3: [72, 1944] from Operation: 24+1920=1944
Current State: 27:[72, 1944], Operations: ['32*60=1920', '24+1920=1944']
Exploring Operation: 1944/72=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[32, 60, 24, 72], Operations: []
Exploring Operation: 60-32=28, Resulting Numbers: [24, 72, 28]
Generated Node #0,0: 27:[24, 72, 28] Operation: 60-32=28
Exploring Operation: 72/24=3, Resulting Numbers: [32, 60, 3]
Generated Node #0,1: 27:[32, 60, 3] Operation: 72/24=3
Exploring Operation: 72-60=12, Resulting Numbers: [32, 24, 12]
Generated Node #0,2: 27:[32, 24, 12] Operation: 72-60=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[32, 24, 12], Operations: ['72-60=12']
Exploring Operation: 24/12=2, Resulting Numbers: [32, 2]
Generated Node #0,2,0: 27:[32, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 27:[32, 12] Operation: 24-12=12
Exploring Operation: 32-24=8, Resulting Numbers: [12, 8]
Generated Node #0,2,2: 27:[12, 8] Operation: 32-24=8
Moving to Node #0,2,2
Current State: 27:[12, 8], Operations: ['72-60=12', '32-24=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[32, 2], Operations: ['72-60=12', '24/12=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[32, 12], Operations: ['72-60=12', '24-12=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,27 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[32, 60, 3], Operations: ['72/24=3']
Exploring Operation: 60-32=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 27:[3, 28] Operation: 60-32=28
Exploring Operation: 60/3=20, Resulting Numbers: [32, 20]
Generated Node #0,1,1: 27:[32, 20] Operation: 60/3=20
Exploring Operation: 32-3=29, Resulting Numbers: [60, 29]
Generated Node #0,1,2: 27:[60, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[3, 28], Operations: ['72/24=3', '60-32=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No 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: 27:[32, 20], Operations: ['72/24=3', '60/3=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,27 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,27 unequal: No Solution
No 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: 27:[60, 29], Operations: ['72/24=3', '32-3=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,27 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,27 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,27 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: 27:[24, 72, 28], Operations: ['60-32=28']
Exploring Operation: 72-28=44, Resulting Numbers: [24, 44]
Generated Node #0,0,0: 27:[24, 44] Operation: 72-28=44
Exploring Operation: 72-24=48, Resulting Numbers: [28, 48]
Generated Node #0,0,1: 27:[28, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [28, 3]
Generated Node #0,0,2: 27:[28, 3] Operation: 72/24=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[28, 3], Operations: ['60-32=28', '72/24=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No 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: 27:[24, 44], Operations: ['60-32=28', '72-28=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,27 unequal: No Solution
No 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: 27:[28, 48], Operations: ['60-32=28', '72-24=48']
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,27 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
1,
30,
17
] | 45 | [
"32*1=32",
"30-17=13",
"32+13=45"
] | Current State: 45:[32, 1, 30, 17], Operations: []
Exploring Operation: 32*1=32, Resulting Numbers: [30, 17, 32]
Generated Node #2: [30, 17, 32] from Operation: 32*1=32
Current State: 45:[30, 17, 32], Operations: ['32*1=32']
Exploring Operation: 30-17=13, Resulting Numbers: [32, 13]
Generated Node #3: [32, 13] from Operation: 30-17=13
Current State: 45:[32, 13], Operations: ['32*1=32', '30-17=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[32, 1, 30, 17], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [1, 17, 2]
Generated Node #0,0: 45:[1, 17, 2] Operation: 32-30=2
Exploring Operation: 32-17=15, Resulting Numbers: [1, 30, 15]
Generated Node #0,1: 45:[1, 30, 15] Operation: 32-17=15
Moving to Node #0,0
Current State: 45:[1, 17, 2], Operations: ['32-30=2']
Exploring Operation: 17-1=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 45:[2, 16] Operation: 17-1=16
Exploring Operation: 1+2=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 45:[17, 3] Operation: 1+2=3
Moving to Node #0,1
Current State: 45:[1, 30, 15], Operations: ['32-17=15']
Exploring Operation: 30+15=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 45:[1, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 45:[1, 15] Operation: 30-15=15
Moving to Node #0,0,0
Current State: 45:[2, 16], Operations: ['32-30=2', '17-1=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[1, 45], Operations: ['32-17=15', '30+15=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[32, 1, 30, 17], Operations: []
Exploring Operation: 32-17=15, Resulting Numbers: [1, 30, 15]
Generated Node #0,1: 45:[1, 30, 15] Operation: 32-17=15
Moving to Node #0,1
Current State: 45:[1, 30, 15], Operations: ['32-17=15']
Exploring Operation: 30+15=45, Resulting Numbers: [1, 45]
Generated Node #0,1,0: 45:[1, 45] Operation: 30+15=45
Moving to Node #0,1,0
Current State: 45:[1, 45], Operations: ['32-17=15', '30+15=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
32,
34,
34,
87
] | 70 | [
"34-32=2",
"34/2=17",
"87-17=70"
] | Current State: 70:[32, 34, 34, 87], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [87, 2]
Generated Node #2: [87, 2] from Operation: 34-32=2
Current State: 70:[87, 2], Operations: ['34-32=2']
Exploring Operation: 34/2=17, Resulting Numbers: [87, 17]
Generated Node #3: [87, 17] from Operation: 34/2=17
Current State: 70:[87, 17], Operations: ['34-32=2', '34/2=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[32, 34, 34, 87], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [34, 34, 55]
Generated Node #0,0: 70:[34, 34, 55] Operation: 87-32=55
Exploring Operation: 34-32=2, Resulting Numbers: [34, 87, 2]
Generated Node #0,1: 70:[34, 87, 2] Operation: 34-32=2
Exploring Operation: 34-32=2, Resulting Numbers: [34, 87, 2]
Generated Node #0,2: 70:[34, 87, 2] Operation: 34-32=2
Exploring Operation: 34/34=1, Resulting Numbers: [32, 87, 1]
Generated Node #0,3: 70:[32, 87, 1] Operation: 34/34=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[34, 34, 55], Operations: ['87-32=55']
Exploring Operation: 55-34=21, Resulting Numbers: [34, 21]
Generated Node #0,0,0: 70:[34, 21] Operation: 55-34=21
Exploring Operation: 55-34=21, Resulting Numbers: [34, 21]
Generated Node #0,0,1: 70:[34, 21] Operation: 55-34=21
Exploring Operation: 34+34=68, Resulting Numbers: [55, 68]
Generated Node #0,0,2: 70:[55, 68] Operation: 34+34=68
Exploring Operation: 34/34=1, Resulting Numbers: [55, 1]
Generated Node #0,0,3: 70:[55, 1] Operation: 34/34=1
Moving to Node #0,0,0
Current State: 70:[34, 21], Operations: ['87-32=55', '55-34=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,70 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[34, 21], Operations: ['87-32=55', '55-34=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[55, 1], Operations: ['87-32=55', '34/34=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[55, 68], Operations: ['87-32=55', '34+34=68']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,70 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[34, 87, 2], Operations: ['34-32=2']
Exploring Operation: 87-34=53, Resulting Numbers: [2, 53]
Generated Node #0,1,0: 70:[2, 53] Operation: 87-34=53
Exploring Operation: 87-2=85, Resulting Numbers: [34, 85]
Generated Node #0,1,1: 70:[34, 85] Operation: 87-2=85
Exploring Operation: 34*2=68, Resulting Numbers: [87, 68]
Generated Node #0,1,2: 70:[87, 68] Operation: 34*2=68
Exploring Operation: 34+2=36, Resulting Numbers: [87, 36]
Generated Node #0,1,3: 70:[87, 36] Operation: 34+2=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[34, 85], Operations: ['34-32=2', '87-2=85']
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,70 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[2, 53], Operations: ['34-32=2', '87-34=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[87, 36], Operations: ['34-32=2', '34+2=36']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,70 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[87, 68], Operations: ['34-32=2', '34*2=68']
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,70 unequal: No Solution
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,70 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[34, 87, 2], Operations: ['34-32=2']
Exploring Operation: 87-2=85, Resulting Numbers: [34, 85]
Generated Node #0,2,0: 70:[34, 85] Operation: 87-2=85
Exploring Operation: 34*2=68, Resulting Numbers: [87, 68]
Generated Node #0,2,1: 70:[87, 68] Operation: 34*2=68
Exploring Operation: 34+2=36, Resulting Numbers: [87, 36]
Generated Node #0,2,2: 70:[87, 36] Operation: 34+2=36
Exploring Operation: 87-34=53, Resulting Numbers: [2, 53]
Generated Node #0,2,3: 70:[2, 53] Operation: 87-34=53
Moving to Node #0,2,0
Current State: 70:[34, 85], Operations: ['34-32=2', '87-2=85']
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,70 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[2, 53], Operations: ['34-32=2', '87-34=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[87, 36], Operations: ['34-32=2', '34+2=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,70 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,70 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[87, 68], Operations: ['34-32=2', '34*2=68']
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,70 unequal: No Solution
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,70 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[32, 87, 1], Operations: ['34/34=1']
Exploring Operation: 87-1=86, Resulting Numbers: [32, 86]
Generated Node #0,3,0: 70:[32, 86] Operation: 87-1=86
Exploring Operation: 87-32=55, Resulting Numbers: [1, 55]
Generated Node #0,3,1: 70:[1, 55] Operation: 87-32=55
Exploring Operation: 32+1=33, Resulting Numbers: [87, 33]
Generated Node #0,3,2: 70:[87, 33] Operation: 32+1=33
Exploring Operation: 32*1=32, Resulting Numbers: [87, 32]
Generated Node #0,3,3: 70:[87, 32] Operation: 32*1=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[1, 55], Operations: ['34/34=1', '87-32=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[32, 86], Operations: ['34/34=1', '87-1=86']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,70 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[87, 33], Operations: ['34/34=1', '32+1=33']
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,70 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[87, 32], Operations: ['34/34=1', '32*1=32']
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
39,
40,
41
] | 60 | [
"41-39=2",
"40/2=20",
"40+20=60"
] | Current State: 60:[40, 39, 40, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [40, 40, 2]
Generated Node #2: [40, 40, 2] from Operation: 41-39=2
Current State: 60:[40, 40, 2], Operations: ['41-39=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,60 equal: Goal Reached
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 39, 40, 41], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [39, 40, 1]
Generated Node #0,0: 60:[39, 40, 1] Operation: 41-40=1
Exploring Operation: 40/40=1, Resulting Numbers: [39, 41, 1]
Generated Node #0,1: 60:[39, 41, 1] Operation: 40/40=1
Exploring Operation: 40-39=1, Resulting Numbers: [40, 41, 1]
Generated Node #0,2: 60:[40, 41, 1] Operation: 40-39=1
Exploring Operation: 41-39=2, Resulting Numbers: [40, 40, 2]
Generated Node #0,3: 60:[40, 40, 2] Operation: 41-39=2
Exploring Operation: 41-40=1, Resulting Numbers: [40, 39, 1]
Generated Node #0,4: 60:[40, 39, 1] Operation: 41-40=1
Moving to Node #0,0
Current State: 60:[39, 40, 1], Operations: ['41-40=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39, 39]
Generated Node #0,0,0: 60:[39, 39] Operation: 40-1=39
Exploring Operation: 39-1=38, Resulting Numbers: [40, 38]
Generated Node #0,0,1: 60:[40, 38] Operation: 39-1=38
Exploring Operation: 40-39=1, Resulting Numbers: [1, 1]
Generated Node #0,0,2: 60:[1, 1] Operation: 40-39=1
Exploring Operation: 39*1=39, Resulting Numbers: [40, 39]
Generated Node #0,0,3: 60:[40, 39] Operation: 39*1=39
Exploring Operation: 39/1=39, Resulting Numbers: [40, 39]
Generated Node #0,0,4: 60:[40, 39] Operation: 39/1=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[1, 1], Operations: ['41-40=1', '40-39=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,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,0
Current State: 60:[39, 39], Operations: ['41-40=1', '40-1=39']
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,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,1
Current State: 60:[40, 38], Operations: ['41-40=1', '39-1=38']
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,60 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,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,3
Current State: 60:[40, 39], Operations: ['41-40=1', '39*1=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,60 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,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,4
Current State: 60:[40, 39], Operations: ['41-40=1', '39/1=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,60 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,60 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: 60:[40, 39, 1], Operations: ['41-40=1']
Exploring Operation: 40/1=40, Resulting Numbers: [39, 40]
Generated Node #0,4,0: 60:[39, 40] Operation: 40/1=40
Exploring Operation: 40-39=1, Resulting Numbers: [1, 1]
Generated Node #0,4,1: 60:[1, 1] Operation: 40-39=1
Exploring Operation: 39-1=38, Resulting Numbers: [40, 38]
Generated Node #0,4,2: 60:[40, 38] Operation: 39-1=38
Exploring Operation: 40-1=39, Resulting Numbers: [39, 39]
Generated Node #0,4,3: 60:[39, 39] Operation: 40-1=39
Exploring Operation: 40*1=40, Resulting Numbers: [39, 40]
Generated Node #0,4,4: 60:[39, 40] Operation: 40*1=40
Moving to Node #0,3
Current State: 60:[40, 40, 2], Operations: ['41-39=2']
Exploring Operation: 40-40=0, Resulting Numbers: [2, 0]
Generated Node #0,3,0: 60:[2, 0] Operation: 40-40=0
Exploring Operation: 40/2=20, Resulting Numbers: [40, 20]
Generated Node #0,3,1: 60:[40, 20] Operation: 40/2=20
Exploring Operation: 40/2=20, Resulting Numbers: [40, 20]
Generated Node #0,3,2: 60:[40, 20] Operation: 40/2=20
Exploring Operation: 40-2=38, Resulting Numbers: [40, 38]
Generated Node #0,3,3: 60:[40, 38] Operation: 40-2=38
Exploring Operation: 40/40=1, Resulting Numbers: [2, 1]
Generated Node #0,3,4: 60:[2, 1] Operation: 40/40=1
Moving to Node #0,1
Current State: 60:[39, 41, 1], Operations: ['40/40=1']
Exploring Operation: 41-1=40, Resulting Numbers: [39, 40]
Generated Node #0,1,0: 60:[39, 40] Operation: 41-1=40
Exploring Operation: 39*1=39, Resulting Numbers: [41, 39]
Generated Node #0,1,1: 60:[41, 39] Operation: 39*1=39
Exploring Operation: 41-39=2, Resulting Numbers: [1, 2]
Generated Node #0,1,2: 60:[1, 2] Operation: 41-39=2
Exploring Operation: 39/1=39, Resulting Numbers: [41, 39]
Generated Node #0,1,3: 60:[41, 39] Operation: 39/1=39
Exploring Operation: 39-1=38, Resulting Numbers: [41, 38]
Generated Node #0,1,4: 60:[41, 38] Operation: 39-1=38
Moving to Node #0,2
Current State: 60:[40, 41, 1], Operations: ['40-39=1']
Exploring Operation: 40/1=40, Resulting Numbers: [41, 40]
Generated Node #0,2,0: 60:[41, 40] Operation: 40/1=40
Exploring Operation: 40*1=40, Resulting Numbers: [41, 40]
Generated Node #0,2,1: 60:[41, 40] Operation: 40*1=40
Exploring Operation: 41-40=1, Resulting Numbers: [1, 1]
Generated Node #0,2,2: 60:[1, 1] Operation: 41-40=1
Exploring Operation: 41-1=40, Resulting Numbers: [40, 40]
Generated Node #0,2,3: 60:[40, 40] Operation: 41-1=40
Exploring Operation: 40-1=39, Resulting Numbers: [41, 39]
Generated Node #0,2,4: 60:[41, 39] Operation: 40-1=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[1, 1], Operations: ['40-39=1', '41-40=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[40, 40], Operations: ['40-39=1', '41-1=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,60 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[41, 39], Operations: ['40-39=1', '40-1=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[41, 40], Operations: ['40-39=1', '40/1=40']
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,60 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[41, 40], Operations: ['40-39=1', '40*1=40']
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 60:[2, 1], Operations: ['41-39=2', '40/40=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[1, 2], Operations: ['40/40=1', '41-39=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[1, 1], Operations: ['41-40=1', '40-39=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[2, 0], Operations: ['41-39=2', '40-40=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[40, 20], Operations: ['41-39=2', '40/2=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,60 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[40, 39, 40, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [40, 40, 2]
Generated Node #0,3: 60:[40, 40, 2] Operation: 41-39=2
Moving to Node #0,3
Current State: 60:[40, 40, 2], Operations: ['41-39=2']
Exploring Operation: 40/2=20, Resulting Numbers: [40, 20]
Generated Node #0,3,1: 60:[40, 20] Operation: 40/2=20
Moving to Node #0,3,1
Current State: 60:[40, 20], Operations: ['41-39=2', '40/2=20']
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.925347 | hs_5 | mult_heuristic |
[
3,
98,
12,
41
] | 42 | [
"98-3=95",
"12+41=53",
"95-53=42"
] | Current State: 42:[3, 98, 12, 41], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [12, 41, 95]
Generated Node #2: [12, 41, 95] from Operation: 98-3=95
Current State: 42:[12, 41, 95], Operations: ['98-3=95']
Exploring Operation: 12+41=53, Resulting Numbers: [95, 53]
Generated Node #3: [95, 53] from Operation: 12+41=53
Current State: 42:[95, 53], Operations: ['98-3=95', '12+41=53']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 98, 12, 41], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [3, 12, 57]
Generated Node #0,0: 42:[3, 12, 57] Operation: 98-41=57
Exploring Operation: 98-12=86, Resulting Numbers: [3, 41, 86]
Generated Node #0,1: 42:[3, 41, 86] Operation: 98-12=86
Moving to Node #0,0
Current State: 42:[3, 12, 57], Operations: ['98-41=57']
Exploring Operation: 57/3=19, Resulting Numbers: [12, 19]
Generated Node #0,0,0: 42:[12, 19] Operation: 57/3=19
Exploring Operation: 57-12=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 42:[3, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[3, 45], Operations: ['98-41=57', '57-12=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[3, 98, 12, 41], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [3, 12, 57]
Generated Node #0,0: 42:[3, 12, 57] Operation: 98-41=57
Moving to Node #0,0
Current State: 42:[3, 12, 57], Operations: ['98-41=57']
Exploring Operation: 57-12=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 42:[3, 45] Operation: 57-12=45
Moving to Node #0,0,1
Current State: 42:[3, 45], Operations: ['98-41=57', '57-12=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
78,
61,
90
] | 76 | [
"78-3=75",
"61+90=151",
"151-75=76"
] | Current State: 76:[3, 78, 61, 90], Operations: []
Exploring Operation: 78-3=75, Resulting Numbers: [61, 90, 75]
Generated Node #2: [61, 90, 75] from Operation: 78-3=75
Current State: 76:[61, 90, 75], Operations: ['78-3=75']
Exploring Operation: 61+90=151, Resulting Numbers: [75, 151]
Generated Node #3: [75, 151] from Operation: 61+90=151
Current State: 76:[75, 151], Operations: ['78-3=75', '61+90=151']
Exploring Operation: 151-75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 78, 61, 90], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [3, 78, 29]
Generated Node #0,0: 76:[3, 78, 29] Operation: 90-61=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 78, 29], Operations: ['90-61=29']
Exploring Operation: 3+29=32, Resulting Numbers: [78, 32]
Generated Node #0,0,0: 76:[78, 32] Operation: 3+29=32
Moving to Node #0,0,0
Current State: 76:[78, 32], Operations: ['90-61=29', '3+29=32']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,76 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 |
[
40,
81,
33,
53
] | 83 | [
"53-33=20",
"40/20=2",
"81+2=83"
] | Current State: 83:[40, 81, 33, 53], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [40, 81, 20]
Generated Node #2: [40, 81, 20] from Operation: 53-33=20
Current State: 83:[40, 81, 20], Operations: ['53-33=20']
Exploring Operation: 40/20=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 40/20=2
Current State: 83:[81, 2], Operations: ['53-33=20', '40/20=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[40, 81, 33, 53], Operations: []
Exploring Operation: 33+53=86, Resulting Numbers: [40, 81, 86]
Generated Node #0,0: 83:[40, 81, 86] Operation: 33+53=86
Exploring Operation: 40+53=93, Resulting Numbers: [81, 33, 93]
Generated Node #0,1: 83:[81, 33, 93] Operation: 40+53=93
Exploring Operation: 40+33=73, Resulting Numbers: [81, 53, 73]
Generated Node #0,2: 83:[81, 53, 73] Operation: 40+33=73
Moving to Node #0,2
Current State: 83:[81, 53, 73], Operations: ['40+33=73']
Exploring Operation: 81+53=134, Resulting Numbers: [73, 134]
Generated Node #0,2,0: 83:[73, 134] Operation: 81+53=134
Exploring Operation: 81-53=28, Resulting Numbers: [73, 28]
Generated Node #0,2,1: 83:[73, 28] Operation: 81-53=28
Exploring Operation: 53+73=126, Resulting Numbers: [81, 126]
Generated Node #0,2,2: 83:[81, 126] Operation: 53+73=126
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[81, 126], Operations: ['40+33=73', '53+73=126']
Exploring Operation: 81+126=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 81*126=10206, Resulting Numbers: [10206]
10206,83 unequal: No Solution
Exploring Operation: 126-81=45, Resulting Numbers: [45]
45,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,2,0
Current State: 83:[73, 134], Operations: ['40+33=73', '81+53=134']
Exploring Operation: 134-73=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 73+134=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 73*134=9782, Resulting Numbers: [9782]
9782,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,2,1
Current State: 83:[73, 28], Operations: ['40+33=73', '81-53=28']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,83 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: 83:[40, 81, 86], Operations: ['33+53=86']
Exploring Operation: 81-40=41, Resulting Numbers: [86, 41]
Generated Node #0,0,0: 83:[86, 41] Operation: 81-40=41
Exploring Operation: 40+81=121, Resulting Numbers: [86, 121]
Generated Node #0,0,1: 83:[86, 121] Operation: 40+81=121
Exploring Operation: 86-40=46, Resulting Numbers: [81, 46]
Generated Node #0,0,2: 83:[81, 46] Operation: 86-40=46
Moving to Node #0,1
Current State: 83:[81, 33, 93], Operations: ['40+53=93']
Exploring Operation: 93-33=60, Resulting Numbers: [81, 60]
Generated Node #0,1,0: 83:[81, 60] Operation: 93-33=60
Exploring Operation: 81-33=48, Resulting Numbers: [93, 48]
Generated Node #0,1,1: 83:[93, 48] Operation: 81-33=48
Exploring Operation: 81+33=114, Resulting Numbers: [93, 114]
Generated Node #0,1,2: 83:[93, 114] Operation: 81+33=114
Moving to Node #0,1,0
Current State: 83:[81, 60], Operations: ['40+53=93', '93-33=60']
Exploring Operation: 81+60=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 81*60=4860, Resulting Numbers: [4860]
4860,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[81, 46], Operations: ['33+53=86', '86-40=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,83 unequal: No Solution
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[93, 114], Operations: ['40+53=93', '81+33=114']
Exploring Operation: 114-93=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 93+114=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 93*114=10602, Resulting Numbers: [10602]
10602,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[86, 121], Operations: ['33+53=86', '40+81=121']
Exploring Operation: 86*121=10406, Resulting Numbers: [10406]
10406,83 unequal: No Solution
Exploring Operation: 121-86=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 86+121=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[93, 48], Operations: ['40+53=93', '81-33=48']
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 93+48=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 93*48=4464, Resulting Numbers: [4464]
4464,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[86, 41], Operations: ['33+53=86', '81-40=41']
Exploring Operation: 86*41=3526, Resulting Numbers: [3526]
3526,83 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,83 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
30,
35,
37,
28
] | 13 | [
"35-30=5",
"37+28=65",
"65/5=13"
] | Current State: 13:[30, 35, 37, 28], Operations: []
Exploring Operation: 35-30=5, Resulting Numbers: [37, 28, 5]
Generated Node #2: [37, 28, 5] from Operation: 35-30=5
Current State: 13:[37, 28, 5], Operations: ['35-30=5']
Exploring Operation: 37+28=65, Resulting Numbers: [5, 65]
Generated Node #3: [5, 65] from Operation: 37+28=65
Current State: 13:[5, 65], Operations: ['35-30=5', '37+28=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[30, 35, 37, 28], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [30, 35, 9]
Generated Node #0,0: 13:[30, 35, 9] Operation: 37-28=9
Exploring Operation: 37-30=7, Resulting Numbers: [35, 28, 7]
Generated Node #0,1: 13:[35, 28, 7] Operation: 37-30=7
Exploring Operation: 37-35=2, Resulting Numbers: [30, 28, 2]
Generated Node #0,2: 13:[30, 28, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[30, 35, 9], Operations: ['37-28=9']
Exploring Operation: 35-9=26, Resulting Numbers: [30, 26]
Generated Node #0,0,0: 13:[30, 26] Operation: 35-9=26
Exploring Operation: 35-30=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 13:[9, 5] Operation: 35-30=5
Exploring Operation: 30-9=21, Resulting Numbers: [35, 21]
Generated Node #0,0,2: 13:[35, 21] Operation: 30-9=21
Moving to Node #0,0,1
Current State: 13:[9, 5], Operations: ['37-28=9', '35-30=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[30, 26], Operations: ['37-28=9', '35-9=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,13 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[35, 21], Operations: ['37-28=9', '30-9=21']
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,13 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[35, 28, 7], Operations: ['37-30=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 13:[28, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [28, 5]
Generated Node #0,1,1: 13:[28, 5] Operation: 35/7=5
Exploring Operation: 35-28=7, Resulting Numbers: [7, 7]
Generated Node #0,1,2: 13:[7, 7] Operation: 35-28=7
Moving to Node #0,1,2
Current State: 13:[7, 7], Operations: ['37-30=7', '35-28=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[28, 5], Operations: ['37-30=7', '35/7=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[28, 28], Operations: ['37-30=7', '35-7=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,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,2
Current State: 13:[30, 28, 2], Operations: ['37-35=2']
Exploring Operation: 28/2=14, Resulting Numbers: [30, 14]
Generated Node #0,2,0: 13:[30, 14] Operation: 28/2=14
Exploring Operation: 30/2=15, Resulting Numbers: [28, 15]
Generated Node #0,2,1: 13:[28, 15] Operation: 30/2=15
Exploring Operation: 30-28=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 13:[2, 2] Operation: 30-28=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[28, 15], Operations: ['37-35=2', '30/2=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[30, 35, 37, 28], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [30, 28, 2]
Generated Node #0,2: 13:[30, 28, 2] Operation: 37-35=2
Moving to Node #0,2
Current State: 13:[30, 28, 2], Operations: ['37-35=2']
Exploring Operation: 30/2=15, Resulting Numbers: [28, 15]
Generated Node #0,2,1: 13:[28, 15] Operation: 30/2=15
Moving to Node #0,2,1
Current State: 13:[28, 15], Operations: ['37-35=2', '30/2=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
85,
87,
80,
23
] | 28 | [
"85-80=5",
"23*5=115",
"115-87=28"
] | Current State: 28:[85, 87, 80, 23], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [87, 23, 5]
Generated Node #2: [87, 23, 5] from Operation: 85-80=5
Current State: 28:[87, 23, 5], Operations: ['85-80=5']
Exploring Operation: 23*5=115, Resulting Numbers: [87, 115]
Generated Node #3: [87, 115] from Operation: 23*5=115
Current State: 28:[87, 115], Operations: ['85-80=5', '23*5=115']
Exploring Operation: 115-87=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[85, 87, 80, 23], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [80, 23, 2]
Generated Node #0,0: 28:[80, 23, 2] Operation: 87-85=2
Exploring Operation: 85-80=5, Resulting Numbers: [87, 23, 5]
Generated Node #0,1: 28:[87, 23, 5] Operation: 85-80=5
Exploring Operation: 85-23=62, Resulting Numbers: [87, 80, 62]
Generated Node #0,2: 28:[87, 80, 62] Operation: 85-23=62
Exploring Operation: 87-80=7, Resulting Numbers: [85, 23, 7]
Generated Node #0,3: 28:[85, 23, 7] Operation: 87-80=7
Exploring Operation: 87-23=64, Resulting Numbers: [85, 80, 64]
Generated Node #0,4: 28:[85, 80, 64] Operation: 87-23=64
Moving to Node #0,0
Current State: 28:[80, 23, 2], Operations: ['87-85=2']
Exploring Operation: 80-2=78, Resulting Numbers: [23, 78]
Generated Node #0,0,0: 28:[23, 78] Operation: 80-2=78
Exploring Operation: 80+2=82, Resulting Numbers: [23, 82]
Generated Node #0,0,1: 28:[23, 82] Operation: 80+2=82
Exploring Operation: 80-23=57, Resulting Numbers: [2, 57]
Generated Node #0,0,2: 28:[2, 57] Operation: 80-23=57
Exploring Operation: 23+2=25, Resulting Numbers: [80, 25]
Generated Node #0,0,3: 28:[80, 25] Operation: 23+2=25
Exploring Operation: 80/2=40, Resulting Numbers: [23, 40]
Generated Node #0,0,4: 28:[23, 40] Operation: 80/2=40
Moving to Node #0,3
Current State: 28:[85, 23, 7], Operations: ['87-80=7']
Exploring Operation: 23-7=16, Resulting Numbers: [85, 16]
Generated Node #0,3,0: 28:[85, 16] Operation: 23-7=16
Exploring Operation: 85-7=78, Resulting Numbers: [23, 78]
Generated Node #0,3,1: 28:[23, 78] Operation: 85-7=78
Exploring Operation: 85-23=62, Resulting Numbers: [7, 62]
Generated Node #0,3,2: 28:[7, 62] Operation: 85-23=62
Exploring Operation: 85+7=92, Resulting Numbers: [23, 92]
Generated Node #0,3,3: 28:[23, 92] Operation: 85+7=92
Exploring Operation: 23+7=30, Resulting Numbers: [85, 30]
Generated Node #0,3,4: 28:[85, 30] Operation: 23+7=30
Moving to Node #0,1
Current State: 28:[87, 23, 5], Operations: ['85-80=5']
Exploring Operation: 87+5=92, Resulting Numbers: [23, 92]
Generated Node #0,1,0: 28:[23, 92] Operation: 87+5=92
Exploring Operation: 87-5=82, Resulting Numbers: [23, 82]
Generated Node #0,1,1: 28:[23, 82] Operation: 87-5=82
Exploring Operation: 87-23=64, Resulting Numbers: [5, 64]
Generated Node #0,1,2: 28:[5, 64] Operation: 87-23=64
Exploring Operation: 23+5=28, Resulting Numbers: [87, 28]
Generated Node #0,1,3: 28:[87, 28] Operation: 23+5=28
Exploring Operation: 23-5=18, Resulting Numbers: [87, 18]
Generated Node #0,1,4: 28:[87, 18] Operation: 23-5=18
Moving to Node #0,2
Current State: 28:[87, 80, 62], Operations: ['85-23=62']
Exploring Operation: 87-62=25, Resulting Numbers: [80, 25]
Generated Node #0,2,0: 28:[80, 25] Operation: 87-62=25
Exploring Operation: 80-62=18, Resulting Numbers: [87, 18]
Generated Node #0,2,1: 28:[87, 18] Operation: 80-62=18
Exploring Operation: 87+62=149, Resulting Numbers: [80, 149]
Generated Node #0,2,2: 28:[80, 149] Operation: 87+62=149
Exploring Operation: 87+80=167, Resulting Numbers: [62, 167]
Generated Node #0,2,3: 28:[62, 167] Operation: 87+80=167
Exploring Operation: 87-80=7, Resulting Numbers: [62, 7]
Generated Node #0,2,4: 28:[62, 7] Operation: 87-80=7
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[62, 7], Operations: ['85-23=62', '87-80=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,28 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,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,2,0
Current State: 28:[80, 25], Operations: ['85-23=62', '87-62=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,28 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,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,2,1
Current State: 28:[87, 18], Operations: ['85-23=62', '80-62=18']
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,28 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,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,2,2
Current State: 28:[80, 149], Operations: ['85-23=62', '87+62=149']
Exploring Operation: 80*149=11920, Resulting Numbers: [11920]
11920,28 unequal: No Solution
Exploring Operation: 149-80=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 80+149=229, Resulting Numbers: [229]
229,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,2,3
Current State: 28:[62, 167], Operations: ['85-23=62', '87+80=167']
Exploring Operation: 62*167=10354, Resulting Numbers: [10354]
10354,28 unequal: No Solution
Exploring Operation: 167-62=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 62+167=229, Resulting Numbers: [229]
229,28 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: 28:[85, 80, 64], Operations: ['87-23=64']
Exploring Operation: 85-80=5, Resulting Numbers: [64, 5]
Generated Node #0,4,0: 28:[64, 5] Operation: 85-80=5
Exploring Operation: 85-64=21, Resulting Numbers: [80, 21]
Generated Node #0,4,1: 28:[80, 21] Operation: 85-64=21
Exploring Operation: 80-64=16, Resulting Numbers: [85, 16]
Generated Node #0,4,2: 28:[85, 16] Operation: 80-64=16
Exploring Operation: 85+80=165, Resulting Numbers: [64, 165]
Generated Node #0,4,3: 28:[64, 165] Operation: 85+80=165
Exploring Operation: 85+64=149, Resulting Numbers: [80, 149]
Generated Node #0,4,4: 28:[80, 149] Operation: 85+64=149
Moving to Node #0,0,4
Current State: 28:[23, 40], Operations: ['87-85=2', '80/2=40']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[2, 57], Operations: ['87-85=2', '80-23=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,28 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[7, 62], Operations: ['87-80=7', '85-23=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[5, 64], Operations: ['85-80=5', '87-23=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[64, 5], Operations: ['87-23=64', '85-80=5']
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,28 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[23, 78], Operations: ['87-80=7', '85-7=78']
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[23, 78], Operations: ['87-85=2', '80-2=78']
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,28 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[80, 25], Operations: ['87-85=2', '23+2=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,28 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[87, 28], Operations: ['85-80=5', '23+5=28']
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[85, 16], Operations: ['87-80=7', '23-7=16']
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,28 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[23, 82], Operations: ['85-80=5', '87-5=82']
Exploring Operation: 23*82=1886, Resulting Numbers: [1886]
1886,28 unequal: No Solution
Exploring Operation: 23+82=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[23, 82], Operations: ['87-85=2', '80+2=82']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 23*82=1886, Resulting Numbers: [1886]
1886,28 unequal: No Solution
Exploring Operation: 23+82=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[85, 30], Operations: ['87-80=7', '23+7=30']
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,28 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[85, 16], Operations: ['87-23=64', '80-64=16']
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,28 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[80, 21], Operations: ['87-23=64', '85-64=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,28 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[87, 18], Operations: ['85-80=5', '23-5=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[23, 92], Operations: ['85-80=5', '87+5=92']
Exploring Operation: 23+92=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 23*92=2116, Resulting Numbers: [2116]
2116,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[23, 92], Operations: ['87-80=7', '85+7=92']
Exploring Operation: 23+92=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 23*92=2116, Resulting Numbers: [2116]
2116,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[64, 165], Operations: ['87-23=64', '85+80=165']
Exploring Operation: 165-64=101, Resulting Numbers: [101]
101,28 unequal: No Solution
Exploring Operation: 64+165=229, Resulting Numbers: [229]
229,28 unequal: No Solution
Exploring Operation: 64*165=10560, Resulting Numbers: [10560]
10560,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[80, 149], Operations: ['87-23=64', '85+64=149']
Exploring Operation: 80*149=11920, Resulting Numbers: [11920]
11920,28 unequal: No Solution
Exploring Operation: 80+149=229, Resulting Numbers: [229]
229,28 unequal: No Solution
Exploring Operation: 149-80=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
24,
20,
4
] | 31 | [
"24-20=4",
"4/4=1",
"32-1=31"
] | Current State: 31:[32, 24, 20, 4], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [32, 4, 4]
Generated Node #2: [32, 4, 4] from Operation: 24-20=4
Current State: 31:[32, 4, 4], Operations: ['24-20=4']
Exploring Operation: 4/4=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 4/4=1
Current State: 31:[32, 1], Operations: ['24-20=4', '4/4=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[32, 24, 20, 4], Operations: []
Exploring Operation: 24+4=28, Resulting Numbers: [32, 20, 28]
Generated Node #0,0: 31:[32, 20, 28] Operation: 24+4=28
Moving to Node #0,0
Current State: 31:[32, 20, 28], Operations: ['24+4=28']
Exploring Operation: 20+28=48, Resulting Numbers: [32, 48]
Generated Node #0,0,0: 31:[32, 48] Operation: 20+28=48
Moving to Node #0,0,0
Current State: 31:[32, 48], Operations: ['24+4=28', '20+28=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,31 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
20,
9,
41
] | 27 | [
"57+20=77",
"9+41=50",
"77-50=27"
] | Current State: 27:[57, 20, 9, 41], Operations: []
Exploring Operation: 57+20=77, Resulting Numbers: [9, 41, 77]
Generated Node #2: [9, 41, 77] from Operation: 57+20=77
Current State: 27:[9, 41, 77], Operations: ['57+20=77']
Exploring Operation: 9+41=50, Resulting Numbers: [77, 50]
Generated Node #3: [77, 50] from Operation: 9+41=50
Current State: 27:[77, 50], Operations: ['57+20=77', '9+41=50']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[57, 20, 9, 41], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [9, 41, 37]
Generated Node #0,0: 27:[9, 41, 37] Operation: 57-20=37
Exploring Operation: 57-41=16, Resulting Numbers: [20, 9, 16]
Generated Node #0,1: 27:[20, 9, 16] Operation: 57-41=16
Moving to Node #0,1
Current State: 27:[20, 9, 16], Operations: ['57-41=16']
Exploring Operation: 20+9=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 27:[16, 29] Operation: 20+9=29
Exploring Operation: 20-16=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 27:[9, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[9, 4], Operations: ['57-41=16', '20-16=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[16, 29], Operations: ['57-41=16', '20+9=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,27 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: 27:[9, 41, 37], Operations: ['57-20=37']
Exploring Operation: 41-9=32, Resulting Numbers: [37, 32]
Generated Node #0,0,0: 27:[37, 32] Operation: 41-9=32
Exploring Operation: 41-37=4, Resulting Numbers: [9, 4]
Generated Node #0,0,1: 27:[9, 4] Operation: 41-37=4
Moving to Node #0,0,1
Current State: 27:[9, 4], Operations: ['57-20=37', '41-37=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[37, 32], Operations: ['57-20=37', '41-9=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
11,
50,
83
] | 66 | [
"39+50=89",
"89-83=6",
"11*6=66"
] | Current State: 66:[39, 11, 50, 83], Operations: []
Exploring Operation: 39+50=89, Resulting Numbers: [11, 83, 89]
Generated Node #2: [11, 83, 89] from Operation: 39+50=89
Current State: 66:[11, 83, 89], Operations: ['39+50=89']
Exploring Operation: 89-83=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 89-83=6
Current State: 66:[11, 6], Operations: ['39+50=89', '89-83=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[39, 11, 50, 83], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [39, 11, 33]
Generated Node #0,0: 66:[39, 11, 33] Operation: 83-50=33
Moving to Node #0,0
Current State: 66:[39, 11, 33], Operations: ['83-50=33']
Exploring Operation: 39-33=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 66:[11, 6] Operation: 39-33=6
Moving to Node #0,0,0
Current State: 66:[11, 6], Operations: ['83-50=33', '39-33=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[39, 11, 50, 83], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [39, 11, 33]
Generated Node #0,0: 66:[39, 11, 33] Operation: 83-50=33
Moving to Node #0,0
Current State: 66:[39, 11, 33], Operations: ['83-50=33']
Exploring Operation: 39-33=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 66:[11, 6] Operation: 39-33=6
Moving to Node #0,0,0
Current State: 66:[11, 6], Operations: ['83-50=33', '39-33=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
52,
83,
13,
66
] | 99 | [
"66-52=14",
"13*14=182",
"182-83=99"
] | Current State: 99:[52, 83, 13, 66], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [83, 13, 14]
Generated Node #2: [83, 13, 14] from Operation: 66-52=14
Current State: 99:[83, 13, 14], Operations: ['66-52=14']
Exploring Operation: 13*14=182, Resulting Numbers: [83, 182]
Generated Node #3: [83, 182] from Operation: 13*14=182
Current State: 99:[83, 182], Operations: ['66-52=14', '13*14=182']
Exploring Operation: 182-83=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[52, 83, 13, 66], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [52, 13, 17]
Generated Node #0,0: 99:[52, 13, 17] Operation: 83-66=17
Exploring Operation: 66-52=14, Resulting Numbers: [83, 13, 14]
Generated Node #0,1: 99:[83, 13, 14] Operation: 66-52=14
Moving to Node #0,1
Current State: 99:[83, 13, 14], Operations: ['66-52=14']
Exploring Operation: 83+14=97, Resulting Numbers: [13, 97]
Generated Node #0,1,0: 99:[13, 97] Operation: 83+14=97
Exploring Operation: 83+13=96, Resulting Numbers: [14, 96]
Generated Node #0,1,1: 99:[14, 96] Operation: 83+13=96
Moving to Node #0,0
Current State: 99:[52, 13, 17], Operations: ['83-66=17']
Exploring Operation: 52/13=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 99:[17, 4] Operation: 52/13=4
Exploring Operation: 52-17=35, Resulting Numbers: [13, 35]
Generated Node #0,0,1: 99:[13, 35] Operation: 52-17=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[13, 35], Operations: ['83-66=17', '52-17=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,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,0,0
Current State: 99:[17, 4], Operations: ['83-66=17', '52/13=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 99:[13, 97], Operations: ['66-52=14', '83+14=97']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[14, 96], Operations: ['66-52=14', '83+13=96']
Exploring Operation: 14+96=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
49,
57,
40
] | 29 | [
"59-57=2",
"40/2=20",
"49-20=29"
] | Current State: 29:[59, 49, 57, 40], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [49, 40, 2]
Generated Node #2: [49, 40, 2] from Operation: 59-57=2
Current State: 29:[49, 40, 2], Operations: ['59-57=2']
Exploring Operation: 40/2=20, Resulting Numbers: [49, 20]
Generated Node #3: [49, 20] from Operation: 40/2=20
Current State: 29:[49, 20], Operations: ['59-57=2', '40/2=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[59, 49, 57, 40], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [57, 40, 10]
Generated Node #0,0: 29:[57, 40, 10] Operation: 59-49=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[57, 40, 10], Operations: ['59-49=10']
Exploring Operation: 57-10=47, Resulting Numbers: [40, 47]
Generated Node #0,0,0: 29:[40, 47] Operation: 57-10=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[40, 47], Operations: ['59-49=10', '57-10=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
41,
26,
15
] | 41 | [
"71-41=30",
"26-15=11",
"30+11=41"
] | Current State: 41:[71, 41, 26, 15], Operations: []
Exploring Operation: 71-41=30, Resulting Numbers: [26, 15, 30]
Generated Node #2: [26, 15, 30] from Operation: 71-41=30
Current State: 41:[26, 15, 30], Operations: ['71-41=30']
Exploring Operation: 26-15=11, Resulting Numbers: [30, 11]
Generated Node #3: [30, 11] from Operation: 26-15=11
Current State: 41:[30, 11], Operations: ['71-41=30', '26-15=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[71, 41, 26, 15], Operations: []
Exploring Operation: 71-15=56, Resulting Numbers: [41, 26, 56]
Generated Node #0,0: 41:[41, 26, 56] Operation: 71-15=56
Exploring Operation: 71-41=30, Resulting Numbers: [26, 15, 30]
Generated Node #0,1: 41:[26, 15, 30] Operation: 71-41=30
Exploring Operation: 26+15=41, Resulting Numbers: [71, 41, 41]
Generated Node #0,2: 41:[71, 41, 41] Operation: 26+15=41
Exploring Operation: 71-26=45, Resulting Numbers: [41, 15, 45]
Generated Node #0,3: 41:[41, 15, 45] Operation: 71-26=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[41, 26, 56], Operations: ['71-15=56']
Exploring Operation: 56-41=15, Resulting Numbers: [26, 15]
Generated Node #0,0,0: 41:[26, 15] Operation: 56-41=15
Exploring Operation: 41-26=15, Resulting Numbers: [56, 15]
Generated Node #0,0,1: 41:[56, 15] Operation: 41-26=15
Exploring Operation: 41+26=67, Resulting Numbers: [56, 67]
Generated Node #0,0,2: 41:[56, 67] Operation: 41+26=67
Exploring Operation: 56-26=30, Resulting Numbers: [41, 30]
Generated Node #0,0,3: 41:[41, 30] Operation: 56-26=30
Moving to Node #0,0,3
Current State: 41:[41, 30], Operations: ['71-15=56', '56-26=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,41 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[56, 15], Operations: ['71-15=56', '41-26=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,41 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[71, 41, 26, 15], Operations: []
Exploring Operation: 71-15=56, Resulting Numbers: [41, 26, 56]
Generated Node #0,0: 41:[41, 26, 56] Operation: 71-15=56
Moving to Node #0,0
Current State: 41:[41, 26, 56], Operations: ['71-15=56']
Exploring Operation: 41-26=15, Resulting Numbers: [56, 15]
Generated Node #0,0,1: 41:[56, 15] Operation: 41-26=15
Moving to Node #0,0,1
Current State: 41:[56, 15], Operations: ['71-15=56', '41-26=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
20,
23,
10,
97
] | 76 | [
"20/10=2",
"97-23=74",
"2+74=76"
] | Current State: 76:[20, 23, 10, 97], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [23, 97, 2]
Generated Node #2: [23, 97, 2] from Operation: 20/10=2
Current State: 76:[23, 97, 2], Operations: ['20/10=2']
Exploring Operation: 97-23=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 97-23=74
Current State: 76:[2, 74], Operations: ['20/10=2', '97-23=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[20, 23, 10, 97], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [23, 10, 77]
Generated Node #0,0: 76:[23, 10, 77] Operation: 97-20=77
Exploring Operation: 97-10=87, Resulting Numbers: [20, 23, 87]
Generated Node #0,1: 76:[20, 23, 87] Operation: 97-10=87
Exploring Operation: 97-23=74, Resulting Numbers: [20, 10, 74]
Generated Node #0,2: 76:[20, 10, 74] Operation: 97-23=74
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[20, 10, 74], Operations: ['97-23=74']
Exploring Operation: 20-10=10, Resulting Numbers: [74, 10]
Generated Node #0,2,0: 76:[74, 10] Operation: 20-10=10
Exploring Operation: 10+74=84, Resulting Numbers: [20, 84]
Generated Node #0,2,1: 76:[20, 84] Operation: 10+74=84
Exploring Operation: 20/10=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 20/10=2
Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['97-23=74', '20/10=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[20, 23, 10, 97], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [20, 10, 74]
Generated Node #0,2: 76:[20, 10, 74] Operation: 97-23=74
Moving to Node #0,2
Current State: 76:[20, 10, 74], Operations: ['97-23=74']
Exploring Operation: 20/10=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 20/10=2
Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['97-23=74', '20/10=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
25,
45,
41,
9
] | 70 | [
"45-25=20",
"41+9=50",
"20+50=70"
] | Current State: 70:[25, 45, 41, 9], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [41, 9, 20]
Generated Node #2: [41, 9, 20] from Operation: 45-25=20
Current State: 70:[41, 9, 20], Operations: ['45-25=20']
Exploring Operation: 41+9=50, Resulting Numbers: [20, 50]
Generated Node #3: [20, 50] from Operation: 41+9=50
Current State: 70:[20, 50], Operations: ['45-25=20', '41+9=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[25, 45, 41, 9], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [25, 9, 4]
Generated Node #0,0: 70:[25, 9, 4] Operation: 45-41=4
Exploring Operation: 41-25=16, Resulting Numbers: [45, 9, 16]
Generated Node #0,1: 70:[45, 9, 16] Operation: 41-25=16
Exploring Operation: 45-25=20, Resulting Numbers: [41, 9, 20]
Generated Node #0,2: 70:[41, 9, 20] Operation: 45-25=20
Exploring Operation: 25+45=70, Resulting Numbers: [41, 9, 70]
Generated Node #0,3: 70:[41, 9, 70] Operation: 25+45=70
Moving to Node #0,3
Current State: 70:[41, 9, 70], Operations: ['25+45=70']
Exploring Operation: 70-41=29, Resulting Numbers: [9, 29]
Generated Node #0,3,0: 70:[9, 29] Operation: 70-41=29
Exploring Operation: 41+9=50, Resulting Numbers: [70, 50]
Generated Node #0,3,1: 70:[70, 50] Operation: 41+9=50
Exploring Operation: 9+70=79, Resulting Numbers: [41, 79]
Generated Node #0,3,2: 70:[41, 79] Operation: 9+70=79
Exploring Operation: 41-9=32, Resulting Numbers: [70, 32]
Generated Node #0,3,3: 70:[70, 32] Operation: 41-9=32
Moving to Node #0,0
Current State: 70:[25, 9, 4], Operations: ['45-41=4']
Exploring Operation: 25-9=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 70:[4, 16] Operation: 25-9=16
Exploring Operation: 25-4=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 70:[9, 21] Operation: 25-4=21
Exploring Operation: 25+4=29, Resulting Numbers: [9, 29]
Generated Node #0,0,2: 70:[9, 29] Operation: 25+4=29
Exploring Operation: 25+9=34, Resulting Numbers: [4, 34]
Generated Node #0,0,3: 70:[4, 34] Operation: 25+9=34
Moving to Node #0,2
Current State: 70:[41, 9, 20], Operations: ['45-25=20']
Exploring Operation: 41-20=21, Resulting Numbers: [9, 21]
Generated Node #0,2,0: 70:[9, 21] Operation: 41-20=21
Exploring Operation: 41+20=61, Resulting Numbers: [9, 61]
Generated Node #0,2,1: 70:[9, 61] Operation: 41+20=61
Exploring Operation: 20-9=11, Resulting Numbers: [41, 11]
Generated Node #0,2,2: 70:[41, 11] Operation: 20-9=11
Exploring Operation: 41-9=32, Resulting Numbers: [20, 32]
Generated Node #0,2,3: 70:[20, 32] Operation: 41-9=32
Moving to Node #0,1
Current State: 70:[45, 9, 16], Operations: ['41-25=16']
Exploring Operation: 45/9=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 70:[16, 5] Operation: 45/9=5
Exploring Operation: 45-16=29, Resulting Numbers: [9, 29]
Generated Node #0,1,1: 70:[9, 29] Operation: 45-16=29
Exploring Operation: 45-9=36, Resulting Numbers: [16, 36]
Generated Node #0,1,2: 70:[16, 36] Operation: 45-9=36
Exploring Operation: 45+16=61, Resulting Numbers: [9, 61]
Generated Node #0,1,3: 70:[9, 61] Operation: 45+16=61
Moving to Node #0,0,3
Current State: 70:[4, 34], Operations: ['45-41=4', '25+9=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[16, 5], Operations: ['41-25=16', '45/9=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[16, 36], Operations: ['41-25=16', '45-9=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[4, 16], Operations: ['45-41=4', '25-9=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[70, 32], Operations: ['25+45=70', '41-9=32']
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[9, 29], Operations: ['41-25=16', '45-16=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,70 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[9, 29], Operations: ['45-41=4', '25+4=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,70 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[9, 29], Operations: ['25+45=70', '70-41=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[41, 11], Operations: ['45-25=20', '20-9=11']
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,70 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[9, 21], Operations: ['45-25=20', '41-20=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,70 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[9, 21], Operations: ['45-41=4', '25-4=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[20, 32], Operations: ['45-25=20', '41-9=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[9, 61], Operations: ['45-25=20', '41+20=61']
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,70 unequal: No Solution
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[25, 45, 41, 9], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [41, 9, 20]
Generated Node #0,2: 70:[41, 9, 20] Operation: 45-25=20
Moving to Node #0,2
Current State: 70:[41, 9, 20], Operations: ['45-25=20']
Exploring Operation: 41+20=61, Resulting Numbers: [9, 61]
Generated Node #0,2,1: 70:[9, 61] Operation: 41+20=61
Moving to Node #0,2,1
Current State: 70:[9, 61], Operations: ['45-25=20', '41+20=61']
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
4,
32,
12,
14
] | 80 | [
"12-4=8",
"14*8=112",
"112-32=80"
] | Current State: 80:[4, 32, 12, 14], Operations: []
Exploring Operation: 12-4=8, Resulting Numbers: [32, 14, 8]
Generated Node #2: [32, 14, 8] from Operation: 12-4=8
Current State: 80:[32, 14, 8], Operations: ['12-4=8']
Exploring Operation: 14*8=112, Resulting Numbers: [32, 112]
Generated Node #3: [32, 112] from Operation: 14*8=112
Current State: 80:[32, 112], Operations: ['12-4=8', '14*8=112']
Exploring Operation: 112-32=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[4, 32, 12, 14], Operations: []
Exploring Operation: 32-12=20, Resulting Numbers: [4, 14, 20]
Generated Node #0,0: 80:[4, 14, 20] Operation: 32-12=20
Exploring Operation: 32/4=8, Resulting Numbers: [12, 14, 8]
Generated Node #0,1: 80:[12, 14, 8] Operation: 32/4=8
Exploring Operation: 32-14=18, Resulting Numbers: [4, 12, 18]
Generated Node #0,2: 80:[4, 12, 18] Operation: 32-14=18
Moving to Node #0,0
Current State: 80:[4, 14, 20], Operations: ['32-12=20']
Exploring Operation: 14-4=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 80:[20, 10] Operation: 14-4=10
Exploring Operation: 20-14=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 80:[4, 6] Operation: 20-14=6
Exploring Operation: 4+14=18, Resulting Numbers: [20, 18]
Generated Node #0,0,2: 80:[20, 18] Operation: 4+14=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[20, 10], Operations: ['32-12=20', '14-4=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,80 unequal: No Solution
No 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: 80:[4, 6], Operations: ['32-12=20', '20-14=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No 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: 80:[20, 18], Operations: ['32-12=20', '4+14=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,80 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,80 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: 80:[12, 14, 8], Operations: ['32/4=8']
Exploring Operation: 14-12=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 80:[8, 2] Operation: 14-12=2
Exploring Operation: 12+8=20, Resulting Numbers: [14, 20]
Generated Node #0,1,1: 80:[14, 20] Operation: 12+8=20
Exploring Operation: 12-8=4, Resulting Numbers: [14, 4]
Generated Node #0,1,2: 80:[14, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[8, 2], Operations: ['32/4=8', '14-12=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No 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: 80:[14, 20], Operations: ['32/4=8', '12+8=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,80 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,80 unequal: No Solution
No 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: 80:[14, 4], Operations: ['32/4=8', '12-8=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,80 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: 80:[4, 12, 18], Operations: ['32-14=18']
Exploring Operation: 12-4=8, Resulting Numbers: [18, 8]
Generated Node #0,2,0: 80:[18, 8] Operation: 12-4=8
Exploring Operation: 4+12=16, Resulting Numbers: [18, 16]
Generated Node #0,2,1: 80:[18, 16] Operation: 4+12=16
Exploring Operation: 18-12=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 80:[4, 6] Operation: 18-12=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[4, 6], Operations: ['32-14=18', '18-12=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No 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: 80:[18, 8], Operations: ['32-14=18', '12-4=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No 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: 80:[18, 16], Operations: ['32-14=18', '4+12=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,80 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 |
[
57,
84,
64,
6
] | 18 | [
"64-57=7",
"84/7=12",
"6+12=18"
] | Current State: 18:[57, 84, 64, 6], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [84, 6, 7]
Generated Node #2: [84, 6, 7] from Operation: 64-57=7
Current State: 18:[84, 6, 7], Operations: ['64-57=7']
Exploring Operation: 84/7=12, Resulting Numbers: [6, 12]
Generated Node #3: [6, 12] from Operation: 84/7=12
Current State: 18:[6, 12], Operations: ['64-57=7', '84/7=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[57, 84, 64, 6], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [57, 64, 14]
Generated Node #0,0: 18:[57, 64, 14] Operation: 84/6=14
Exploring Operation: 84-64=20, Resulting Numbers: [57, 6, 20]
Generated Node #0,1: 18:[57, 6, 20] Operation: 84-64=20
Exploring Operation: 84-57=27, Resulting Numbers: [64, 6, 27]
Generated Node #0,2: 18:[64, 6, 27] Operation: 84-57=27
Exploring Operation: 57-6=51, Resulting Numbers: [84, 64, 51]
Generated Node #0,3: 18:[84, 64, 51] Operation: 57-6=51
Exploring Operation: 64-57=7, Resulting Numbers: [84, 6, 7]
Generated Node #0,4: 18:[84, 6, 7] Operation: 64-57=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[57, 6, 20], Operations: ['84-64=20']
Exploring Operation: 6+20=26, Resulting Numbers: [57, 26]
Generated Node #0,1,0: 18:[57, 26] Operation: 6+20=26
Exploring Operation: 57-20=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 18:[6, 37] Operation: 57-20=37
Exploring Operation: 57-6=51, Resulting Numbers: [20, 51]
Generated Node #0,1,2: 18:[20, 51] Operation: 57-6=51
Exploring Operation: 20-6=14, Resulting Numbers: [57, 14]
Generated Node #0,1,3: 18:[57, 14] Operation: 20-6=14
Exploring Operation: 57+6=63, Resulting Numbers: [20, 63]
Generated Node #0,1,4: 18:[20, 63] Operation: 57+6=63
Moving to Node #0,1,1
Current State: 18:[6, 37], Operations: ['84-64=20', '57-20=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,18 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[20, 51], Operations: ['84-64=20', '57-6=51']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[57, 14], Operations: ['84-64=20', '20-6=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,18 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[57, 26], Operations: ['84-64=20', '6+20=26']
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,18 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[20, 63], Operations: ['84-64=20', '57+6=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[64, 6, 27], Operations: ['84-57=27']
Exploring Operation: 27-6=21, Resulting Numbers: [64, 21]
Generated Node #0,2,0: 18:[64, 21] Operation: 27-6=21
Exploring Operation: 64+6=70, Resulting Numbers: [27, 70]
Generated Node #0,2,1: 18:[27, 70] Operation: 64+6=70
Exploring Operation: 6+27=33, Resulting Numbers: [64, 33]
Generated Node #0,2,2: 18:[64, 33] Operation: 6+27=33
Exploring Operation: 64-27=37, Resulting Numbers: [6, 37]
Generated Node #0,2,3: 18:[6, 37] Operation: 64-27=37
Exploring Operation: 64-6=58, Resulting Numbers: [27, 58]
Generated Node #0,2,4: 18:[27, 58] Operation: 64-6=58
Moving to Node #0,2,3
Current State: 18:[6, 37], Operations: ['84-57=27', '64-27=37']
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,18 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[27, 58], Operations: ['84-57=27', '64-6=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,18 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[64, 21], Operations: ['84-57=27', '27-6=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,18 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[27, 70], Operations: ['84-57=27', '64+6=70']
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[64, 33], Operations: ['84-57=27', '6+27=33']
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,18 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[84, 6, 7], Operations: ['64-57=7']
Exploring Operation: 84/6=14, Resulting Numbers: [7, 14]
Generated Node #0,4,0: 18:[7, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [7, 78]
Generated Node #0,4,1: 18:[7, 78] Operation: 84-6=78
Exploring Operation: 7-6=1, Resulting Numbers: [84, 1]
Generated Node #0,4,2: 18:[84, 1] Operation: 7-6=1
Exploring Operation: 84-7=77, Resulting Numbers: [6, 77]
Generated Node #0,4,3: 18:[6, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [6, 12]
Generated Node #0,4,4: 18:[6, 12] Operation: 84/7=12
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 18:[6, 12], Operations: ['64-57=7', '84/7=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[57, 84, 64, 6], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [84, 6, 7]
Generated Node #0,4: 18:[84, 6, 7] Operation: 64-57=7
Moving to Node #0,4
Current State: 18:[84, 6, 7], Operations: ['64-57=7']
Exploring Operation: 84/7=12, Resulting Numbers: [6, 12]
Generated Node #0,4,4: 18:[6, 12] Operation: 84/7=12
Moving to Node #0,4,4
Current State: 18:[6, 12], Operations: ['64-57=7', '84/7=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
57,
6,
47,
8
] | 58 | [
"57-47=10",
"6*8=48",
"10+48=58"
] | Current State: 58:[57, 6, 47, 8], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [6, 8, 10]
Generated Node #2: [6, 8, 10] from Operation: 57-47=10
Current State: 58:[6, 8, 10], Operations: ['57-47=10']
Exploring Operation: 6*8=48, Resulting Numbers: [10, 48]
Generated Node #3: [10, 48] from Operation: 6*8=48
Current State: 58:[10, 48], Operations: ['57-47=10', '6*8=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[57, 6, 47, 8], Operations: []
Exploring Operation: 6+47=53, Resulting Numbers: [57, 8, 53]
Generated Node #0,0: 58:[57, 8, 53] Operation: 6+47=53
Exploring Operation: 47+8=55, Resulting Numbers: [57, 6, 55]
Generated Node #0,1: 58:[57, 6, 55] Operation: 47+8=55
Moving to Node #0,1
Current State: 58:[57, 6, 55], Operations: ['47+8=55']
Exploring Operation: 6+55=61, Resulting Numbers: [57, 61]
Generated Node #0,1,0: 58:[57, 61] Operation: 6+55=61
Exploring Operation: 57-55=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 58:[6, 2] Operation: 57-55=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[57, 61], Operations: ['47+8=55', '6+55=61']
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[6, 2], Operations: ['47+8=55', '57-55=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 58:[57, 8, 53], Operations: ['6+47=53']
Exploring Operation: 8+53=61, Resulting Numbers: [57, 61]
Generated Node #0,0,0: 58:[57, 61] Operation: 8+53=61
Exploring Operation: 57-53=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 58:[8, 4] Operation: 57-53=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[57, 61], Operations: ['6+47=53', '8+53=61']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[8, 4], Operations: ['6+47=53', '57-53=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,58 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 |
[
51,
12,
33,
19
] | 25 | [
"51-12=39",
"33-19=14",
"39-14=25"
] | Current State: 25:[51, 12, 33, 19], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [33, 19, 39]
Generated Node #2: [33, 19, 39] from Operation: 51-12=39
Current State: 25:[33, 19, 39], Operations: ['51-12=39']
Exploring Operation: 33-19=14, Resulting Numbers: [39, 14]
Generated Node #3: [39, 14] from Operation: 33-19=14
Current State: 25:[39, 14], Operations: ['51-12=39', '33-19=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[51, 12, 33, 19], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [12, 19, 18]
Generated Node #0,0: 25:[12, 19, 18] Operation: 51-33=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 19, 18], Operations: ['51-33=18']
Exploring Operation: 18-12=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 18-12=6
Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['51-33=18', '18-12=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[51, 12, 33, 19], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [12, 19, 18]
Generated Node #0,0: 25:[12, 19, 18] Operation: 51-33=18
Moving to Node #0,0
Current State: 25:[12, 19, 18], Operations: ['51-33=18']
Exploring Operation: 18-12=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 18-12=6
Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['51-33=18', '18-12=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
4,
5,
84
] | 53 | [
"84/4=21",
"5*21=105",
"105-52=53"
] | Current State: 53:[52, 4, 5, 84], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [52, 5, 21]
Generated Node #2: [52, 5, 21] from Operation: 84/4=21
Current State: 53:[52, 5, 21], Operations: ['84/4=21']
Exploring Operation: 5*21=105, Resulting Numbers: [52, 105]
Generated Node #3: [52, 105] from Operation: 5*21=105
Current State: 53:[52, 105], Operations: ['84/4=21', '5*21=105']
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[52, 4, 5, 84], Operations: []
Exploring Operation: 4+5=9, Resulting Numbers: [52, 84, 9]
Generated Node #0,0: 53:[52, 84, 9] Operation: 4+5=9
Exploring Operation: 4*5=20, Resulting Numbers: [52, 84, 20]
Generated Node #0,1: 53:[52, 84, 20] Operation: 4*5=20
Exploring Operation: 84-4=80, Resulting Numbers: [52, 5, 80]
Generated Node #0,2: 53:[52, 5, 80] Operation: 84-4=80
Moving to Node #0,1
Current State: 53:[52, 84, 20], Operations: ['4*5=20']
Exploring Operation: 52+20=72, Resulting Numbers: [84, 72]
Generated Node #0,1,0: 53:[84, 72] Operation: 52+20=72
Exploring Operation: 52-20=32, Resulting Numbers: [84, 32]
Generated Node #0,1,1: 53:[84, 32] Operation: 52-20=32
Exploring Operation: 84-20=64, Resulting Numbers: [52, 64]
Generated Node #0,1,2: 53:[52, 64] Operation: 84-20=64
Moving to Node #0,0
Current State: 53:[52, 84, 9], Operations: ['4+5=9']
Exploring Operation: 52-9=43, Resulting Numbers: [84, 43]
Generated Node #0,0,0: 53:[84, 43] Operation: 52-9=43
Exploring Operation: 52+9=61, Resulting Numbers: [84, 61]
Generated Node #0,0,1: 53:[84, 61] Operation: 52+9=61
Exploring Operation: 84-9=75, Resulting Numbers: [52, 75]
Generated Node #0,0,2: 53:[52, 75] Operation: 84-9=75
Moving to Node #0,2
Current State: 53:[52, 5, 80], Operations: ['84-4=80']
Exploring Operation: 80-5=75, Resulting Numbers: [52, 75]
Generated Node #0,2,0: 53:[52, 75] Operation: 80-5=75
Exploring Operation: 52+5=57, Resulting Numbers: [80, 57]
Generated Node #0,2,1: 53:[80, 57] Operation: 52+5=57
Exploring Operation: 52-5=47, Resulting Numbers: [80, 47]
Generated Node #0,2,2: 53:[80, 47] Operation: 52-5=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[52, 75], Operations: ['84-4=80', '80-5=75']
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[80, 57], Operations: ['84-4=80', '52+5=57']
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,53 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[80, 47], Operations: ['84-4=80', '52-5=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,53 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 53:[52, 64], Operations: ['4*5=20', '84-20=64']
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,53 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[52, 75], Operations: ['4+5=9', '84-9=75']
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,53 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[84, 61], Operations: ['4+5=9', '52+9=61']
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,53 unequal: No Solution
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,53 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[84, 43], Operations: ['4+5=9', '52-9=43']
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,53 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[84, 72], Operations: ['4*5=20', '52+20=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,53 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[84, 32], Operations: ['4*5=20', '52-20=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,53 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
71,
65,
19
] | 17 | [
"71-65=6",
"19*6=114",
"114-97=17"
] | Current State: 17:[97, 71, 65, 19], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [97, 19, 6]
Generated Node #2: [97, 19, 6] from Operation: 71-65=6
Current State: 17:[97, 19, 6], Operations: ['71-65=6']
Exploring Operation: 19*6=114, Resulting Numbers: [97, 114]
Generated Node #3: [97, 114] from Operation: 19*6=114
Current State: 17:[97, 114], Operations: ['71-65=6', '19*6=114']
Exploring Operation: 114-97=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[97, 71, 65, 19], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [65, 19, 26]
Generated Node #0,0: 17:[65, 19, 26] Operation: 97-71=26
Moving to Node #0,0
Current State: 17:[65, 19, 26], Operations: ['97-71=26']
Exploring Operation: 65-26=39, Resulting Numbers: [19, 39]
Generated Node #0,0,0: 17:[19, 39] Operation: 65-26=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[19, 39], Operations: ['97-71=26', '65-26=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
95,
14,
94
] | 22 | [
"36-14=22",
"95-94=1",
"22*1=22"
] | Current State: 22:[36, 95, 14, 94], Operations: []
Exploring Operation: 36-14=22, Resulting Numbers: [95, 94, 22]
Generated Node #2: [95, 94, 22] from Operation: 36-14=22
Current State: 22:[95, 94, 22], Operations: ['36-14=22']
Exploring Operation: 95-94=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 95-94=1
Current State: 22:[22, 1], Operations: ['36-14=22', '95-94=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[36, 95, 14, 94], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [36, 14, 1]
Generated Node #0,0: 22:[36, 14, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[36, 14, 1], Operations: ['95-94=1']
Exploring Operation: 36-14=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 36-14=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['95-94=1', '36-14=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[36, 95, 14, 94], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [36, 14, 1]
Generated Node #0,0: 22:[36, 14, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 22:[36, 14, 1], Operations: ['95-94=1']
Exploring Operation: 36-14=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 36-14=22
Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['95-94=1', '36-14=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
70,
3,
22,
77
] | 18 | [
"70+3=73",
"77-22=55",
"73-55=18"
] | Current State: 18:[70, 3, 22, 77], Operations: []
Exploring Operation: 70+3=73, Resulting Numbers: [22, 77, 73]
Generated Node #2: [22, 77, 73] from Operation: 70+3=73
Current State: 18:[22, 77, 73], Operations: ['70+3=73']
Exploring Operation: 77-22=55, Resulting Numbers: [73, 55]
Generated Node #3: [73, 55] from Operation: 77-22=55
Current State: 18:[73, 55], Operations: ['70+3=73', '77-22=55']
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[70, 3, 22, 77], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [3, 22, 7]
Generated Node #0,0: 18:[3, 22, 7] Operation: 77-70=7
Exploring Operation: 22-3=19, Resulting Numbers: [70, 77, 19]
Generated Node #0,1: 18:[70, 77, 19] Operation: 22-3=19
Exploring Operation: 70-3=67, Resulting Numbers: [22, 77, 67]
Generated Node #0,2: 18:[22, 77, 67] Operation: 70-3=67
Exploring Operation: 70-22=48, Resulting Numbers: [3, 77, 48]
Generated Node #0,3: 18:[3, 77, 48] Operation: 70-22=48
Exploring Operation: 77-22=55, Resulting Numbers: [70, 3, 55]
Generated Node #0,4: 18:[70, 3, 55] Operation: 77-22=55
Moving to Node #0,0
Current State: 18:[3, 22, 7], Operations: ['77-70=7']
Exploring Operation: 7-3=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [22, 21]
Generated Node #0,0,1: 18:[22, 21] Operation: 3*7=21
Exploring Operation: 3+7=10, Resulting Numbers: [22, 10]
Generated Node #0,0,2: 18:[22, 10] Operation: 3+7=10
Exploring Operation: 22-3=19, Resulting Numbers: [7, 19]
Generated Node #0,0,3: 18:[7, 19] Operation: 22-3=19
Exploring Operation: 22-7=15, Resulting Numbers: [3, 15]
Generated Node #0,0,4: 18:[3, 15] Operation: 22-7=15
Moving to Node #0,4
Current State: 18:[70, 3, 55], Operations: ['77-22=55']
Exploring Operation: 70-55=15, Resulting Numbers: [3, 15]
Generated Node #0,4,0: 18:[3, 15] Operation: 70-55=15
Exploring Operation: 70+3=73, Resulting Numbers: [55, 73]
Generated Node #0,4,1: 18:[55, 73] Operation: 70+3=73
Exploring Operation: 70-3=67, Resulting Numbers: [55, 67]
Generated Node #0,4,2: 18:[55, 67] Operation: 70-3=67
Exploring Operation: 55-3=52, Resulting Numbers: [70, 52]
Generated Node #0,4,3: 18:[70, 52] Operation: 55-3=52
Exploring Operation: 3+55=58, Resulting Numbers: [70, 58]
Generated Node #0,4,4: 18:[70, 58] Operation: 3+55=58
Moving to Node #0,3
Current State: 18:[3, 77, 48], Operations: ['70-22=48']
Exploring Operation: 48/3=16, Resulting Numbers: [77, 16]
Generated Node #0,3,0: 18:[77, 16] Operation: 48/3=16
Exploring Operation: 77-3=74, Resulting Numbers: [48, 74]
Generated Node #0,3,1: 18:[48, 74] Operation: 77-3=74
Exploring Operation: 48-3=45, Resulting Numbers: [77, 45]
Generated Node #0,3,2: 18:[77, 45] Operation: 48-3=45
Exploring Operation: 3+77=80, Resulting Numbers: [48, 80]
Generated Node #0,3,3: 18:[48, 80] Operation: 3+77=80
Exploring Operation: 77-48=29, Resulting Numbers: [3, 29]
Generated Node #0,3,4: 18:[3, 29] Operation: 77-48=29
Moving to Node #0,1
Current State: 18:[70, 77, 19], Operations: ['22-3=19']
Exploring Operation: 70+19=89, Resulting Numbers: [77, 89]
Generated Node #0,1,0: 18:[77, 89] Operation: 70+19=89
Exploring Operation: 70+77=147, Resulting Numbers: [19, 147]
Generated Node #0,1,1: 18:[19, 147] Operation: 70+77=147
Exploring Operation: 70-19=51, Resulting Numbers: [77, 51]
Generated Node #0,1,2: 18:[77, 51] Operation: 70-19=51
Exploring Operation: 77-70=7, Resulting Numbers: [19, 7]
Generated Node #0,1,3: 18:[19, 7] Operation: 77-70=7
Exploring Operation: 77-19=58, Resulting Numbers: [70, 58]
Generated Node #0,1,4: 18:[70, 58] Operation: 77-19=58
Moving to Node #0,2
Current State: 18:[22, 77, 67], Operations: ['70-3=67']
Exploring Operation: 77-22=55, Resulting Numbers: [67, 55]
Generated Node #0,2,0: 18:[67, 55] Operation: 77-22=55
Exploring Operation: 77-67=10, Resulting Numbers: [22, 10]
Generated Node #0,2,1: 18:[22, 10] Operation: 77-67=10
Exploring Operation: 67-22=45, Resulting Numbers: [77, 45]
Generated Node #0,2,2: 18:[77, 45] Operation: 67-22=45
Exploring Operation: 22+77=99, Resulting Numbers: [67, 99]
Generated Node #0,2,3: 18:[67, 99] Operation: 22+77=99
Exploring Operation: 22+67=89, Resulting Numbers: [77, 89]
Generated Node #0,2,4: 18:[77, 89] Operation: 22+67=89
Moving to Node #0,0,3
Current State: 18:[7, 19], Operations: ['77-70=7', '22-3=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,18 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[19, 7], Operations: ['22-3=19', '77-70=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,18 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[3, 15], Operations: ['77-22=55', '70-55=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[70, 3, 22, 77], Operations: []
Exploring Operation: 77-22=55, Resulting Numbers: [70, 3, 55]
Generated Node #0,4: 18:[70, 3, 55] Operation: 77-22=55
Moving to Node #0,4
Current State: 18:[70, 3, 55], Operations: ['77-22=55']
Exploring Operation: 70-55=15, Resulting Numbers: [3, 15]
Generated Node #0,4,0: 18:[3, 15] Operation: 70-55=15
Moving to Node #0,4,0
Current State: 18:[3, 15], Operations: ['77-22=55', '70-55=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.962674 | hs_5 | sum_heuristic |
[
85,
13,
2,
3
] | 32 | [
"85+13=98",
"98-2=96",
"96/3=32"
] | Current State: 32:[85, 13, 2, 3], Operations: []
Exploring Operation: 85+13=98, Resulting Numbers: [2, 3, 98]
Generated Node #2: [2, 3, 98] from Operation: 85+13=98
Current State: 32:[2, 3, 98], Operations: ['85+13=98']
Exploring Operation: 98-2=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 98-2=96
Current State: 32:[3, 96], Operations: ['85+13=98', '98-2=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[85, 13, 2, 3], Operations: []
Exploring Operation: 13+3=16, Resulting Numbers: [85, 2, 16]
Generated Node #0,0: 32:[85, 2, 16] Operation: 13+3=16
Exploring Operation: 85-3=82, Resulting Numbers: [13, 2, 82]
Generated Node #0,1: 32:[13, 2, 82] Operation: 85-3=82
Exploring Operation: 85-13=72, Resulting Numbers: [2, 3, 72]
Generated Node #0,2: 32:[2, 3, 72] Operation: 85-13=72
Exploring Operation: 85-2=83, Resulting Numbers: [13, 3, 83]
Generated Node #0,3: 32:[13, 3, 83] Operation: 85-2=83
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[2, 3, 72], Operations: ['85-13=72']
Exploring Operation: 72/3=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 32:[2, 24] Operation: 72/3=24
Exploring Operation: 72/2=36, Resulting Numbers: [3, 36]
Generated Node #0,2,1: 32:[3, 36] Operation: 72/2=36
Exploring Operation: 72-3=69, Resulting Numbers: [2, 69]
Generated Node #0,2,2: 32:[2, 69] Operation: 72-3=69
Exploring Operation: 72-2=70, Resulting Numbers: [3, 70]
Generated Node #0,2,3: 32:[3, 70] Operation: 72-2=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[3, 36], Operations: ['85-13=72', '72/2=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,32 unequal: No Solution
No 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: 32:[2, 24], Operations: ['85-13=72', '72/3=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,32 unequal: No Solution
No 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: 32:[2, 69], Operations: ['85-13=72', '72-3=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No 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: 32:[3, 70], Operations: ['85-13=72', '72-2=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,32 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,32 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: 32:[85, 2, 16], Operations: ['13+3=16']
Exploring Operation: 16/2=8, Resulting Numbers: [85, 8]
Generated Node #0,0,0: 32:[85, 8] Operation: 16/2=8
Exploring Operation: 85-2=83, Resulting Numbers: [16, 83]
Generated Node #0,0,1: 32:[16, 83] Operation: 85-2=83
Exploring Operation: 2*16=32, Resulting Numbers: [85, 32]
Generated Node #0,0,2: 32:[85, 32] Operation: 2*16=32
Exploring Operation: 85-16=69, Resulting Numbers: [2, 69]
Generated Node #0,0,3: 32:[2, 69] Operation: 85-16=69
Moving to Node #0,0,3
Current State: 32:[2, 69], Operations: ['13+3=16', '85-16=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[16, 83], Operations: ['13+3=16', '85-2=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[85, 32], Operations: ['13+3=16', '2*16=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[85, 8], Operations: ['13+3=16', '16/2=8']
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[13, 2, 82], Operations: ['85-3=82']
Exploring Operation: 13+2=15, Resulting Numbers: [82, 15]
Generated Node #0,1,0: 32:[82, 15] Operation: 13+2=15
Exploring Operation: 82/2=41, Resulting Numbers: [13, 41]
Generated Node #0,1,1: 32:[13, 41] Operation: 82/2=41
Exploring Operation: 82-2=80, Resulting Numbers: [13, 80]
Generated Node #0,1,2: 32:[13, 80] Operation: 82-2=80
Exploring Operation: 82-13=69, Resulting Numbers: [2, 69]
Generated Node #0,1,3: 32:[2, 69] Operation: 82-13=69
Moving to Node #0,1,1
Current State: 32:[13, 41], Operations: ['85-3=82', '82/2=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[2, 69], Operations: ['85-3=82', '82-13=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[13, 80], Operations: ['85-3=82', '82-2=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 13*80=1040, Resulting Numbers: [1040]
1040,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[82, 15], Operations: ['85-3=82', '13+2=15']
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,32 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,32 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[13, 3, 83], Operations: ['85-2=83']
Exploring Operation: 83-3=80, Resulting Numbers: [13, 80]
Generated Node #0,3,0: 32:[13, 80] Operation: 83-3=80
Exploring Operation: 13-3=10, Resulting Numbers: [83, 10]
Generated Node #0,3,1: 32:[83, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [83, 16]
Generated Node #0,3,2: 32:[83, 16] Operation: 13+3=16
Exploring Operation: 83-13=70, Resulting Numbers: [3, 70]
Generated Node #0,3,3: 32:[3, 70] Operation: 83-13=70
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[3, 70], Operations: ['85-2=83', '83-13=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,32 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No 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: 32:[13, 80], Operations: ['85-2=83', '83-3=80']
Exploring Operation: 13*80=1040, Resulting Numbers: [1040]
1040,32 unequal: No Solution
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No 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: 32:[83, 16], Operations: ['85-2=83', '13+3=16']
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,32 unequal: No Solution
No 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: 32:[83, 10], Operations: ['85-2=83', '13-3=10']
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,32 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
52,
3,
56
] | 22 | [
"6*3=18",
"56-52=4",
"18+4=22"
] | Current State: 22:[6, 52, 3, 56], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [52, 56, 18]
Generated Node #2: [52, 56, 18] from Operation: 6*3=18
Current State: 22:[52, 56, 18], Operations: ['6*3=18']
Exploring Operation: 56-52=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 56-52=4
Current State: 22:[18, 4], Operations: ['6*3=18', '56-52=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[6, 52, 3, 56], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [6, 3, 4]
Generated Node #0,0: 22:[6, 3, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 22:[6, 3, 4], Operations: ['56-52=4']
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 22:[3, 2] Operation: 6-4=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[3, 2], Operations: ['56-52=4', '6-4=2']
Exploring Operation: 3-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 | mult_heuristic |
[
55,
47,
63,
17
] | 89 | [
"63-55=8",
"17*8=136",
"136-47=89"
] | Current State: 89:[55, 47, 63, 17], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [47, 17, 8]
Generated Node #2: [47, 17, 8] from Operation: 63-55=8
Current State: 89:[47, 17, 8], Operations: ['63-55=8']
Exploring Operation: 17*8=136, Resulting Numbers: [47, 136]
Generated Node #3: [47, 136] from Operation: 17*8=136
Current State: 89:[47, 136], Operations: ['63-55=8', '17*8=136']
Exploring Operation: 136-47=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[55, 47, 63, 17], Operations: []
Exploring Operation: 47+17=64, Resulting Numbers: [55, 63, 64]
Generated Node #0,0: 89:[55, 63, 64] Operation: 47+17=64
Exploring Operation: 55+17=72, Resulting Numbers: [47, 63, 72]
Generated Node #0,1: 89:[47, 63, 72] Operation: 55+17=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[55, 63, 64], Operations: ['47+17=64']
Exploring Operation: 55+63=118, Resulting Numbers: [64, 118]
Generated Node #0,0,0: 89:[64, 118] Operation: 55+63=118
Exploring Operation: 55+64=119, Resulting Numbers: [63, 119]
Generated Node #0,0,1: 89:[63, 119] Operation: 55+64=119
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[64, 118], Operations: ['47+17=64', '55+63=118']
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[63, 119], Operations: ['47+17=64', '55+64=119']
Exploring Operation: 119-63=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 63+119=182, Resulting Numbers: [182]
182,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[47, 63, 72], Operations: ['55+17=72']
Exploring Operation: 47+63=110, Resulting Numbers: [72, 110]
Generated Node #0,1,0: 89:[72, 110] Operation: 47+63=110
Exploring Operation: 47+72=119, Resulting Numbers: [63, 119]
Generated Node #0,1,1: 89:[63, 119] Operation: 47+72=119
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[72, 110], Operations: ['55+17=72', '47+63=110']
Exploring Operation: 72+110=182, Resulting Numbers: [182]
182,89 unequal: No Solution
Exploring Operation: 110-72=38, Resulting Numbers: [38]
38,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[63, 119], Operations: ['55+17=72', '47+72=119']
Exploring Operation: 119-63=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 63+119=182, Resulting Numbers: [182]
182,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
41,
75,
71
] | 93 | [
"12+41=53",
"75+71=146",
"146-53=93"
] | Current State: 93:[12, 41, 75, 71], Operations: []
Exploring Operation: 12+41=53, Resulting Numbers: [75, 71, 53]
Generated Node #2: [75, 71, 53] from Operation: 12+41=53
Current State: 93:[75, 71, 53], Operations: ['12+41=53']
Exploring Operation: 75+71=146, Resulting Numbers: [53, 146]
Generated Node #3: [53, 146] from Operation: 75+71=146
Current State: 93:[53, 146], Operations: ['12+41=53', '75+71=146']
Exploring Operation: 146-53=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[12, 41, 75, 71], Operations: []
Exploring Operation: 71-41=30, Resulting Numbers: [12, 75, 30]
Generated Node #0,0: 93:[12, 75, 30] Operation: 71-41=30
Exploring Operation: 75-71=4, Resulting Numbers: [12, 41, 4]
Generated Node #0,1: 93:[12, 41, 4] Operation: 75-71=4
Moving to Node #0,1
Current State: 93:[12, 41, 4], Operations: ['75-71=4']
Exploring Operation: 41-12=29, Resulting Numbers: [4, 29]
Generated Node #0,1,0: 93:[4, 29] Operation: 41-12=29
Exploring Operation: 12/4=3, Resulting Numbers: [41, 3]
Generated Node #0,1,1: 93:[41, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[4, 29], Operations: ['75-71=4', '41-12=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[41, 3], Operations: ['75-71=4', '12/4=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,93 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: 93:[12, 75, 30], Operations: ['71-41=30']
Exploring Operation: 75+30=105, Resulting Numbers: [12, 105]
Generated Node #0,0,0: 93:[12, 105] Operation: 75+30=105
Exploring Operation: 12+75=87, Resulting Numbers: [30, 87]
Generated Node #0,0,1: 93:[30, 87] Operation: 12+75=87
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[30, 87], Operations: ['71-41=30', '12+75=87']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 30+87=117, Resulting Numbers: [117]
117,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[12, 105], Operations: ['71-41=30', '75+30=105']
Exploring Operation: 105-12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[12, 41, 75, 71], Operations: []
Exploring Operation: 71-41=30, Resulting Numbers: [12, 75, 30]
Generated Node #0,0: 93:[12, 75, 30] Operation: 71-41=30
Moving to Node #0,0
Current State: 93:[12, 75, 30], Operations: ['71-41=30']
Exploring Operation: 75+30=105, Resulting Numbers: [12, 105]
Generated Node #0,0,0: 93:[12, 105] Operation: 75+30=105
Moving to Node #0,0,0
Current State: 93:[12, 105], Operations: ['71-41=30', '75+30=105']
Exploring Operation: 105-12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
4,
2,
41,
25
] | 51 | [
"25-2=23",
"4*23=92",
"92-41=51"
] | Current State: 51:[4, 2, 41, 25], Operations: []
Exploring Operation: 25-2=23, Resulting Numbers: [4, 41, 23]
Generated Node #2: [4, 41, 23] from Operation: 25-2=23
Current State: 51:[4, 41, 23], Operations: ['25-2=23']
Exploring Operation: 4*23=92, Resulting Numbers: [41, 92]
Generated Node #3: [41, 92] from Operation: 4*23=92
Current State: 51:[41, 92], Operations: ['25-2=23', '4*23=92']
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[4, 2, 41, 25], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [4, 41, 50]
Generated Node #0,0: 51:[4, 41, 50] Operation: 2*25=50
Exploring Operation: 4+41=45, Resulting Numbers: [2, 25, 45]
Generated Node #0,1: 51:[2, 25, 45] Operation: 4+41=45
Exploring Operation: 2+41=43, Resulting Numbers: [4, 25, 43]
Generated Node #0,2: 51:[4, 25, 43] Operation: 2+41=43
Exploring Operation: 41-25=16, Resulting Numbers: [4, 2, 16]
Generated Node #0,3: 51:[4, 2, 16] Operation: 41-25=16
Exploring Operation: 25-4=21, Resulting Numbers: [2, 41, 21]
Generated Node #0,4: 51:[2, 41, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[4, 2, 16], Operations: ['41-25=16']
Exploring Operation: 4-2=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 51:[16, 2] Operation: 4-2=2
Exploring Operation: 2+16=18, Resulting Numbers: [4, 18]
Generated Node #0,3,1: 51:[4, 18] Operation: 2+16=18
Exploring Operation: 4/2=2, Resulting Numbers: [16, 2]
Generated Node #0,3,2: 51:[16, 2] Operation: 4/2=2
Exploring Operation: 16/4=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 51:[2, 4] Operation: 16/4=4
Exploring Operation: 4+2=6, Resulting Numbers: [16, 6]
Generated Node #0,3,4: 51:[16, 6] Operation: 4+2=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[16, 2], Operations: ['41-25=16', '4-2=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[4, 18], Operations: ['41-25=16', '2+16=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[16, 2], Operations: ['41-25=16', '4/2=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[2, 4], Operations: ['41-25=16', '16/4=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 51:[16, 6], Operations: ['41-25=16', '4+2=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[4, 41, 50], Operations: ['2*25=50']
Exploring Operation: 4+50=54, Resulting Numbers: [41, 54]
Generated Node #0,0,0: 51:[41, 54] Operation: 4+50=54
Exploring Operation: 4+41=45, Resulting Numbers: [50, 45]
Generated Node #0,0,1: 51:[50, 45] Operation: 4+41=45
Exploring Operation: 41-4=37, Resulting Numbers: [50, 37]
Generated Node #0,0,2: 51:[50, 37] Operation: 41-4=37
Exploring Operation: 50-4=46, Resulting Numbers: [41, 46]
Generated Node #0,0,3: 51:[41, 46] Operation: 50-4=46
Exploring Operation: 50-41=9, Resulting Numbers: [4, 9]
Generated Node #0,0,4: 51:[4, 9] Operation: 50-41=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[50, 45], Operations: ['2*25=50', '4+41=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,51 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[4, 9], Operations: ['2*25=50', '50-41=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[41, 54], Operations: ['2*25=50', '4+50=54']
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 41*54=2214, Resulting Numbers: [2214]
2214,51 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[50, 37], Operations: ['2*25=50', '41-4=37']
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,51 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[41, 46], Operations: ['2*25=50', '50-4=46']
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,51 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[2, 25, 45], Operations: ['4+41=45']
Exploring Operation: 25-2=23, Resulting Numbers: [45, 23]
Generated Node #0,1,0: 51:[45, 23] Operation: 25-2=23
Exploring Operation: 2*25=50, Resulting Numbers: [45, 50]
Generated Node #0,1,1: 51:[45, 50] Operation: 2*25=50
Exploring Operation: 45-25=20, Resulting Numbers: [2, 20]
Generated Node #0,1,2: 51:[2, 20] Operation: 45-25=20
Exploring Operation: 2+25=27, Resulting Numbers: [45, 27]
Generated Node #0,1,3: 51:[45, 27] Operation: 2+25=27
Exploring Operation: 2+45=47, Resulting Numbers: [25, 47]
Generated Node #0,1,4: 51:[25, 47] Operation: 2+45=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[2, 20], Operations: ['4+41=45', '45-25=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[45, 50], Operations: ['4+41=45', '2*25=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[45, 23], Operations: ['4+41=45', '25-2=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,51 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 51:[25, 47], Operations: ['4+41=45', '2+45=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,51 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[45, 27], Operations: ['4+41=45', '2+25=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,51 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[2, 41, 21], Operations: ['25-4=21']
Exploring Operation: 41+21=62, Resulting Numbers: [2, 62]
Generated Node #0,4,0: 51:[2, 62] Operation: 41+21=62
Exploring Operation: 2+41=43, Resulting Numbers: [21, 43]
Generated Node #0,4,1: 51:[21, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [21, 39]
Generated Node #0,4,2: 51:[21, 39] Operation: 41-2=39
Exploring Operation: 41-21=20, Resulting Numbers: [2, 20]
Generated Node #0,4,3: 51:[2, 20] Operation: 41-21=20
Exploring Operation: 21-2=19, Resulting Numbers: [41, 19]
Generated Node #0,4,4: 51:[41, 19] Operation: 21-2=19
Moving to Node #0,4,3
Current State: 51:[2, 20], Operations: ['25-4=21', '41-21=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[21, 43], Operations: ['25-4=21', '2+41=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[2, 62], Operations: ['25-4=21', '41+21=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,51 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[41, 19], Operations: ['25-4=21', '21-2=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,51 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[21, 39], Operations: ['25-4=21', '41-2=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,51 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,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,2
Current State: 51:[4, 25, 43], Operations: ['2+41=43']
Exploring Operation: 4+25=29, Resulting Numbers: [43, 29]
Generated Node #0,2,0: 51:[43, 29] Operation: 4+25=29
Exploring Operation: 43-25=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 51:[4, 18] Operation: 43-25=18
Exploring Operation: 25+43=68, Resulting Numbers: [4, 68]
Generated Node #0,2,2: 51:[4, 68] Operation: 25+43=68
Exploring Operation: 4+43=47, Resulting Numbers: [25, 47]
Generated Node #0,2,3: 51:[25, 47] Operation: 4+43=47
Exploring Operation: 25-4=21, Resulting Numbers: [43, 21]
Generated Node #0,2,4: 51:[43, 21] Operation: 25-4=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[4, 18], Operations: ['2+41=43', '43-25=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[25, 47], Operations: ['2+41=43', '4+43=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,51 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[43, 21], Operations: ['2+41=43', '25-4=21']
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,51 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[4, 68], Operations: ['2+41=43', '25+43=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[43, 29], Operations: ['2+41=43', '4+25=29']
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,51 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
97,
34,
61,
60
] | 10 | [
"97+34=131",
"61+60=121",
"131-121=10"
] | Current State: 10:[97, 34, 61, 60], Operations: []
Exploring Operation: 97+34=131, Resulting Numbers: [61, 60, 131]
Generated Node #2: [61, 60, 131] from Operation: 97+34=131
Current State: 10:[61, 60, 131], Operations: ['97+34=131']
Exploring Operation: 61+60=121, Resulting Numbers: [131, 121]
Generated Node #3: [131, 121] from Operation: 61+60=121
Current State: 10:[131, 121], Operations: ['97+34=131', '61+60=121']
Exploring Operation: 131-121=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[97, 34, 61, 60], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [34, 60, 36]
Generated Node #0,0: 10:[34, 60, 36] Operation: 97-61=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[34, 60, 36], Operations: ['97-61=36']
Exploring Operation: 60-36=24, Resulting Numbers: [34, 24]
Generated Node #0,0,0: 10:[34, 24] Operation: 60-36=24
Moving to Node #0,0,0
Current State: 10:[34, 24], Operations: ['97-61=36', '60-36=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[97, 34, 61, 60], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [34, 60, 36]
Generated Node #0,0: 10:[34, 60, 36] Operation: 97-61=36
Moving to Node #0,0
Current State: 10:[34, 60, 36], Operations: ['97-61=36']
Exploring Operation: 60-36=24, Resulting Numbers: [34, 24]
Generated Node #0,0,0: 10:[34, 24] Operation: 60-36=24
Moving to Node #0,0,0
Current State: 10:[34, 24], Operations: ['97-61=36', '60-36=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
44,
10,
5
] | 48 | [
"46-44=2",
"10*5=50",
"50-2=48"
] | Current State: 48:[46, 44, 10, 5], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [10, 5, 2]
Generated Node #2: [10, 5, 2] from Operation: 46-44=2
Current State: 48:[10, 5, 2], Operations: ['46-44=2']
Exploring Operation: 10*5=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 10*5=50
Current State: 48:[2, 50], Operations: ['46-44=2', '10*5=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[46, 44, 10, 5], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [10, 5, 2]
Generated Node #0,0: 48:[10, 5, 2] Operation: 46-44=2
Exploring Operation: 10/5=2, Resulting Numbers: [46, 44, 2]
Generated Node #0,1: 48:[46, 44, 2] Operation: 10/5=2
Exploring Operation: 44+5=49, Resulting Numbers: [46, 10, 49]
Generated Node #0,2: 48:[46, 10, 49] Operation: 44+5=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[10, 5, 2], Operations: ['46-44=2']
Exploring Operation: 10/5=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 48:[2, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 48:[2, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 48:[2, 15] Operation: 10+5=15
Moving to Node #0,0,0
Current State: 48:[2, 2], Operations: ['46-44=2', '10/5=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[2, 5], Operations: ['46-44=2', '10-5=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[2, 15], Operations: ['46-44=2', '10+5=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[46, 10, 49], Operations: ['44+5=49']
Exploring Operation: 46+10=56, Resulting Numbers: [49, 56]
Generated Node #0,2,0: 48:[49, 56] Operation: 46+10=56
Exploring Operation: 49-10=39, Resulting Numbers: [46, 39]
Generated Node #0,2,1: 48:[46, 39] Operation: 49-10=39
Exploring Operation: 49-46=3, Resulting Numbers: [10, 3]
Generated Node #0,2,2: 48:[10, 3] Operation: 49-46=3
Moving to Node #0,2,2
Current State: 48:[10, 3], Operations: ['44+5=49', '49-46=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[49, 56], Operations: ['44+5=49', '46+10=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[46, 39], Operations: ['44+5=49', '49-10=39']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,48 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[46, 44, 2], Operations: ['10/5=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46, 46]
Generated Node #0,1,0: 48:[46, 46] Operation: 44+2=46
Exploring Operation: 46+2=48, Resulting Numbers: [44, 48]
Generated Node #0,1,1: 48:[44, 48] Operation: 46+2=48
Exploring Operation: 46-44=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 48:[2, 2] Operation: 46-44=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[2, 2], Operations: ['10/5=2', '46-44=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
No 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: 48:[46, 46], Operations: ['10/5=2', '44+2=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,48 unequal: No Solution
No 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: 48:[44, 48], Operations: ['10/5=2', '46+2=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
80,
81,
24
] | 81 | [
"24-24=0",
"80*0=0",
"81+0=81"
] | Current State: 81:[24, 80, 81, 24], Operations: []
Exploring Operation: 24-24=0, Resulting Numbers: [80, 81, 0]
Generated Node #2: [80, 81, 0] from Operation: 24-24=0
Current State: 81:[80, 81, 0], Operations: ['24-24=0']
Exploring Operation: 80*0=0, Resulting Numbers: [81, 0]
Generated Node #3: [81, 0] from Operation: 80*0=0
Current State: 81:[81, 0], Operations: ['24-24=0', '80*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[24, 80, 81, 24], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [80, 81, 1]
Generated Node #0,0: 81:[80, 81, 1] Operation: 24/24=1
Moving to Node #0,0
Current State: 81:[80, 81, 1], Operations: ['24/24=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81, 81]
Generated Node #0,0,0: 81:[81, 81] Operation: 80+1=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[81, 81], Operations: ['24/24=1', '80+1=81']
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,81 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 |
[
89,
34,
54,
21
] | 88 | [
"89-34=55",
"54-21=33",
"55+33=88"
] | Current State: 88:[89, 34, 54, 21], Operations: []
Exploring Operation: 89-34=55, Resulting Numbers: [54, 21, 55]
Generated Node #2: [54, 21, 55] from Operation: 89-34=55
Current State: 88:[54, 21, 55], Operations: ['89-34=55']
Exploring Operation: 54-21=33, Resulting Numbers: [55, 33]
Generated Node #3: [55, 33] from Operation: 54-21=33
Current State: 88:[55, 33], Operations: ['89-34=55', '54-21=33']
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[89, 34, 54, 21], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [89, 21, 20]
Generated Node #0,0: 88:[89, 21, 20] Operation: 54-34=20
Exploring Operation: 34+54=88, Resulting Numbers: [89, 21, 88]
Generated Node #0,1: 88:[89, 21, 88] Operation: 34+54=88
Moving to Node #0,1
Current State: 88:[89, 21, 88], Operations: ['34+54=88']
Exploring Operation: 89-88=1, Resulting Numbers: [21, 1]
Generated Node #0,1,0: 88:[21, 1] Operation: 89-88=1
Exploring Operation: 89-21=68, Resulting Numbers: [88, 68]
Generated Node #0,1,1: 88:[88, 68] Operation: 89-21=68
Moving to Node #0,0
Current State: 88:[89, 21, 20], Operations: ['54-34=20']
Exploring Operation: 21-20=1, Resulting Numbers: [89, 1]
Generated Node #0,0,0: 88:[89, 1] Operation: 21-20=1
Exploring Operation: 21+20=41, Resulting Numbers: [89, 41]
Generated Node #0,0,1: 88:[89, 41] Operation: 21+20=41
Moving to Node #0,1,0
Current State: 88:[21, 1], Operations: ['34+54=88', '89-88=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[89, 1], Operations: ['54-34=20', '21-20=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[89, 34, 54, 21], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [89, 21, 20]
Generated Node #0,0: 88:[89, 21, 20] Operation: 54-34=20
Moving to Node #0,0
Current State: 88:[89, 21, 20], Operations: ['54-34=20']
Exploring Operation: 21-20=1, Resulting Numbers: [89, 1]
Generated Node #0,0,0: 88:[89, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 88:[89, 1], Operations: ['54-34=20', '21-20=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
91,
7,
55,
41
] | 11 | [
"91-55=36",
"41+36=77",
"77/7=11"
] | Current State: 11:[91, 7, 55, 41], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [7, 41, 36]
Generated Node #2: [7, 41, 36] from Operation: 91-55=36
Current State: 11:[7, 41, 36], Operations: ['91-55=36']
Exploring Operation: 41+36=77, Resulting Numbers: [7, 77]
Generated Node #3: [7, 77] from Operation: 41+36=77
Current State: 11:[7, 77], Operations: ['91-55=36', '41+36=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[91, 7, 55, 41], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [7, 41, 36]
Generated Node #0,0: 11:[7, 41, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[7, 41, 36], Operations: ['91-55=36']
Exploring Operation: 41-36=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 11:[7, 5] Operation: 41-36=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[7, 5], Operations: ['91-55=36', '41-36=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
78,
18,
44
] | 98 | [
"44-18=26",
"78/26=3",
"95+3=98"
] | Current State: 98:[95, 78, 18, 44], Operations: []
Exploring Operation: 44-18=26, Resulting Numbers: [95, 78, 26]
Generated Node #2: [95, 78, 26] from Operation: 44-18=26
Current State: 98:[95, 78, 26], Operations: ['44-18=26']
Exploring Operation: 78/26=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 78/26=3
Current State: 98:[95, 3], Operations: ['44-18=26', '78/26=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[95, 78, 18, 44], Operations: []
Exploring Operation: 78+18=96, Resulting Numbers: [95, 44, 96]
Generated Node #0,0: 98:[95, 44, 96] Operation: 78+18=96
Exploring Operation: 95-78=17, Resulting Numbers: [18, 44, 17]
Generated Node #0,1: 98:[18, 44, 17] Operation: 95-78=17
Exploring Operation: 78-18=60, Resulting Numbers: [95, 44, 60]
Generated Node #0,2: 98:[95, 44, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[95, 44, 96], Operations: ['78+18=96']
Exploring Operation: 96-44=52, Resulting Numbers: [95, 52]
Generated Node #0,0,0: 98:[95, 52] Operation: 96-44=52
Exploring Operation: 96-95=1, Resulting Numbers: [44, 1]
Generated Node #0,0,1: 98:[44, 1] Operation: 96-95=1
Exploring Operation: 95-44=51, Resulting Numbers: [96, 51]
Generated Node #0,0,2: 98:[96, 51] Operation: 95-44=51
Moving to Node #0,0,2
Current State: 98:[96, 51], Operations: ['78+18=96', '95-44=51']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,98 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[95, 52], Operations: ['78+18=96', '96-44=52']
Exploring Operation: 95+52=147, Resulting Numbers: [147]
147,98 unequal: No Solution
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 95*52=4940, Resulting Numbers: [4940]
4940,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[44, 1], Operations: ['78+18=96', '96-95=1']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[18, 44, 17], Operations: ['95-78=17']
Exploring Operation: 18+44=62, Resulting Numbers: [17, 62]
Generated Node #0,1,0: 98:[17, 62] Operation: 18+44=62
Exploring Operation: 18-17=1, Resulting Numbers: [44, 1]
Generated Node #0,1,1: 98:[44, 1] Operation: 18-17=1
Exploring Operation: 44-18=26, Resulting Numbers: [17, 26]
Generated Node #0,1,2: 98:[17, 26] Operation: 44-18=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[44, 1], Operations: ['95-78=17', '18-17=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[17, 26], Operations: ['95-78=17', '44-18=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,98 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[17, 62], Operations: ['95-78=17', '18+44=62']
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,98 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[95, 44, 60], Operations: ['78-18=60']
Exploring Operation: 44+60=104, Resulting Numbers: [95, 104]
Generated Node #0,2,0: 98:[95, 104] Operation: 44+60=104
Exploring Operation: 95-44=51, Resulting Numbers: [60, 51]
Generated Node #0,2,1: 98:[60, 51] Operation: 95-44=51
Exploring Operation: 60-44=16, Resulting Numbers: [95, 16]
Generated Node #0,2,2: 98:[95, 16] Operation: 60-44=16
Moving to Node #0,2,2
Current State: 98:[95, 16], Operations: ['78-18=60', '60-44=16']
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,98 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,98 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[95, 104], Operations: ['78-18=60', '44+60=104']
Exploring Operation: 104-95=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 95*104=9880, Resulting Numbers: [9880]
9880,98 unequal: No Solution
Exploring Operation: 95+104=199, Resulting Numbers: [199]
199,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[60, 51], Operations: ['78-18=60', '95-44=51']
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,98 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,98 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 |
[
19,
28,
81,
76
] | 57 | [
"76/19=4",
"81-28=53",
"4+53=57"
] | Current State: 57:[19, 28, 81, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [28, 81, 4]
Generated Node #2: [28, 81, 4] from Operation: 76/19=4
Current State: 57:[28, 81, 4], Operations: ['76/19=4']
Exploring Operation: 81-28=53, Resulting Numbers: [4, 53]
Generated Node #3: [4, 53] from Operation: 81-28=53
Current State: 57:[4, 53], Operations: ['76/19=4', '81-28=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[19, 28, 81, 76], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [19, 76, 53]
Generated Node #0,0: 57:[19, 76, 53] Operation: 81-28=53
Exploring Operation: 81-76=5, Resulting Numbers: [19, 28, 5]
Generated Node #0,1: 57:[19, 28, 5] Operation: 81-76=5
Exploring Operation: 76-28=48, Resulting Numbers: [19, 81, 48]
Generated Node #0,2: 57:[19, 81, 48] Operation: 76-28=48
Exploring Operation: 81-19=62, Resulting Numbers: [28, 76, 62]
Generated Node #0,3: 57:[28, 76, 62] Operation: 81-19=62
Exploring Operation: 76-19=57, Resulting Numbers: [28, 81, 57]
Generated Node #0,4: 57:[28, 81, 57] Operation: 76-19=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[19, 28, 5], Operations: ['81-76=5']
Exploring Operation: 19+28=47, Resulting Numbers: [5, 47]
Generated Node #0,1,0: 57:[5, 47] Operation: 19+28=47
Exploring Operation: 19+5=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 57:[28, 24] Operation: 19+5=24
Exploring Operation: 19-5=14, Resulting Numbers: [28, 14]
Generated Node #0,1,2: 57:[28, 14] Operation: 19-5=14
Exploring Operation: 28-5=23, Resulting Numbers: [19, 23]
Generated Node #0,1,3: 57:[19, 23] Operation: 28-5=23
Exploring Operation: 28-19=9, Resulting Numbers: [5, 9]
Generated Node #0,1,4: 57:[5, 9] Operation: 28-19=9
Moving to Node #0,1,3
Current State: 57:[19, 23], Operations: ['81-76=5', '28-5=23']
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,57 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[5, 9], Operations: ['81-76=5', '28-19=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[5, 47], Operations: ['81-76=5', '19+28=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,57 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[28, 24], Operations: ['81-76=5', '19+5=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[28, 14], Operations: ['81-76=5', '19-5=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,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:[19, 76, 53], Operations: ['81-28=53']
Exploring Operation: 76-19=57, Resulting Numbers: [53, 57]
Generated Node #0,0,0: 57:[53, 57] Operation: 76-19=57
Exploring Operation: 19+53=72, Resulting Numbers: [76, 72]
Generated Node #0,0,1: 57:[76, 72] Operation: 19+53=72
Exploring Operation: 76/19=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 57:[53, 4] Operation: 76/19=4
Exploring Operation: 76-53=23, Resulting Numbers: [19, 23]
Generated Node #0,0,3: 57:[19, 23] Operation: 76-53=23
Exploring Operation: 53-19=34, Resulting Numbers: [76, 34]
Generated Node #0,0,4: 57:[76, 34] Operation: 53-19=34
Moving to Node #0,0,0
Current State: 57:[53, 57], Operations: ['81-28=53', '76-19=57']
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,57 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[19, 23], Operations: ['81-28=53', '76-53=23']
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,57 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[53, 4], Operations: ['81-28=53', '76/19=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[19, 28, 81, 76], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [19, 76, 53]
Generated Node #0,0: 57:[19, 76, 53] Operation: 81-28=53
Moving to Node #0,0
Current State: 57:[19, 76, 53], Operations: ['81-28=53']
Exploring Operation: 76/19=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 57:[53, 4] Operation: 76/19=4
Moving to Node #0,0,2
Current State: 57:[53, 4], Operations: ['81-28=53', '76/19=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
3,
55,
49,
58
] | 54 | [
"55+49=104",
"58+104=162",
"162/3=54"
] | Current State: 54:[3, 55, 49, 58], Operations: []
Exploring Operation: 55+49=104, Resulting Numbers: [3, 58, 104]
Generated Node #2: [3, 58, 104] from Operation: 55+49=104
Current State: 54:[3, 58, 104], Operations: ['55+49=104']
Exploring Operation: 58+104=162, Resulting Numbers: [3, 162]
Generated Node #3: [3, 162] from Operation: 58+104=162
Current State: 54:[3, 162], Operations: ['55+49=104', '58+104=162']
Exploring Operation: 162/3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 55, 49, 58], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [3, 55, 9]
Generated Node #0,0: 54:[3, 55, 9] Operation: 58-49=9
Exploring Operation: 55-49=6, Resulting Numbers: [3, 58, 6]
Generated Node #0,1: 54:[3, 58, 6] Operation: 55-49=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[3, 55, 9], Operations: ['58-49=9']
Exploring Operation: 9-3=6, Resulting Numbers: [55, 6]
Generated Node #0,0,0: 54:[55, 6] Operation: 9-3=6
Exploring Operation: 3*9=27, Resulting Numbers: [55, 27]
Generated Node #0,0,1: 54:[55, 27] Operation: 3*9=27
Moving to Node #0,0,0
Current State: 54:[55, 6], Operations: ['58-49=9', '9-3=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[55, 27], Operations: ['58-49=9', '3*9=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[3, 58, 6], Operations: ['55-49=6']
Exploring Operation: 58-3=55, Resulting Numbers: [6, 55]
Generated Node #0,1,0: 54:[6, 55] Operation: 58-3=55
Exploring Operation: 58-6=52, Resulting Numbers: [3, 52]
Generated Node #0,1,1: 54:[3, 52] Operation: 58-6=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[6, 55], Operations: ['55-49=6', '58-3=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[3, 52], Operations: ['55-49=6', '58-6=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
84,
81,
61
] | 77 | [
"82-61=21",
"84/21=4",
"81-4=77"
] | Current State: 77:[82, 84, 81, 61], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [84, 81, 21]
Generated Node #2: [84, 81, 21] from Operation: 82-61=21
Current State: 77:[84, 81, 21], Operations: ['82-61=21']
Exploring Operation: 84/21=4, Resulting Numbers: [81, 4]
Generated Node #3: [81, 4] from Operation: 84/21=4
Current State: 77:[81, 4], Operations: ['82-61=21', '84/21=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[82, 84, 81, 61], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [84, 81, 21]
Generated Node #0,0: 77:[84, 81, 21] Operation: 82-61=21
Exploring Operation: 84-61=23, Resulting Numbers: [82, 81, 23]
Generated Node #0,1: 77:[82, 81, 23] Operation: 84-61=23
Exploring Operation: 81-61=20, Resulting Numbers: [82, 84, 20]
Generated Node #0,2: 77:[82, 84, 20] Operation: 81-61=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[84, 81, 21], Operations: ['82-61=21']
Exploring Operation: 84-81=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 77:[21, 3] Operation: 84-81=3
Exploring Operation: 84/21=4, Resulting Numbers: [81, 4]
Generated Node #0,0,1: 77:[81, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [81, 63]
Generated Node #0,0,2: 77:[81, 63] Operation: 84-21=63
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[81, 4], Operations: ['82-61=21', '84/21=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[82, 84, 81, 61], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [84, 81, 21]
Generated Node #0,0: 77:[84, 81, 21] Operation: 82-61=21
Moving to Node #0,0
Current State: 77:[84, 81, 21], Operations: ['82-61=21']
Exploring Operation: 84/21=4, Resulting Numbers: [81, 4]
Generated Node #0,0,1: 77:[81, 4] Operation: 84/21=4
Moving to Node #0,0,1
Current State: 77:[81, 4], Operations: ['82-61=21', '84/21=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
48,
33,
4,
47
] | 66 | [
"48-33=15",
"4+47=51",
"15+51=66"
] | Current State: 66:[48, 33, 4, 47], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [4, 47, 15]
Generated Node #2: [4, 47, 15] from Operation: 48-33=15
Current State: 66:[4, 47, 15], Operations: ['48-33=15']
Exploring Operation: 4+47=51, Resulting Numbers: [15, 51]
Generated Node #3: [15, 51] from Operation: 4+47=51
Current State: 66:[15, 51], Operations: ['48-33=15', '4+47=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[48, 33, 4, 47], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [4, 47, 15]
Generated Node #0,0: 66:[4, 47, 15] Operation: 48-33=15
Exploring Operation: 48-47=1, Resulting Numbers: [33, 4, 1]
Generated Node #0,1: 66:[33, 4, 1] Operation: 48-47=1
Exploring Operation: 48/4=12, Resulting Numbers: [33, 47, 12]
Generated Node #0,2: 66:[33, 47, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[33, 4, 1], Operations: ['48-47=1']
Exploring Operation: 4-1=3, Resulting Numbers: [33, 3]
Generated Node #0,1,0: 66:[33, 3] Operation: 4-1=3
Exploring Operation: 33*1=33, Resulting Numbers: [4, 33]
Generated Node #0,1,1: 66:[4, 33] Operation: 33*1=33
Exploring Operation: 33/1=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 66:[4, 33] Operation: 33/1=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[33, 3], Operations: ['48-47=1', '4-1=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No 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: 66:[4, 33], Operations: ['48-47=1', '33*1=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,66 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No 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: 66:[4, 33], Operations: ['48-47=1', '33/1=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,66 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,66 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: 66:[33, 47, 12], Operations: ['48/4=12']
Exploring Operation: 47-33=14, Resulting Numbers: [12, 14]
Generated Node #0,2,0: 66:[12, 14] Operation: 47-33=14
Exploring Operation: 47+12=59, Resulting Numbers: [33, 59]
Generated Node #0,2,1: 66:[33, 59] Operation: 47+12=59
Exploring Operation: 47-12=35, Resulting Numbers: [33, 35]
Generated Node #0,2,2: 66:[33, 35] Operation: 47-12=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[33, 35], Operations: ['48/4=12', '47-12=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,66 unequal: No Solution
No 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: 66:[12, 14], Operations: ['48/4=12', '47-33=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,66 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No 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: 66:[33, 59], Operations: ['48/4=12', '47+12=59']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 33*59=1947, Resulting Numbers: [1947]
1947,66 unequal: No Solution
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,66 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: 66:[4, 47, 15], Operations: ['48-33=15']
Exploring Operation: 47-4=43, Resulting Numbers: [15, 43]
Generated Node #0,0,0: 66:[15, 43] Operation: 47-4=43
Exploring Operation: 47+15=62, Resulting Numbers: [4, 62]
Generated Node #0,0,1: 66:[4, 62] Operation: 47+15=62
Exploring Operation: 47-15=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 66:[4, 32] Operation: 47-15=32
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[4, 32], Operations: ['48-33=15', '47-15=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No 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: 66:[4, 62], Operations: ['48-33=15', '47+15=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[48, 33, 4, 47], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [4, 47, 15]
Generated Node #0,0: 66:[4, 47, 15] Operation: 48-33=15
Moving to Node #0,0
Current State: 66:[4, 47, 15], Operations: ['48-33=15']
Exploring Operation: 47+15=62, Resulting Numbers: [4, 62]
Generated Node #0,0,1: 66:[4, 62] Operation: 47+15=62
Moving to Node #0,0,1
Current State: 66:[4, 62], Operations: ['48-33=15', '47+15=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
20,
60,
7,
35
] | 75 | [
"20+60=80",
"35/7=5",
"80-5=75"
] | Current State: 75:[20, 60, 7, 35], Operations: []
Exploring Operation: 20+60=80, Resulting Numbers: [7, 35, 80]
Generated Node #2: [7, 35, 80] from Operation: 20+60=80
Current State: 75:[7, 35, 80], Operations: ['20+60=80']
Exploring Operation: 35/7=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 35/7=5
Current State: 75:[80, 5], Operations: ['20+60=80', '35/7=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[20, 60, 7, 35], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [20, 7, 25]
Generated Node #0,0: 75:[20, 7, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[20, 7, 25], Operations: ['60-35=25']
Exploring Operation: 20+7=27, Resulting Numbers: [25, 27]
Generated Node #0,0,0: 75:[25, 27] Operation: 20+7=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[25, 27], Operations: ['60-35=25', '20+7=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,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 |
[
22,
88,
62,
2
] | 92 | [
"22+62=84",
"88*2=176",
"176-84=92"
] | Current State: 92:[22, 88, 62, 2], Operations: []
Exploring Operation: 22+62=84, Resulting Numbers: [88, 2, 84]
Generated Node #2: [88, 2, 84] from Operation: 22+62=84
Current State: 92:[88, 2, 84], Operations: ['22+62=84']
Exploring Operation: 88*2=176, Resulting Numbers: [84, 176]
Generated Node #3: [84, 176] from Operation: 88*2=176
Current State: 92:[84, 176], Operations: ['22+62=84', '88*2=176']
Exploring Operation: 176-84=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[22, 88, 62, 2], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [22, 2, 26]
Generated Node #0,0: 92:[22, 2, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[22, 2, 26], Operations: ['88-62=26']
Exploring Operation: 26-22=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 92:[2, 4] Operation: 26-22=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 4], Operations: ['88-62=26', '26-22=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
33,
1,
1
] | 36 | [
"4+33=37",
"1*1=1",
"37-1=36"
] | Current State: 36:[4, 33, 1, 1], Operations: []
Exploring Operation: 4+33=37, Resulting Numbers: [1, 1, 37]
Generated Node #2: [1, 1, 37] from Operation: 4+33=37
Current State: 36:[1, 1, 37], Operations: ['4+33=37']
Exploring Operation: 1*1=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 1*1=1
Current State: 36:[37, 1], Operations: ['4+33=37', '1*1=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[4, 33, 1, 1], Operations: []
Exploring Operation: 33+1=34, Resulting Numbers: [4, 1, 34]
Generated Node #0,0: 36:[4, 1, 34] Operation: 33+1=34
Exploring Operation: 4+33=37, Resulting Numbers: [1, 1, 37]
Generated Node #0,1: 36:[1, 1, 37] Operation: 4+33=37
Exploring Operation: 33+1=34, Resulting Numbers: [4, 1, 34]
Generated Node #0,2: 36:[4, 1, 34] Operation: 33+1=34
Exploring Operation: 1+1=2, Resulting Numbers: [4, 33, 2]
Generated Node #0,3: 36:[4, 33, 2] Operation: 1+1=2
Moving to Node #0,0
Current State: 36:[4, 1, 34], Operations: ['33+1=34']
Exploring Operation: 4/1=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 36:[34, 4] Operation: 4/1=4
Exploring Operation: 1+34=35, Resulting Numbers: [4, 35]
Generated Node #0,0,1: 36:[4, 35] Operation: 1+34=35
Exploring Operation: 4*1=4, Resulting Numbers: [34, 4]
Generated Node #0,0,2: 36:[34, 4] Operation: 4*1=4
Exploring Operation: 4-1=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 36:[34, 3] Operation: 4-1=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[4, 35], Operations: ['33+1=34', '1+34=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,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,0
Current State: 36:[34, 4], Operations: ['33+1=34', '4/1=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,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,2
Current State: 36:[34, 4], Operations: ['33+1=34', '4*1=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,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,3
Current State: 36:[34, 3], Operations: ['33+1=34', '4-1=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 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: 36:[4, 1, 34], Operations: ['33+1=34']
Exploring Operation: 1+34=35, Resulting Numbers: [4, 35]
Generated Node #0,2,0: 36:[4, 35] Operation: 1+34=35
Exploring Operation: 4*1=4, Resulting Numbers: [34, 4]
Generated Node #0,2,1: 36:[34, 4] Operation: 4*1=4
Exploring Operation: 4-1=3, Resulting Numbers: [34, 3]
Generated Node #0,2,2: 36:[34, 3] Operation: 4-1=3
Exploring Operation: 4/1=4, Resulting Numbers: [34, 4]
Generated Node #0,2,3: 36:[34, 4] Operation: 4/1=4
Moving to Node #0,1
Current State: 36:[1, 1, 37], Operations: ['4+33=37']
Exploring Operation: 1*1=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 36:[37, 1] Operation: 1*1=1
Exploring Operation: 1+1=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 36:[37, 2] Operation: 1+1=2
Exploring Operation: 37-1=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 36:[1, 36] Operation: 37-1=36
Exploring Operation: 37-1=36, Resulting Numbers: [1, 36]
Generated Node #0,1,3: 36:[1, 36] Operation: 37-1=36
Moving to Node #0,3
Current State: 36:[4, 33, 2], Operations: ['1+1=2']
Exploring Operation: 4+33=37, Resulting Numbers: [2, 37]
Generated Node #0,3,0: 36:[2, 37] Operation: 4+33=37
Exploring Operation: 4-2=2, Resulting Numbers: [33, 2]
Generated Node #0,3,1: 36:[33, 2] Operation: 4-2=2
Exploring Operation: 33+2=35, Resulting Numbers: [4, 35]
Generated Node #0,3,2: 36:[4, 35] Operation: 33+2=35
Exploring Operation: 4+2=6, Resulting Numbers: [33, 6]
Generated Node #0,3,3: 36:[33, 6] Operation: 4+2=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[2, 37], Operations: ['1+1=2', '4+33=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,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,3,2
Current State: 36:[4, 35], Operations: ['1+1=2', '33+2=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,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,3,1
Current State: 36:[33, 2], Operations: ['1+1=2', '4-2=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,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,3,3
Current State: 36:[33, 6], Operations: ['1+1=2', '4+2=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,36 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,36 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: 36:[4, 35], Operations: ['33+1=34', '1+34=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[1, 36], Operations: ['4+33=37', '37-1=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[4, 33, 1, 1], Operations: []
Exploring Operation: 4+33=37, Resulting Numbers: [1, 1, 37]
Generated Node #0,1: 36:[1, 1, 37] Operation: 4+33=37
Moving to Node #0,1
Current State: 36:[1, 1, 37], Operations: ['4+33=37']
Exploring Operation: 37-1=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 36:[1, 36] Operation: 37-1=36
Moving to Node #0,1,2
Current State: 36:[1, 36], Operations: ['4+33=37', '37-1=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
35,
25,
7,
82
] | 85 | [
"35-25=10",
"82-7=75",
"10+75=85"
] | Current State: 85:[35, 25, 7, 82], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [7, 82, 10]
Generated Node #2: [7, 82, 10] from Operation: 35-25=10
Current State: 85:[7, 82, 10], Operations: ['35-25=10']
Exploring Operation: 82-7=75, Resulting Numbers: [10, 75]
Generated Node #3: [10, 75] from Operation: 82-7=75
Current State: 85:[10, 75], Operations: ['35-25=10', '82-7=75']
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 25, 7, 82], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [7, 82, 10]
Generated Node #0,0: 85:[7, 82, 10] Operation: 35-25=10
Exploring Operation: 35/7=5, Resulting Numbers: [25, 82, 5]
Generated Node #0,1: 85:[25, 82, 5] Operation: 35/7=5
Moving to Node #0,0
Current State: 85:[7, 82, 10], Operations: ['35-25=10']
Exploring Operation: 7+10=17, Resulting Numbers: [82, 17]
Generated Node #0,0,0: 85:[82, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [82, 3]
Generated Node #0,0,1: 85:[82, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[82, 17], Operations: ['35-25=10', '7+10=17']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,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,0,1
Current State: 85:[82, 3], Operations: ['35-25=10', '10-7=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[35, 25, 7, 82], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [7, 82, 10]
Generated Node #0,0: 85:[7, 82, 10] Operation: 35-25=10
Moving to Node #0,0
Current State: 85:[7, 82, 10], Operations: ['35-25=10']
Exploring Operation: 10-7=3, Resulting Numbers: [82, 3]
Generated Node #0,0,1: 85:[82, 3] Operation: 10-7=3
Moving to Node #0,0,1
Current State: 85:[82, 3], Operations: ['35-25=10', '10-7=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
4,
12,
34,
33
] | 86 | [
"4*33=132",
"12+34=46",
"132-46=86"
] | Current State: 86:[4, 12, 34, 33], Operations: []
Exploring Operation: 4*33=132, Resulting Numbers: [12, 34, 132]
Generated Node #2: [12, 34, 132] from Operation: 4*33=132
Current State: 86:[12, 34, 132], Operations: ['4*33=132']
Exploring Operation: 12+34=46, Resulting Numbers: [132, 46]
Generated Node #3: [132, 46] from Operation: 12+34=46
Current State: 86:[132, 46], Operations: ['4*33=132', '12+34=46']
Exploring Operation: 132-46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[4, 12, 34, 33], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [4, 12, 1]
Generated Node #0,0: 86:[4, 12, 1] Operation: 34-33=1
Exploring Operation: 12+33=45, Resulting Numbers: [4, 34, 45]
Generated Node #0,1: 86:[4, 34, 45] Operation: 12+33=45
Exploring Operation: 12+34=46, Resulting Numbers: [4, 33, 46]
Generated Node #0,2: 86:[4, 33, 46] Operation: 12+34=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 12, 1], Operations: ['34-33=1']
Exploring Operation: 12/4=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 86:[1, 3] Operation: 12/4=3
Exploring Operation: 12-4=8, Resulting Numbers: [1, 8]
Generated Node #0,0,1: 86:[1, 8] Operation: 12-4=8
Exploring Operation: 4*12=48, Resulting Numbers: [1, 48]
Generated Node #0,0,2: 86:[1, 48] Operation: 4*12=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[1, 3], Operations: ['34-33=1', '12/4=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No 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: 86:[1, 48], Operations: ['34-33=1', '4*12=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No 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: 86:[1, 8], Operations: ['34-33=1', '12-4=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,86 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: 86:[4, 34, 45], Operations: ['12+33=45']
Exploring Operation: 4+34=38, Resulting Numbers: [45, 38]
Generated Node #0,1,0: 86:[45, 38] Operation: 4+34=38
Exploring Operation: 34+45=79, Resulting Numbers: [4, 79]
Generated Node #0,1,1: 86:[4, 79] Operation: 34+45=79
Exploring Operation: 45-4=41, Resulting Numbers: [34, 41]
Generated Node #0,1,2: 86:[34, 41] Operation: 45-4=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[45, 38], Operations: ['12+33=45', '4+34=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,86 unequal: No Solution
No 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: 86:[4, 79], Operations: ['12+33=45', '34+45=79']
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,86 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,86 unequal: No Solution
No 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: 86:[34, 41], Operations: ['12+33=45', '45-4=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,86 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,86 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,86 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: 86:[4, 33, 46], Operations: ['12+34=46']
Exploring Operation: 46-4=42, Resulting Numbers: [33, 42]
Generated Node #0,2,0: 86:[33, 42] Operation: 46-4=42
Exploring Operation: 33+46=79, Resulting Numbers: [4, 79]
Generated Node #0,2,1: 86:[4, 79] Operation: 33+46=79
Exploring Operation: 4+33=37, Resulting Numbers: [46, 37]
Generated Node #0,2,2: 86:[46, 37] Operation: 4+33=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[4, 79], Operations: ['12+34=46', '33+46=79']
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,86 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,86 unequal: No Solution
No 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: 86:[46, 37], Operations: ['12+34=46', '4+33=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,86 unequal: No Solution
No 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: 86:[33, 42], Operations: ['12+34=46', '46-4=42']
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,86 unequal: No Solution
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,86 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
67,
14,
95,
24
] | 12 | [
"95-67=28",
"14*24=336",
"336/28=12"
] | Current State: 12:[67, 14, 95, 24], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [14, 24, 28]
Generated Node #2: [14, 24, 28] from Operation: 95-67=28
Current State: 12:[14, 24, 28], Operations: ['95-67=28']
Exploring Operation: 14*24=336, Resulting Numbers: [28, 336]
Generated Node #3: [28, 336] from Operation: 14*24=336
Current State: 12:[28, 336], Operations: ['95-67=28', '14*24=336']
Exploring Operation: 336/28=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[67, 14, 95, 24], Operations: []
Exploring Operation: 95-24=71, Resulting Numbers: [67, 14, 71]
Generated Node #0,0: 12:[67, 14, 71] Operation: 95-24=71
Exploring Operation: 67-14=53, Resulting Numbers: [95, 24, 53]
Generated Node #0,1: 12:[95, 24, 53] Operation: 67-14=53
Exploring Operation: 95-67=28, Resulting Numbers: [14, 24, 28]
Generated Node #0,2: 12:[14, 24, 28] Operation: 95-67=28
Exploring Operation: 67-24=43, Resulting Numbers: [14, 95, 43]
Generated Node #0,3: 12:[14, 95, 43] Operation: 67-24=43
Moving to Node #0,2
Current State: 12:[14, 24, 28], Operations: ['95-67=28']
Exploring Operation: 28-24=4, Resulting Numbers: [14, 4]
Generated Node #0,2,0: 12:[14, 4] Operation: 28-24=4
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 12:[24, 2] Operation: 28/14=2
Exploring Operation: 24-14=10, Resulting Numbers: [28, 10]
Generated Node #0,2,2: 12:[28, 10] Operation: 24-14=10
Exploring Operation: 28-14=14, Resulting Numbers: [24, 14]
Generated Node #0,2,3: 12:[24, 14] Operation: 28-14=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[14, 4], Operations: ['95-67=28', '28-24=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,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:[24, 2], Operations: ['95-67=28', '28/14=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[67, 14, 95, 24], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [14, 24, 28]
Generated Node #0,2: 12:[14, 24, 28] Operation: 95-67=28
Moving to Node #0,2
Current State: 12:[14, 24, 28], Operations: ['95-67=28']
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 12:[24, 2] Operation: 28/14=2
Moving to Node #0,2,1
Current State: 12:[24, 2], Operations: ['95-67=28', '28/14=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
9,
55,
16,
12
] | 43 | [
"9*16=144",
"144/12=12",
"55-12=43"
] | Current State: 43:[9, 55, 16, 12], Operations: []
Exploring Operation: 9*16=144, Resulting Numbers: [55, 12, 144]
Generated Node #2: [55, 12, 144] from Operation: 9*16=144
Current State: 43:[55, 12, 144], Operations: ['9*16=144']
Exploring Operation: 144/12=12, Resulting Numbers: [55, 12]
Generated Node #3: [55, 12] from Operation: 144/12=12
Current State: 43:[55, 12], Operations: ['9*16=144', '144/12=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[9, 55, 16, 12], Operations: []
Exploring Operation: 55-9=46, Resulting Numbers: [16, 12, 46]
Generated Node #0,0: 43:[16, 12, 46] Operation: 55-9=46
Exploring Operation: 9+16=25, Resulting Numbers: [55, 12, 25]
Generated Node #0,1: 43:[55, 12, 25] Operation: 9+16=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[16, 12, 46], Operations: ['55-9=46']
Exploring Operation: 46-12=34, Resulting Numbers: [16, 34]
Generated Node #0,0,0: 43:[16, 34] Operation: 46-12=34
Exploring Operation: 16+12=28, Resulting Numbers: [46, 28]
Generated Node #0,0,1: 43:[46, 28] Operation: 16+12=28
Moving to Node #0,0,1
Current State: 43:[46, 28], Operations: ['55-9=46', '16+12=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[16, 34], Operations: ['55-9=46', '46-12=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,43 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,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
Current State: 43:[55, 12, 25], Operations: ['9+16=25']
Exploring Operation: 12+25=37, Resulting Numbers: [55, 37]
Generated Node #0,1,0: 43:[55, 37] Operation: 12+25=37
Exploring Operation: 55-12=43, Resulting Numbers: [25, 43]
Generated Node #0,1,1: 43:[25, 43] Operation: 55-12=43
Moving to Node #0,1,0
Current State: 43:[55, 37], Operations: ['9+16=25', '12+25=37']
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[25, 43], Operations: ['9+16=25', '55-12=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,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 |
[
9,
36,
66,
63
] | 12 | [
"36/9=4",
"66-63=3",
"4*3=12"
] | Current State: 12:[9, 36, 66, 63], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [66, 63, 4]
Generated Node #2: [66, 63, 4] from Operation: 36/9=4
Current State: 12:[66, 63, 4], Operations: ['36/9=4']
Exploring Operation: 66-63=3, Resulting Numbers: [4, 3]
Generated Node #3: [4, 3] from Operation: 66-63=3
Current State: 12:[4, 3], Operations: ['36/9=4', '66-63=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[9, 36, 66, 63], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [9, 66, 27]
Generated Node #0,0: 12:[9, 66, 27] Operation: 63-36=27
Exploring Operation: 66-36=30, Resulting Numbers: [9, 63, 30]
Generated Node #0,1: 12:[9, 63, 30] Operation: 66-36=30
Exploring Operation: 66-63=3, Resulting Numbers: [9, 36, 3]
Generated Node #0,2: 12:[9, 36, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[9, 36, 3], Operations: ['66-63=3']
Exploring Operation: 36-9=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 12:[3, 27] Operation: 36-9=27
Exploring Operation: 36/3=12, Resulting Numbers: [9, 12]
Generated Node #0,2,1: 12:[9, 12] Operation: 36/3=12
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 12:[3, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[3, 4], Operations: ['66-63=3', '36/9=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[9, 36, 66, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [9, 36, 3]
Generated Node #0,2: 12:[9, 36, 3] Operation: 66-63=3
Moving to Node #0,2
Current State: 12:[9, 36, 3], Operations: ['66-63=3']
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 12:[3, 4] Operation: 36/9=4
Moving to Node #0,2,2
Current State: 12:[3, 4], Operations: ['66-63=3', '36/9=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
5,
65,
57,
43
] | 33 | [
"65+57=122",
"43+122=165",
"165/5=33"
] | Current State: 33:[5, 65, 57, 43], Operations: []
Exploring Operation: 65+57=122, Resulting Numbers: [5, 43, 122]
Generated Node #2: [5, 43, 122] from Operation: 65+57=122
Current State: 33:[5, 43, 122], Operations: ['65+57=122']
Exploring Operation: 43+122=165, Resulting Numbers: [5, 165]
Generated Node #3: [5, 165] from Operation: 43+122=165
Current State: 33:[5, 165], Operations: ['65+57=122', '43+122=165']
Exploring Operation: 165/5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[5, 65, 57, 43], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [5, 43, 8]
Generated Node #0,0: 33:[5, 43, 8] Operation: 65-57=8
Exploring Operation: 65/5=13, Resulting Numbers: [57, 43, 13]
Generated Node #0,1: 33:[57, 43, 13] Operation: 65/5=13
Moving to Node #0,0
Current State: 33:[5, 43, 8], Operations: ['65-57=8']
Exploring Operation: 43-8=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 33:[5, 35] Operation: 43-8=35
Exploring Operation: 43-5=38, Resulting Numbers: [8, 38]
Generated Node #0,0,1: 33:[8, 38] Operation: 43-5=38
Moving to Node #0,1
Current State: 33:[57, 43, 13], Operations: ['65/5=13']
Exploring Operation: 57-13=44, Resulting Numbers: [43, 44]
Generated Node #0,1,0: 33:[43, 44] Operation: 57-13=44
Exploring Operation: 57-43=14, Resulting Numbers: [13, 14]
Generated Node #0,1,1: 33:[13, 14] Operation: 57-43=14
Moving to Node #0,0,0
Current State: 33:[5, 35], Operations: ['65-57=8', '43-8=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[13, 14], Operations: ['65/5=13', '57-43=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[8, 38], Operations: ['65-57=8', '43-5=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[43, 44], Operations: ['65/5=13', '57-13=44']
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,33 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
33,
46,
25
] | 58 | [
"46+33=79",
"46-25=21",
"79-21=58"
] | Current State: 58:[46, 33, 46, 25], Operations: []
Exploring Operation: 46+33=79, Resulting Numbers: [25, 79]
Generated Node #2: [25, 79] from Operation: 46+33=79
Current State: 58:[25, 79], Operations: ['46+33=79']
Exploring Operation: 46-25=21, Resulting Numbers: [79, 21]
Generated Node #3: [79, 21] from Operation: 46-25=21
Current State: 58:[79, 21], Operations: ['46+33=79', '46-25=21']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[46, 33, 46, 25], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [33, 25, 0]
Generated Node #0,0: 58:[33, 25, 0] Operation: 46-46=0
Exploring Operation: 46/46=1, Resulting Numbers: [33, 25, 1]
Generated Node #0,1: 58:[33, 25, 1] Operation: 46/46=1
Moving to Node #0,1
Current State: 58:[33, 25, 1], Operations: ['46/46=1']
Exploring Operation: 33-25=8, Resulting Numbers: [1, 8]
Generated Node #0,1,0: 58:[1, 8] Operation: 33-25=8
Exploring Operation: 33+25=58, Resulting Numbers: [1, 58]
Generated Node #0,1,1: 58:[1, 58] Operation: 33+25=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[1, 58], Operations: ['46/46=1', '33+25=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[46, 33, 46, 25], Operations: []
Exploring Operation: 46/46=1, Resulting Numbers: [33, 25, 1]
Generated Node #0,1: 58:[33, 25, 1] Operation: 46/46=1
Moving to Node #0,1
Current State: 58:[33, 25, 1], Operations: ['46/46=1']
Exploring Operation: 33+25=58, Resulting Numbers: [1, 58]
Generated Node #0,1,1: 58:[1, 58] Operation: 33+25=58
Moving to Node #0,1,1
Current State: 58:[1, 58], Operations: ['46/46=1', '33+25=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
31,
54,
18,
56
] | 90 | [
"31+56=87",
"54/18=3",
"87+3=90"
] | Current State: 90:[31, 54, 18, 56], Operations: []
Exploring Operation: 31+56=87, Resulting Numbers: [54, 18, 87]
Generated Node #2: [54, 18, 87] from Operation: 31+56=87
Current State: 90:[54, 18, 87], Operations: ['31+56=87']
Exploring Operation: 54/18=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 54/18=3
Current State: 90:[87, 3], Operations: ['31+56=87', '54/18=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[31, 54, 18, 56], Operations: []
Exploring Operation: 31+56=87, Resulting Numbers: [54, 18, 87]
Generated Node #0,0: 90:[54, 18, 87] Operation: 31+56=87
Exploring Operation: 56-54=2, Resulting Numbers: [31, 18, 2]
Generated Node #0,1: 90:[31, 18, 2] Operation: 56-54=2
Moving to Node #0,1
Current State: 90:[31, 18, 2], Operations: ['56-54=2']
Exploring Operation: 18/2=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 90:[31, 9] Operation: 18/2=9
Exploring Operation: 31-2=29, Resulting Numbers: [18, 29]
Generated Node #0,1,1: 90:[18, 29] Operation: 31-2=29
Moving to Node #0,0
Current State: 90:[54, 18, 87], Operations: ['31+56=87']
Exploring Operation: 54/18=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 90:[87, 3] Operation: 54/18=3
Exploring Operation: 87-54=33, Resulting Numbers: [18, 33]
Generated Node #0,0,1: 90:[18, 33] Operation: 87-54=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[87, 3], Operations: ['31+56=87', '54/18=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[31, 54, 18, 56], Operations: []
Exploring Operation: 31+56=87, Resulting Numbers: [54, 18, 87]
Generated Node #0,0: 90:[54, 18, 87] Operation: 31+56=87
Moving to Node #0,0
Current State: 90:[54, 18, 87], Operations: ['31+56=87']
Exploring Operation: 54/18=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 90:[87, 3] Operation: 54/18=3
Moving to Node #0,0,0
Current State: 90:[87, 3], Operations: ['31+56=87', '54/18=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
26,
14,
3,
9
] | 36 | [
"26-14=12",
"9/3=3",
"12*3=36"
] | Current State: 36:[26, 14, 3, 9], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [3, 9, 12]
Generated Node #2: [3, 9, 12] from Operation: 26-14=12
Current State: 36:[3, 9, 12], Operations: ['26-14=12']
Exploring Operation: 9/3=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 9/3=3
Current State: 36:[12, 3], Operations: ['26-14=12', '9/3=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[26, 14, 3, 9], Operations: []
Exploring Operation: 26-9=17, Resulting Numbers: [14, 3, 17]
Generated Node #0,0: 36:[14, 3, 17] Operation: 26-9=17
Exploring Operation: 26+9=35, Resulting Numbers: [14, 3, 35]
Generated Node #0,1: 36:[14, 3, 35] Operation: 26+9=35
Exploring Operation: 26+14=40, Resulting Numbers: [3, 9, 40]
Generated Node #0,2: 36:[3, 9, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [3, 9, 12]
Generated Node #0,3: 36:[3, 9, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[3, 9, 12], Operations: ['26-14=12']
Exploring Operation: 3*12=36, Resulting Numbers: [9, 36]
Generated Node #0,3,0: 36:[9, 36] Operation: 3*12=36
Exploring Operation: 3+9=12, Resulting Numbers: [12, 12]
Generated Node #0,3,1: 36:[12, 12] Operation: 3+9=12
Exploring Operation: 9-3=6, Resulting Numbers: [12, 6]
Generated Node #0,3,2: 36:[12, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [12, 3]
Generated Node #0,3,3: 36:[12, 3] Operation: 9/3=3
Moving to Node #0,3,0
Current State: 36:[9, 36], Operations: ['26-14=12', '3*12=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,36 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[12, 6], Operations: ['26-14=12', '9-3=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[12, 12], Operations: ['26-14=12', '3+9=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,36 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[12, 3], Operations: ['26-14=12', '9/3=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[26, 14, 3, 9], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [3, 9, 12]
Generated Node #0,3: 36:[3, 9, 12] Operation: 26-14=12
Moving to Node #0,3
Current State: 36:[3, 9, 12], Operations: ['26-14=12']
Exploring Operation: 9/3=3, Resulting Numbers: [12, 3]
Generated Node #0,3,3: 36:[12, 3] Operation: 9/3=3
Moving to Node #0,3,3
Current State: 36:[12, 3], Operations: ['26-14=12', '9/3=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
70,
5,
25,
82
] | 96 | [
"70*5=350",
"350/25=14",
"82+14=96"
] | Current State: 96:[70, 5, 25, 82], Operations: []
Exploring Operation: 70*5=350, Resulting Numbers: [25, 82, 350]
Generated Node #2: [25, 82, 350] from Operation: 70*5=350
Current State: 96:[25, 82, 350], Operations: ['70*5=350']
Exploring Operation: 350/25=14, Resulting Numbers: [82, 14]
Generated Node #3: [82, 14] from Operation: 350/25=14
Current State: 96:[82, 14], Operations: ['70*5=350', '350/25=14']
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[70, 5, 25, 82], Operations: []
Exploring Operation: 70+25=95, Resulting Numbers: [5, 82, 95]
Generated Node #0,0: 96:[5, 82, 95] Operation: 70+25=95
Exploring Operation: 82-70=12, Resulting Numbers: [5, 25, 12]
Generated Node #0,1: 96:[5, 25, 12] Operation: 82-70=12
Moving to Node #0,1
Current State: 96:[5, 25, 12], Operations: ['82-70=12']
Exploring Operation: 5+25=30, Resulting Numbers: [12, 30]
Generated Node #0,1,0: 96:[12, 30] Operation: 5+25=30
Exploring Operation: 25/5=5, Resulting Numbers: [12, 5]
Generated Node #0,1,1: 96:[12, 5] Operation: 25/5=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[12, 5], Operations: ['82-70=12', '25/5=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,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,1,0
Current State: 96:[12, 30], Operations: ['82-70=12', '5+25=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,96 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: 96:[5, 82, 95], Operations: ['70+25=95']
Exploring Operation: 5+82=87, Resulting Numbers: [95, 87]
Generated Node #0,0,0: 96:[95, 87] Operation: 5+82=87
Exploring Operation: 95-82=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 96:[5, 13] Operation: 95-82=13
Moving to Node #0,0,1
Current State: 96:[5, 13], Operations: ['70+25=95', '95-82=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[95, 87], Operations: ['70+25=95', '5+82=87']
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,96 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
83,
30,
77,
31
] | 99 | [
"83-30=53",
"77-31=46",
"53+46=99"
] | Current State: 99:[83, 30, 77, 31], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [77, 31, 53]
Generated Node #2: [77, 31, 53] from Operation: 83-30=53
Current State: 99:[77, 31, 53], Operations: ['83-30=53']
Exploring Operation: 77-31=46, Resulting Numbers: [53, 46]
Generated Node #3: [53, 46] from Operation: 77-31=46
Current State: 99:[53, 46], Operations: ['83-30=53', '77-31=46']
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[83, 30, 77, 31], Operations: []
Exploring Operation: 30+77=107, Resulting Numbers: [83, 31, 107]
Generated Node #0,0: 99:[83, 31, 107] Operation: 30+77=107
Exploring Operation: 77+31=108, Resulting Numbers: [83, 30, 108]
Generated Node #0,1: 99:[83, 30, 108] Operation: 77+31=108
Exploring Operation: 83-77=6, Resulting Numbers: [30, 31, 6]
Generated Node #0,2: 99:[30, 31, 6] Operation: 83-77=6
Moving to Node #0,2
Current State: 99:[30, 31, 6], Operations: ['83-77=6']
Exploring Operation: 30+6=36, Resulting Numbers: [31, 36]
Generated Node #0,2,0: 99:[31, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [31, 5]
Generated Node #0,2,1: 99:[31, 5] Operation: 30/6=5
Exploring Operation: 31-30=1, Resulting Numbers: [6, 1]
Generated Node #0,2,2: 99:[6, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[31, 5], Operations: ['83-77=6', '30/6=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,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,2,0
Current State: 99:[31, 36], Operations: ['83-77=6', '30+6=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,99 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,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,2,2
Current State: 99:[6, 1], Operations: ['83-77=6', '31-30=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,99 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: 99:[83, 31, 107], Operations: ['30+77=107']
Exploring Operation: 107-83=24, Resulting Numbers: [31, 24]
Generated Node #0,0,0: 99:[31, 24] Operation: 107-83=24
Exploring Operation: 83+31=114, Resulting Numbers: [107, 114]
Generated Node #0,0,1: 99:[107, 114] Operation: 83+31=114
Exploring Operation: 83-31=52, Resulting Numbers: [107, 52]
Generated Node #0,0,2: 99:[107, 52] Operation: 83-31=52
Moving to Node #0,1
Current State: 99:[83, 30, 108], Operations: ['77+31=108']
Exploring Operation: 83-30=53, Resulting Numbers: [108, 53]
Generated Node #0,1,0: 99:[108, 53] Operation: 83-30=53
Exploring Operation: 108-83=25, Resulting Numbers: [30, 25]
Generated Node #0,1,1: 99:[30, 25] Operation: 108-83=25
Exploring Operation: 83+30=113, Resulting Numbers: [108, 113]
Generated Node #0,1,2: 99:[108, 113] Operation: 83+30=113
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[30, 25], Operations: ['77+31=108', '108-83=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,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,1,2
Current State: 99:[108, 113], Operations: ['77+31=108', '83+30=113']
Exploring Operation: 108*113=12204, Resulting Numbers: [12204]
12204,99 unequal: No Solution
Exploring Operation: 108+113=221, Resulting Numbers: [221]
221,99 unequal: No Solution
Exploring Operation: 113-108=5, Resulting Numbers: [5]
5,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,1,0
Current State: 99:[108, 53], Operations: ['77+31=108', '83-30=53']
Exploring Operation: 108+53=161, Resulting Numbers: [161]
161,99 unequal: No Solution
Exploring Operation: 108*53=5724, Resulting Numbers: [5724]
5724,99 unequal: No Solution
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 99:[31, 24], Operations: ['30+77=107', '107-83=24']
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,99 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[107, 114], Operations: ['30+77=107', '83+31=114']
Exploring Operation: 114-107=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 107+114=221, Resulting Numbers: [221]
221,99 unequal: No Solution
Exploring Operation: 107*114=12198, Resulting Numbers: [12198]
12198,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[107, 52], Operations: ['30+77=107', '83-31=52']
Exploring Operation: 107*52=5564, Resulting Numbers: [5564]
5564,99 unequal: No Solution
Exploring Operation: 107+52=159, Resulting Numbers: [159]
159,99 unequal: No Solution
Exploring Operation: 107-52=55, Resulting Numbers: [55]
55,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
30,
33,
90
] | 95 | [
"90-33=57",
"30*57=1710",
"1710/18=95"
] | Current State: 95:[18, 30, 33, 90], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [18, 30, 57]
Generated Node #2: [18, 30, 57] from Operation: 90-33=57
Current State: 95:[18, 30, 57], Operations: ['90-33=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [18, 1710]
Generated Node #3: [18, 1710] from Operation: 30*57=1710
Current State: 95:[18, 1710], Operations: ['90-33=57', '30*57=1710']
Exploring Operation: 1710/18=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[18, 30, 33, 90], Operations: []
Exploring Operation: 33-18=15, Resulting Numbers: [30, 90, 15]
Generated Node #0,0: 95:[30, 90, 15] Operation: 33-18=15
Exploring Operation: 90/30=3, Resulting Numbers: [18, 33, 3]
Generated Node #0,1: 95:[18, 33, 3] Operation: 90/30=3
Exploring Operation: 33-30=3, Resulting Numbers: [18, 90, 3]
Generated Node #0,2: 95:[18, 90, 3] Operation: 33-30=3
Moving to Node #0,2
Current State: 95:[18, 90, 3], Operations: ['33-30=3']
Exploring Operation: 90+3=93, Resulting Numbers: [18, 93]
Generated Node #0,2,0: 95:[18, 93] Operation: 90+3=93
Exploring Operation: 90/18=5, Resulting Numbers: [3, 5]
Generated Node #0,2,1: 95:[3, 5] Operation: 90/18=5
Exploring Operation: 18/3=6, Resulting Numbers: [90, 6]
Generated Node #0,2,2: 95:[90, 6] Operation: 18/3=6
Moving to Node #0,1
Current State: 95:[18, 33, 3], Operations: ['90/30=3']
Exploring Operation: 33-18=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 95:[3, 15] Operation: 33-18=15
Exploring Operation: 33*3=99, Resulting Numbers: [18, 99]
Generated Node #0,1,1: 95:[18, 99] Operation: 33*3=99
Exploring Operation: 33/3=11, Resulting Numbers: [18, 11]
Generated Node #0,1,2: 95:[18, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[18, 99], Operations: ['90/30=3', '33*3=99']
Exploring Operation: 18+99=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,95 unequal: No Solution
Exploring Operation: 18*99=1782, Resulting Numbers: [1782]
1782,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[3, 15], Operations: ['90/30=3', '33-18=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[18, 11], Operations: ['90/30=3', '33/3=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,95 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: 95:[30, 90, 15], Operations: ['33-18=15']
Exploring Operation: 30-15=15, Resulting Numbers: [90, 15]
Generated Node #0,0,0: 95:[90, 15] Operation: 30-15=15
Exploring Operation: 90/30=3, Resulting Numbers: [15, 3]
Generated Node #0,0,1: 95:[15, 3] Operation: 90/30=3
Exploring Operation: 30/15=2, Resulting Numbers: [90, 2]
Generated Node #0,0,2: 95:[90, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[15, 3], Operations: ['33-18=15', '90/30=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[90, 2], Operations: ['33-18=15', '30/15=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[90, 15], Operations: ['33-18=15', '30-15=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 95:[3, 5], Operations: ['33-30=3', '90/18=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[18, 93], Operations: ['33-30=3', '90+3=93']
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,95 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[90, 6], Operations: ['33-30=3', '18/3=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
45,
13,
9
] | 77 | [
"10+45=55",
"13+9=22",
"55+22=77"
] | Current State: 77:[10, 45, 13, 9], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [13, 9, 55]
Generated Node #2: [13, 9, 55] from Operation: 10+45=55
Current State: 77:[13, 9, 55], Operations: ['10+45=55']
Exploring Operation: 13+9=22, Resulting Numbers: [55, 22]
Generated Node #3: [55, 22] from Operation: 13+9=22
Current State: 77:[55, 22], Operations: ['10+45=55', '13+9=22']
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[10, 45, 13, 9], Operations: []
Exploring Operation: 45-13=32, Resulting Numbers: [10, 9, 32]
Generated Node #0,0: 77:[10, 9, 32] Operation: 45-13=32
Exploring Operation: 45+9=54, Resulting Numbers: [10, 13, 54]
Generated Node #0,1: 77:[10, 13, 54] Operation: 45+9=54
Exploring Operation: 45/9=5, Resulting Numbers: [10, 13, 5]
Generated Node #0,2: 77:[10, 13, 5] Operation: 45/9=5
Exploring Operation: 45+13=58, Resulting Numbers: [10, 9, 58]
Generated Node #0,3: 77:[10, 9, 58] Operation: 45+13=58
Exploring Operation: 10+45=55, Resulting Numbers: [13, 9, 55]
Generated Node #0,4: 77:[13, 9, 55] Operation: 10+45=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[10, 13, 5], Operations: ['45/9=5']
Exploring Operation: 10-5=5, Resulting Numbers: [13, 5]
Generated Node #0,2,0: 77:[13, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [13, 15]
Generated Node #0,2,1: 77:[13, 15] Operation: 10+5=15
Exploring Operation: 13-10=3, Resulting Numbers: [5, 3]
Generated Node #0,2,2: 77:[5, 3] Operation: 13-10=3
Exploring Operation: 13-5=8, Resulting Numbers: [10, 8]
Generated Node #0,2,3: 77:[10, 8] Operation: 13-5=8
Exploring Operation: 10/5=2, Resulting Numbers: [13, 2]
Generated Node #0,2,4: 77:[13, 2] Operation: 10/5=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[10, 8], Operations: ['45/9=5', '13-5=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[13, 5], Operations: ['45/9=5', '10-5=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[13, 15], Operations: ['45/9=5', '10+5=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,77 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[5, 3], Operations: ['45/9=5', '13-10=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 77:[13, 2], Operations: ['45/9=5', '10/5=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[10, 9, 58], Operations: ['45+13=58']
Exploring Operation: 58-9=49, Resulting Numbers: [10, 49]
Generated Node #0,3,0: 77:[10, 49] Operation: 58-9=49
Exploring Operation: 10+58=68, Resulting Numbers: [9, 68]
Generated Node #0,3,1: 77:[9, 68] Operation: 10+58=68
Exploring Operation: 10-9=1, Resulting Numbers: [58, 1]
Generated Node #0,3,2: 77:[58, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [58, 19]
Generated Node #0,3,3: 77:[58, 19] Operation: 10+9=19
Exploring Operation: 9+58=67, Resulting Numbers: [10, 67]
Generated Node #0,3,4: 77:[10, 67] Operation: 9+58=67
Moving to Node #0,3,1
Current State: 77:[9, 68], Operations: ['45+13=58', '10+58=68']
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[10, 45, 13, 9], Operations: []
Exploring Operation: 45+13=58, Resulting Numbers: [10, 9, 58]
Generated Node #0,3: 77:[10, 9, 58] Operation: 45+13=58
Moving to Node #0,3
Current State: 77:[10, 9, 58], Operations: ['45+13=58']
Exploring Operation: 10+58=68, Resulting Numbers: [9, 68]
Generated Node #0,3,1: 77:[9, 68] Operation: 10+58=68
Moving to Node #0,3,1
Current State: 77:[9, 68], Operations: ['45+13=58', '10+58=68']
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
21,
77,
72,
79
] | 53 | [
"21+77=98",
"72+79=151",
"151-98=53"
] | Current State: 53:[21, 77, 72, 79], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [72, 79, 98]
Generated Node #2: [72, 79, 98] from Operation: 21+77=98
Current State: 53:[72, 79, 98], Operations: ['21+77=98']
Exploring Operation: 72+79=151, Resulting Numbers: [98, 151]
Generated Node #3: [98, 151] from Operation: 72+79=151
Current State: 53:[98, 151], Operations: ['21+77=98', '72+79=151']
Exploring Operation: 151-98=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[21, 77, 72, 79], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [72, 79, 56]
Generated Node #0,0: 53:[72, 79, 56] Operation: 77-21=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[72, 79, 56], Operations: ['77-21=56']
Exploring Operation: 79-72=7, Resulting Numbers: [56, 7]
Generated Node #0,0,0: 53:[56, 7] Operation: 79-72=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 7], Operations: ['77-21=56', '79-72=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,53 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 |
[
45,
91,
96,
39
] | 81 | [
"91*39=3549",
"96+3549=3645",
"3645/45=81"
] | Current State: 81:[45, 91, 96, 39], Operations: []
Exploring Operation: 91*39=3549, Resulting Numbers: [45, 96, 3549]
Generated Node #2: [45, 96, 3549] from Operation: 91*39=3549
Current State: 81:[45, 96, 3549], Operations: ['91*39=3549']
Exploring Operation: 96+3549=3645, Resulting Numbers: [45, 3645]
Generated Node #3: [45, 3645] from Operation: 96+3549=3645
Current State: 81:[45, 3645], Operations: ['91*39=3549', '96+3549=3645']
Exploring Operation: 3645/45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[45, 91, 96, 39], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [91, 96, 6]
Generated Node #0,0: 81:[91, 96, 6] Operation: 45-39=6
Exploring Operation: 45+39=84, Resulting Numbers: [91, 96, 84]
Generated Node #0,1: 81:[91, 96, 84] Operation: 45+39=84
Exploring Operation: 96-91=5, Resulting Numbers: [45, 39, 5]
Generated Node #0,2: 81:[45, 39, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 81:[91, 96, 6], Operations: ['45-39=6']
Exploring Operation: 96/6=16, Resulting Numbers: [91, 16]
Generated Node #0,0,0: 81:[91, 16] Operation: 96/6=16
Exploring Operation: 96-91=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 81:[6, 5] Operation: 96-91=5
Exploring Operation: 91-6=85, Resulting Numbers: [96, 85]
Generated Node #0,0,2: 81:[96, 85] Operation: 91-6=85
Moving to Node #0,1
Current State: 81:[91, 96, 84], Operations: ['45+39=84']
Exploring Operation: 96-91=5, Resulting Numbers: [84, 5]
Generated Node #0,1,0: 81:[84, 5] Operation: 96-91=5
Exploring Operation: 96-84=12, Resulting Numbers: [91, 12]
Generated Node #0,1,1: 81:[91, 12] Operation: 96-84=12
Exploring Operation: 91-84=7, Resulting Numbers: [96, 7]
Generated Node #0,1,2: 81:[96, 7] Operation: 91-84=7
Moving to Node #0,2
Current State: 81:[45, 39, 5], Operations: ['96-91=5']
Exploring Operation: 45+39=84, Resulting Numbers: [5, 84]
Generated Node #0,2,0: 81:[5, 84] Operation: 45+39=84
Exploring Operation: 45-39=6, Resulting Numbers: [5, 6]
Generated Node #0,2,1: 81:[5, 6] Operation: 45-39=6
Exploring Operation: 45/5=9, Resulting Numbers: [39, 9]
Generated Node #0,2,2: 81:[39, 9] Operation: 45/5=9
Moving to Node #0,0,1
Current State: 81:[6, 5], Operations: ['45-39=6', '96-91=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[5, 84], Operations: ['96-91=5', '45+39=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,81 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[84, 5], Operations: ['45+39=84', '96-91=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[5, 6], Operations: ['96-91=5', '45-39=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[39, 9], Operations: ['96-91=5', '45/5=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,81 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[91, 12], Operations: ['45+39=84', '96-84=12']
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,81 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[91, 16], Operations: ['45-39=6', '96/6=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,81 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[96, 7], Operations: ['45+39=84', '91-84=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 96*7=672, Resulting Numbers: [672]
672,81 unequal: No Solution
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[96, 85], Operations: ['45-39=6', '91-6=85']
Exploring Operation: 96*85=8160, Resulting Numbers: [8160]
8160,81 unequal: No Solution
Exploring Operation: 96+85=181, Resulting Numbers: [181]
181,81 unequal: No Solution
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
21,
28,
24
] | 57 | [
"91*24=2184",
"2184/28=78",
"78-21=57"
] | Current State: 57:[91, 21, 28, 24], Operations: []
Exploring Operation: 91*24=2184, Resulting Numbers: [21, 28, 2184]
Generated Node #2: [21, 28, 2184] from Operation: 91*24=2184
Current State: 57:[21, 28, 2184], Operations: ['91*24=2184']
Exploring Operation: 2184/28=78, Resulting Numbers: [21, 78]
Generated Node #3: [21, 78] from Operation: 2184/28=78
Current State: 57:[21, 78], Operations: ['91*24=2184', '2184/28=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[91, 21, 28, 24], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [21, 24, 63]
Generated Node #0,0: 57:[21, 24, 63] Operation: 91-28=63
Exploring Operation: 91-21=70, Resulting Numbers: [28, 24, 70]
Generated Node #0,1: 57:[28, 24, 70] Operation: 91-21=70
Exploring Operation: 91-24=67, Resulting Numbers: [21, 28, 67]
Generated Node #0,2: 57:[21, 28, 67] Operation: 91-24=67
Exploring Operation: 28-24=4, Resulting Numbers: [91, 21, 4]
Generated Node #0,3: 57:[91, 21, 4] Operation: 28-24=4
Moving to Node #0,0
Current State: 57:[21, 24, 63], Operations: ['91-28=63']
Exploring Operation: 24-21=3, Resulting Numbers: [63, 3]
Generated Node #0,0,0: 57:[63, 3] Operation: 24-21=3
Exploring Operation: 63-21=42, Resulting Numbers: [24, 42]
Generated Node #0,0,1: 57:[24, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [24, 3]
Generated Node #0,0,2: 57:[24, 3] Operation: 63/21=3
Exploring Operation: 21+24=45, Resulting Numbers: [63, 45]
Generated Node #0,0,3: 57:[63, 45] Operation: 21+24=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[24, 3], Operations: ['91-28=63', '63/21=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,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,0
Current State: 57:[63, 3], Operations: ['91-28=63', '24-21=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,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,3
Current State: 57:[63, 45], Operations: ['91-28=63', '21+24=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,57 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,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,1
Current State: 57:[24, 42], Operations: ['91-28=63', '63-21=42']
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,57 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,57 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: 57:[21, 28, 67], Operations: ['91-24=67']
Exploring Operation: 28-21=7, Resulting Numbers: [67, 7]
Generated Node #0,2,0: 57:[67, 7] Operation: 28-21=7
Exploring Operation: 67-28=39, Resulting Numbers: [21, 39]
Generated Node #0,2,1: 57:[21, 39] Operation: 67-28=39
Exploring Operation: 21+28=49, Resulting Numbers: [67, 49]
Generated Node #0,2,2: 57:[67, 49] Operation: 21+28=49
Exploring Operation: 67-21=46, Resulting Numbers: [28, 46]
Generated Node #0,2,3: 57:[28, 46] Operation: 67-21=46
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[67, 7], Operations: ['91-24=67', '28-21=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[67, 49], Operations: ['91-24=67', '21+28=49']
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[21, 39], Operations: ['91-24=67', '67-28=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[28, 46], Operations: ['91-24=67', '67-21=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,57 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: 57:[28, 24, 70], Operations: ['91-21=70']
Exploring Operation: 28+24=52, Resulting Numbers: [70, 52]
Generated Node #0,1,0: 57:[70, 52] Operation: 28+24=52
Exploring Operation: 70-28=42, Resulting Numbers: [24, 42]
Generated Node #0,1,1: 57:[24, 42] Operation: 70-28=42
Exploring Operation: 28-24=4, Resulting Numbers: [70, 4]
Generated Node #0,1,2: 57:[70, 4] Operation: 28-24=4
Exploring Operation: 70-24=46, Resulting Numbers: [28, 46]
Generated Node #0,1,3: 57:[28, 46] Operation: 70-24=46
Moving to Node #0,3
Current State: 57:[91, 21, 4], Operations: ['28-24=4']
Exploring Operation: 91+4=95, Resulting Numbers: [21, 95]
Generated Node #0,3,0: 57:[21, 95] Operation: 91+4=95
Exploring Operation: 91-4=87, Resulting Numbers: [21, 87]
Generated Node #0,3,1: 57:[21, 87] Operation: 91-4=87
Exploring Operation: 91-21=70, Resulting Numbers: [4, 70]
Generated Node #0,3,2: 57:[4, 70] Operation: 91-21=70
Exploring Operation: 21-4=17, Resulting Numbers: [91, 17]
Generated Node #0,3,3: 57:[91, 17] Operation: 21-4=17
Moving to Node #0,1,2
Current State: 57:[70, 4], Operations: ['91-21=70', '28-24=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,57 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[4, 70], Operations: ['28-24=4', '91-21=70']
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,57 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[70, 52], Operations: ['91-21=70', '28+24=52']
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[24, 42], Operations: ['91-21=70', '70-28=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,57 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[28, 46], Operations: ['91-21=70', '70-24=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,57 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[21, 87], Operations: ['28-24=4', '91-4=87']
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,57 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[91, 17], Operations: ['28-24=4', '21-4=17']
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[21, 95], Operations: ['28-24=4', '91+4=95']
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,57 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
12,
1,
42
] | 77 | [
"49-42=7",
"12-1=11",
"7*11=77"
] | Current State: 77:[49, 12, 1, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [12, 1, 7]
Generated Node #2: [12, 1, 7] from Operation: 49-42=7
Current State: 77:[12, 1, 7], Operations: ['49-42=7']
Exploring Operation: 12-1=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 12-1=11
Current State: 77:[7, 11], Operations: ['49-42=7', '12-1=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[49, 12, 1, 42], Operations: []
Exploring Operation: 49+42=91, Resulting Numbers: [12, 1, 91]
Generated Node #0,0: 77:[12, 1, 91] Operation: 49+42=91
Exploring Operation: 49-42=7, Resulting Numbers: [12, 1, 7]
Generated Node #0,1: 77:[12, 1, 7] Operation: 49-42=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[12, 1, 7], Operations: ['49-42=7']
Exploring Operation: 12*1=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 77:[7, 12] Operation: 12*1=12
Exploring Operation: 12-1=11, Resulting Numbers: [7, 11]
Generated Node #0,1,1: 77:[7, 11] Operation: 12-1=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[7, 11], Operations: ['49-42=7', '12-1=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[49, 12, 1, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [12, 1, 7]
Generated Node #0,1: 77:[12, 1, 7] Operation: 49-42=7
Moving to Node #0,1
Current State: 77:[12, 1, 7], Operations: ['49-42=7']
Exploring Operation: 12-1=11, Resulting Numbers: [7, 11]
Generated Node #0,1,1: 77:[7, 11] Operation: 12-1=11
Moving to Node #0,1,1
Current State: 77:[7, 11], Operations: ['49-42=7', '12-1=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
42,
63,
60,
33
] | 53 | [
"42-33=9",
"63/9=7",
"60-7=53"
] | Current State: 53:[42, 63, 60, 33], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [63, 60, 9]
Generated Node #2: [63, 60, 9] from Operation: 42-33=9
Current State: 53:[63, 60, 9], Operations: ['42-33=9']
Exploring Operation: 63/9=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 63/9=7
Current State: 53:[60, 7], Operations: ['42-33=9', '63/9=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[42, 63, 60, 33], Operations: []
Exploring Operation: 42+33=75, Resulting Numbers: [63, 60, 75]
Generated Node #0,0: 53:[63, 60, 75] Operation: 42+33=75
Exploring Operation: 63-33=30, Resulting Numbers: [42, 60, 30]
Generated Node #0,1: 53:[42, 60, 30] Operation: 63-33=30
Exploring Operation: 60-33=27, Resulting Numbers: [42, 63, 27]
Generated Node #0,2: 53:[42, 63, 27] Operation: 60-33=27
Moving to Node #0,0
Current State: 53:[63, 60, 75], Operations: ['42+33=75']
Exploring Operation: 75-63=12, Resulting Numbers: [60, 12]
Generated Node #0,0,0: 53:[60, 12] Operation: 75-63=12
Exploring Operation: 75-60=15, Resulting Numbers: [63, 15]
Generated Node #0,0,1: 53:[63, 15] Operation: 75-60=15
Exploring Operation: 63-60=3, Resulting Numbers: [75, 3]
Generated Node #0,0,2: 53:[75, 3] Operation: 63-60=3
Moving to Node #0,1
Current State: 53:[42, 60, 30], Operations: ['63-33=30']
Exploring Operation: 42+30=72, Resulting Numbers: [60, 72]
Generated Node #0,1,0: 53:[60, 72] Operation: 42+30=72
Exploring Operation: 60-30=30, Resulting Numbers: [42, 30]
Generated Node #0,1,1: 53:[42, 30] Operation: 60-30=30
Exploring Operation: 42-30=12, Resulting Numbers: [60, 12]
Generated Node #0,1,2: 53:[60, 12] Operation: 42-30=12
Moving to Node #0,2
Current State: 53:[42, 63, 27], Operations: ['60-33=27']
Exploring Operation: 42+27=69, Resulting Numbers: [63, 69]
Generated Node #0,2,0: 53:[63, 69] Operation: 42+27=69
Exploring Operation: 42-27=15, Resulting Numbers: [63, 15]
Generated Node #0,2,1: 53:[63, 15] Operation: 42-27=15
Exploring Operation: 63-27=36, Resulting Numbers: [42, 36]
Generated Node #0,2,2: 53:[42, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[63, 69], Operations: ['60-33=27', '42+27=69']
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,53 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[42, 36], Operations: ['60-33=27', '63-27=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[63, 15], Operations: ['60-33=27', '42-27=15']
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,53 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 53:[60, 72], Operations: ['63-33=30', '42+30=72']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[42, 30], Operations: ['63-33=30', '60-30=30']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[60, 12], Operations: ['63-33=30', '42-30=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[60, 12], Operations: ['42+33=75', '75-63=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[63, 15], Operations: ['42+33=75', '75-60=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[75, 3], Operations: ['42+33=75', '63-60=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
89,
58,
56,
75
] | 62 | [
"89-75=14",
"56/14=4",
"58+4=62"
] | Current State: 62:[89, 58, 56, 75], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [58, 56, 14]
Generated Node #2: [58, 56, 14] from Operation: 89-75=14
Current State: 62:[58, 56, 14], Operations: ['89-75=14']
Exploring Operation: 56/14=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 56/14=4
Current State: 62:[58, 4], Operations: ['89-75=14', '56/14=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[89, 58, 56, 75], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [89, 75, 2]
Generated Node #0,0: 62:[89, 75, 2] Operation: 58-56=2
Exploring Operation: 89-75=14, Resulting Numbers: [58, 56, 14]
Generated Node #0,1: 62:[58, 56, 14] Operation: 89-75=14
Exploring Operation: 89-58=31, Resulting Numbers: [56, 75, 31]
Generated Node #0,2: 62:[56, 75, 31] Operation: 89-58=31
Exploring Operation: 89-56=33, Resulting Numbers: [58, 75, 33]
Generated Node #0,3: 62:[58, 75, 33] Operation: 89-56=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[56, 75, 31], Operations: ['89-58=31']
Exploring Operation: 75-31=44, Resulting Numbers: [56, 44]
Generated Node #0,2,0: 62:[56, 44] Operation: 75-31=44
Exploring Operation: 56-31=25, Resulting Numbers: [75, 25]
Generated Node #0,2,1: 62:[75, 25] Operation: 56-31=25
Exploring Operation: 75-56=19, Resulting Numbers: [31, 19]
Generated Node #0,2,2: 62:[31, 19] Operation: 75-56=19
Exploring Operation: 56+31=87, Resulting Numbers: [75, 87]
Generated Node #0,2,3: 62:[75, 87] Operation: 56+31=87
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[31, 19], Operations: ['89-58=31', '75-56=19']
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,62 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No 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: 62:[56, 44], Operations: ['89-58=31', '75-31=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,62 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No 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: 62:[75, 25], Operations: ['89-58=31', '56-31=25']
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,62 unequal: No Solution
No 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: 62:[75, 87], Operations: ['89-58=31', '56+31=87']
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,62 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 75*87=6525, Resulting Numbers: [6525]
6525,62 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: 62:[58, 75, 33], Operations: ['89-56=33']
Exploring Operation: 75-58=17, Resulting Numbers: [33, 17]
Generated Node #0,3,0: 62:[33, 17] Operation: 75-58=17
Exploring Operation: 75-33=42, Resulting Numbers: [58, 42]
Generated Node #0,3,1: 62:[58, 42] Operation: 75-33=42
Exploring Operation: 58+33=91, Resulting Numbers: [75, 91]
Generated Node #0,3,2: 62:[75, 91] Operation: 58+33=91
Exploring Operation: 58-33=25, Resulting Numbers: [75, 25]
Generated Node #0,3,3: 62:[75, 25] Operation: 58-33=25
Moving to Node #0,3,1
Current State: 62:[58, 42], Operations: ['89-56=33', '75-33=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[33, 17], Operations: ['89-56=33', '75-58=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[75, 25], Operations: ['89-56=33', '58-33=25']
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,62 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[75, 91], Operations: ['89-56=33', '58+33=91']
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 75+91=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Exploring Operation: 75*91=6825, Resulting Numbers: [6825]
6825,62 unequal: No Solution
No 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: 62:[58, 56, 14], Operations: ['89-75=14']
Exploring Operation: 58-56=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 62:[14, 2] Operation: 58-56=2
Exploring Operation: 56-14=42, Resulting Numbers: [58, 42]
Generated Node #0,1,1: 62:[58, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [58, 4]
Generated Node #0,1,2: 62:[58, 4] Operation: 56/14=4
Exploring Operation: 56+14=70, Resulting Numbers: [58, 70]
Generated Node #0,1,3: 62:[58, 70] Operation: 56+14=70
Moving to Node #0,1,2
Current State: 62:[58, 4], Operations: ['89-75=14', '56/14=4']
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,62 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[89, 58, 56, 75], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [58, 56, 14]
Generated Node #0,1: 62:[58, 56, 14] Operation: 89-75=14
Moving to Node #0,1
Current State: 62:[58, 56, 14], Operations: ['89-75=14']
Exploring Operation: 56/14=4, Resulting Numbers: [58, 4]
Generated Node #0,1,2: 62:[58, 4] Operation: 56/14=4
Moving to Node #0,1,2
Current State: 62:[58, 4], Operations: ['89-75=14', '56/14=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
52,
26,
15,
59
] | 89 | [
"52/26=2",
"15*2=30",
"59+30=89"
] | Current State: 89:[52, 26, 15, 59], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [15, 59, 2]
Generated Node #2: [15, 59, 2] from Operation: 52/26=2
Current State: 89:[15, 59, 2], Operations: ['52/26=2']
Exploring Operation: 15*2=30, Resulting Numbers: [59, 30]
Generated Node #3: [59, 30] from Operation: 15*2=30
Current State: 89:[59, 30], Operations: ['52/26=2', '15*2=30']
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[52, 26, 15, 59], Operations: []
Exploring Operation: 52+26=78, Resulting Numbers: [15, 59, 78]
Generated Node #0,0: 89:[15, 59, 78] Operation: 52+26=78
Exploring Operation: 52+15=67, Resulting Numbers: [26, 59, 67]
Generated Node #0,1: 89:[26, 59, 67] Operation: 52+15=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[15, 59, 78], Operations: ['52+26=78']
Exploring Operation: 15+78=93, Resulting Numbers: [59, 93]
Generated Node #0,0,0: 89:[59, 93] Operation: 15+78=93
Exploring Operation: 15+59=74, Resulting Numbers: [78, 74]
Generated Node #0,0,1: 89:[78, 74] Operation: 15+59=74
Moving to Node #0,0,1
Current State: 89:[78, 74], Operations: ['52+26=78', '15+59=74']
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[59, 93], Operations: ['52+26=78', '15+78=93']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[26, 59, 67], Operations: ['52+15=67']
Exploring Operation: 26+67=93, Resulting Numbers: [59, 93]
Generated Node #0,1,0: 89:[59, 93] Operation: 26+67=93
Exploring Operation: 26+59=85, Resulting Numbers: [67, 85]
Generated Node #0,1,1: 89:[67, 85] Operation: 26+59=85
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[67, 85], Operations: ['52+15=67', '26+59=85']
Exploring Operation: 67+85=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[59, 93], Operations: ['52+15=67', '26+67=93']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
48,
86,
89
] | 54 | [
"66-48=18",
"89-86=3",
"18*3=54"
] | Current State: 54:[66, 48, 86, 89], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [86, 89, 18]
Generated Node #2: [86, 89, 18] from Operation: 66-48=18
Current State: 54:[86, 89, 18], Operations: ['66-48=18']
Exploring Operation: 89-86=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 89-86=3
Current State: 54:[18, 3], Operations: ['66-48=18', '89-86=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[66, 48, 86, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [66, 48, 3]
Generated Node #0,0: 54:[66, 48, 3] Operation: 89-86=3
Exploring Operation: 89-66=23, Resulting Numbers: [48, 86, 23]
Generated Node #0,1: 54:[48, 86, 23] Operation: 89-66=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[66, 48, 3], Operations: ['89-86=3']
Exploring Operation: 66/3=22, Resulting Numbers: [48, 22]
Generated Node #0,0,0: 54:[48, 22] Operation: 66/3=22
Exploring Operation: 66-48=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 54:[3, 18] Operation: 66-48=18
Moving to Node #0,0,1
Current State: 54:[3, 18], Operations: ['89-86=3', '66-48=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[66, 48, 86, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [66, 48, 3]
Generated Node #0,0: 54:[66, 48, 3] Operation: 89-86=3
Moving to Node #0,0
Current State: 54:[66, 48, 3], Operations: ['89-86=3']
Exploring Operation: 66-48=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 54:[3, 18] Operation: 66-48=18
Moving to Node #0,0,1
Current State: 54:[3, 18], Operations: ['89-86=3', '66-48=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
74,
86,
2,
15
] | 34 | [
"74/2=37",
"86-15=71",
"71-37=34"
] | Current State: 34:[74, 86, 2, 15], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [86, 15, 37]
Generated Node #2: [86, 15, 37] from Operation: 74/2=37
Current State: 34:[86, 15, 37], Operations: ['74/2=37']
Exploring Operation: 86-15=71, Resulting Numbers: [37, 71]
Generated Node #3: [37, 71] from Operation: 86-15=71
Current State: 34:[37, 71], Operations: ['74/2=37', '86-15=71']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[74, 86, 2, 15], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [2, 15, 12]
Generated Node #0,0: 34:[2, 15, 12] Operation: 86-74=12
Exploring Operation: 74/2=37, Resulting Numbers: [86, 15, 37]
Generated Node #0,1: 34:[86, 15, 37] Operation: 74/2=37
Exploring Operation: 86/2=43, Resulting Numbers: [74, 15, 43]
Generated Node #0,2: 34:[74, 15, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[2, 15, 12], Operations: ['86-74=12']
Exploring Operation: 15-12=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 34:[2, 3] Operation: 15-12=3
Exploring Operation: 2+15=17, Resulting Numbers: [12, 17]
Generated Node #0,0,1: 34:[12, 17] Operation: 2+15=17
Exploring Operation: 2+12=14, Resulting Numbers: [15, 14]
Generated Node #0,0,2: 34:[15, 14] Operation: 2+12=14
Moving to Node #0,0,0
Current State: 34:[2, 3], Operations: ['86-74=12', '15-12=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[12, 17], Operations: ['86-74=12', '2+15=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,34 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[15, 14], Operations: ['86-74=12', '2+12=14']
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,34 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,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:[74, 15, 43], Operations: ['86/2=43']
Exploring Operation: 74-15=59, Resulting Numbers: [43, 59]
Generated Node #0,2,0: 34:[43, 59] Operation: 74-15=59
Exploring Operation: 74-43=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 34:[15, 31] Operation: 74-43=31
Exploring Operation: 43-15=28, Resulting Numbers: [74, 28]
Generated Node #0,2,2: 34:[74, 28] Operation: 43-15=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[15, 31], Operations: ['86/2=43', '74-43=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,34 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,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,0
Current State: 34:[43, 59], Operations: ['86/2=43', '74-15=59']
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,34 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,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,2
Current State: 34:[74, 28], Operations: ['86/2=43', '43-15=28']
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,34 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[86, 15, 37], Operations: ['74/2=37']
Exploring Operation: 86-15=71, Resulting Numbers: [37, 71]
Generated Node #0,1,0: 34:[37, 71] Operation: 86-15=71
Exploring Operation: 37-15=22, Resulting Numbers: [86, 22]
Generated Node #0,1,1: 34:[86, 22] Operation: 37-15=22
Exploring Operation: 86-37=49, Resulting Numbers: [15, 49]
Generated Node #0,1,2: 34:[15, 49] Operation: 86-37=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[15, 49], Operations: ['74/2=37', '86-37=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,34 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[74, 86, 2, 15], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [86, 15, 37]
Generated Node #0,1: 34:[86, 15, 37] Operation: 74/2=37
Moving to Node #0,1
Current State: 34:[86, 15, 37], Operations: ['74/2=37']
Exploring Operation: 86-37=49, Resulting Numbers: [15, 49]
Generated Node #0,1,2: 34:[15, 49] Operation: 86-37=49
Moving to Node #0,1,2
Current State: 34:[15, 49], Operations: ['74/2=37', '86-37=49']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
85,
35,
91,
98
] | 43 | [
"85-35=50",
"98-91=7",
"50-7=43"
] | Current State: 43:[85, 35, 91, 98], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [91, 98, 50]
Generated Node #2: [91, 98, 50] from Operation: 85-35=50
Current State: 43:[91, 98, 50], Operations: ['85-35=50']
Exploring Operation: 98-91=7, Resulting Numbers: [50, 7]
Generated Node #3: [50, 7] from Operation: 98-91=7
Current State: 43:[50, 7], Operations: ['85-35=50', '98-91=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[85, 35, 91, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [85, 35, 7]
Generated Node #0,0: 43:[85, 35, 7] Operation: 98-91=7
Exploring Operation: 85-35=50, Resulting Numbers: [91, 98, 50]
Generated Node #0,1: 43:[91, 98, 50] Operation: 85-35=50
Exploring Operation: 91-35=56, Resulting Numbers: [85, 98, 56]
Generated Node #0,2: 43:[85, 98, 56] Operation: 91-35=56
Exploring Operation: 91-85=6, Resulting Numbers: [35, 98, 6]
Generated Node #0,3: 43:[35, 98, 6] Operation: 91-85=6
Exploring Operation: 98-85=13, Resulting Numbers: [35, 91, 13]
Generated Node #0,4: 43:[35, 91, 13] Operation: 98-85=13
Moving to Node #0,0
Current State: 43:[85, 35, 7], Operations: ['98-91=7']
Exploring Operation: 85-35=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 43:[7, 50] Operation: 85-35=50
Exploring Operation: 85-7=78, Resulting Numbers: [35, 78]
Generated Node #0,0,1: 43:[35, 78] Operation: 85-7=78
Exploring Operation: 85+7=92, Resulting Numbers: [35, 92]
Generated Node #0,0,2: 43:[35, 92] Operation: 85+7=92
Exploring Operation: 35+7=42, Resulting Numbers: [85, 42]
Generated Node #0,0,3: 43:[85, 42] Operation: 35+7=42
Exploring Operation: 35-7=28, Resulting Numbers: [85, 28]
Generated Node #0,0,4: 43:[85, 28] Operation: 35-7=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[7, 50], Operations: ['98-91=7', '85-35=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,43 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[85, 35, 91, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [85, 35, 7]
Generated Node #0,0: 43:[85, 35, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 43:[85, 35, 7], Operations: ['98-91=7']
Exploring Operation: 85-35=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 43:[7, 50] Operation: 85-35=50
Moving to Node #0,0,0
Current State: 43:[7, 50], Operations: ['98-91=7', '85-35=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
85,
18,
4,
42
] | 70 | [
"18+42=60",
"60/4=15",
"85-15=70"
] | Current State: 70:[85, 18, 4, 42], Operations: []
Exploring Operation: 18+42=60, Resulting Numbers: [85, 4, 60]
Generated Node #2: [85, 4, 60] from Operation: 18+42=60
Current State: 70:[85, 4, 60], Operations: ['18+42=60']
Exploring Operation: 60/4=15, Resulting Numbers: [85, 15]
Generated Node #3: [85, 15] from Operation: 60/4=15
Current State: 70:[85, 15], Operations: ['18+42=60', '60/4=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[85, 18, 4, 42], Operations: []
Exploring Operation: 85-42=43, Resulting Numbers: [18, 4, 43]
Generated Node #0,0: 70:[18, 4, 43] Operation: 85-42=43
Exploring Operation: 85-18=67, Resulting Numbers: [4, 42, 67]
Generated Node #0,1: 70:[4, 42, 67] Operation: 85-18=67
Moving to Node #0,1
Current State: 70:[4, 42, 67], Operations: ['85-18=67']
Exploring Operation: 42-4=38, Resulting Numbers: [67, 38]
Generated Node #0,1,0: 70:[67, 38] Operation: 42-4=38
Exploring Operation: 4+67=71, Resulting Numbers: [42, 71]
Generated Node #0,1,1: 70:[42, 71] Operation: 4+67=71
Moving to Node #0,0
Current State: 70:[18, 4, 43], Operations: ['85-42=43']
Exploring Operation: 43-4=39, Resulting Numbers: [18, 39]
Generated Node #0,0,0: 70:[18, 39] Operation: 43-4=39
Exploring Operation: 18-4=14, Resulting Numbers: [43, 14]
Generated Node #0,0,1: 70:[43, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[18, 39], Operations: ['85-42=43', '43-4=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[43, 14], Operations: ['85-42=43', '18-4=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 70:[67, 38], Operations: ['85-18=67', '42-4=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[42, 71], Operations: ['85-18=67', '4+67=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
72,
58,
19
] | 83 | [
"88+72=160",
"58+19=77",
"160-77=83"
] | Current State: 83:[88, 72, 58, 19], Operations: []
Exploring Operation: 88+72=160, Resulting Numbers: [58, 19, 160]
Generated Node #2: [58, 19, 160] from Operation: 88+72=160
Current State: 83:[58, 19, 160], Operations: ['88+72=160']
Exploring Operation: 58+19=77, Resulting Numbers: [160, 77]
Generated Node #3: [160, 77] from Operation: 58+19=77
Current State: 83:[160, 77], Operations: ['88+72=160', '58+19=77']
Exploring Operation: 160-77=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[88, 72, 58, 19], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [72, 58, 69]
Generated Node #0,0: 83:[72, 58, 69] Operation: 88-19=69
Exploring Operation: 58+19=77, Resulting Numbers: [88, 72, 77]
Generated Node #0,1: 83:[88, 72, 77] Operation: 58+19=77
Exploring Operation: 72+19=91, Resulting Numbers: [88, 58, 91]
Generated Node #0,2: 83:[88, 58, 91] Operation: 72+19=91
Moving to Node #0,1
Current State: 83:[88, 72, 77], Operations: ['58+19=77']
Exploring Operation: 88+72=160, Resulting Numbers: [77, 160]
Generated Node #0,1,0: 83:[77, 160] Operation: 88+72=160
Exploring Operation: 72+77=149, Resulting Numbers: [88, 149]
Generated Node #0,1,1: 83:[88, 149] Operation: 72+77=149
Exploring Operation: 88-72=16, Resulting Numbers: [77, 16]
Generated Node #0,1,2: 83:[77, 16] Operation: 88-72=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[88, 149], Operations: ['58+19=77', '72+77=149']
Exploring Operation: 88+149=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 149-88=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 88*149=13112, Resulting Numbers: [13112]
13112,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[77, 16], Operations: ['58+19=77', '88-72=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,83 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[77, 160], Operations: ['58+19=77', '88+72=160']
Exploring Operation: 160-77=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[88, 72, 58, 19], Operations: []
Exploring Operation: 58+19=77, Resulting Numbers: [88, 72, 77]
Generated Node #0,1: 83:[88, 72, 77] Operation: 58+19=77
Moving to Node #0,1
Current State: 83:[88, 72, 77], Operations: ['58+19=77']
Exploring Operation: 88+72=160, Resulting Numbers: [77, 160]
Generated Node #0,1,0: 83:[77, 160] Operation: 88+72=160
Moving to Node #0,1,0
Current State: 83:[77, 160], Operations: ['58+19=77', '88+72=160']
Exploring Operation: 160-77=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
21,
98,
91,
93
] | 31 | [
"98-91=7",
"21/7=3",
"93/3=31"
] | Current State: 31:[21, 98, 91, 93], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [21, 93, 7]
Generated Node #2: [21, 93, 7] from Operation: 98-91=7
Current State: 31:[21, 93, 7], Operations: ['98-91=7']
Exploring Operation: 21/7=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 21/7=3
Current State: 31:[93, 3], Operations: ['98-91=7', '21/7=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[21, 98, 91, 93], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [21, 93, 7]
Generated Node #0,0: 31:[21, 93, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[21, 93, 7], Operations: ['98-91=7']
Exploring Operation: 93-21=72, Resulting Numbers: [7, 72]
Generated Node #0,0,0: 31:[7, 72] Operation: 93-21=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[7, 72], Operations: ['98-91=7', '93-21=72']
Exploring Operation: 72-7=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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
34,
31,
44
] | 95 | [
"34-31=3",
"44*3=132",
"132-37=95"
] | Current State: 95:[37, 34, 31, 44], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [37, 44, 3]
Generated Node #2: [37, 44, 3] from Operation: 34-31=3
Current State: 95:[37, 44, 3], Operations: ['34-31=3']
Exploring Operation: 44*3=132, Resulting Numbers: [37, 132]
Generated Node #3: [37, 132] from Operation: 44*3=132
Current State: 95:[37, 132], Operations: ['34-31=3', '44*3=132']
Exploring Operation: 132-37=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[37, 34, 31, 44], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [34, 31, 7]
Generated Node #0,0: 95:[34, 31, 7] Operation: 44-37=7
Exploring Operation: 44-34=10, Resulting Numbers: [37, 31, 10]
Generated Node #0,1: 95:[37, 31, 10] Operation: 44-34=10
Exploring Operation: 37-34=3, Resulting Numbers: [31, 44, 3]
Generated Node #0,2: 95:[31, 44, 3] Operation: 37-34=3
Moving to Node #0,0
Current State: 95:[34, 31, 7], Operations: ['44-37=7']
Exploring Operation: 34-31=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 95:[7, 3] Operation: 34-31=3
Exploring Operation: 31-7=24, Resulting Numbers: [34, 24]
Generated Node #0,0,1: 95:[34, 24] Operation: 31-7=24
Exploring Operation: 34-7=27, Resulting Numbers: [31, 27]
Generated Node #0,0,2: 95:[31, 27] Operation: 34-7=27
Moving to Node #0,1
Current State: 95:[37, 31, 10], Operations: ['44-34=10']
Exploring Operation: 31-10=21, Resulting Numbers: [37, 21]
Generated Node #0,1,0: 95:[37, 21] Operation: 31-10=21
Exploring Operation: 37-10=27, Resulting Numbers: [31, 27]
Generated Node #0,1,1: 95:[31, 27] Operation: 37-10=27
Exploring Operation: 37-31=6, Resulting Numbers: [10, 6]
Generated Node #0,1,2: 95:[10, 6] Operation: 37-31=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[10, 6], Operations: ['44-34=10', '37-31=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[37, 21], Operations: ['44-34=10', '31-10=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[31, 27], Operations: ['44-34=10', '37-10=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,95 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,95 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: 95:[31, 44, 3], Operations: ['37-34=3']
Exploring Operation: 31*3=93, Resulting Numbers: [44, 93]
Generated Node #0,2,0: 95:[44, 93] Operation: 31*3=93
Exploring Operation: 44-31=13, Resulting Numbers: [3, 13]
Generated Node #0,2,1: 95:[3, 13] Operation: 44-31=13
Exploring Operation: 31+44=75, Resulting Numbers: [3, 75]
Generated Node #0,2,2: 95:[3, 75] Operation: 31+44=75
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[3, 13], Operations: ['37-34=3', '44-31=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[3, 75], Operations: ['37-34=3', '31+44=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[44, 93], Operations: ['37-34=3', '31*3=93']
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,95 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 95:[7, 3], Operations: ['44-37=7', '34-31=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[34, 24], Operations: ['44-37=7', '31-7=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,95 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[31, 27], Operations: ['44-37=7', '34-7=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,95 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
60,
41,
15
] | 63 | [
"4+41=45",
"45/15=3",
"60+3=63"
] | Current State: 63:[4, 60, 41, 15], Operations: []
Exploring Operation: 4+41=45, Resulting Numbers: [60, 15, 45]
Generated Node #2: [60, 15, 45] from Operation: 4+41=45
Current State: 63:[60, 15, 45], Operations: ['4+41=45']
Exploring Operation: 45/15=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 45/15=3
Current State: 63:[60, 3], Operations: ['4+41=45', '45/15=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[4, 60, 41, 15], Operations: []
Exploring Operation: 41-4=37, Resulting Numbers: [60, 15, 37]
Generated Node #0,0: 63:[60, 15, 37] Operation: 41-4=37
Exploring Operation: 60/15=4, Resulting Numbers: [4, 41, 4]
Generated Node #0,1: 63:[4, 41, 4] Operation: 60/15=4
Exploring Operation: 60-41=19, Resulting Numbers: [4, 15, 19]
Generated Node #0,2: 63:[4, 15, 19] Operation: 60-41=19
Exploring Operation: 41+15=56, Resulting Numbers: [4, 60, 56]
Generated Node #0,3: 63:[4, 60, 56] Operation: 41+15=56
Exploring Operation: 41-15=26, Resulting Numbers: [4, 60, 26]
Generated Node #0,4: 63:[4, 60, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[4, 15, 19], Operations: ['60-41=19']
Exploring Operation: 4+19=23, Resulting Numbers: [15, 23]
Generated Node #0,2,0: 63:[15, 23] Operation: 4+19=23
Exploring Operation: 19-15=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 63:[4, 4] Operation: 19-15=4
Exploring Operation: 4+15=19, Resulting Numbers: [19, 19]
Generated Node #0,2,2: 63:[19, 19] Operation: 4+15=19
Exploring Operation: 4*15=60, Resulting Numbers: [19, 60]
Generated Node #0,2,3: 63:[19, 60] Operation: 4*15=60
Exploring Operation: 15-4=11, Resulting Numbers: [19, 11]
Generated Node #0,2,4: 63:[19, 11] Operation: 15-4=11
Moving to Node #0,2,1
Current State: 63:[4, 4], Operations: ['60-41=19', '19-15=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[19, 11], Operations: ['60-41=19', '15-4=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,63 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[19, 19], Operations: ['60-41=19', '4+15=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,63 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[19, 60], Operations: ['60-41=19', '4*15=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,63 unequal: No Solution
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[15, 23], Operations: ['60-41=19', '4+19=23']
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,63 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,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,4
Current State: 63:[4, 60, 26], Operations: ['41-15=26']
Exploring Operation: 60/4=15, Resulting Numbers: [26, 15]
Generated Node #0,4,0: 63:[26, 15] Operation: 60/4=15
Exploring Operation: 4+60=64, Resulting Numbers: [26, 64]
Generated Node #0,4,1: 63:[26, 64] Operation: 4+60=64
Exploring Operation: 26-4=22, Resulting Numbers: [60, 22]
Generated Node #0,4,2: 63:[60, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [60, 30]
Generated Node #0,4,3: 63:[60, 30] Operation: 4+26=30
Exploring Operation: 60-4=56, Resulting Numbers: [26, 56]
Generated Node #0,4,4: 63:[26, 56] Operation: 60-4=56
Moving to Node #0,4,2
Current State: 63:[60, 22], Operations: ['41-15=26', '26-4=22']
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,63 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[26, 64], Operations: ['41-15=26', '4+60=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,63 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[26, 15], Operations: ['41-15=26', '60/4=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[60, 30], Operations: ['41-15=26', '4+26=30']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[26, 56], Operations: ['41-15=26', '60-4=56']
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,63 unequal: No Solution
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,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:[4, 60, 56], Operations: ['41+15=56']
Exploring Operation: 60/4=15, Resulting Numbers: [56, 15]
Generated Node #0,3,0: 63:[56, 15] Operation: 60/4=15
Exploring Operation: 60-56=4, Resulting Numbers: [4, 4]
Generated Node #0,3,1: 63:[4, 4] Operation: 60-56=4
Exploring Operation: 4+56=60, Resulting Numbers: [60, 60]
Generated Node #0,3,2: 63:[60, 60] Operation: 4+56=60
Exploring Operation: 4+60=64, Resulting Numbers: [56, 64]
Generated Node #0,3,3: 63:[56, 64] Operation: 4+60=64
Exploring Operation: 56/4=14, Resulting Numbers: [60, 14]
Generated Node #0,3,4: 63:[60, 14] Operation: 56/4=14
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[4, 4], Operations: ['41+15=56', '60-56=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,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,2
Current State: 63:[60, 60], Operations: ['41+15=56', '4+56=60']
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,63 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,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:[56, 64], Operations: ['41+15=56', '4+60=64']
Exploring Operation: 56+64=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 56*64=3584, Resulting Numbers: [3584]
3584,63 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,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,4
Current State: 63:[60, 14], Operations: ['41+15=56', '56/4=14']
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,63 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,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:[56, 15], Operations: ['41+15=56', '60/4=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,63 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[4, 41, 4], Operations: ['60/15=4']
Exploring Operation: 41+4=45, Resulting Numbers: [4, 45]
Generated Node #0,1,0: 63:[4, 45] Operation: 41+4=45
Exploring Operation: 41-4=37, Resulting Numbers: [4, 37]
Generated Node #0,1,1: 63:[4, 37] Operation: 41-4=37
Exploring Operation: 4+41=45, Resulting Numbers: [4, 45]
Generated Node #0,1,2: 63:[4, 45] Operation: 4+41=45
Exploring Operation: 41-4=37, Resulting Numbers: [4, 37]
Generated Node #0,1,3: 63:[4, 37] Operation: 41-4=37
Exploring Operation: 4+4=8, Resulting Numbers: [41, 8]
Generated Node #0,1,4: 63:[41, 8] Operation: 4+4=8
Moving to Node #0,1,1
Current State: 63:[4, 37], Operations: ['60/15=4', '41-4=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[4, 37], Operations: ['60/15=4', '41-4=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[4, 45], Operations: ['60/15=4', '41+4=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[4, 45], Operations: ['60/15=4', '4+41=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Moving to Node #0,1,4
Current State: 63:[41, 8], Operations: ['60/15=4', '4+4=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,63 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,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:[60, 15, 37], Operations: ['41-4=37']
Exploring Operation: 37-15=22, Resulting Numbers: [60, 22]
Generated Node #0,0,0: 63:[60, 22] Operation: 37-15=22
Exploring Operation: 60/15=4, Resulting Numbers: [37, 4]
Generated Node #0,0,1: 63:[37, 4] Operation: 60/15=4
Exploring Operation: 60-37=23, Resulting Numbers: [15, 23]
Generated Node #0,0,2: 63:[15, 23] Operation: 60-37=23
Exploring Operation: 60+15=75, Resulting Numbers: [37, 75]
Generated Node #0,0,3: 63:[37, 75] Operation: 60+15=75
Exploring Operation: 15+37=52, Resulting Numbers: [60, 52]
Generated Node #0,0,4: 63:[60, 52] Operation: 15+37=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[60, 22], Operations: ['41-4=37', '37-15=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,63 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[15, 23], Operations: ['41-4=37', '60-37=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,63 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 63:[60, 52], Operations: ['41-4=37', '15+37=52']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,63 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[37, 4], Operations: ['41-4=37', '60/15=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[37, 75], Operations: ['41-4=37', '60+15=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,63 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
7,
11,
56
] | 80 | [
"83-11=72",
"56/7=8",
"72+8=80"
] | Current State: 80:[83, 7, 11, 56], Operations: []
Exploring Operation: 83-11=72, Resulting Numbers: [7, 56, 72]
Generated Node #2: [7, 56, 72] from Operation: 83-11=72
Current State: 80:[7, 56, 72], Operations: ['83-11=72']
Exploring Operation: 56/7=8, Resulting Numbers: [72, 8]
Generated Node #3: [72, 8] from Operation: 56/7=8
Current State: 80:[72, 8], Operations: ['83-11=72', '56/7=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[83, 7, 11, 56], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [83, 7, 45]
Generated Node #0,0: 80:[83, 7, 45] Operation: 56-11=45
Exploring Operation: 83-56=27, Resulting Numbers: [7, 11, 27]
Generated Node #0,1: 80:[7, 11, 27] Operation: 83-56=27
Exploring Operation: 56/7=8, Resulting Numbers: [83, 11, 8]
Generated Node #0,2: 80:[83, 11, 8] Operation: 56/7=8
Moving to Node #0,2
Current State: 80:[83, 11, 8], Operations: ['56/7=8']
Exploring Operation: 11-8=3, Resulting Numbers: [83, 3]
Generated Node #0,2,0: 80:[83, 3] Operation: 11-8=3
Exploring Operation: 11+8=19, Resulting Numbers: [83, 19]
Generated Node #0,2,1: 80:[83, 19] Operation: 11+8=19
Exploring Operation: 83-8=75, Resulting Numbers: [11, 75]
Generated Node #0,2,2: 80:[11, 75] Operation: 83-8=75
Moving to Node #0,0
Current State: 80:[83, 7, 45], Operations: ['56-11=45']
Exploring Operation: 83-7=76, Resulting Numbers: [45, 76]
Generated Node #0,0,0: 80:[45, 76] Operation: 83-7=76
Exploring Operation: 45-7=38, Resulting Numbers: [83, 38]
Generated Node #0,0,1: 80:[83, 38] Operation: 45-7=38
Exploring Operation: 83-45=38, Resulting Numbers: [7, 38]
Generated Node #0,0,2: 80:[7, 38] Operation: 83-45=38
Moving to Node #0,1
Current State: 80:[7, 11, 27], Operations: ['83-56=27']
Exploring Operation: 11+27=38, Resulting Numbers: [7, 38]
Generated Node #0,1,0: 80:[7, 38] Operation: 11+27=38
Exploring Operation: 27-7=20, Resulting Numbers: [11, 20]
Generated Node #0,1,1: 80:[11, 20] Operation: 27-7=20
Exploring Operation: 27-11=16, Resulting Numbers: [7, 16]
Generated Node #0,1,2: 80:[7, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[11, 20], Operations: ['83-56=27', '27-7=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,80 unequal: No Solution
No 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: 80:[7, 16], Operations: ['83-56=27', '27-11=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,80 unequal: No Solution
No 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: 80:[7, 38], Operations: ['83-56=27', '11+27=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,80 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 80:[7, 38], Operations: ['56-11=45', '83-45=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,80 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[83, 3], Operations: ['56/7=8', '11-8=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,80 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[83, 7, 11, 56], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [83, 11, 8]
Generated Node #0,2: 80:[83, 11, 8] Operation: 56/7=8
Moving to Node #0,2
Current State: 80:[83, 11, 8], Operations: ['56/7=8']
Exploring Operation: 11-8=3, Resulting Numbers: [83, 3]
Generated Node #0,2,0: 80:[83, 3] Operation: 11-8=3
Moving to Node #0,2,0
Current State: 80:[83, 3], Operations: ['56/7=8', '11-8=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
70,
79,
38,
44
] | 91 | [
"79-70=9",
"38+44=82",
"9+82=91"
] | Current State: 91:[70, 79, 38, 44], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [38, 44, 9]
Generated Node #2: [38, 44, 9] from Operation: 79-70=9
Current State: 91:[38, 44, 9], Operations: ['79-70=9']
Exploring Operation: 38+44=82, Resulting Numbers: [9, 82]
Generated Node #3: [9, 82] from Operation: 38+44=82
Current State: 91:[9, 82], Operations: ['79-70=9', '38+44=82']
Exploring Operation: 9+82=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[70, 79, 38, 44], Operations: []
Exploring Operation: 38+44=82, Resulting Numbers: [70, 79, 82]
Generated Node #0,0: 91:[70, 79, 82] Operation: 38+44=82
Exploring Operation: 70-44=26, Resulting Numbers: [79, 38, 26]
Generated Node #0,1: 91:[79, 38, 26] Operation: 70-44=26
Exploring Operation: 44-38=6, Resulting Numbers: [70, 79, 6]
Generated Node #0,2: 91:[70, 79, 6] Operation: 44-38=6
Exploring Operation: 79-70=9, Resulting Numbers: [38, 44, 9]
Generated Node #0,3: 91:[38, 44, 9] Operation: 79-70=9
Moving to Node #0,2
Current State: 91:[70, 79, 6], Operations: ['44-38=6']
Exploring Operation: 79-70=9, Resulting Numbers: [6, 9]
Generated Node #0,2,0: 91:[6, 9] Operation: 79-70=9
Exploring Operation: 70-6=64, Resulting Numbers: [79, 64]
Generated Node #0,2,1: 91:[79, 64] Operation: 70-6=64
Exploring Operation: 79+6=85, Resulting Numbers: [70, 85]
Generated Node #0,2,2: 91:[70, 85] Operation: 79+6=85
Exploring Operation: 70+6=76, Resulting Numbers: [79, 76]
Generated Node #0,2,3: 91:[79, 76] Operation: 70+6=76
Moving to Node #0,0
Current State: 91:[70, 79, 82], Operations: ['38+44=82']
Exploring Operation: 70+79=149, Resulting Numbers: [82, 149]
Generated Node #0,0,0: 91:[82, 149] Operation: 70+79=149
Exploring Operation: 82-79=3, Resulting Numbers: [70, 3]
Generated Node #0,0,1: 91:[70, 3] Operation: 82-79=3
Exploring Operation: 79-70=9, Resulting Numbers: [82, 9]
Generated Node #0,0,2: 91:[82, 9] Operation: 79-70=9
Exploring Operation: 82-70=12, Resulting Numbers: [79, 12]
Generated Node #0,0,3: 91:[79, 12] Operation: 82-70=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[82, 9], Operations: ['38+44=82', '79-70=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[70, 79, 38, 44], Operations: []
Exploring Operation: 38+44=82, Resulting Numbers: [70, 79, 82]
Generated Node #0,0: 91:[70, 79, 82] Operation: 38+44=82
Moving to Node #0,0
Current State: 91:[70, 79, 82], Operations: ['38+44=82']
Exploring Operation: 79-70=9, Resulting Numbers: [82, 9]
Generated Node #0,0,2: 91:[82, 9] Operation: 79-70=9
Moving to Node #0,0,2
Current State: 91:[82, 9], Operations: ['38+44=82', '79-70=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
57,
49,
60,
20
] | 100 | [
"57-49=8",
"20*8=160",
"160-60=100"
] | Current State: 100:[57, 49, 60, 20], Operations: []
Exploring Operation: 57-49=8, Resulting Numbers: [60, 20, 8]
Generated Node #2: [60, 20, 8] from Operation: 57-49=8
Current State: 100:[60, 20, 8], Operations: ['57-49=8']
Exploring Operation: 20*8=160, Resulting Numbers: [60, 160]
Generated Node #3: [60, 160] from Operation: 20*8=160
Current State: 100:[60, 160], Operations: ['57-49=8', '20*8=160']
Exploring Operation: 160-60=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[57, 49, 60, 20], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [49, 20, 3]
Generated Node #0,0: 100:[49, 20, 3] Operation: 60-57=3
Moving to Node #0,0
Current State: 100:[49, 20, 3], Operations: ['60-57=3']
Exploring Operation: 49+3=52, Resulting Numbers: [20, 52]
Generated Node #0,0,0: 100:[20, 52] Operation: 49+3=52
Moving to Node #0,0,0
Current State: 100:[20, 52], Operations: ['60-57=3', '49+3=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
8,
24,
16
] | 38 | [
"16-8=8",
"24/8=3",
"35+3=38"
] | Current State: 38:[35, 8, 24, 16], Operations: []
Exploring Operation: 16-8=8, Resulting Numbers: [35, 24, 8]
Generated Node #2: [35, 24, 8] from Operation: 16-8=8
Current State: 38:[35, 24, 8], Operations: ['16-8=8']
Exploring Operation: 24/8=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 24/8=3
Current State: 38:[35, 3], Operations: ['16-8=8', '24/8=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[35, 8, 24, 16], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [35, 24, 2]
Generated Node #0,0: 38:[35, 24, 2] Operation: 16/8=2
Exploring Operation: 24/8=3, Resulting Numbers: [35, 16, 3]
Generated Node #0,1: 38:[35, 16, 3] Operation: 24/8=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[35, 16, 3], Operations: ['24/8=3']
Exploring Operation: 35-16=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 38:[3, 19] Operation: 35-16=19
Exploring Operation: 35+3=38, Resulting Numbers: [16, 38]
Generated Node #0,1,1: 38:[16, 38] Operation: 35+3=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[3, 19], Operations: ['24/8=3', '35-16=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[16, 38], Operations: ['24/8=3', '35+3=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[35, 24, 2], Operations: ['16/8=2']
Exploring Operation: 24-2=22, Resulting Numbers: [35, 22]
Generated Node #0,0,0: 38:[35, 22] Operation: 24-2=22
Exploring Operation: 35+2=37, Resulting Numbers: [24, 37]
Generated Node #0,0,1: 38:[24, 37] Operation: 35+2=37
Moving to Node #0,0,0
Current State: 38:[35, 22], Operations: ['16/8=2', '24-2=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[24, 37], Operations: ['16/8=2', '35+2=37']
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,38 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 |
[
4,
29,
29,
70
] | 70 | [
"29-29=0",
"4*0=0",
"70+0=70"
] | Current State: 70:[4, 29, 29, 70], Operations: []
Exploring Operation: 29-29=0, Resulting Numbers: [4, 70, 0]
Generated Node #2: [4, 70, 0] from Operation: 29-29=0
Current State: 70:[4, 70, 0], Operations: ['29-29=0']
Exploring Operation: 4*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 4*0=0
Current State: 70:[70, 0], Operations: ['29-29=0', '4*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[4, 29, 29, 70], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [4, 70, 1]
Generated Node #0,0: 70:[4, 70, 1] Operation: 29/29=1
Exploring Operation: 4+29=33, Resulting Numbers: [29, 70, 33]
Generated Node #0,1: 70:[29, 70, 33] Operation: 4+29=33
Exploring Operation: 4+29=33, Resulting Numbers: [29, 70, 33]
Generated Node #0,2: 70:[29, 70, 33] Operation: 4+29=33
Exploring Operation: 29-29=0, Resulting Numbers: [4, 70, 0]
Generated Node #0,3: 70:[4, 70, 0] Operation: 29-29=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[4, 70, 1], Operations: ['29/29=1']
Exploring Operation: 4+1=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 70:[70, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [70, 4]
Generated Node #0,0,1: 70:[70, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [70, 4]
Generated Node #0,0,2: 70:[70, 4] Operation: 4*1=4
Exploring Operation: 4-1=3, Resulting Numbers: [70, 3]
Generated Node #0,0,3: 70:[70, 3] Operation: 4-1=3
Moving to Node #0,0,0
Current State: 70:[70, 5], Operations: ['29/29=1', '4+1=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,70 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[70, 4], Operations: ['29/29=1', '4*1=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[70, 4], Operations: ['29/29=1', '4/1=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[70, 3], Operations: ['29/29=1', '4-1=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,70 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[4, 70, 0], Operations: ['29-29=0']
Exploring Operation: 70+0=70, Resulting Numbers: [4, 70]
Generated Node #0,3,0: 70:[4, 70] Operation: 70+0=70
Exploring Operation: 4-0=4, Resulting Numbers: [70, 4]
Generated Node #0,3,1: 70:[70, 4] Operation: 4-0=4
Exploring Operation: 70-0=70, Resulting Numbers: [4, 70]
Generated Node #0,3,2: 70:[4, 70] Operation: 70-0=70
Exploring Operation: 4+0=4, Resulting Numbers: [70, 4]
Generated Node #0,3,3: 70:[70, 4] Operation: 4+0=4
Moving to Node #0,3,0
Current State: 70:[4, 70], Operations: ['29-29=0', '70+0=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[4, 70], Operations: ['29-29=0', '70-0=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[70, 4], Operations: ['29-29=0', '4-0=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[70, 4], Operations: ['29-29=0', '4+0=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[29, 70, 33], Operations: ['4+29=33']
Exploring Operation: 29+33=62, Resulting Numbers: [70, 62]
Generated Node #0,1,0: 70:[70, 62] Operation: 29+33=62
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4]
Generated Node #0,1,1: 70:[70, 4] Operation: 33-29=4
Exploring Operation: 70-33=37, Resulting Numbers: [29, 37]
Generated Node #0,1,2: 70:[29, 37] Operation: 70-33=37
Exploring Operation: 70-29=41, Resulting Numbers: [33, 41]
Generated Node #0,1,3: 70:[33, 41] Operation: 70-29=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[70, 4], Operations: ['4+29=33', '33-29=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[70, 62], Operations: ['4+29=33', '29+33=62']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[29, 37], Operations: ['4+29=33', '70-33=37']
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,70 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[33, 41], Operations: ['4+29=33', '70-29=41']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[29, 70, 33], Operations: ['4+29=33']
Exploring Operation: 70-29=41, Resulting Numbers: [33, 41]
Generated Node #0,2,0: 70:[33, 41] Operation: 70-29=41
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4]
Generated Node #0,2,1: 70:[70, 4] Operation: 33-29=4
Exploring Operation: 29+33=62, Resulting Numbers: [70, 62]
Generated Node #0,2,2: 70:[70, 62] Operation: 29+33=62
Exploring Operation: 70-33=37, Resulting Numbers: [29, 37]
Generated Node #0,2,3: 70:[29, 37] Operation: 70-33=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[70, 4], Operations: ['4+29=33', '33-29=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[33, 41], Operations: ['4+29=33', '70-29=41']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,70 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[70, 62], Operations: ['4+29=33', '29+33=62']
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[29, 37], Operations: ['4+29=33', '70-33=37']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
38,
3,
95
] | 29 | [
"83+38=121",
"95-3=92",
"121-92=29"
] | Current State: 29:[83, 38, 3, 95], Operations: []
Exploring Operation: 83+38=121, Resulting Numbers: [3, 95, 121]
Generated Node #2: [3, 95, 121] from Operation: 83+38=121
Current State: 29:[3, 95, 121], Operations: ['83+38=121']
Exploring Operation: 95-3=92, Resulting Numbers: [121, 92]
Generated Node #3: [121, 92] from Operation: 95-3=92
Current State: 29:[121, 92], Operations: ['83+38=121', '95-3=92']
Exploring Operation: 121-92=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[83, 38, 3, 95], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [3, 95, 45]
Generated Node #0,0: 29:[3, 95, 45] Operation: 83-38=45
Exploring Operation: 95-83=12, Resulting Numbers: [38, 3, 12]
Generated Node #0,1: 29:[38, 3, 12] Operation: 95-83=12
Exploring Operation: 95-38=57, Resulting Numbers: [83, 3, 57]
Generated Node #0,2: 29:[83, 3, 57] Operation: 95-38=57
Moving to Node #0,1
Current State: 29:[38, 3, 12], Operations: ['95-83=12']
Exploring Operation: 3*12=36, Resulting Numbers: [38, 36]
Generated Node #0,1,0: 29:[38, 36] Operation: 3*12=36
Exploring Operation: 38-3=35, Resulting Numbers: [12, 35]
Generated Node #0,1,1: 29:[12, 35] Operation: 38-3=35
Exploring Operation: 3+12=15, Resulting Numbers: [38, 15]
Generated Node #0,1,2: 29:[38, 15] Operation: 3+12=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[38, 36], Operations: ['95-83=12', '3*12=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,29 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[12, 35], Operations: ['95-83=12', '38-3=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,29 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[38, 15], Operations: ['95-83=12', '3+12=15']
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,29 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,29 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: 29:[3, 95, 45], Operations: ['83-38=45']
Exploring Operation: 45-3=42, Resulting Numbers: [95, 42]
Generated Node #0,0,0: 29:[95, 42] Operation: 45-3=42
Exploring Operation: 95-3=92, Resulting Numbers: [45, 92]
Generated Node #0,0,1: 29:[45, 92] Operation: 95-3=92
Exploring Operation: 95-45=50, Resulting Numbers: [3, 50]
Generated Node #0,0,2: 29:[3, 50] Operation: 95-45=50
Moving to Node #0,2
Current State: 29:[83, 3, 57], Operations: ['95-38=57']
Exploring Operation: 57/3=19, Resulting Numbers: [83, 19]
Generated Node #0,2,0: 29:[83, 19] Operation: 57/3=19
Exploring Operation: 83-57=26, Resulting Numbers: [3, 26]
Generated Node #0,2,1: 29:[3, 26] Operation: 83-57=26
Exploring Operation: 83-3=80, Resulting Numbers: [57, 80]
Generated Node #0,2,2: 29:[57, 80] Operation: 83-3=80
Moving to Node #0,2,1
Current State: 29:[3, 26], Operations: ['95-38=57', '83-57=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[83, 38, 3, 95], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [83, 3, 57]
Generated Node #0,2: 29:[83, 3, 57] Operation: 95-38=57
Moving to Node #0,2
Current State: 29:[83, 3, 57], Operations: ['95-38=57']
Exploring Operation: 83-57=26, Resulting Numbers: [3, 26]
Generated Node #0,2,1: 29:[3, 26] Operation: 83-57=26
Moving to Node #0,2,1
Current State: 29:[3, 26], Operations: ['95-38=57', '83-57=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
48,
71,
64,
7
] | 94 | [
"71-48=23",
"64+7=71",
"23+71=94"
] | Current State: 94:[48, 71, 64, 7], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [64, 7, 23]
Generated Node #2: [64, 7, 23] from Operation: 71-48=23
Current State: 94:[64, 7, 23], Operations: ['71-48=23']
Exploring Operation: 64+7=71, Resulting Numbers: [23, 71]
Generated Node #3: [23, 71] from Operation: 64+7=71
Current State: 94:[23, 71], Operations: ['71-48=23', '64+7=71']
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[48, 71, 64, 7], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [48, 7, 7]
Generated Node #0,0: 94:[48, 7, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 94:[48, 7, 7], Operations: ['71-64=7']
Exploring Operation: 7/7=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 94:[48, 1] Operation: 7/7=1
Moving to Node #0,0,0
Current State: 94:[48, 1], Operations: ['71-64=7', '7/7=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
29,
46,
96
] | 62 | [
"46-29=17",
"2*17=34",
"96-34=62"
] | Current State: 62:[2, 29, 46, 96], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [2, 96, 17]
Generated Node #2: [2, 96, 17] from Operation: 46-29=17
Current State: 62:[2, 96, 17], Operations: ['46-29=17']
Exploring Operation: 2*17=34, Resulting Numbers: [96, 34]
Generated Node #3: [96, 34] from Operation: 2*17=34
Current State: 62:[96, 34], Operations: ['46-29=17', '2*17=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[2, 29, 46, 96], Operations: []
Exploring Operation: 96-29=67, Resulting Numbers: [2, 46, 67]
Generated Node #0,0: 62:[2, 46, 67] Operation: 96-29=67
Exploring Operation: 96/2=48, Resulting Numbers: [29, 46, 48]
Generated Node #0,1: 62:[29, 46, 48] Operation: 96/2=48
Exploring Operation: 46/2=23, Resulting Numbers: [29, 96, 23]
Generated Node #0,2: 62:[29, 96, 23] Operation: 46/2=23
Exploring Operation: 96-46=50, Resulting Numbers: [2, 29, 50]
Generated Node #0,3: 62:[2, 29, 50] Operation: 96-46=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[2, 29, 50], Operations: ['96-46=50']
Exploring Operation: 2+50=52, Resulting Numbers: [29, 52]
Generated Node #0,3,0: 62:[29, 52] Operation: 2+50=52
Exploring Operation: 50/2=25, Resulting Numbers: [29, 25]
Generated Node #0,3,1: 62:[29, 25] Operation: 50/2=25
Exploring Operation: 50-29=21, Resulting Numbers: [2, 21]
Generated Node #0,3,2: 62:[2, 21] Operation: 50-29=21
Exploring Operation: 2+29=31, Resulting Numbers: [50, 31]
Generated Node #0,3,3: 62:[50, 31] Operation: 2+29=31
Moving to Node #0,3,1
Current State: 62:[29, 25], Operations: ['96-46=50', '50/2=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,62 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[2, 21], Operations: ['96-46=50', '50-29=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[50, 31], Operations: ['96-46=50', '2+29=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,62 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[29, 52], Operations: ['96-46=50', '2+50=52']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,62 unequal: No Solution
No 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: 62:[2, 46, 67], Operations: ['96-29=67']
Exploring Operation: 67-2=65, Resulting Numbers: [46, 65]
Generated Node #0,0,0: 62:[46, 65] Operation: 67-2=65
Exploring Operation: 67-46=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 62:[2, 21] Operation: 67-46=21
Exploring Operation: 46-2=44, Resulting Numbers: [67, 44]
Generated Node #0,0,2: 62:[67, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [67, 23]
Generated Node #0,0,3: 62:[67, 23] Operation: 46/2=23
Moving to Node #0,0,1
Current State: 62:[2, 21], Operations: ['96-29=67', '67-46=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[67, 23], Operations: ['96-29=67', '46/2=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,62 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[67, 44], Operations: ['96-29=67', '46-2=44']
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,62 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[46, 65], Operations: ['96-29=67', '67-2=65']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,62 unequal: No Solution
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,62 unequal: No Solution
No 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: 62:[29, 46, 48], Operations: ['96/2=48']
Exploring Operation: 48-46=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 62:[29, 2] Operation: 48-46=2
Exploring Operation: 29+46=75, Resulting Numbers: [48, 75]
Generated Node #0,1,1: 62:[48, 75] Operation: 29+46=75
Exploring Operation: 46-29=17, Resulting Numbers: [48, 17]
Generated Node #0,1,2: 62:[48, 17] Operation: 46-29=17
Exploring Operation: 48-29=19, Resulting Numbers: [46, 19]
Generated Node #0,1,3: 62:[46, 19] Operation: 48-29=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[29, 2], Operations: ['96/2=48', '48-46=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No 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: 62:[48, 75], Operations: ['96/2=48', '29+46=75']
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,62 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,62 unequal: No Solution
No 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: 62:[46, 19], Operations: ['96/2=48', '48-29=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,62 unequal: No Solution
No 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: 62:[48, 17], Operations: ['96/2=48', '46-29=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,62 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,62 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: 62:[29, 96, 23], Operations: ['46/2=23']
Exploring Operation: 96-23=73, Resulting Numbers: [29, 73]
Generated Node #0,2,0: 62:[29, 73] Operation: 96-23=73
Exploring Operation: 29+23=52, Resulting Numbers: [96, 52]
Generated Node #0,2,1: 62:[96, 52] Operation: 29+23=52
Exploring Operation: 29-23=6, Resulting Numbers: [96, 6]
Generated Node #0,2,2: 62:[96, 6] Operation: 29-23=6
Exploring Operation: 96-29=67, Resulting Numbers: [23, 67]
Generated Node #0,2,3: 62:[23, 67] Operation: 96-29=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[29, 73], Operations: ['46/2=23', '96-23=73']
Exploring Operation: 29*73=2117, Resulting Numbers: [2117]
2117,62 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,62 unequal: No Solution
No 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: 62:[23, 67], Operations: ['46/2=23', '96-29=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,62 unequal: No Solution
No 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: 62:[96, 6], Operations: ['46/2=23', '29-23=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,62 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,62 unequal: No Solution
No 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: 62:[96, 52], Operations: ['46/2=23', '29+23=52']
Exploring Operation: 96*52=4992, Resulting Numbers: [4992]
4992,62 unequal: No Solution
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 96+52=148, Resulting Numbers: [148]
148,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
23,
8,
48
] | 23 | [
"40+23=63",
"48-8=40",
"63-40=23"
] | Current State: 23:[40, 23, 8, 48], Operations: []
Exploring Operation: 40+23=63, Resulting Numbers: [8, 48, 63]
Generated Node #2: [8, 48, 63] from Operation: 40+23=63
Current State: 23:[8, 48, 63], Operations: ['40+23=63']
Exploring Operation: 48-8=40, Resulting Numbers: [63, 40]
Generated Node #3: [63, 40] from Operation: 48-8=40
Current State: 23:[63, 40], Operations: ['40+23=63', '48-8=40']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[40, 23, 8, 48], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [40, 8, 25]
Generated Node #0,0: 23:[40, 8, 25] Operation: 48-23=25
Exploring Operation: 40-8=32, Resulting Numbers: [23, 48, 32]
Generated Node #0,1: 23:[23, 48, 32] Operation: 40-8=32
Exploring Operation: 48-40=8, Resulting Numbers: [23, 8, 8]
Generated Node #0,2: 23:[23, 8, 8] Operation: 48-40=8
Exploring Operation: 48-8=40, Resulting Numbers: [40, 23, 40]
Generated Node #0,3: 23:[40, 23, 40] Operation: 48-8=40
Moving to Node #0,2
Current State: 23:[23, 8, 8], Operations: ['48-40=8']
Exploring Operation: 23-8=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 23:[8, 15] Operation: 23-8=15
Exploring Operation: 8+8=16, Resulting Numbers: [23, 16]
Generated Node #0,2,1: 23:[23, 16] Operation: 8+8=16
Exploring Operation: 23+8=31, Resulting Numbers: [8, 31]
Generated Node #0,2,2: 23:[8, 31] Operation: 23+8=31
Exploring Operation: 8/8=1, Resulting Numbers: [23, 1]
Generated Node #0,2,3: 23:[23, 1] Operation: 8/8=1
Moving to Node #0,1
Current State: 23:[23, 48, 32], Operations: ['40-8=32']
Exploring Operation: 32-23=9, Resulting Numbers: [48, 9]
Generated Node #0,1,0: 23:[48, 9] Operation: 32-23=9
Exploring Operation: 48-32=16, Resulting Numbers: [23, 16]
Generated Node #0,1,1: 23:[23, 16] Operation: 48-32=16
Exploring Operation: 48-23=25, Resulting Numbers: [32, 25]
Generated Node #0,1,2: 23:[32, 25] Operation: 48-23=25
Exploring Operation: 23+48=71, Resulting Numbers: [32, 71]
Generated Node #0,1,3: 23:[32, 71] Operation: 23+48=71
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[23, 16], Operations: ['40-8=32', '48-32=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,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, 25], Operations: ['40-8=32', '48-23=25']
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,23 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,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:[48, 9], Operations: ['40-8=32', '32-23=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,23 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,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:[32, 71], Operations: ['40-8=32', '23+48=71']
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,23 unequal: No Solution
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,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:[40, 8, 25], Operations: ['48-23=25']
Exploring Operation: 25-8=17, Resulting Numbers: [40, 17]
Generated Node #0,0,0: 23:[40, 17] Operation: 25-8=17
Exploring Operation: 40-25=15, Resulting Numbers: [8, 15]
Generated Node #0,0,1: 23:[8, 15] Operation: 40-25=15
Exploring Operation: 40-8=32, Resulting Numbers: [25, 32]
Generated Node #0,0,2: 23:[25, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [25, 5]
Generated Node #0,0,3: 23:[25, 5] Operation: 40/8=5
Moving to Node #0,3
Current State: 23:[40, 23, 40], Operations: ['48-8=40']
Exploring Operation: 40-23=17, Resulting Numbers: [40, 17]
Generated Node #0,3,0: 23:[40, 17] Operation: 40-23=17
Exploring Operation: 40-40=0, Resulting Numbers: [23, 0]
Generated Node #0,3,1: 23:[23, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [23, 1]
Generated Node #0,3,2: 23:[23, 1] Operation: 40/40=1
Exploring Operation: 40-23=17, Resulting Numbers: [40, 17]
Generated Node #0,3,3: 23:[40, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[23, 1], Operations: ['48-8=40', '40/40=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[40, 23, 8, 48], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [40, 23, 40]
Generated Node #0,3: 23:[40, 23, 40] Operation: 48-8=40
Moving to Node #0,3
Current State: 23:[40, 23, 40], Operations: ['48-8=40']
Exploring Operation: 40/40=1, Resulting Numbers: [23, 1]
Generated Node #0,3,2: 23:[23, 1] Operation: 40/40=1
Moving to Node #0,3,2
Current State: 23:[23, 1], Operations: ['48-8=40', '40/40=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
75,
2,
28,
18
] | 67 | [
"75+2=77",
"28-18=10",
"77-10=67"
] | Current State: 67:[75, 2, 28, 18], Operations: []
Exploring Operation: 75+2=77, Resulting Numbers: [28, 18, 77]
Generated Node #2: [28, 18, 77] from Operation: 75+2=77
Current State: 67:[28, 18, 77], Operations: ['75+2=77']
Exploring Operation: 28-18=10, Resulting Numbers: [77, 10]
Generated Node #3: [77, 10] from Operation: 28-18=10
Current State: 67:[77, 10], Operations: ['75+2=77', '28-18=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[75, 2, 28, 18], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [28, 18, 73]
Generated Node #0,0: 67:[28, 18, 73] Operation: 75-2=73
Exploring Operation: 2*18=36, Resulting Numbers: [75, 28, 36]
Generated Node #0,1: 67:[75, 28, 36] Operation: 2*18=36
Exploring Operation: 2*28=56, Resulting Numbers: [75, 18, 56]
Generated Node #0,2: 67:[75, 18, 56] Operation: 2*28=56
Moving to Node #0,2
Current State: 67:[75, 18, 56], Operations: ['2*28=56']
Exploring Operation: 75-18=57, Resulting Numbers: [56, 57]
Generated Node #0,2,0: 67:[56, 57] Operation: 75-18=57
Exploring Operation: 18+56=74, Resulting Numbers: [75, 74]
Generated Node #0,2,1: 67:[75, 74] Operation: 18+56=74
Exploring Operation: 75+18=93, Resulting Numbers: [56, 93]
Generated Node #0,2,2: 67:[56, 93] Operation: 75+18=93
Moving to Node #0,1
Current State: 67:[75, 28, 36], Operations: ['2*18=36']
Exploring Operation: 28+36=64, Resulting Numbers: [75, 64]
Generated Node #0,1,0: 67:[75, 64] Operation: 28+36=64
Exploring Operation: 75+28=103, Resulting Numbers: [36, 103]
Generated Node #0,1,1: 67:[36, 103] Operation: 75+28=103
Exploring Operation: 75-28=47, Resulting Numbers: [36, 47]
Generated Node #0,1,2: 67:[36, 47] Operation: 75-28=47
Moving to Node #0,0
Current State: 67:[28, 18, 73], Operations: ['75-2=73']
Exploring Operation: 73-18=55, Resulting Numbers: [28, 55]
Generated Node #0,0,0: 67:[28, 55] Operation: 73-18=55
Exploring Operation: 28+18=46, Resulting Numbers: [73, 46]
Generated Node #0,0,1: 67:[73, 46] Operation: 28+18=46
Exploring Operation: 28-18=10, Resulting Numbers: [73, 10]
Generated Node #0,0,2: 67:[73, 10] Operation: 28-18=10
Moving to Node #0,1,0
Current State: 67:[75, 64], Operations: ['2*18=36', '28+36=64']
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,67 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[75, 74], Operations: ['2*28=56', '18+56=74']
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,67 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[56, 57], Operations: ['2*28=56', '75-18=57']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[73, 46], Operations: ['75-2=73', '28+18=46']
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[56, 93], Operations: ['2*28=56', '75+18=93']
Exploring Operation: 56*93=5208, Resulting Numbers: [5208]
5208,67 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 56+93=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[36, 47], Operations: ['2*18=36', '75-28=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[28, 55], Operations: ['75-2=73', '73-18=55']
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[73, 10], Operations: ['75-2=73', '28-18=10']
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[36, 103], Operations: ['2*18=36', '75+28=103']
Exploring Operation: 36+103=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[75, 2, 28, 18], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [75, 28, 36]
Generated Node #0,1: 67:[75, 28, 36] Operation: 2*18=36
Moving to Node #0,1
Current State: 67:[75, 28, 36], Operations: ['2*18=36']
Exploring Operation: 75+28=103, Resulting Numbers: [36, 103]
Generated Node #0,1,1: 67:[36, 103] Operation: 75+28=103
Moving to Node #0,1,1
Current State: 67:[36, 103], Operations: ['2*18=36', '75+28=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
57,
27,
53,
2
] | 88 | [
"57*2=114",
"53-27=26",
"114-26=88"
] | Current State: 88:[57, 27, 53, 2], Operations: []
Exploring Operation: 57*2=114, Resulting Numbers: [27, 53, 114]
Generated Node #2: [27, 53, 114] from Operation: 57*2=114
Current State: 88:[27, 53, 114], Operations: ['57*2=114']
Exploring Operation: 53-27=26, Resulting Numbers: [114, 26]
Generated Node #3: [114, 26] from Operation: 53-27=26
Current State: 88:[114, 26], Operations: ['57*2=114', '53-27=26']
Exploring Operation: 114-26=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[57, 27, 53, 2], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [27, 2, 4]
Generated Node #0,0: 88:[27, 2, 4] Operation: 57-53=4
Exploring Operation: 57-27=30, Resulting Numbers: [53, 2, 30]
Generated Node #0,1: 88:[53, 2, 30] Operation: 57-27=30
Exploring Operation: 53-27=26, Resulting Numbers: [57, 2, 26]
Generated Node #0,2: 88:[57, 2, 26] Operation: 53-27=26
Exploring Operation: 57+27=84, Resulting Numbers: [53, 2, 84]
Generated Node #0,3: 88:[53, 2, 84] Operation: 57+27=84
Moving to Node #0,0
Current State: 88:[27, 2, 4], Operations: ['57-53=4']
Exploring Operation: 27-2=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 88:[4, 25] Operation: 27-2=25
Exploring Operation: 2*4=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 88:[27, 8] Operation: 2*4=8
Exploring Operation: 4-2=2, Resulting Numbers: [27, 2]
Generated Node #0,0,2: 88:[27, 2] Operation: 4-2=2
Exploring Operation: 27-4=23, Resulting Numbers: [2, 23]
Generated Node #0,0,3: 88:[2, 23] Operation: 27-4=23
Moving to Node #0,3
Current State: 88:[53, 2, 84], Operations: ['57+27=84']
Exploring Operation: 84/2=42, Resulting Numbers: [53, 42]
Generated Node #0,3,0: 88:[53, 42] Operation: 84/2=42
Exploring Operation: 84-53=31, Resulting Numbers: [2, 31]
Generated Node #0,3,1: 88:[2, 31] Operation: 84-53=31
Exploring Operation: 53-2=51, Resulting Numbers: [84, 51]
Generated Node #0,3,2: 88:[84, 51] Operation: 53-2=51
Exploring Operation: 2+84=86, Resulting Numbers: [53, 86]
Generated Node #0,3,3: 88:[53, 86] Operation: 2+84=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[2, 31], Operations: ['57+27=84', '84-53=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[53, 42], Operations: ['57+27=84', '84/2=42']
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,88 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[84, 51], Operations: ['57+27=84', '53-2=51']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,88 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[53, 86], Operations: ['57+27=84', '2+84=86']
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 53*86=4558, Resulting Numbers: [4558]
4558,88 unequal: No Solution
Exploring Operation: 53+86=139, Resulting Numbers: [139]
139,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[57, 2, 26], Operations: ['53-27=26']
Exploring Operation: 57-2=55, Resulting Numbers: [26, 55]
Generated Node #0,2,0: 88:[26, 55] Operation: 57-2=55
Exploring Operation: 26-2=24, Resulting Numbers: [57, 24]
Generated Node #0,2,1: 88:[57, 24] Operation: 26-2=24
Exploring Operation: 57+26=83, Resulting Numbers: [2, 83]
Generated Node #0,2,2: 88:[2, 83] Operation: 57+26=83
Exploring Operation: 57-26=31, Resulting Numbers: [2, 31]
Generated Node #0,2,3: 88:[2, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[2, 83], Operations: ['53-27=26', '57+26=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[2, 31], Operations: ['53-27=26', '57-26=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[26, 55], Operations: ['53-27=26', '57-2=55']
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[57, 24], Operations: ['53-27=26', '26-2=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[53, 2, 30], Operations: ['57-27=30']
Exploring Operation: 53-30=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 88:[2, 23] Operation: 53-30=23
Exploring Operation: 53-2=51, Resulting Numbers: [30, 51]
Generated Node #0,1,1: 88:[30, 51] Operation: 53-2=51
Exploring Operation: 53+30=83, Resulting Numbers: [2, 83]
Generated Node #0,1,2: 88:[2, 83] Operation: 53+30=83
Exploring Operation: 30/2=15, Resulting Numbers: [53, 15]
Generated Node #0,1,3: 88:[53, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[2, 23], Operations: ['57-27=30', '53-30=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[2, 83], Operations: ['57-27=30', '53+30=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,88 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[53, 15], Operations: ['57-27=30', '30/2=15']
Exploring Operation: 53*15=795, Resulting Numbers: [795]
795,88 unequal: No Solution
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[30, 51], Operations: ['57-27=30', '53-2=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 88:[2, 23], Operations: ['57-53=4', '27-4=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[4, 25], Operations: ['57-53=4', '27-2=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[27, 2], Operations: ['57-53=4', '4-2=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[27, 8], Operations: ['57-53=4', '2*4=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,88 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
15,
37,
31,
53
] | 30 | [
"15+37=52",
"53-31=22",
"52-22=30"
] | Current State: 30:[15, 37, 31, 53], Operations: []
Exploring Operation: 15+37=52, Resulting Numbers: [31, 53, 52]
Generated Node #2: [31, 53, 52] from Operation: 15+37=52
Current State: 30:[31, 53, 52], Operations: ['15+37=52']
Exploring Operation: 53-31=22, Resulting Numbers: [52, 22]
Generated Node #3: [52, 22] from Operation: 53-31=22
Current State: 30:[52, 22], Operations: ['15+37=52', '53-31=22']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 37, 31, 53], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [15, 37, 22]
Generated Node #0,0: 30:[15, 37, 22] Operation: 53-31=22
Exploring Operation: 53-15=38, Resulting Numbers: [37, 31, 38]
Generated Node #0,1: 30:[37, 31, 38] Operation: 53-15=38
Exploring Operation: 37-31=6, Resulting Numbers: [15, 53, 6]
Generated Node #0,2: 30:[15, 53, 6] Operation: 37-31=6
Exploring Operation: 53-37=16, Resulting Numbers: [15, 31, 16]
Generated Node #0,3: 30:[15, 31, 16] Operation: 53-37=16
Exploring Operation: 37-15=22, Resulting Numbers: [31, 53, 22]
Generated Node #0,4: 30:[31, 53, 22] Operation: 37-15=22
Moving to Node #0,3
Current State: 30:[15, 31, 16], Operations: ['53-37=16']
Exploring Operation: 16-15=1, Resulting Numbers: [31, 1]
Generated Node #0,3,0: 30:[31, 1] Operation: 16-15=1
Exploring Operation: 15+31=46, Resulting Numbers: [16, 46]
Generated Node #0,3,1: 30:[16, 46] Operation: 15+31=46
Exploring Operation: 31-15=16, Resulting Numbers: [16, 16]
Generated Node #0,3,2: 30:[16, 16] Operation: 31-15=16
Exploring Operation: 15+16=31, Resulting Numbers: [31, 31]
Generated Node #0,3,3: 30:[31, 31] Operation: 15+16=31
Exploring Operation: 31-16=15, Resulting Numbers: [15, 15]
Generated Node #0,3,4: 30:[15, 15] Operation: 31-16=15
Moving to Node #0,0
Current State: 30:[15, 37, 22], Operations: ['53-31=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 30:[15, 15] Operation: 37-22=15
Exploring Operation: 22-15=7, Resulting Numbers: [37, 7]
Generated Node #0,0,1: 30:[37, 7] Operation: 22-15=7
Exploring Operation: 15+22=37, Resulting Numbers: [37, 37]
Generated Node #0,0,2: 30:[37, 37] Operation: 15+22=37
Exploring Operation: 37-15=22, Resulting Numbers: [22, 22]
Generated Node #0,0,3: 30:[22, 22] Operation: 37-15=22
Exploring Operation: 15+37=52, Resulting Numbers: [22, 52]
Generated Node #0,0,4: 30:[22, 52] Operation: 15+37=52
Moving to Node #0,1
Current State: 30:[37, 31, 38], Operations: ['53-15=38']
Exploring Operation: 37+31=68, Resulting Numbers: [38, 68]
Generated Node #0,1,0: 30:[38, 68] Operation: 37+31=68
Exploring Operation: 38-31=7, Resulting Numbers: [37, 7]
Generated Node #0,1,1: 30:[37, 7] Operation: 38-31=7
Exploring Operation: 38-37=1, Resulting Numbers: [31, 1]
Generated Node #0,1,2: 30:[31, 1] Operation: 38-37=1
Exploring Operation: 37+38=75, Resulting Numbers: [31, 75]
Generated Node #0,1,3: 30:[31, 75] Operation: 37+38=75
Exploring Operation: 37-31=6, Resulting Numbers: [38, 6]
Generated Node #0,1,4: 30:[38, 6] Operation: 37-31=6
Moving to Node #0,2
Current State: 30:[15, 53, 6], Operations: ['37-31=6']
Exploring Operation: 53-6=47, Resulting Numbers: [15, 47]
Generated Node #0,2,0: 30:[15, 47] Operation: 53-6=47
Exploring Operation: 53-15=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 30:[6, 38] Operation: 53-15=38
Exploring Operation: 15+6=21, Resulting Numbers: [53, 21]
Generated Node #0,2,2: 30:[53, 21] Operation: 15+6=21
Exploring Operation: 53+6=59, Resulting Numbers: [15, 59]
Generated Node #0,2,3: 30:[15, 59] Operation: 53+6=59
Exploring Operation: 15-6=9, Resulting Numbers: [53, 9]
Generated Node #0,2,4: 30:[53, 9] Operation: 15-6=9
Moving to Node #0,4
Current State: 30:[31, 53, 22], Operations: ['37-15=22']
Exploring Operation: 31-22=9, Resulting Numbers: [53, 9]
Generated Node #0,4,0: 30:[53, 9] Operation: 31-22=9
Exploring Operation: 53+22=75, Resulting Numbers: [31, 75]
Generated Node #0,4,1: 30:[31, 75] Operation: 53+22=75
Exploring Operation: 53-31=22, Resulting Numbers: [22, 22]
Generated Node #0,4,2: 30:[22, 22] Operation: 53-31=22
Exploring Operation: 53-22=31, Resulting Numbers: [31, 31]
Generated Node #0,4,3: 30:[31, 31] Operation: 53-22=31
Exploring Operation: 31+22=53, Resulting Numbers: [53, 53]
Generated Node #0,4,4: 30:[53, 53] Operation: 31+22=53
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 30:[31, 31], Operations: ['37-15=22', '53-22=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 30:[22, 22], Operations: ['37-15=22', '53-31=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,30 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[53, 9], Operations: ['37-15=22', '31-22=9']
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 53*9=477, Resulting Numbers: [477]
477,30 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 30:[31, 75], Operations: ['37-15=22', '53+22=75']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,30 unequal: No Solution
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 30:[53, 53], Operations: ['37-15=22', '31+22=53']
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,30 unequal: No Solution
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,30 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 30:[15, 15], Operations: ['53-37=16', '31-16=15']
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,30 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[15, 37, 31, 53], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [15, 31, 16]
Generated Node #0,3: 30:[15, 31, 16] Operation: 53-37=16
Moving to Node #0,3
Current State: 30:[15, 31, 16], Operations: ['53-37=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15, 15]
Generated Node #0,3,4: 30:[15, 15] Operation: 31-16=15
Moving to Node #0,3,4
Current State: 30:[15, 15], Operations: ['53-37=16', '31-16=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.953125 | hs_5 | mult_heuristic |
[
62,
4,
2,
13
] | 14 | [
"62/2=31",
"4+13=17",
"31-17=14"
] | Current State: 14:[62, 4, 2, 13], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [4, 13, 31]
Generated Node #2: [4, 13, 31] from Operation: 62/2=31
Current State: 14:[4, 13, 31], Operations: ['62/2=31']
Exploring Operation: 4+13=17, Resulting Numbers: [31, 17]
Generated Node #3: [31, 17] from Operation: 4+13=17
Current State: 14:[31, 17], Operations: ['62/2=31', '4+13=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[62, 4, 2, 13], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [4, 13, 60]
Generated Node #0,0: 14:[4, 13, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [4, 13, 31]
Generated Node #0,1: 14:[4, 13, 31] Operation: 62/2=31
Exploring Operation: 4-2=2, Resulting Numbers: [62, 13, 2]
Generated Node #0,2: 14:[62, 13, 2] Operation: 4-2=2
Exploring Operation: 62-13=49, Resulting Numbers: [4, 2, 49]
Generated Node #0,3: 14:[4, 2, 49] Operation: 62-13=49
Exploring Operation: 62-4=58, Resulting Numbers: [2, 13, 58]
Generated Node #0,4: 14:[2, 13, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[4, 13, 31], Operations: ['62/2=31']
Exploring Operation: 31-13=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 14:[4, 18] Operation: 31-13=18
Exploring Operation: 4+31=35, Resulting Numbers: [13, 35]
Generated Node #0,1,1: 14:[13, 35] Operation: 4+31=35
Exploring Operation: 13-4=9, Resulting Numbers: [31, 9]
Generated Node #0,1,2: 14:[31, 9] Operation: 13-4=9
Exploring Operation: 4+13=17, Resulting Numbers: [31, 17]
Generated Node #0,1,3: 14:[31, 17] Operation: 4+13=17
Exploring Operation: 31-4=27, Resulting Numbers: [13, 27]
Generated Node #0,1,4: 14:[13, 27] Operation: 31-4=27
Moving to Node #0,1,0
Current State: 14:[4, 18], Operations: ['62/2=31', '31-13=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[62, 4, 2, 13], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [4, 13, 31]
Generated Node #0,1: 14:[4, 13, 31] Operation: 62/2=31
Moving to Node #0,1
Current State: 14:[4, 13, 31], Operations: ['62/2=31']
Exploring Operation: 31-13=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 14:[4, 18] Operation: 31-13=18
Moving to Node #0,1,0
Current State: 14:[4, 18], Operations: ['62/2=31', '31-13=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
90,
4,
49,
87
] | 77 | [
"90-49=41",
"4*41=164",
"164-87=77"
] | Current State: 77:[90, 4, 49, 87], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [4, 87, 41]
Generated Node #2: [4, 87, 41] from Operation: 90-49=41
Current State: 77:[4, 87, 41], Operations: ['90-49=41']
Exploring Operation: 4*41=164, Resulting Numbers: [87, 164]
Generated Node #3: [87, 164] from Operation: 4*41=164
Current State: 77:[87, 164], Operations: ['90-49=41', '4*41=164']
Exploring Operation: 164-87=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[90, 4, 49, 87], Operations: []
Exploring Operation: 87-49=38, Resulting Numbers: [90, 4, 38]
Generated Node #0,0: 77:[90, 4, 38] Operation: 87-49=38
Exploring Operation: 4+49=53, Resulting Numbers: [90, 87, 53]
Generated Node #0,1: 77:[90, 87, 53] Operation: 4+49=53
Exploring Operation: 90-49=41, Resulting Numbers: [4, 87, 41]
Generated Node #0,2: 77:[4, 87, 41] Operation: 90-49=41
Exploring Operation: 90-4=86, Resulting Numbers: [49, 87, 86]
Generated Node #0,3: 77:[49, 87, 86] Operation: 90-4=86
Exploring Operation: 90-87=3, Resulting Numbers: [4, 49, 3]
Generated Node #0,4: 77:[4, 49, 3] Operation: 90-87=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[4, 49, 3], Operations: ['90-87=3']
Exploring Operation: 4+49=53, Resulting Numbers: [3, 53]
Generated Node #0,4,0: 77:[3, 53] Operation: 4+49=53
Exploring Operation: 4-3=1, Resulting Numbers: [49, 1]
Generated Node #0,4,1: 77:[49, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [49, 7]
Generated Node #0,4,2: 77:[49, 7] Operation: 4+3=7
Exploring Operation: 49+3=52, Resulting Numbers: [4, 52]
Generated Node #0,4,3: 77:[4, 52] Operation: 49+3=52
Exploring Operation: 4*3=12, Resulting Numbers: [49, 12]
Generated Node #0,4,4: 77:[49, 12] Operation: 4*3=12
Moving to Node #0,4,0
Current State: 77:[3, 53], Operations: ['90-87=3', '4+49=53']
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[4, 52], Operations: ['90-87=3', '49+3=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,77 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[49, 7], Operations: ['90-87=3', '4+3=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[49, 12], Operations: ['90-87=3', '4*3=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[49, 1], Operations: ['90-87=3', '4-3=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[90, 4, 38], Operations: ['87-49=38']
Exploring Operation: 90+4=94, Resulting Numbers: [38, 94]
Generated Node #0,0,0: 77:[38, 94] Operation: 90+4=94
Exploring Operation: 38-4=34, Resulting Numbers: [90, 34]
Generated Node #0,0,1: 77:[90, 34] Operation: 38-4=34
Exploring Operation: 4+38=42, Resulting Numbers: [90, 42]
Generated Node #0,0,2: 77:[90, 42] Operation: 4+38=42
Exploring Operation: 90-38=52, Resulting Numbers: [4, 52]
Generated Node #0,0,3: 77:[4, 52] Operation: 90-38=52
Exploring Operation: 90-4=86, Resulting Numbers: [38, 86]
Generated Node #0,0,4: 77:[38, 86] Operation: 90-4=86
Moving to Node #0,0,3
Current State: 77:[4, 52], Operations: ['87-49=38', '90-38=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,77 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[38, 86], Operations: ['87-49=38', '90-4=86']
Exploring Operation: 38+86=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 38*86=3268, Resulting Numbers: [3268]
3268,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[90, 34], Operations: ['87-49=38', '38-4=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,77 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[38, 94], Operations: ['87-49=38', '90+4=94']
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,77 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,77 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[90, 42], Operations: ['87-49=38', '4+38=42']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,77 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[4, 87, 41], Operations: ['90-49=41']
Exploring Operation: 4+41=45, Resulting Numbers: [87, 45]
Generated Node #0,2,0: 77:[87, 45] Operation: 4+41=45
Exploring Operation: 87-4=83, Resulting Numbers: [41, 83]
Generated Node #0,2,1: 77:[41, 83] Operation: 87-4=83
Exploring Operation: 87-41=46, Resulting Numbers: [4, 46]
Generated Node #0,2,2: 77:[4, 46] Operation: 87-41=46
Exploring Operation: 4+87=91, Resulting Numbers: [41, 91]
Generated Node #0,2,3: 77:[41, 91] Operation: 4+87=91
Exploring Operation: 41-4=37, Resulting Numbers: [87, 37]
Generated Node #0,2,4: 77:[87, 37] Operation: 41-4=37
Moving to Node #0,2,2
Current State: 77:[4, 46], Operations: ['90-49=41', '87-41=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[87, 37], Operations: ['90-49=41', '41-4=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[41, 83], Operations: ['90-49=41', '87-4=83']
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[87, 45], Operations: ['90-49=41', '4+41=45']
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 87+45=132, Resulting Numbers: [132]
132,77 unequal: No Solution
Exploring Operation: 87*45=3915, Resulting Numbers: [3915]
3915,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[41, 91], Operations: ['90-49=41', '4+87=91']
Exploring Operation: 41*91=3731, Resulting Numbers: [3731]
3731,77 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 41+91=132, Resulting Numbers: [132]
132,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[90, 87, 53], Operations: ['4+49=53']
Exploring Operation: 87+53=140, Resulting Numbers: [90, 140]
Generated Node #0,1,0: 77:[90, 140] Operation: 87+53=140
Exploring Operation: 87-53=34, Resulting Numbers: [90, 34]
Generated Node #0,1,1: 77:[90, 34] Operation: 87-53=34
Exploring Operation: 90+53=143, Resulting Numbers: [87, 143]
Generated Node #0,1,2: 77:[87, 143] Operation: 90+53=143
Exploring Operation: 90-87=3, Resulting Numbers: [53, 3]
Generated Node #0,1,3: 77:[53, 3] Operation: 90-87=3
Exploring Operation: 90-53=37, Resulting Numbers: [87, 37]
Generated Node #0,1,4: 77:[87, 37] Operation: 90-53=37
Moving to Node #0,1,3
Current State: 77:[53, 3], Operations: ['4+49=53', '90-87=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[87, 37], Operations: ['4+49=53', '90-53=37']
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,77 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[90, 34], Operations: ['4+49=53', '87-53=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[90, 140], Operations: ['4+49=53', '87+53=140']
Exploring Operation: 90+140=230, Resulting Numbers: [230]
230,77 unequal: No Solution
Exploring Operation: 140-90=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 90*140=12600, Resulting Numbers: [12600]
12600,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[87, 143], Operations: ['4+49=53', '90+53=143']
Exploring Operation: 143-87=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 87*143=12441, Resulting Numbers: [12441]
12441,77 unequal: No Solution
Exploring Operation: 87+143=230, Resulting Numbers: [230]
230,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[49, 87, 86], Operations: ['90-4=86']
Exploring Operation: 87-86=1, Resulting Numbers: [49, 1]
Generated Node #0,3,0: 77:[49, 1] Operation: 87-86=1
Exploring Operation: 86-49=37, Resulting Numbers: [87, 37]
Generated Node #0,3,1: 77:[87, 37] Operation: 86-49=37
Exploring Operation: 87-49=38, Resulting Numbers: [86, 38]
Generated Node #0,3,2: 77:[86, 38] Operation: 87-49=38
Exploring Operation: 49+86=135, Resulting Numbers: [87, 135]
Generated Node #0,3,3: 77:[87, 135] Operation: 49+86=135
Exploring Operation: 49+87=136, Resulting Numbers: [86, 136]
Generated Node #0,3,4: 77:[86, 136] Operation: 49+87=136
Moving to Node #0,3,0
Current State: 77:[49, 1], Operations: ['90-4=86', '87-86=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[86, 38], Operations: ['90-4=86', '87-49=38']
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,77 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[87, 37], Operations: ['90-4=86', '86-49=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,77 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[87, 135], Operations: ['90-4=86', '49+86=135']
Exploring Operation: 87+135=222, Resulting Numbers: [222]
222,77 unequal: No Solution
Exploring Operation: 87*135=11745, Resulting Numbers: [11745]
11745,77 unequal: No Solution
Exploring Operation: 135-87=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[86, 136], Operations: ['90-4=86', '49+87=136']
Exploring Operation: 86+136=222, Resulting Numbers: [222]
222,77 unequal: No Solution
Exploring Operation: 86*136=11696, Resulting Numbers: [11696]
11696,77 unequal: No Solution
Exploring Operation: 136-86=50, Resulting Numbers: [50]
50,77 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 |
[
81,
99,
45,
59
] | 55 | [
"81+99=180",
"180/45=4",
"59-4=55"
] | Current State: 55:[81, 99, 45, 59], Operations: []
Exploring Operation: 81+99=180, Resulting Numbers: [45, 59, 180]
Generated Node #2: [45, 59, 180] from Operation: 81+99=180
Current State: 55:[45, 59, 180], Operations: ['81+99=180']
Exploring Operation: 180/45=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 180/45=4
Current State: 55:[59, 4], Operations: ['81+99=180', '180/45=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[81, 99, 45, 59], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [45, 59, 18]
Generated Node #0,0: 55:[45, 59, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 55:[45, 59, 18], Operations: ['99-81=18']
Exploring Operation: 59-45=14, Resulting Numbers: [18, 14]
Generated Node #0,0,0: 55:[18, 14] Operation: 59-45=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[18, 14], Operations: ['99-81=18', '59-45=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 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 |
[
10,
76,
65,
95
] | 95 | [
"76-10=66",
"66-65=1",
"95*1=95"
] | Current State: 95:[10, 76, 65, 95], Operations: []
Exploring Operation: 76-10=66, Resulting Numbers: [65, 95, 66]
Generated Node #2: [65, 95, 66] from Operation: 76-10=66
Current State: 95:[65, 95, 66], Operations: ['76-10=66']
Exploring Operation: 66-65=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 66-65=1
Current State: 95:[95, 1], Operations: ['76-10=66', '66-65=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 76, 65, 95], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [10, 95, 11]
Generated Node #0,0: 95:[10, 95, 11] Operation: 76-65=11
Exploring Operation: 95-76=19, Resulting Numbers: [10, 65, 19]
Generated Node #0,1: 95:[10, 65, 19] Operation: 95-76=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[10, 95, 11], Operations: ['76-65=11']
Exploring Operation: 11-10=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [95, 21]
Generated Node #0,0,1: 95:[95, 21] Operation: 10+11=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[95, 21], Operations: ['76-65=11', '10+11=21']
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,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,0
Current State: 95:[95, 1], Operations: ['76-65=11', '11-10=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 76, 65, 95], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [10, 95, 11]
Generated Node #0,0: 95:[10, 95, 11] Operation: 76-65=11
Moving to Node #0,0
Current State: 95:[10, 95, 11], Operations: ['76-65=11']
Exploring Operation: 11-10=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 95:[95, 1], Operations: ['76-65=11', '11-10=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
27,
45,
40,
75
] | 21 | [
"75-40=35",
"27*35=945",
"945/45=21"
] | Current State: 21:[27, 45, 40, 75], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [27, 45, 35]
Generated Node #2: [27, 45, 35] from Operation: 75-40=35
Current State: 21:[27, 45, 35], Operations: ['75-40=35']
Exploring Operation: 27*35=945, Resulting Numbers: [45, 945]
Generated Node #3: [45, 945] from Operation: 27*35=945
Current State: 21:[45, 945], Operations: ['75-40=35', '27*35=945']
Exploring Operation: 945/45=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[27, 45, 40, 75], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [27, 75, 5]
Generated Node #0,0: 21:[27, 75, 5] Operation: 45-40=5
Exploring Operation: 75-40=35, Resulting Numbers: [27, 45, 35]
Generated Node #0,1: 21:[27, 45, 35] Operation: 75-40=35
Exploring Operation: 75-45=30, Resulting Numbers: [27, 40, 30]
Generated Node #0,2: 21:[27, 40, 30] Operation: 75-45=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[27, 40, 30], Operations: ['75-45=30']
Exploring Operation: 40-30=10, Resulting Numbers: [27, 10]
Generated Node #0,2,0: 21:[27, 10] Operation: 40-30=10
Exploring Operation: 40-27=13, Resulting Numbers: [30, 13]
Generated Node #0,2,1: 21:[30, 13] Operation: 40-27=13
Exploring Operation: 30-27=3, Resulting Numbers: [40, 3]
Generated Node #0,2,2: 21:[40, 3] Operation: 30-27=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[27, 10], Operations: ['75-45=30', '40-30=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,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,2,1
Current State: 21:[30, 13], Operations: ['75-45=30', '40-27=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,21 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,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,2,2
Current State: 21:[40, 3], Operations: ['75-45=30', '30-27=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,21 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,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,1
Current State: 21:[27, 45, 35], Operations: ['75-40=35']
Exploring Operation: 35-27=8, Resulting Numbers: [45, 8]
Generated Node #0,1,0: 21:[45, 8] Operation: 35-27=8
Exploring Operation: 45-27=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 21:[35, 18] Operation: 45-27=18
Exploring Operation: 45-35=10, Resulting Numbers: [27, 10]
Generated Node #0,1,2: 21:[27, 10] Operation: 45-35=10
Moving to Node #0,1,2
Current State: 21:[27, 10], Operations: ['75-40=35', '45-35=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,21 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[35, 18], Operations: ['75-40=35', '45-27=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[45, 8], Operations: ['75-40=35', '35-27=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,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
Current State: 21:[27, 75, 5], Operations: ['45-40=5']
Exploring Operation: 75-27=48, Resulting Numbers: [5, 48]
Generated Node #0,0,0: 21:[5, 48] Operation: 75-27=48
Exploring Operation: 27-5=22, Resulting Numbers: [75, 22]
Generated Node #0,0,1: 21:[75, 22] Operation: 27-5=22
Exploring Operation: 75/5=15, Resulting Numbers: [27, 15]
Generated Node #0,0,2: 21:[27, 15] Operation: 75/5=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[27, 15], Operations: ['45-40=5', '75/5=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,21 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,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,0,0
Current State: 21:[5, 48], Operations: ['45-40=5', '75-27=48']
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,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,0,1
Current State: 21:[75, 22], Operations: ['45-40=5', '27-5=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,21 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,21 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
22,
16,
23
] | 72 | [
"56+16=72",
"23-22=1",
"72*1=72"
] | Current State: 72:[56, 22, 16, 23], Operations: []
Exploring Operation: 56+16=72, Resulting Numbers: [22, 23, 72]
Generated Node #2: [22, 23, 72] from Operation: 56+16=72
Current State: 72:[22, 23, 72], Operations: ['56+16=72']
Exploring Operation: 23-22=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 23-22=1
Current State: 72:[72, 1], Operations: ['56+16=72', '23-22=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[56, 22, 16, 23], Operations: []
Exploring Operation: 56+16=72, Resulting Numbers: [22, 23, 72]
Generated Node #0,0: 72:[22, 23, 72] Operation: 56+16=72
Moving to Node #0,0
Current State: 72:[22, 23, 72], Operations: ['56+16=72']
Exploring Operation: 23-22=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 72:[72, 1] Operation: 23-22=1
Moving to Node #0,0,0
Current State: 72:[72, 1], Operations: ['56+16=72', '23-22=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[56, 22, 16, 23], Operations: []
Exploring Operation: 56+16=72, Resulting Numbers: [22, 23, 72]
Generated Node #0,0: 72:[22, 23, 72] Operation: 56+16=72
Moving to Node #0,0
Current State: 72:[22, 23, 72], Operations: ['56+16=72']
Exploring Operation: 23-22=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 72:[72, 1] Operation: 23-22=1
Moving to Node #0,0,0
Current State: 72:[72, 1], Operations: ['56+16=72', '23-22=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
23,
7,
11,
41
] | 60 | [
"23+7=30",
"41-11=30",
"30+30=60"
] | Current State: 60:[23, 7, 11, 41], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [11, 41, 30]
Generated Node #2: [11, 41, 30] from Operation: 23+7=30
Current State: 60:[11, 41, 30], Operations: ['23+7=30']
Exploring Operation: 41-11=30, Resulting Numbers: [30, 30]
Generated Node #3: [30, 30] from Operation: 41-11=30
Current State: 60:[30, 30], Operations: ['23+7=30', '41-11=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[23, 7, 11, 41], Operations: []
Exploring Operation: 41-23=18, Resulting Numbers: [7, 11, 18]
Generated Node #0,0: 60:[7, 11, 18] Operation: 41-23=18
Exploring Operation: 41-11=30, Resulting Numbers: [23, 7, 30]
Generated Node #0,1: 60:[23, 7, 30] Operation: 41-11=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[7, 11, 18], Operations: ['41-23=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 60:[11, 11] Operation: 18-7=11
Exploring Operation: 11-7=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 60:[18, 4] Operation: 11-7=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[11, 11], Operations: ['41-23=18', '18-7=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[18, 4], Operations: ['41-23=18', '11-7=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[23, 7, 30], Operations: ['41-11=30']
Exploring Operation: 23+7=30, Resulting Numbers: [30, 30]
Generated Node #0,1,0: 60:[30, 30] Operation: 23+7=30
Exploring Operation: 23-7=16, Resulting Numbers: [30, 16]
Generated Node #0,1,1: 60:[30, 16] Operation: 23-7=16
Moving to Node #0,1,0
Current State: 60:[30, 30], Operations: ['41-11=30', '23+7=30']
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[23, 7, 11, 41], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [23, 7, 30]
Generated Node #0,1: 60:[23, 7, 30] Operation: 41-11=30
Moving to Node #0,1
Current State: 60:[23, 7, 30], Operations: ['41-11=30']
Exploring Operation: 23+7=30, Resulting Numbers: [30, 30]
Generated Node #0,1,0: 60:[30, 30] Operation: 23+7=30
Moving to Node #0,1,0
Current State: 60:[30, 30], Operations: ['41-11=30', '23+7=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
16,
49,
15,
31
] | 17 | [
"49-16=33",
"31-15=16",
"33-16=17"
] | Current State: 17:[16, 49, 15, 31], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [15, 31, 33]
Generated Node #2: [15, 31, 33] from Operation: 49-16=33
Current State: 17:[15, 31, 33], Operations: ['49-16=33']
Exploring Operation: 31-15=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 31-15=16
Current State: 17:[33, 16], Operations: ['49-16=33', '31-15=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[16, 49, 15, 31], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [16, 15, 18]
Generated Node #0,0: 17:[16, 15, 18] Operation: 49-31=18
Exploring Operation: 49-16=33, Resulting Numbers: [15, 31, 33]
Generated Node #0,1: 17:[15, 31, 33] Operation: 49-16=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[16, 15, 18], Operations: ['49-31=18']
Exploring Operation: 16+15=31, Resulting Numbers: [18, 31]
Generated Node #0,0,0: 17:[18, 31] Operation: 16+15=31
Exploring Operation: 18-15=3, Resulting Numbers: [16, 3]
Generated Node #0,0,1: 17:[16, 3] Operation: 18-15=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[18, 31], Operations: ['49-31=18', '16+15=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,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,1
Current State: 17:[16, 3], Operations: ['49-31=18', '18-15=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,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:[15, 31, 33], Operations: ['49-16=33']
Exploring Operation: 31-15=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 17:[33, 16] Operation: 31-15=16
Exploring Operation: 33-15=18, Resulting Numbers: [31, 18]
Generated Node #0,1,1: 17:[31, 18] Operation: 33-15=18
Moving to Node #0,1,1
Current State: 17:[31, 18], Operations: ['49-16=33', '33-15=18']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[33, 16], Operations: ['49-16=33', '31-15=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[16, 49, 15, 31], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [15, 31, 33]
Generated Node #0,1: 17:[15, 31, 33] Operation: 49-16=33
Moving to Node #0,1
Current State: 17:[15, 31, 33], Operations: ['49-16=33']
Exploring Operation: 31-15=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 17:[33, 16] Operation: 31-15=16
Moving to Node #0,1,0
Current State: 17:[33, 16], Operations: ['49-16=33', '31-15=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
34,
82,
68,
14
] | 98 | [
"68/34=2",
"82+14=96",
"2+96=98"
] | Current State: 98:[34, 82, 68, 14], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [82, 14, 2]
Generated Node #2: [82, 14, 2] from Operation: 68/34=2
Current State: 98:[82, 14, 2], Operations: ['68/34=2']
Exploring Operation: 82+14=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 82+14=96
Current State: 98:[2, 96], Operations: ['68/34=2', '82+14=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[34, 82, 68, 14], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [82, 14, 34]
Generated Node #0,0: 98:[82, 14, 34] Operation: 68-34=34
Exploring Operation: 34+68=102, Resulting Numbers: [82, 14, 102]
Generated Node #0,1: 98:[82, 14, 102] Operation: 34+68=102
Exploring Operation: 68/34=2, Resulting Numbers: [82, 14, 2]
Generated Node #0,2: 98:[82, 14, 2] Operation: 68/34=2
Exploring Operation: 82-34=48, Resulting Numbers: [68, 14, 48]
Generated Node #0,3: 98:[68, 14, 48] Operation: 82-34=48
Exploring Operation: 82-68=14, Resulting Numbers: [34, 14, 14]
Generated Node #0,4: 98:[34, 14, 14] Operation: 82-68=14
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[34, 14, 14], Operations: ['82-68=14']
Exploring Operation: 14/14=1, Resulting Numbers: [34, 1]
Generated Node #0,4,0: 98:[34, 1] Operation: 14/14=1
Exploring Operation: 34+14=48, Resulting Numbers: [14, 48]
Generated Node #0,4,1: 98:[14, 48] Operation: 34+14=48
Exploring Operation: 34-14=20, Resulting Numbers: [14, 20]
Generated Node #0,4,2: 98:[14, 20] Operation: 34-14=20
Exploring Operation: 34-14=20, Resulting Numbers: [14, 20]
Generated Node #0,4,3: 98:[14, 20] Operation: 34-14=20
Exploring Operation: 34+14=48, Resulting Numbers: [14, 48]
Generated Node #0,4,4: 98:[14, 48] Operation: 34+14=48
Moving to Node #0,4,1
Current State: 98:[14, 48], Operations: ['82-68=14', '34+14=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,98 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[14, 48], Operations: ['82-68=14', '34+14=48']
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[14, 20], Operations: ['82-68=14', '34-14=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,98 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[14, 20], Operations: ['82-68=14', '34-14=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,98 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[34, 1], Operations: ['82-68=14', '14/14=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[82, 14, 2], Operations: ['68/34=2']
Exploring Operation: 82+14=96, Resulting Numbers: [2, 96]
Generated Node #0,2,0: 98:[2, 96] Operation: 82+14=96
Exploring Operation: 82/2=41, Resulting Numbers: [14, 41]
Generated Node #0,2,1: 98:[14, 41] Operation: 82/2=41
Exploring Operation: 14/2=7, Resulting Numbers: [82, 7]
Generated Node #0,2,2: 98:[82, 7] Operation: 14/2=7
Exploring Operation: 82-2=80, Resulting Numbers: [14, 80]
Generated Node #0,2,3: 98:[14, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [14, 84]
Generated Node #0,2,4: 98:[14, 84] Operation: 82+2=84
Moving to Node #0,2,0
Current State: 98:[2, 96], Operations: ['68/34=2', '82+14=96']
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[34, 82, 68, 14], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [82, 14, 2]
Generated Node #0,2: 98:[82, 14, 2] Operation: 68/34=2
Moving to Node #0,2
Current State: 98:[82, 14, 2], Operations: ['68/34=2']
Exploring Operation: 82+14=96, Resulting Numbers: [2, 96]
Generated Node #0,2,0: 98:[2, 96] Operation: 82+14=96
Moving to Node #0,2,0
Current State: 98:[2, 96], Operations: ['68/34=2', '82+14=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.