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 |
|---|---|---|---|---|---|---|---|---|
[
72,
55,
2,
64
] | 65 | [
"72+55=127",
"64-2=62",
"127-62=65"
] | Current State: 65:[72, 55, 2, 64], Operations: []
Exploring Operation: 72+55=127, Resulting Numbers: [2, 64, 127]
Generated Node #2: [2, 64, 127] from Operation: 72+55=127
Current State: 65:[2, 64, 127], Operations: ['72+55=127']
Exploring Operation: 64-2=62, Resulting Numbers: [127, 62]
Generated Node #3: [127, 62] from Operation: 64-2=62
Current State: 65:[127, 62], Operations: ['72+55=127', '64-2=62']
Exploring Operation: 127-62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[72, 55, 2, 64], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [2, 64, 17]
Generated Node #0,0: 65:[2, 64, 17] Operation: 72-55=17
Exploring Operation: 64-55=9, Resulting Numbers: [72, 2, 9]
Generated Node #0,1: 65:[72, 2, 9] Operation: 64-55=9
Moving to Node #0,0
Current State: 65:[2, 64, 17], Operations: ['72-55=17']
Exploring Operation: 2+64=66, Resulting Numbers: [17, 66]
Generated Node #0,0,0: 65:[17, 66] Operation: 2+64=66
Exploring Operation: 17-2=15, Resulting Numbers: [64, 15]
Generated Node #0,0,1: 65:[64, 15] Operation: 17-2=15
Moving to Node #0,1
Current State: 65:[72, 2, 9], Operations: ['64-55=9']
Exploring Operation: 72/9=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 65:[2, 8] Operation: 72/9=8
Exploring Operation: 72-9=63, Resulting Numbers: [2, 63]
Generated Node #0,1,1: 65:[2, 63] Operation: 72-9=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[2, 63], Operations: ['64-55=9', '72-9=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[72, 55, 2, 64], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [72, 2, 9]
Generated Node #0,1: 65:[72, 2, 9] Operation: 64-55=9
Moving to Node #0,1
Current State: 65:[72, 2, 9], Operations: ['64-55=9']
Exploring Operation: 72-9=63, Resulting Numbers: [2, 63]
Generated Node #0,1,1: 65:[2, 63] Operation: 72-9=63
Moving to Node #0,1,1
Current State: 65:[2, 63], Operations: ['64-55=9', '72-9=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
98,
87,
97,
22
] | 65 | [
"98-97=1",
"87-22=65",
"1*65=65"
] | Current State: 65:[98, 87, 97, 22], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [87, 22, 1]
Generated Node #2: [87, 22, 1] from Operation: 98-97=1
Current State: 65:[87, 22, 1], Operations: ['98-97=1']
Exploring Operation: 87-22=65, Resulting Numbers: [1, 65]
Generated Node #3: [1, 65] from Operation: 87-22=65
Current State: 65:[1, 65], Operations: ['98-97=1', '87-22=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 87, 97, 22], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [87, 22, 1]
Generated Node #0,0: 65:[87, 22, 1] Operation: 98-97=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[87, 22, 1], Operations: ['98-97=1']
Exploring Operation: 87-22=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 87-22=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['98-97=1', '87-22=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[98, 87, 97, 22], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [87, 22, 1]
Generated Node #0,0: 65:[87, 22, 1] Operation: 98-97=1
Moving to Node #0,0
Current State: 65:[87, 22, 1], Operations: ['98-97=1']
Exploring Operation: 87-22=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 87-22=65
Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['98-97=1', '87-22=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
75,
10,
36,
45
] | 75 | [
"10+36=46",
"46-45=1",
"75*1=75"
] | Current State: 75:[75, 10, 36, 45], Operations: []
Exploring Operation: 10+36=46, Resulting Numbers: [75, 45, 46]
Generated Node #2: [75, 45, 46] from Operation: 10+36=46
Current State: 75:[75, 45, 46], Operations: ['10+36=46']
Exploring Operation: 46-45=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 46-45=1
Current State: 75:[75, 1], Operations: ['10+36=46', '46-45=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[75, 10, 36, 45], Operations: []
Exploring Operation: 75-45=30, Resulting Numbers: [10, 36, 30]
Generated Node #0,0: 75:[10, 36, 30] Operation: 75-45=30
Exploring Operation: 36+45=81, Resulting Numbers: [75, 10, 81]
Generated Node #0,1: 75:[75, 10, 81] Operation: 36+45=81
Exploring Operation: 36-10=26, Resulting Numbers: [75, 45, 26]
Generated Node #0,2: 75:[75, 45, 26] Operation: 36-10=26
Exploring Operation: 45-36=9, Resulting Numbers: [75, 10, 9]
Generated Node #0,3: 75:[75, 10, 9] Operation: 45-36=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[75, 10, 9], Operations: ['45-36=9']
Exploring Operation: 75-10=65, Resulting Numbers: [9, 65]
Generated Node #0,3,0: 75:[9, 65] Operation: 75-10=65
Exploring Operation: 10+9=19, Resulting Numbers: [75, 19]
Generated Node #0,3,1: 75:[75, 19] Operation: 10+9=19
Exploring Operation: 10-9=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 75:[75, 1] Operation: 10-9=1
Exploring Operation: 75+10=85, Resulting Numbers: [9, 85]
Generated Node #0,3,3: 75:[9, 85] Operation: 75+10=85
Moving to Node #0,3,2
Current State: 75:[75, 1], Operations: ['45-36=9', '10-9=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[75, 10, 36, 45], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [75, 10, 9]
Generated Node #0,3: 75:[75, 10, 9] Operation: 45-36=9
Moving to Node #0,3
Current State: 75:[75, 10, 9], Operations: ['45-36=9']
Exploring Operation: 10-9=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 75:[75, 1] Operation: 10-9=1
Moving to Node #0,3,2
Current State: 75:[75, 1], Operations: ['45-36=9', '10-9=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
93,
75,
54,
3
] | 48 | [
"93-75=18",
"18/3=6",
"54-6=48"
] | Current State: 48:[93, 75, 54, 3], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 3, 18]
Generated Node #2: [54, 3, 18] from Operation: 93-75=18
Current State: 48:[54, 3, 18], Operations: ['93-75=18']
Exploring Operation: 18/3=6, Resulting Numbers: [54, 6]
Generated Node #3: [54, 6] from Operation: 18/3=6
Current State: 48:[54, 6], Operations: ['93-75=18', '18/3=6']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[93, 75, 54, 3], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 3, 18]
Generated Node #0,0: 48:[54, 3, 18] Operation: 93-75=18
Exploring Operation: 93/3=31, Resulting Numbers: [75, 54, 31]
Generated Node #0,1: 48:[75, 54, 31] Operation: 93/3=31
Exploring Operation: 93-54=39, Resulting Numbers: [75, 3, 39]
Generated Node #0,2: 48:[75, 3, 39] Operation: 93-54=39
Moving to Node #0,0
Current State: 48:[54, 3, 18], Operations: ['93-75=18']
Exploring Operation: 54-3=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 48:[18, 51] Operation: 54-3=51
Exploring Operation: 54/3=18, Resulting Numbers: [18, 18]
Generated Node #0,0,1: 48:[18, 18] Operation: 54/3=18
Exploring Operation: 54/18=3, Resulting Numbers: [3, 3]
Generated Node #0,0,2: 48:[3, 3] Operation: 54/18=3
Moving to Node #0,2
Current State: 48:[75, 3, 39], Operations: ['93-54=39']
Exploring Operation: 75-39=36, Resulting Numbers: [3, 36]
Generated Node #0,2,0: 48:[3, 36] Operation: 75-39=36
Exploring Operation: 39/3=13, Resulting Numbers: [75, 13]
Generated Node #0,2,1: 48:[75, 13] Operation: 39/3=13
Exploring Operation: 75/3=25, Resulting Numbers: [39, 25]
Generated Node #0,2,2: 48:[39, 25] Operation: 75/3=25
Moving to Node #0,1
Current State: 48:[75, 54, 31], Operations: ['93/3=31']
Exploring Operation: 75-54=21, Resulting Numbers: [31, 21]
Generated Node #0,1,0: 48:[31, 21] Operation: 75-54=21
Exploring Operation: 75-31=44, Resulting Numbers: [54, 44]
Generated Node #0,1,1: 48:[54, 44] Operation: 75-31=44
Exploring Operation: 54-31=23, Resulting Numbers: [75, 23]
Generated Node #0,1,2: 48:[75, 23] Operation: 54-31=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[31, 21], Operations: ['93/3=31', '75-54=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,48 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,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,1
Current State: 48:[54, 44], Operations: ['93/3=31', '75-31=44']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,48 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,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,2
Current State: 48:[75, 23], Operations: ['93/3=31', '54-31=23']
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,48 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,48 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: 48:[3, 3], Operations: ['93-75=18', '54/18=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[18, 18], Operations: ['93-75=18', '54/3=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[18, 51], Operations: ['93-75=18', '54-3=51']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,48 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[39, 25], Operations: ['93-54=39', '75/3=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,48 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[3, 36], Operations: ['93-54=39', '75-39=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[75, 13], Operations: ['93-54=39', '39/3=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,48 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,48 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
85,
29,
35
] | 54 | [
"70/35=2",
"85-29=56",
"56-2=54"
] | Current State: 54:[70, 85, 29, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [85, 29, 2]
Generated Node #2: [85, 29, 2] from Operation: 70/35=2
Current State: 54:[85, 29, 2], Operations: ['70/35=2']
Exploring Operation: 85-29=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 85-29=56
Current State: 54:[2, 56], Operations: ['70/35=2', '85-29=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[70, 85, 29, 35], Operations: []
Exploring Operation: 85-29=56, Resulting Numbers: [70, 35, 56]
Generated Node #0,0: 54:[70, 35, 56] Operation: 85-29=56
Exploring Operation: 70/35=2, Resulting Numbers: [85, 29, 2]
Generated Node #0,1: 54:[85, 29, 2] Operation: 70/35=2
Exploring Operation: 85-70=15, Resulting Numbers: [29, 35, 15]
Generated Node #0,2: 54:[29, 35, 15] Operation: 85-70=15
Exploring Operation: 70-35=35, Resulting Numbers: [85, 29, 35]
Generated Node #0,3: 54:[85, 29, 35] Operation: 70-35=35
Exploring Operation: 85-35=50, Resulting Numbers: [70, 29, 50]
Generated Node #0,4: 54:[70, 29, 50] Operation: 85-35=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[29, 35, 15], Operations: ['85-70=15']
Exploring Operation: 35+15=50, Resulting Numbers: [29, 50]
Generated Node #0,2,0: 54:[29, 50] Operation: 35+15=50
Exploring Operation: 29+35=64, Resulting Numbers: [15, 64]
Generated Node #0,2,1: 54:[15, 64] Operation: 29+35=64
Exploring Operation: 35-15=20, Resulting Numbers: [29, 20]
Generated Node #0,2,2: 54:[29, 20] Operation: 35-15=20
Exploring Operation: 29-15=14, Resulting Numbers: [35, 14]
Generated Node #0,2,3: 54:[35, 14] Operation: 29-15=14
Exploring Operation: 35-29=6, Resulting Numbers: [15, 6]
Generated Node #0,2,4: 54:[15, 6] Operation: 35-29=6
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 54:[15, 6], Operations: ['85-70=15', '35-29=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[29, 20], Operations: ['85-70=15', '35-15=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,54 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[29, 50], Operations: ['85-70=15', '35+15=50']
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,54 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[35, 14], Operations: ['85-70=15', '29-15=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,54 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[15, 64], Operations: ['85-70=15', '29+35=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[70, 29, 50], Operations: ['85-35=50']
Exploring Operation: 70+29=99, Resulting Numbers: [50, 99]
Generated Node #0,4,0: 54:[50, 99] Operation: 70+29=99
Exploring Operation: 70-29=41, Resulting Numbers: [50, 41]
Generated Node #0,4,1: 54:[50, 41] Operation: 70-29=41
Exploring Operation: 50-29=21, Resulting Numbers: [70, 21]
Generated Node #0,4,2: 54:[70, 21] Operation: 50-29=21
Exploring Operation: 70-50=20, Resulting Numbers: [29, 20]
Generated Node #0,4,3: 54:[29, 20] Operation: 70-50=20
Exploring Operation: 29+50=79, Resulting Numbers: [70, 79]
Generated Node #0,4,4: 54:[70, 79] Operation: 29+50=79
Moving to Node #0,4,3
Current State: 54:[29, 20], Operations: ['85-35=50', '70-50=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[50, 41], Operations: ['85-35=50', '70-29=41']
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 50*41=2050, Resulting Numbers: [2050]
2050,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[70, 21], Operations: ['85-35=50', '50-29=21']
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,54 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[70, 79], Operations: ['85-35=50', '29+50=79']
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,54 unequal: No Solution
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,54 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[50, 99], Operations: ['85-35=50', '70+29=99']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 50*99=4950, Resulting Numbers: [4950]
4950,54 unequal: No Solution
Exploring Operation: 50+99=149, Resulting Numbers: [149]
149,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,0
Current State: 54:[70, 35, 56], Operations: ['85-29=56']
Exploring Operation: 70-35=35, Resulting Numbers: [56, 35]
Generated Node #0,0,0: 54:[56, 35] Operation: 70-35=35
Exploring Operation: 70-56=14, Resulting Numbers: [35, 14]
Generated Node #0,0,1: 54:[35, 14] Operation: 70-56=14
Exploring Operation: 70+35=105, Resulting Numbers: [56, 105]
Generated Node #0,0,2: 54:[56, 105] Operation: 70+35=105
Exploring Operation: 56-35=21, Resulting Numbers: [70, 21]
Generated Node #0,0,3: 54:[70, 21] Operation: 56-35=21
Exploring Operation: 70/35=2, Resulting Numbers: [56, 2]
Generated Node #0,0,4: 54:[56, 2] Operation: 70/35=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 54:[56, 2], Operations: ['85-29=56', '70/35=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,54 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[70, 85, 29, 35], Operations: []
Exploring Operation: 85-29=56, Resulting Numbers: [70, 35, 56]
Generated Node #0,0: 54:[70, 35, 56] Operation: 85-29=56
Moving to Node #0,0
Current State: 54:[70, 35, 56], Operations: ['85-29=56']
Exploring Operation: 70/35=2, Resulting Numbers: [56, 2]
Generated Node #0,0,4: 54:[56, 2] Operation: 70/35=2
Moving to Node #0,0,4
Current State: 54:[56, 2], Operations: ['85-29=56', '70/35=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
30,
34,
52,
59
] | 28 | [
"34-30=4",
"59-52=7",
"4*7=28"
] | Current State: 28:[30, 34, 52, 59], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [52, 59, 4]
Generated Node #2: [52, 59, 4] from Operation: 34-30=4
Current State: 28:[52, 59, 4], Operations: ['34-30=4']
Exploring Operation: 59-52=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 59-52=7
Current State: 28:[4, 7], Operations: ['34-30=4', '59-52=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[30, 34, 52, 59], Operations: []
Exploring Operation: 59-34=25, Resulting Numbers: [30, 52, 25]
Generated Node #0,0: 28:[30, 52, 25] Operation: 59-34=25
Exploring Operation: 59-52=7, Resulting Numbers: [30, 34, 7]
Generated Node #0,1: 28:[30, 34, 7] Operation: 59-52=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[30, 34, 7], Operations: ['59-52=7']
Exploring Operation: 34-30=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 28:[7, 4] Operation: 34-30=4
Exploring Operation: 34-7=27, Resulting Numbers: [30, 27]
Generated Node #0,1,1: 28:[30, 27] Operation: 34-7=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[7, 4], Operations: ['59-52=7', '34-30=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[30, 34, 52, 59], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [30, 34, 7]
Generated Node #0,1: 28:[30, 34, 7] Operation: 59-52=7
Moving to Node #0,1
Current State: 28:[30, 34, 7], Operations: ['59-52=7']
Exploring Operation: 34-30=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 28:[7, 4] Operation: 34-30=4
Moving to Node #0,1,0
Current State: 28:[7, 4], Operations: ['59-52=7', '34-30=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
73,
13,
79,
8
] | 26 | [
"79-73=6",
"8-6=2",
"13*2=26"
] | Current State: 26:[73, 13, 79, 8], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [13, 8, 6]
Generated Node #2: [13, 8, 6] from Operation: 79-73=6
Current State: 26:[13, 8, 6], Operations: ['79-73=6']
Exploring Operation: 8-6=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 8-6=2
Current State: 26:[13, 2], Operations: ['79-73=6', '8-6=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[73, 13, 79, 8], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [13, 8, 6]
Generated Node #0,0: 26:[13, 8, 6] Operation: 79-73=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[13, 8, 6], Operations: ['79-73=6']
Exploring Operation: 8-6=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 26:[13, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 26:[13, 2], Operations: ['79-73=6', '8-6=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[73, 13, 79, 8], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [13, 8, 6]
Generated Node #0,0: 26:[13, 8, 6] Operation: 79-73=6
Moving to Node #0,0
Current State: 26:[13, 8, 6], Operations: ['79-73=6']
Exploring Operation: 8-6=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 26:[13, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 26:[13, 2], Operations: ['79-73=6', '8-6=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
87,
22,
44
] | 79 | [
"87-74=13",
"22+44=66",
"13+66=79"
] | Current State: 79:[74, 87, 22, 44], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [22, 44, 13]
Generated Node #2: [22, 44, 13] from Operation: 87-74=13
Current State: 79:[22, 44, 13], Operations: ['87-74=13']
Exploring Operation: 22+44=66, Resulting Numbers: [13, 66]
Generated Node #3: [13, 66] from Operation: 22+44=66
Current State: 79:[13, 66], Operations: ['87-74=13', '22+44=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 87, 22, 44], Operations: []
Exploring Operation: 87+22=109, Resulting Numbers: [74, 44, 109]
Generated Node #0,0: 79:[74, 44, 109] Operation: 87+22=109
Exploring Operation: 74+22=96, Resulting Numbers: [87, 44, 96]
Generated Node #0,1: 79:[87, 44, 96] Operation: 74+22=96
Exploring Operation: 87-22=65, Resulting Numbers: [74, 44, 65]
Generated Node #0,2: 79:[74, 44, 65] Operation: 87-22=65
Exploring Operation: 22+44=66, Resulting Numbers: [74, 87, 66]
Generated Node #0,3: 79:[74, 87, 66] Operation: 22+44=66
Exploring Operation: 74-22=52, Resulting Numbers: [87, 44, 52]
Generated Node #0,4: 79:[87, 44, 52] Operation: 74-22=52
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[74, 87, 66], Operations: ['22+44=66']
Exploring Operation: 74+66=140, Resulting Numbers: [87, 140]
Generated Node #0,3,0: 79:[87, 140] Operation: 74+66=140
Exploring Operation: 87+66=153, Resulting Numbers: [74, 153]
Generated Node #0,3,1: 79:[74, 153] Operation: 87+66=153
Exploring Operation: 87-66=21, Resulting Numbers: [74, 21]
Generated Node #0,3,2: 79:[74, 21] Operation: 87-66=21
Exploring Operation: 74-66=8, Resulting Numbers: [87, 8]
Generated Node #0,3,3: 79:[87, 8] Operation: 74-66=8
Exploring Operation: 87-74=13, Resulting Numbers: [66, 13]
Generated Node #0,3,4: 79:[66, 13] Operation: 87-74=13
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[74, 21], Operations: ['22+44=66', '87-66=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,79 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[87, 140], Operations: ['22+44=66', '74+66=140']
Exploring Operation: 140-87=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 87*140=12180, Resulting Numbers: [12180]
12180,79 unequal: No Solution
Exploring Operation: 87+140=227, Resulting Numbers: [227]
227,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[74, 153], Operations: ['22+44=66', '87+66=153']
Exploring Operation: 153-74=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[74, 87, 22, 44], Operations: []
Exploring Operation: 22+44=66, Resulting Numbers: [74, 87, 66]
Generated Node #0,3: 79:[74, 87, 66] Operation: 22+44=66
Moving to Node #0,3
Current State: 79:[74, 87, 66], Operations: ['22+44=66']
Exploring Operation: 87+66=153, Resulting Numbers: [74, 153]
Generated Node #0,3,1: 79:[74, 153] Operation: 87+66=153
Moving to Node #0,3,1
Current State: 79:[74, 153], Operations: ['22+44=66', '87+66=153']
Exploring Operation: 153-74=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
52,
65,
93,
31
] | 10 | [
"65-52=13",
"93/31=3",
"13-3=10"
] | Current State: 10:[52, 65, 93, 31], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [93, 31, 13]
Generated Node #2: [93, 31, 13] from Operation: 65-52=13
Current State: 10:[93, 31, 13], Operations: ['65-52=13']
Exploring Operation: 93/31=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 93/31=3
Current State: 10:[13, 3], Operations: ['65-52=13', '93/31=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[52, 65, 93, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [52, 65, 3]
Generated Node #0,0: 10:[52, 65, 3] Operation: 93/31=3
Exploring Operation: 93-52=41, Resulting Numbers: [65, 31, 41]
Generated Node #0,1: 10:[65, 31, 41] Operation: 93-52=41
Exploring Operation: 93-65=28, Resulting Numbers: [52, 31, 28]
Generated Node #0,2: 10:[52, 31, 28] Operation: 93-65=28
Exploring Operation: 65-52=13, Resulting Numbers: [93, 31, 13]
Generated Node #0,3: 10:[93, 31, 13] Operation: 65-52=13
Moving to Node #0,2
Current State: 10:[52, 31, 28], Operations: ['93-65=28']
Exploring Operation: 52-28=24, Resulting Numbers: [31, 24]
Generated Node #0,2,0: 10:[31, 24] Operation: 52-28=24
Exploring Operation: 52-31=21, Resulting Numbers: [28, 21]
Generated Node #0,2,1: 10:[28, 21] Operation: 52-31=21
Exploring Operation: 52+31=83, Resulting Numbers: [28, 83]
Generated Node #0,2,2: 10:[28, 83] Operation: 52+31=83
Exploring Operation: 31-28=3, Resulting Numbers: [52, 3]
Generated Node #0,2,3: 10:[52, 3] Operation: 31-28=3
Moving to Node #0,0
Current State: 10:[52, 65, 3], Operations: ['93/31=3']
Exploring Operation: 52+3=55, Resulting Numbers: [65, 55]
Generated Node #0,0,0: 10:[65, 55] Operation: 52+3=55
Exploring Operation: 65-3=62, Resulting Numbers: [52, 62]
Generated Node #0,0,1: 10:[52, 62] Operation: 65-3=62
Exploring Operation: 65-52=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 10:[3, 13] Operation: 65-52=13
Exploring Operation: 52-3=49, Resulting Numbers: [65, 49]
Generated Node #0,0,3: 10:[65, 49] Operation: 52-3=49
Moving to Node #0,3
Current State: 10:[93, 31, 13], Operations: ['65-52=13']
Exploring Operation: 31-13=18, Resulting Numbers: [93, 18]
Generated Node #0,3,0: 10:[93, 18] Operation: 31-13=18
Exploring Operation: 93-13=80, Resulting Numbers: [31, 80]
Generated Node #0,3,1: 10:[31, 80] Operation: 93-13=80
Exploring Operation: 93/31=3, Resulting Numbers: [13, 3]
Generated Node #0,3,2: 10:[13, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [13, 62]
Generated Node #0,3,3: 10:[13, 62] Operation: 93-31=62
Moving to Node #0,1
Current State: 10:[65, 31, 41], Operations: ['93-52=41']
Exploring Operation: 65-31=34, Resulting Numbers: [41, 34]
Generated Node #0,1,0: 10:[41, 34] Operation: 65-31=34
Exploring Operation: 65+31=96, Resulting Numbers: [41, 96]
Generated Node #0,1,1: 10:[41, 96] Operation: 65+31=96
Exploring Operation: 41-31=10, Resulting Numbers: [65, 10]
Generated Node #0,1,2: 10:[65, 10] Operation: 41-31=10
Exploring Operation: 65-41=24, Resulting Numbers: [31, 24]
Generated Node #0,1,3: 10:[31, 24] Operation: 65-41=24
Moving to Node #0,0,2
Current State: 10:[3, 13], Operations: ['93/31=3', '65-52=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[52, 65, 93, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [52, 65, 3]
Generated Node #0,0: 10:[52, 65, 3] Operation: 93/31=3
Moving to Node #0,0
Current State: 10:[52, 65, 3], Operations: ['93/31=3']
Exploring Operation: 65-52=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 10:[3, 13] Operation: 65-52=13
Moving to Node #0,0,2
Current State: 10:[3, 13], Operations: ['93/31=3', '65-52=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
3,
50,
69,
35
] | 14 | [
"3*35=105",
"50+69=119",
"119-105=14"
] | Current State: 14:[3, 50, 69, 35], Operations: []
Exploring Operation: 3*35=105, Resulting Numbers: [50, 69, 105]
Generated Node #2: [50, 69, 105] from Operation: 3*35=105
Current State: 14:[50, 69, 105], Operations: ['3*35=105']
Exploring Operation: 50+69=119, Resulting Numbers: [105, 119]
Generated Node #3: [105, 119] from Operation: 50+69=119
Current State: 14:[105, 119], Operations: ['3*35=105', '50+69=119']
Exploring Operation: 119-105=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 50, 69, 35], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [3, 35, 19]
Generated Node #0,0: 14:[3, 35, 19] Operation: 69-50=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 35, 19], Operations: ['69-50=19']
Exploring Operation: 35-19=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 14:[3, 16] Operation: 35-19=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[3, 16], Operations: ['69-50=19', '35-19=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
46,
29,
2
] | 25 | [
"92/46=2",
"29-2=27",
"27-2=25"
] | Current State: 25:[92, 46, 29, 2], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [29, 2, 2]
Generated Node #2: [29, 2, 2] from Operation: 92/46=2
Current State: 25:[29, 2, 2], Operations: ['92/46=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 equal: Goal Reached
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[92, 46, 29, 2], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [29, 2, 2]
Generated Node #0,0: 25:[29, 2, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 25:[29, 2, 2], Operations: ['92/46=2']
Exploring Operation: 29-2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 25:[2, 27] Operation: 29-2=27
Moving to Node #0,0,0
Current State: 25:[2, 27], Operations: ['92/46=2', '29-2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[92, 46, 29, 2], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [29, 2, 2]
Generated Node #0,0: 25:[29, 2, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 25:[29, 2, 2], Operations: ['92/46=2']
Exploring Operation: 29-2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 25:[2, 27] Operation: 29-2=27
Moving to Node #0,0,0
Current State: 25:[2, 27], Operations: ['92/46=2', '29-2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
3,
96,
18,
9
] | 11 | [
"3+96=99",
"18-9=9",
"99/9=11"
] | Current State: 11:[3, 96, 18, 9], Operations: []
Exploring Operation: 3+96=99, Resulting Numbers: [18, 9, 99]
Generated Node #2: [18, 9, 99] from Operation: 3+96=99
Current State: 11:[18, 9, 99], Operations: ['3+96=99']
Exploring Operation: 18-9=9, Resulting Numbers: [99, 9]
Generated Node #3: [99, 9] from Operation: 18-9=9
Current State: 11:[99, 9], Operations: ['3+96=99', '18-9=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[3, 96, 18, 9], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [18, 9, 32]
Generated Node #0,0: 11:[18, 9, 32] Operation: 96/3=32
Exploring Operation: 18-3=15, Resulting Numbers: [96, 9, 15]
Generated Node #0,1: 11:[96, 9, 15] Operation: 18-3=15
Exploring Operation: 96-3=93, Resulting Numbers: [18, 9, 93]
Generated Node #0,2: 11:[18, 9, 93] Operation: 96-3=93
Exploring Operation: 96-18=78, Resulting Numbers: [3, 9, 78]
Generated Node #0,3: 11:[3, 9, 78] Operation: 96-18=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[18, 9, 32], Operations: ['96/3=32']
Exploring Operation: 32-9=23, Resulting Numbers: [18, 23]
Generated Node #0,0,0: 11:[18, 23] Operation: 32-9=23
Exploring Operation: 18/9=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 11:[32, 2] Operation: 18/9=2
Exploring Operation: 32-18=14, Resulting Numbers: [9, 14]
Generated Node #0,0,2: 11:[9, 14] Operation: 32-18=14
Exploring Operation: 18-9=9, Resulting Numbers: [32, 9]
Generated Node #0,0,3: 11:[32, 9] Operation: 18-9=9
Moving to Node #0,0,2
Current State: 11:[9, 14], Operations: ['96/3=32', '32-18=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[18, 23], Operations: ['96/3=32', '32-9=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[32, 9], Operations: ['96/3=32', '18-9=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[32, 2], Operations: ['96/3=32', '18/9=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[3, 9, 78], Operations: ['96-18=78']
Exploring Operation: 3+9=12, Resulting Numbers: [78, 12]
Generated Node #0,3,0: 11:[78, 12] Operation: 3+9=12
Exploring Operation: 78-9=69, Resulting Numbers: [3, 69]
Generated Node #0,3,1: 11:[3, 69] Operation: 78-9=69
Exploring Operation: 78/3=26, Resulting Numbers: [9, 26]
Generated Node #0,3,2: 11:[9, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [9, 75]
Generated Node #0,3,3: 11:[9, 75] Operation: 78-3=75
Moving to Node #0,3,2
Current State: 11:[9, 26], Operations: ['96-18=78', '78/3=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,11 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[9, 75], Operations: ['96-18=78', '78-3=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[3, 69], Operations: ['96-18=78', '78-9=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,11 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[78, 12], Operations: ['96-18=78', '3+9=12']
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[96, 9, 15], Operations: ['18-3=15']
Exploring Operation: 96-9=87, Resulting Numbers: [15, 87]
Generated Node #0,1,0: 11:[15, 87] Operation: 96-9=87
Exploring Operation: 96+9=105, Resulting Numbers: [15, 105]
Generated Node #0,1,1: 11:[15, 105] Operation: 96+9=105
Exploring Operation: 96-15=81, Resulting Numbers: [9, 81]
Generated Node #0,1,2: 11:[9, 81] Operation: 96-15=81
Exploring Operation: 15-9=6, Resulting Numbers: [96, 6]
Generated Node #0,1,3: 11:[96, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[9, 81], Operations: ['18-3=15', '96-15=81']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[15, 87], Operations: ['18-3=15', '96-9=87']
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,11 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,11 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[96, 6], Operations: ['18-3=15', '15-9=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,11 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[15, 105], Operations: ['18-3=15', '96+9=105']
Exploring Operation: 105/15=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 105-15=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 15+105=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 15*105=1575, Resulting Numbers: [1575]
1575,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[18, 9, 93], Operations: ['96-3=93']
Exploring Operation: 93-18=75, Resulting Numbers: [9, 75]
Generated Node #0,2,0: 11:[9, 75] Operation: 93-18=75
Exploring Operation: 93-9=84, Resulting Numbers: [18, 84]
Generated Node #0,2,1: 11:[18, 84] Operation: 93-9=84
Exploring Operation: 18/9=2, Resulting Numbers: [93, 2]
Generated Node #0,2,2: 11:[93, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [93, 9]
Generated Node #0,2,3: 11:[93, 9] Operation: 18-9=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[9, 75], Operations: ['96-3=93', '93-18=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,11 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[18, 84], Operations: ['96-3=93', '93-9=84']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,11 unequal: No Solution
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[93, 9], Operations: ['96-3=93', '18-9=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,11 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[93, 2], Operations: ['96-3=93', '18/9=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,11 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,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_4 | sum_heuristic |
[
33,
5,
13,
7
] | 55 | [
"33-13=20",
"5*7=35",
"20+35=55"
] | Current State: 55:[33, 5, 13, 7], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [5, 7, 20]
Generated Node #2: [5, 7, 20] from Operation: 33-13=20
Current State: 55:[5, 7, 20], Operations: ['33-13=20']
Exploring Operation: 5*7=35, Resulting Numbers: [20, 35]
Generated Node #3: [20, 35] from Operation: 5*7=35
Current State: 55:[20, 35], Operations: ['33-13=20', '5*7=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[33, 5, 13, 7], Operations: []
Exploring Operation: 33+13=46, Resulting Numbers: [5, 7, 46]
Generated Node #0,0: 55:[5, 7, 46] Operation: 33+13=46
Moving to Node #0,0
Current State: 55:[5, 7, 46], Operations: ['33+13=46']
Exploring Operation: 7+46=53, Resulting Numbers: [5, 53]
Generated Node #0,0,0: 55:[5, 53] Operation: 7+46=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[5, 53], Operations: ['33+13=46', '7+46=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,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 |
[
85,
31,
17,
35
] | 64 | [
"85+31=116",
"17+35=52",
"116-52=64"
] | Current State: 64:[85, 31, 17, 35], Operations: []
Exploring Operation: 85+31=116, Resulting Numbers: [17, 35, 116]
Generated Node #2: [17, 35, 116] from Operation: 85+31=116
Current State: 64:[17, 35, 116], Operations: ['85+31=116']
Exploring Operation: 17+35=52, Resulting Numbers: [116, 52]
Generated Node #3: [116, 52] from Operation: 17+35=52
Current State: 64:[116, 52], Operations: ['85+31=116', '17+35=52']
Exploring Operation: 116-52=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[85, 31, 17, 35], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [31, 35, 5]
Generated Node #0,0: 64:[31, 35, 5] Operation: 85/17=5
Exploring Operation: 85-17=68, Resulting Numbers: [31, 35, 68]
Generated Node #0,1: 64:[31, 35, 68] Operation: 85-17=68
Moving to Node #0,0
Current State: 64:[31, 35, 5], Operations: ['85/17=5']
Exploring Operation: 35/5=7, Resulting Numbers: [31, 7]
Generated Node #0,0,0: 64:[31, 7] Operation: 35/5=7
Exploring Operation: 35-31=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 64:[5, 4] Operation: 35-31=4
Moving to Node #0,1
Current State: 64:[31, 35, 68], Operations: ['85-17=68']
Exploring Operation: 35-31=4, Resulting Numbers: [68, 4]
Generated Node #0,1,0: 64:[68, 4] Operation: 35-31=4
Exploring Operation: 68-35=33, Resulting Numbers: [31, 33]
Generated Node #0,1,1: 64:[31, 33] Operation: 68-35=33
Moving to Node #0,0,1
Current State: 64:[5, 4], Operations: ['85/17=5', '35-31=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[31, 33], Operations: ['85-17=68', '68-35=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[85, 31, 17, 35], Operations: []
Exploring Operation: 85-17=68, Resulting Numbers: [31, 35, 68]
Generated Node #0,1: 64:[31, 35, 68] Operation: 85-17=68
Moving to Node #0,1
Current State: 64:[31, 35, 68], Operations: ['85-17=68']
Exploring Operation: 68-35=33, Resulting Numbers: [31, 33]
Generated Node #0,1,1: 64:[31, 33] Operation: 68-35=33
Moving to Node #0,1,1
Current State: 64:[31, 33], Operations: ['85-17=68', '68-35=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
21,
18,
91,
34
] | 86 | [
"21+18=39",
"91+34=125",
"125-39=86"
] | Current State: 86:[21, 18, 91, 34], Operations: []
Exploring Operation: 21+18=39, Resulting Numbers: [91, 34, 39]
Generated Node #2: [91, 34, 39] from Operation: 21+18=39
Current State: 86:[91, 34, 39], Operations: ['21+18=39']
Exploring Operation: 91+34=125, Resulting Numbers: [39, 125]
Generated Node #3: [39, 125] from Operation: 91+34=125
Current State: 86:[39, 125], Operations: ['21+18=39', '91+34=125']
Exploring Operation: 125-39=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[21, 18, 91, 34], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [91, 34, 3]
Generated Node #0,0: 86:[91, 34, 3] Operation: 21-18=3
Moving to Node #0,0
Current State: 86:[91, 34, 3], Operations: ['21-18=3']
Exploring Operation: 91-3=88, Resulting Numbers: [34, 88]
Generated Node #0,0,0: 86:[34, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[34, 88], Operations: ['21-18=3', '91-3=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,86 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 |
[
71,
1,
67,
65
] | 60 | [
"71+1=72",
"67+65=132",
"132-72=60"
] | Current State: 60:[71, 1, 67, 65], Operations: []
Exploring Operation: 71+1=72, Resulting Numbers: [67, 65, 72]
Generated Node #2: [67, 65, 72] from Operation: 71+1=72
Current State: 60:[67, 65, 72], Operations: ['71+1=72']
Exploring Operation: 67+65=132, Resulting Numbers: [72, 132]
Generated Node #3: [72, 132] from Operation: 67+65=132
Current State: 60:[72, 132], Operations: ['71+1=72', '67+65=132']
Exploring Operation: 132-72=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[71, 1, 67, 65], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [1, 65, 4]
Generated Node #0,0: 60:[1, 65, 4] Operation: 71-67=4
Exploring Operation: 67-65=2, Resulting Numbers: [71, 1, 2]
Generated Node #0,1: 60:[71, 1, 2] Operation: 67-65=2
Exploring Operation: 71-65=6, Resulting Numbers: [1, 67, 6]
Generated Node #0,2: 60:[1, 67, 6] Operation: 71-65=6
Moving to Node #0,0
Current State: 60:[1, 65, 4], Operations: ['71-67=4']
Exploring Operation: 65-4=61, Resulting Numbers: [1, 61]
Generated Node #0,0,0: 60:[1, 61] Operation: 65-4=61
Exploring Operation: 1*65=65, Resulting Numbers: [4, 65]
Generated Node #0,0,1: 60:[4, 65] Operation: 1*65=65
Exploring Operation: 65-1=64, Resulting Numbers: [4, 64]
Generated Node #0,0,2: 60:[4, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[1, 61], Operations: ['71-67=4', '65-4=61']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[71, 1, 67, 65], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [1, 65, 4]
Generated Node #0,0: 60:[1, 65, 4] Operation: 71-67=4
Moving to Node #0,0
Current State: 60:[1, 65, 4], Operations: ['71-67=4']
Exploring Operation: 65-4=61, Resulting Numbers: [1, 61]
Generated Node #0,0,0: 60:[1, 61] Operation: 65-4=61
Moving to Node #0,0,0
Current State: 60:[1, 61], Operations: ['71-67=4', '65-4=61']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
29,
52,
2,
16
] | 13 | [
"29-16=13",
"52/2=26",
"26-13=13"
] | Current State: 13:[29, 52, 2, 16], Operations: []
Exploring Operation: 29-16=13, Resulting Numbers: [52, 2, 13]
Generated Node #2: [52, 2, 13] from Operation: 29-16=13
Current State: 13:[52, 2, 13], Operations: ['29-16=13']
Exploring Operation: 52/2=26, Resulting Numbers: [13, 26]
Generated Node #3: [13, 26] from Operation: 52/2=26
Current State: 13:[13, 26], Operations: ['29-16=13', '52/2=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[29, 52, 2, 16], Operations: []
Exploring Operation: 29-16=13, Resulting Numbers: [52, 2, 13]
Generated Node #0,0: 13:[52, 2, 13] Operation: 29-16=13
Exploring Operation: 52/2=26, Resulting Numbers: [29, 16, 26]
Generated Node #0,1: 13:[29, 16, 26] Operation: 52/2=26
Exploring Operation: 52-16=36, Resulting Numbers: [29, 2, 36]
Generated Node #0,2: 13:[29, 2, 36] Operation: 52-16=36
Exploring Operation: 29-2=27, Resulting Numbers: [52, 16, 27]
Generated Node #0,3: 13:[52, 16, 27] Operation: 29-2=27
Exploring Operation: 52-29=23, Resulting Numbers: [2, 16, 23]
Generated Node #0,4: 13:[2, 16, 23] Operation: 52-29=23
Moving to Node #0,4
Current State: 13:[2, 16, 23], Operations: ['52-29=23']
Exploring Operation: 16/2=8, Resulting Numbers: [23, 8]
Generated Node #0,4,0: 13:[23, 8] Operation: 16/2=8
Exploring Operation: 2+16=18, Resulting Numbers: [23, 18]
Generated Node #0,4,1: 13:[23, 18] Operation: 2+16=18
Exploring Operation: 2+23=25, Resulting Numbers: [16, 25]
Generated Node #0,4,2: 13:[16, 25] Operation: 2+23=25
Exploring Operation: 16-2=14, Resulting Numbers: [23, 14]
Generated Node #0,4,3: 13:[23, 14] Operation: 16-2=14
Exploring Operation: 23-2=21, Resulting Numbers: [16, 21]
Generated Node #0,4,4: 13:[16, 21] Operation: 23-2=21
Moving to Node #0,1
Current State: 13:[29, 16, 26], Operations: ['52/2=26']
Exploring Operation: 29+16=45, Resulting Numbers: [26, 45]
Generated Node #0,1,0: 13:[26, 45] Operation: 29+16=45
Exploring Operation: 26-16=10, Resulting Numbers: [29, 10]
Generated Node #0,1,1: 13:[29, 10] Operation: 26-16=10
Exploring Operation: 29+26=55, Resulting Numbers: [16, 55]
Generated Node #0,1,2: 13:[16, 55] Operation: 29+26=55
Exploring Operation: 29-16=13, Resulting Numbers: [26, 13]
Generated Node #0,1,3: 13:[26, 13] Operation: 29-16=13
Exploring Operation: 29-26=3, Resulting Numbers: [16, 3]
Generated Node #0,1,4: 13:[16, 3] Operation: 29-26=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[26, 13], Operations: ['52/2=26', '29-16=13']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[29, 52, 2, 16], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [29, 16, 26]
Generated Node #0,1: 13:[29, 16, 26] Operation: 52/2=26
Moving to Node #0,1
Current State: 13:[29, 16, 26], Operations: ['52/2=26']
Exploring Operation: 29-16=13, Resulting Numbers: [26, 13]
Generated Node #0,1,3: 13:[26, 13] Operation: 29-16=13
Moving to Node #0,1,3
Current State: 13:[26, 13], Operations: ['52/2=26', '29-16=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
15,
38,
69,
72
] | 99 | [
"72-69=3",
"38*3=114",
"114-15=99"
] | Current State: 99:[15, 38, 69, 72], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [15, 38, 3]
Generated Node #2: [15, 38, 3] from Operation: 72-69=3
Current State: 99:[15, 38, 3], Operations: ['72-69=3']
Exploring Operation: 38*3=114, Resulting Numbers: [15, 114]
Generated Node #3: [15, 114] from Operation: 38*3=114
Current State: 99:[15, 114], Operations: ['72-69=3', '38*3=114']
Exploring Operation: 114-15=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[15, 38, 69, 72], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [15, 72, 31]
Generated Node #0,0: 99:[15, 72, 31] Operation: 69-38=31
Exploring Operation: 72-69=3, Resulting Numbers: [15, 38, 3]
Generated Node #0,1: 99:[15, 38, 3] Operation: 72-69=3
Moving to Node #0,1
Current State: 99:[15, 38, 3], Operations: ['72-69=3']
Exploring Operation: 15-3=12, Resulting Numbers: [38, 12]
Generated Node #0,1,0: 99:[38, 12] Operation: 15-3=12
Exploring Operation: 38-3=35, Resulting Numbers: [15, 35]
Generated Node #0,1,1: 99:[15, 35] Operation: 38-3=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[38, 12], Operations: ['72-69=3', '15-3=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,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,1
Current State: 99:[15, 35], Operations: ['72-69=3', '38-3=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,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:[15, 72, 31], Operations: ['69-38=31']
Exploring Operation: 72+31=103, Resulting Numbers: [15, 103]
Generated Node #0,0,0: 99:[15, 103] Operation: 72+31=103
Exploring Operation: 72-31=41, Resulting Numbers: [15, 41]
Generated Node #0,0,1: 99:[15, 41] Operation: 72-31=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[15, 103], Operations: ['69-38=31', '72+31=103']
Exploring Operation: 15+103=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 103-15=88, Resulting Numbers: [88]
88,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,1
Current State: 99:[15, 41], Operations: ['69-38=31', '72-31=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,99 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 |
[
29,
7,
15,
69
] | 29 | [
"29-15=14",
"7*14=98",
"98-69=29"
] | Current State: 29:[29, 7, 15, 69], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [7, 69, 14]
Generated Node #2: [7, 69, 14] from Operation: 29-15=14
Current State: 29:[7, 69, 14], Operations: ['29-15=14']
Exploring Operation: 7*14=98, Resulting Numbers: [69, 98]
Generated Node #3: [69, 98] from Operation: 7*14=98
Current State: 29:[69, 98], Operations: ['29-15=14', '7*14=98']
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[29, 7, 15, 69], Operations: []
Exploring Operation: 69-29=40, Resulting Numbers: [7, 15, 40]
Generated Node #0,0: 29:[7, 15, 40] Operation: 69-29=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[7, 15, 40], Operations: ['69-29=40']
Exploring Operation: 7+15=22, Resulting Numbers: [40, 22]
Generated Node #0,0,0: 29:[40, 22] Operation: 7+15=22
Moving to Node #0,0,0
Current State: 29:[40, 22], Operations: ['69-29=40', '7+15=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,29 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 |
[
41,
25,
84,
20
] | 100 | [
"41+84=125",
"125/25=5",
"20*5=100"
] | Current State: 100:[41, 25, 84, 20], Operations: []
Exploring Operation: 41+84=125, Resulting Numbers: [25, 20, 125]
Generated Node #2: [25, 20, 125] from Operation: 41+84=125
Current State: 100:[25, 20, 125], Operations: ['41+84=125']
Exploring Operation: 125/25=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 125/25=5
Current State: 100:[20, 5], Operations: ['41+84=125', '125/25=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[41, 25, 84, 20], Operations: []
Exploring Operation: 84-41=43, Resulting Numbers: [25, 20, 43]
Generated Node #0,0: 100:[25, 20, 43] Operation: 84-41=43
Exploring Operation: 84+20=104, Resulting Numbers: [41, 25, 104]
Generated Node #0,1: 100:[41, 25, 104] Operation: 84+20=104
Exploring Operation: 25+84=109, Resulting Numbers: [41, 20, 109]
Generated Node #0,2: 100:[41, 20, 109] Operation: 25+84=109
Exploring Operation: 84-25=59, Resulting Numbers: [41, 20, 59]
Generated Node #0,3: 100:[41, 20, 59] Operation: 84-25=59
Exploring Operation: 41-20=21, Resulting Numbers: [25, 84, 21]
Generated Node #0,4: 100:[25, 84, 21] Operation: 41-20=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 20, 43], Operations: ['84-41=43']
Exploring Operation: 25+20=45, Resulting Numbers: [43, 45]
Generated Node #0,0,0: 100:[43, 45] Operation: 25+20=45
Exploring Operation: 43-20=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 100:[25, 23] Operation: 43-20=23
Exploring Operation: 43-25=18, Resulting Numbers: [20, 18]
Generated Node #0,0,2: 100:[20, 18] Operation: 43-25=18
Exploring Operation: 25-20=5, Resulting Numbers: [43, 5]
Generated Node #0,0,3: 100:[43, 5] Operation: 25-20=5
Exploring Operation: 20+43=63, Resulting Numbers: [25, 63]
Generated Node #0,0,4: 100:[25, 63] Operation: 20+43=63
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[25, 23], Operations: ['84-41=43', '43-20=23']
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,100 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[20, 18], Operations: ['84-41=43', '43-25=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[43, 5], Operations: ['84-41=43', '25-20=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[43, 45], Operations: ['84-41=43', '25+20=45']
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,100 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 100:[25, 63], Operations: ['84-41=43', '20+43=63']
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,100 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[41, 25, 104], Operations: ['84+20=104']
Exploring Operation: 104-41=63, Resulting Numbers: [25, 63]
Generated Node #0,1,0: 100:[25, 63] Operation: 104-41=63
Exploring Operation: 25+104=129, Resulting Numbers: [41, 129]
Generated Node #0,1,1: 100:[41, 129] Operation: 25+104=129
Exploring Operation: 41+25=66, Resulting Numbers: [104, 66]
Generated Node #0,1,2: 100:[104, 66] Operation: 41+25=66
Exploring Operation: 41-25=16, Resulting Numbers: [104, 16]
Generated Node #0,1,3: 100:[104, 16] Operation: 41-25=16
Exploring Operation: 104-25=79, Resulting Numbers: [41, 79]
Generated Node #0,1,4: 100:[41, 79] Operation: 104-25=79
Moving to Node #0,1,3
Current State: 100:[104, 16], Operations: ['84+20=104', '41-25=16']
Exploring Operation: 104+16=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 104-16=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 104*16=1664, Resulting Numbers: [1664]
1664,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[25, 63], Operations: ['84+20=104', '104-41=63']
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,100 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[104, 66], Operations: ['84+20=104', '41+25=66']
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 104*66=6864, Resulting Numbers: [6864]
6864,100 unequal: No Solution
Exploring Operation: 104+66=170, Resulting Numbers: [170]
170,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[41, 79], Operations: ['84+20=104', '104-25=79']
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,100 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[41, 129], Operations: ['84+20=104', '25+104=129']
Exploring Operation: 41+129=170, Resulting Numbers: [170]
170,100 unequal: No Solution
Exploring Operation: 41*129=5289, Resulting Numbers: [5289]
5289,100 unequal: No Solution
Exploring Operation: 129-41=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[25, 84, 21], Operations: ['41-20=21']
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #0,4,0: 100:[25, 4] Operation: 84/21=4
Exploring Operation: 84-25=59, Resulting Numbers: [21, 59]
Generated Node #0,4,1: 100:[21, 59] Operation: 84-25=59
Exploring Operation: 84-21=63, Resulting Numbers: [25, 63]
Generated Node #0,4,2: 100:[25, 63] Operation: 84-21=63
Exploring Operation: 84+21=105, Resulting Numbers: [25, 105]
Generated Node #0,4,3: 100:[25, 105] Operation: 84+21=105
Exploring Operation: 25+84=109, Resulting Numbers: [21, 109]
Generated Node #0,4,4: 100:[21, 109] Operation: 25+84=109
Moving to Node #0,4,0
Current State: 100:[25, 4], Operations: ['41-20=21', '84/21=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[41, 25, 84, 20], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [25, 84, 21]
Generated Node #0,4: 100:[25, 84, 21] Operation: 41-20=21
Moving to Node #0,4
Current State: 100:[25, 84, 21], Operations: ['41-20=21']
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #0,4,0: 100:[25, 4] Operation: 84/21=4
Moving to Node #0,4,0
Current State: 100:[25, 4], Operations: ['41-20=21', '84/21=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | mult_heuristic |
[
43,
63,
33,
53
] | 35 | [
"43+63=106",
"106/53=2",
"33+2=35"
] | Current State: 35:[43, 63, 33, 53], Operations: []
Exploring Operation: 43+63=106, Resulting Numbers: [33, 53, 106]
Generated Node #2: [33, 53, 106] from Operation: 43+63=106
Current State: 35:[33, 53, 106], Operations: ['43+63=106']
Exploring Operation: 106/53=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 106/53=2
Current State: 35:[33, 2], Operations: ['43+63=106', '106/53=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[43, 63, 33, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [43, 33, 10]
Generated Node #0,0: 35:[43, 33, 10] Operation: 63-53=10
Moving to Node #0,0
Current State: 35:[43, 33, 10], Operations: ['63-53=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33, 33]
Generated Node #0,0,0: 35:[33, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[33, 33], Operations: ['63-53=10', '43-10=33']
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,35 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 |
[
81,
19,
83,
24
] | 31 | [
"83-81=2",
"24/2=12",
"19+12=31"
] | Current State: 31:[81, 19, 83, 24], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [19, 24, 2]
Generated Node #2: [19, 24, 2] from Operation: 83-81=2
Current State: 31:[19, 24, 2], Operations: ['83-81=2']
Exploring Operation: 24/2=12, Resulting Numbers: [19, 12]
Generated Node #3: [19, 12] from Operation: 24/2=12
Current State: 31:[19, 12], Operations: ['83-81=2', '24/2=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[81, 19, 83, 24], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [19, 24, 2]
Generated Node #0,0: 31:[19, 24, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[19, 24, 2], Operations: ['83-81=2']
Exploring Operation: 19*2=38, Resulting Numbers: [24, 38]
Generated Node #0,0,0: 31:[24, 38] Operation: 19*2=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[24, 38], Operations: ['83-81=2', '19*2=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,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 | sum_heuristic |
[
57,
36,
67,
64
] | 31 | [
"57+36=93",
"67-64=3",
"93/3=31"
] | Current State: 31:[57, 36, 67, 64], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [67, 64, 93]
Generated Node #2: [67, 64, 93] from Operation: 57+36=93
Current State: 31:[67, 64, 93], Operations: ['57+36=93']
Exploring Operation: 67-64=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 67-64=3
Current State: 31:[93, 3], Operations: ['57+36=93', '67-64=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[57, 36, 67, 64], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [36, 64, 10]
Generated Node #0,0: 31:[36, 64, 10] Operation: 67-57=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[36, 64, 10], Operations: ['67-57=10']
Exploring Operation: 64-36=28, Resulting Numbers: [10, 28]
Generated Node #0,0,0: 31:[10, 28] Operation: 64-36=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[10, 28], Operations: ['67-57=10', '64-36=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,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 | sum_heuristic |
[
9,
37,
50,
52
] | 55 | [
"52-50=2",
"9*2=18",
"37+18=55"
] | Current State: 55:[9, 37, 50, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [9, 37, 2]
Generated Node #2: [9, 37, 2] from Operation: 52-50=2
Current State: 55:[9, 37, 2], Operations: ['52-50=2']
Exploring Operation: 9*2=18, Resulting Numbers: [37, 18]
Generated Node #3: [37, 18] from Operation: 9*2=18
Current State: 55:[37, 18], Operations: ['52-50=2', '9*2=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[9, 37, 50, 52], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [9, 52, 13]
Generated Node #0,0: 55:[9, 52, 13] Operation: 50-37=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[9, 52, 13], Operations: ['50-37=13']
Exploring Operation: 52/13=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 55:[9, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 55:[9, 4], Operations: ['50-37=13', '52/13=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,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 |
[
17,
23,
74,
55
] | 58 | [
"74-23=51",
"51/17=3",
"55+3=58"
] | Current State: 58:[17, 23, 74, 55], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [17, 55, 51]
Generated Node #2: [17, 55, 51] from Operation: 74-23=51
Current State: 58:[17, 55, 51], Operations: ['74-23=51']
Exploring Operation: 51/17=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 51/17=3
Current State: 58:[55, 3], Operations: ['74-23=51', '51/17=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[17, 23, 74, 55], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [17, 55, 51]
Generated Node #0,0: 58:[17, 55, 51] Operation: 74-23=51
Exploring Operation: 74-17=57, Resulting Numbers: [23, 55, 57]
Generated Node #0,1: 58:[23, 55, 57] Operation: 74-17=57
Moving to Node #0,1
Current State: 58:[23, 55, 57], Operations: ['74-17=57']
Exploring Operation: 57-55=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 58:[23, 2] Operation: 57-55=2
Exploring Operation: 55-23=32, Resulting Numbers: [57, 32]
Generated Node #0,1,1: 58:[57, 32] Operation: 55-23=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[57, 32], Operations: ['74-17=57', '55-23=32']
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,58 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,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,0
Current State: 58:[23, 2], Operations: ['74-17=57', '57-55=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,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:[17, 55, 51], Operations: ['74-23=51']
Exploring Operation: 51-17=34, Resulting Numbers: [55, 34]
Generated Node #0,0,0: 58:[55, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 58:[55, 3] Operation: 51/17=3
Moving to Node #0,0,1
Current State: 58:[55, 3], Operations: ['74-23=51', '51/17=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[17, 23, 74, 55], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [17, 55, 51]
Generated Node #0,0: 58:[17, 55, 51] Operation: 74-23=51
Moving to Node #0,0
Current State: 58:[17, 55, 51], Operations: ['74-23=51']
Exploring Operation: 51/17=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 58:[55, 3] Operation: 51/17=3
Moving to Node #0,0,1
Current State: 58:[55, 3], Operations: ['74-23=51', '51/17=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
63,
7,
99,
63
] | 92 | [
"63+7=70",
"99+63=162",
"162-70=92"
] | Current State: 92:[63, 7, 99, 63], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [99, 70]
Generated Node #2: [99, 70] from Operation: 63+7=70
Current State: 92:[99, 70], Operations: ['63+7=70']
Exploring Operation: 99+63=162, Resulting Numbers: [70, 162]
Generated Node #3: [70, 162] from Operation: 99+63=162
Current State: 92:[70, 162], Operations: ['63+7=70', '99+63=162']
Exploring Operation: 162-70=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[63, 7, 99, 63], Operations: []
Exploring Operation: 63-63=0, Resulting Numbers: [7, 99, 0]
Generated Node #0,0: 92:[7, 99, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [7, 99, 1]
Generated Node #0,1: 92:[7, 99, 1] Operation: 63/63=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[7, 99, 1], Operations: ['63/63=1']
Exploring Operation: 99-7=92, Resulting Numbers: [1, 92]
Generated Node #0,1,0: 92:[1, 92] Operation: 99-7=92
Exploring Operation: 7-1=6, Resulting Numbers: [99, 6]
Generated Node #0,1,1: 92:[99, 6] Operation: 7-1=6
Moving to Node #0,1,0
Current State: 92:[1, 92], Operations: ['63/63=1', '99-7=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[63, 7, 99, 63], Operations: []
Exploring Operation: 63/63=1, Resulting Numbers: [7, 99, 1]
Generated Node #0,1: 92:[7, 99, 1] Operation: 63/63=1
Moving to Node #0,1
Current State: 92:[7, 99, 1], Operations: ['63/63=1']
Exploring Operation: 99-7=92, Resulting Numbers: [1, 92]
Generated Node #0,1,0: 92:[1, 92] Operation: 99-7=92
Moving to Node #0,1,0
Current State: 92:[1, 92], Operations: ['63/63=1', '99-7=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
80,
81,
85,
15
] | 71 | [
"81-80=1",
"85-15=70",
"1+70=71"
] | Current State: 71:[80, 81, 85, 15], Operations: []
Exploring Operation: 81-80=1, Resulting Numbers: [85, 15, 1]
Generated Node #2: [85, 15, 1] from Operation: 81-80=1
Current State: 71:[85, 15, 1], Operations: ['81-80=1']
Exploring Operation: 85-15=70, Resulting Numbers: [1, 70]
Generated Node #3: [1, 70] from Operation: 85-15=70
Current State: 71:[1, 70], Operations: ['81-80=1', '85-15=70']
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[80, 81, 85, 15], Operations: []
Exploring Operation: 85-15=70, Resulting Numbers: [80, 81, 70]
Generated Node #0,0: 71:[80, 81, 70] Operation: 85-15=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[80, 81, 70], Operations: ['85-15=70']
Exploring Operation: 81-70=11, Resulting Numbers: [80, 11]
Generated Node #0,0,0: 71:[80, 11] Operation: 81-70=11
Moving to Node #0,0,0
Current State: 71:[80, 11], Operations: ['85-15=70', '81-70=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
99,
95,
82
] | 85 | [
"95-90=5",
"99-82=17",
"5*17=85"
] | Current State: 85:[90, 99, 95, 82], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [99, 82, 5]
Generated Node #2: [99, 82, 5] from Operation: 95-90=5
Current State: 85:[99, 82, 5], Operations: ['95-90=5']
Exploring Operation: 99-82=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 99-82=17
Current State: 85:[5, 17], Operations: ['95-90=5', '99-82=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 99, 95, 82], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [90, 95, 17]
Generated Node #0,0: 85:[90, 95, 17] Operation: 99-82=17
Exploring Operation: 99-95=4, Resulting Numbers: [90, 82, 4]
Generated Node #0,1: 85:[90, 82, 4] Operation: 99-95=4
Exploring Operation: 95-90=5, Resulting Numbers: [99, 82, 5]
Generated Node #0,2: 85:[99, 82, 5] Operation: 95-90=5
Exploring Operation: 95-82=13, Resulting Numbers: [90, 99, 13]
Generated Node #0,3: 85:[90, 99, 13] Operation: 95-82=13
Exploring Operation: 99-90=9, Resulting Numbers: [95, 82, 9]
Generated Node #0,4: 85:[95, 82, 9] Operation: 99-90=9
Moving to Node #0,1
Current State: 85:[90, 82, 4], Operations: ['99-95=4']
Exploring Operation: 82-4=78, Resulting Numbers: [90, 78]
Generated Node #0,1,0: 85:[90, 78] Operation: 82-4=78
Exploring Operation: 90-82=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 85:[4, 8] Operation: 90-82=8
Exploring Operation: 90-4=86, Resulting Numbers: [82, 86]
Generated Node #0,1,2: 85:[82, 86] Operation: 90-4=86
Exploring Operation: 90+4=94, Resulting Numbers: [82, 94]
Generated Node #0,1,3: 85:[82, 94] Operation: 90+4=94
Exploring Operation: 82+4=86, Resulting Numbers: [90, 86]
Generated Node #0,1,4: 85:[90, 86] Operation: 82+4=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[4, 8], Operations: ['99-95=4', '90-82=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,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,1,2
Current State: 85:[82, 86], Operations: ['99-95=4', '90-4=86']
Exploring Operation: 82*86=7052, Resulting Numbers: [7052]
7052,85 unequal: No Solution
Exploring Operation: 82+86=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,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,1,4
Current State: 85:[90, 86], Operations: ['99-95=4', '82+4=86']
Exploring Operation: 90*86=7740, Resulting Numbers: [7740]
7740,85 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 90+86=176, Resulting Numbers: [176]
176,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,1,0
Current State: 85:[90, 78], Operations: ['99-95=4', '82-4=78']
Exploring Operation: 90*78=7020, Resulting Numbers: [7020]
7020,85 unequal: No Solution
Exploring Operation: 90+78=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,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,1,3
Current State: 85:[82, 94], Operations: ['99-95=4', '90+4=94']
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,85 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,85 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: 85:[90, 95, 17], Operations: ['99-82=17']
Exploring Operation: 90+17=107, Resulting Numbers: [95, 107]
Generated Node #0,0,0: 85:[95, 107] Operation: 90+17=107
Exploring Operation: 95-90=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 95-90=5
Exploring Operation: 95+17=112, Resulting Numbers: [90, 112]
Generated Node #0,0,2: 85:[90, 112] Operation: 95+17=112
Exploring Operation: 95-17=78, Resulting Numbers: [90, 78]
Generated Node #0,0,3: 85:[90, 78] Operation: 95-17=78
Exploring Operation: 90-17=73, Resulting Numbers: [95, 73]
Generated Node #0,0,4: 85:[95, 73] Operation: 90-17=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['99-82=17', '95-90=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 99, 95, 82], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [90, 95, 17]
Generated Node #0,0: 85:[90, 95, 17] Operation: 99-82=17
Moving to Node #0,0
Current State: 85:[90, 95, 17], Operations: ['99-82=17']
Exploring Operation: 95-90=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 95-90=5
Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['99-82=17', '95-90=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
87,
58,
94,
87
] | 54 | [
"87*94=8178",
"8178/58=141",
"141-87=54"
] | Current State: 54:[87, 58, 94, 87], Operations: []
Exploring Operation: 87*94=8178, Resulting Numbers: [58, 8178]
Generated Node #2: [58, 8178] from Operation: 87*94=8178
Current State: 54:[58, 8178], Operations: ['87*94=8178']
Exploring Operation: 8178/58=141, Resulting Numbers: [141]
141,54 equal: Goal Reached
Exploring Operation: 141-87=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[87, 58, 94, 87], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [58, 87, 7]
Generated Node #0,0: 54:[58, 87, 7] Operation: 94-87=7
Exploring Operation: 94-87=7, Resulting Numbers: [87, 58, 7]
Generated Node #0,1: 54:[87, 58, 7] Operation: 94-87=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[58, 87, 7], Operations: ['94-87=7']
Exploring Operation: 87-7=80, Resulting Numbers: [58, 80]
Generated Node #0,0,0: 54:[58, 80] Operation: 87-7=80
Exploring Operation: 87-58=29, Resulting Numbers: [7, 29]
Generated Node #0,0,1: 54:[7, 29] Operation: 87-58=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[7, 29], Operations: ['94-87=7', '87-58=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,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,0,0
Current State: 54:[58, 80], Operations: ['94-87=7', '87-7=80']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[87, 58, 7], Operations: ['94-87=7']
Exploring Operation: 87-7=80, Resulting Numbers: [58, 80]
Generated Node #0,1,0: 54:[58, 80] Operation: 87-7=80
Exploring Operation: 87-58=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 54:[7, 29] Operation: 87-58=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[7, 29], Operations: ['94-87=7', '87-58=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,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,0
Current State: 54:[58, 80], Operations: ['94-87=7', '87-7=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,54 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,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 |
[
58,
32,
54,
3
] | 24 | [
"58+32=90",
"90/3=30",
"54-30=24"
] | Current State: 24:[58, 32, 54, 3], Operations: []
Exploring Operation: 58+32=90, Resulting Numbers: [54, 3, 90]
Generated Node #2: [54, 3, 90] from Operation: 58+32=90
Current State: 24:[54, 3, 90], Operations: ['58+32=90']
Exploring Operation: 90/3=30, Resulting Numbers: [54, 30]
Generated Node #3: [54, 30] from Operation: 90/3=30
Current State: 24:[54, 30], Operations: ['58+32=90', '90/3=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[58, 32, 54, 3], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [54, 3, 26]
Generated Node #0,0: 24:[54, 3, 26] Operation: 58-32=26
Exploring Operation: 54/3=18, Resulting Numbers: [58, 32, 18]
Generated Node #0,1: 24:[58, 32, 18] Operation: 54/3=18
Exploring Operation: 58-54=4, Resulting Numbers: [32, 3, 4]
Generated Node #0,2: 24:[32, 3, 4] Operation: 58-54=4
Exploring Operation: 54-32=22, Resulting Numbers: [58, 3, 22]
Generated Node #0,3: 24:[58, 3, 22] Operation: 54-32=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[32, 3, 4], Operations: ['58-54=4']
Exploring Operation: 32/4=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 24:[3, 8] Operation: 32/4=8
Exploring Operation: 3*4=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 24:[32, 12] Operation: 3*4=12
Exploring Operation: 32-4=28, Resulting Numbers: [3, 28]
Generated Node #0,2,2: 24:[3, 28] Operation: 32-4=28
Exploring Operation: 32-3=29, Resulting Numbers: [4, 29]
Generated Node #0,2,3: 24:[4, 29] Operation: 32-3=29
Moving to Node #0,2,0
Current State: 24:[3, 8], Operations: ['58-54=4', '32/4=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[58, 32, 54, 3], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [32, 3, 4]
Generated Node #0,2: 24:[32, 3, 4] Operation: 58-54=4
Moving to Node #0,2
Current State: 24:[32, 3, 4], Operations: ['58-54=4']
Exploring Operation: 32/4=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 24:[3, 8] Operation: 32/4=8
Moving to Node #0,2,0
Current State: 24:[3, 8], Operations: ['58-54=4', '32/4=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
81,
28,
3,
91
] | 94 | [
"81+3=84",
"84/28=3",
"91+3=94"
] | Current State: 94:[81, 28, 3, 91], Operations: []
Exploring Operation: 81+3=84, Resulting Numbers: [28, 91, 84]
Generated Node #2: [28, 91, 84] from Operation: 81+3=84
Current State: 94:[28, 91, 84], Operations: ['81+3=84']
Exploring Operation: 84/28=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 84/28=3
Current State: 94:[91, 3], Operations: ['81+3=84', '84/28=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[81, 28, 3, 91], Operations: []
Exploring Operation: 81+28=109, Resulting Numbers: [3, 91, 109]
Generated Node #0,0: 94:[3, 91, 109] Operation: 81+28=109
Exploring Operation: 81-28=53, Resulting Numbers: [3, 91, 53]
Generated Node #0,1: 94:[3, 91, 53] Operation: 81-28=53
Exploring Operation: 28*3=84, Resulting Numbers: [81, 91, 84]
Generated Node #0,2: 94:[81, 91, 84] Operation: 28*3=84
Moving to Node #0,1
Current State: 94:[3, 91, 53], Operations: ['81-28=53']
Exploring Operation: 53-3=50, Resulting Numbers: [91, 50]
Generated Node #0,1,0: 94:[91, 50] Operation: 53-3=50
Exploring Operation: 91-53=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 94:[3, 38] Operation: 91-53=38
Exploring Operation: 3+91=94, Resulting Numbers: [53, 94]
Generated Node #0,1,2: 94:[53, 94] Operation: 3+91=94
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[91, 50], Operations: ['81-28=53', '53-3=50']
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 91+50=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 91*50=4550, Resulting Numbers: [4550]
4550,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[53, 94], Operations: ['81-28=53', '3+91=94']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 53+94=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 53*94=4982, Resulting Numbers: [4982]
4982,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[3, 38], Operations: ['81-28=53', '91-53=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,94 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,94 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: 94:[3, 91, 109], Operations: ['81+28=109']
Exploring Operation: 109-91=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 94:[3, 18] Operation: 109-91=18
Exploring Operation: 3+91=94, Resulting Numbers: [109, 94]
Generated Node #0,0,1: 94:[109, 94] Operation: 3+91=94
Exploring Operation: 109-3=106, Resulting Numbers: [91, 106]
Generated Node #0,0,2: 94:[91, 106] Operation: 109-3=106
Moving to Node #0,2
Current State: 94:[81, 91, 84], Operations: ['28*3=84']
Exploring Operation: 84-81=3, Resulting Numbers: [91, 3]
Generated Node #0,2,0: 94:[91, 3] Operation: 84-81=3
Exploring Operation: 91-84=7, Resulting Numbers: [81, 7]
Generated Node #0,2,1: 94:[81, 7] Operation: 91-84=7
Exploring Operation: 91-81=10, Resulting Numbers: [84, 10]
Generated Node #0,2,2: 94:[84, 10] Operation: 91-81=10
Moving to Node #0,2,0
Current State: 94:[91, 3], Operations: ['28*3=84', '84-81=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[81, 28, 3, 91], Operations: []
Exploring Operation: 28*3=84, Resulting Numbers: [81, 91, 84]
Generated Node #0,2: 94:[81, 91, 84] Operation: 28*3=84
Moving to Node #0,2
Current State: 94:[81, 91, 84], Operations: ['28*3=84']
Exploring Operation: 84-81=3, Resulting Numbers: [91, 3]
Generated Node #0,2,0: 94:[91, 3] Operation: 84-81=3
Moving to Node #0,2,0
Current State: 94:[91, 3], Operations: ['28*3=84', '84-81=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
27,
43,
63,
96
] | 17 | [
"43-27=16",
"96-63=33",
"33-16=17"
] | Current State: 17:[27, 43, 63, 96], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [63, 96, 16]
Generated Node #2: [63, 96, 16] from Operation: 43-27=16
Current State: 17:[63, 96, 16], Operations: ['43-27=16']
Exploring Operation: 96-63=33, Resulting Numbers: [16, 33]
Generated Node #3: [16, 33] from Operation: 96-63=33
Current State: 17:[16, 33], Operations: ['43-27=16', '96-63=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[27, 43, 63, 96], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [27, 96, 20]
Generated Node #0,0: 17:[27, 96, 20] Operation: 63-43=20
Exploring Operation: 96-63=33, Resulting Numbers: [27, 43, 33]
Generated Node #0,1: 17:[27, 43, 33] Operation: 96-63=33
Exploring Operation: 96-43=53, Resulting Numbers: [27, 63, 53]
Generated Node #0,2: 17:[27, 63, 53] Operation: 96-43=53
Moving to Node #0,1
Current State: 17:[27, 43, 33], Operations: ['96-63=33']
Exploring Operation: 43-27=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 17:[33, 16] Operation: 43-27=16
Exploring Operation: 43-33=10, Resulting Numbers: [27, 10]
Generated Node #0,1,1: 17:[27, 10] Operation: 43-33=10
Exploring Operation: 33-27=6, Resulting Numbers: [43, 6]
Generated Node #0,1,2: 17:[43, 6] Operation: 33-27=6
Moving to Node #0,0
Current State: 17:[27, 96, 20], Operations: ['63-43=20']
Exploring Operation: 96-20=76, Resulting Numbers: [27, 76]
Generated Node #0,0,0: 17:[27, 76] Operation: 96-20=76
Exploring Operation: 96-27=69, Resulting Numbers: [20, 69]
Generated Node #0,0,1: 17:[20, 69] Operation: 96-27=69
Exploring Operation: 27-20=7, Resulting Numbers: [96, 7]
Generated Node #0,0,2: 17:[96, 7] Operation: 27-20=7
Moving to Node #0,2
Current State: 17:[27, 63, 53], Operations: ['96-43=53']
Exploring Operation: 53-27=26, Resulting Numbers: [63, 26]
Generated Node #0,2,0: 17:[63, 26] Operation: 53-27=26
Exploring Operation: 63-53=10, Resulting Numbers: [27, 10]
Generated Node #0,2,1: 17:[27, 10] Operation: 63-53=10
Exploring Operation: 63-27=36, Resulting Numbers: [53, 36]
Generated Node #0,2,2: 17:[53, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[27, 10], Operations: ['96-43=53', '63-53=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,17 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[27, 43, 63, 96], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [27, 63, 53]
Generated Node #0,2: 17:[27, 63, 53] Operation: 96-43=53
Moving to Node #0,2
Current State: 17:[27, 63, 53], Operations: ['96-43=53']
Exploring Operation: 63-53=10, Resulting Numbers: [27, 10]
Generated Node #0,2,1: 17:[27, 10] Operation: 63-53=10
Moving to Node #0,2,1
Current State: 17:[27, 10], Operations: ['96-43=53', '63-53=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
30,
26,
40,
2
] | 23 | [
"40-30=10",
"26/2=13",
"10+13=23"
] | Current State: 23:[30, 26, 40, 2], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [26, 2, 10]
Generated Node #2: [26, 2, 10] from Operation: 40-30=10
Current State: 23:[26, 2, 10], Operations: ['40-30=10']
Exploring Operation: 26/2=13, Resulting Numbers: [10, 13]
Generated Node #3: [10, 13] from Operation: 26/2=13
Current State: 23:[10, 13], Operations: ['40-30=10', '26/2=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 26, 40, 2], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [30, 26, 20]
Generated Node #0,0: 23:[30, 26, 20] Operation: 40/2=20
Exploring Operation: 30-2=28, Resulting Numbers: [26, 40, 28]
Generated Node #0,1: 23:[26, 40, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[30, 26, 20], Operations: ['40/2=20']
Exploring Operation: 30-20=10, Resulting Numbers: [26, 10]
Generated Node #0,0,0: 23:[26, 10] Operation: 30-20=10
Exploring Operation: 30-26=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 23:[20, 4] Operation: 30-26=4
Moving to Node #0,0,0
Current State: 23:[26, 10], Operations: ['40/2=20', '30-20=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[20, 4], Operations: ['40/2=20', '30-26=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[26, 40, 28], Operations: ['30-2=28']
Exploring Operation: 40-26=14, Resulting Numbers: [28, 14]
Generated Node #0,1,0: 23:[28, 14] Operation: 40-26=14
Exploring Operation: 40-28=12, Resulting Numbers: [26, 12]
Generated Node #0,1,1: 23:[26, 12] Operation: 40-28=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[28, 14], Operations: ['30-2=28', '40-26=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[26, 12], Operations: ['30-2=28', '40-28=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
49,
63,
7
] | 31 | [
"49-27=22",
"63/7=9",
"22+9=31"
] | Current State: 31:[27, 49, 63, 7], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [63, 7, 22]
Generated Node #2: [63, 7, 22] from Operation: 49-27=22
Current State: 31:[63, 7, 22], Operations: ['49-27=22']
Exploring Operation: 63/7=9, Resulting Numbers: [22, 9]
Generated Node #3: [22, 9] from Operation: 63/7=9
Current State: 31:[22, 9], Operations: ['49-27=22', '63/7=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[27, 49, 63, 7], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [27, 49, 9]
Generated Node #0,0: 31:[27, 49, 9] Operation: 63/7=9
Moving to Node #0,0
Current State: 31:[27, 49, 9], Operations: ['63/7=9']
Exploring Operation: 49-9=40, Resulting Numbers: [27, 40]
Generated Node #0,0,0: 31:[27, 40] Operation: 49-9=40
Moving to Node #0,0,0
Current State: 31:[27, 40], Operations: ['63/7=9', '49-9=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,31 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
2,
31,
69
] | 25 | [
"31+69=100",
"100/2=50",
"50-25=25"
] | Current State: 25:[25, 2, 31, 69], Operations: []
Exploring Operation: 31+69=100, Resulting Numbers: [25, 2, 100]
Generated Node #2: [25, 2, 100] from Operation: 31+69=100
Current State: 25:[25, 2, 100], Operations: ['31+69=100']
Exploring Operation: 100/2=50, Resulting Numbers: [25, 50]
Generated Node #3: [25, 50] from Operation: 100/2=50
Current State: 25:[25, 50], Operations: ['31+69=100', '100/2=50']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 2, 31, 69], Operations: []
Exploring Operation: 69-31=38, Resulting Numbers: [25, 2, 38]
Generated Node #0,0: 25:[25, 2, 38] Operation: 69-31=38
Moving to Node #0,0
Current State: 25:[25, 2, 38], Operations: ['69-31=38']
Exploring Operation: 38/2=19, Resulting Numbers: [25, 19]
Generated Node #0,0,0: 25:[25, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[25, 19], Operations: ['69-31=38', '38/2=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,25 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 |
[
39,
2,
10,
2
] | 17 | [
"39-2=37",
"10*2=20",
"37-20=17"
] | Current State: 17:[39, 2, 10, 2], Operations: []
Exploring Operation: 39-2=37, Resulting Numbers: [10, 37]
Generated Node #2: [10, 37] from Operation: 39-2=37
Current State: 17:[10, 37], Operations: ['39-2=37']
Exploring Operation: 10*2=20, Resulting Numbers: [37, 20]
Generated Node #3: [37, 20] from Operation: 10*2=20
Current State: 17:[37, 20], Operations: ['39-2=37', '10*2=20']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[39, 2, 10, 2], Operations: []
Exploring Operation: 39-2=37, Resulting Numbers: [2, 10, 37]
Generated Node #0,0: 17:[2, 10, 37] Operation: 39-2=37
Exploring Operation: 10*2=20, Resulting Numbers: [39, 2, 20]
Generated Node #0,1: 17:[39, 2, 20] Operation: 10*2=20
Exploring Operation: 39-2=37, Resulting Numbers: [10, 2, 37]
Generated Node #0,2: 17:[10, 2, 37] Operation: 39-2=37
Exploring Operation: 2*10=20, Resulting Numbers: [39, 2, 20]
Generated Node #0,3: 17:[39, 2, 20] Operation: 2*10=20
Exploring Operation: 39-10=29, Resulting Numbers: [2, 2, 29]
Generated Node #0,4: 17:[2, 2, 29] Operation: 39-10=29
Moving to Node #0,1
Current State: 17:[39, 2, 20], Operations: ['10*2=20']
Exploring Operation: 39-20=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 17:[2, 19] Operation: 39-20=19
Exploring Operation: 2+20=22, Resulting Numbers: [39, 22]
Generated Node #0,1,1: 17:[39, 22] Operation: 2+20=22
Exploring Operation: 20-2=18, Resulting Numbers: [39, 18]
Generated Node #0,1,2: 17:[39, 18] Operation: 20-2=18
Exploring Operation: 39-2=37, Resulting Numbers: [20, 37]
Generated Node #0,1,3: 17:[20, 37] Operation: 39-2=37
Exploring Operation: 39+2=41, Resulting Numbers: [20, 41]
Generated Node #0,1,4: 17:[20, 41] Operation: 39+2=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[2, 19], Operations: ['10*2=20', '39-20=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[39, 2, 10, 2], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [39, 2, 20]
Generated Node #0,1: 17:[39, 2, 20] Operation: 10*2=20
Moving to Node #0,1
Current State: 17:[39, 2, 20], Operations: ['10*2=20']
Exploring Operation: 39-20=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 17:[2, 19] Operation: 39-20=19
Moving to Node #0,1,0
Current State: 17:[2, 19], Operations: ['10*2=20', '39-20=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
16,
79,
79,
29
] | 16 | [
"79-79=0",
"29*0=0",
"16+0=16"
] | Current State: 16:[16, 79, 79, 29], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [16, 29, 0]
Generated Node #2: [16, 29, 0] from Operation: 79-79=0
Current State: 16:[16, 29, 0], Operations: ['79-79=0']
Exploring Operation: 29*0=0, Resulting Numbers: [16, 0]
Generated Node #3: [16, 0] from Operation: 29*0=0
Current State: 16:[16, 0], Operations: ['79-79=0', '29*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[16, 79, 79, 29], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [16, 29, 0]
Generated Node #0,0: 16:[16, 29, 0] Operation: 79-79=0
Exploring Operation: 79-29=50, Resulting Numbers: [16, 79, 50]
Generated Node #0,1: 16:[16, 79, 50] Operation: 79-29=50
Exploring Operation: 79/79=1, Resulting Numbers: [16, 29, 1]
Generated Node #0,2: 16:[16, 29, 1] Operation: 79/79=1
Moving to Node #0,2
Current State: 16:[16, 29, 1], Operations: ['79/79=1']
Exploring Operation: 16*1=16, Resulting Numbers: [29, 16]
Generated Node #0,2,0: 16:[29, 16] Operation: 16*1=16
Exploring Operation: 29-16=13, Resulting Numbers: [1, 13]
Generated Node #0,2,1: 16:[1, 13] Operation: 29-16=13
Exploring Operation: 29-1=28, Resulting Numbers: [16, 28]
Generated Node #0,2,2: 16:[16, 28] Operation: 29-1=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[1, 13], Operations: ['79/79=1', '29-16=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[16, 28], Operations: ['79/79=1', '29-1=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,16 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[29, 16], Operations: ['79/79=1', '16*1=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[16, 29, 0], Operations: ['79-79=0']
Exploring Operation: 29-16=13, Resulting Numbers: [0, 13]
Generated Node #0,0,0: 16:[0, 13] Operation: 29-16=13
Exploring Operation: 16+0=16, Resulting Numbers: [29, 16]
Generated Node #0,0,1: 16:[29, 16] Operation: 16+0=16
Exploring Operation: 29*0=0, Resulting Numbers: [16, 0]
Generated Node #0,0,2: 16:[16, 0] Operation: 29*0=0
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[16, 0], Operations: ['79-79=0', '29*0=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[16, 79, 79, 29], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [16, 29, 0]
Generated Node #0,0: 16:[16, 29, 0] Operation: 79-79=0
Moving to Node #0,0
Current State: 16:[16, 29, 0], Operations: ['79-79=0']
Exploring Operation: 29*0=0, Resulting Numbers: [16, 0]
Generated Node #0,0,2: 16:[16, 0] Operation: 29*0=0
Moving to Node #0,0,2
Current State: 16:[16, 0], Operations: ['79-79=0', '29*0=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
14,
24,
20,
14
] | 43 | [
"14/14=1",
"24+20=44",
"44-1=43"
] | Current State: 43:[14, 24, 20, 14], Operations: []
Exploring Operation: 14/14=1, Resulting Numbers: [24, 20, 1]
Generated Node #2: [24, 20, 1] from Operation: 14/14=1
Current State: 43:[24, 20, 1], Operations: ['14/14=1']
Exploring Operation: 24+20=44, Resulting Numbers: [1, 44]
Generated Node #3: [1, 44] from Operation: 24+20=44
Current State: 43:[1, 44], Operations: ['14/14=1', '24+20=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[14, 24, 20, 14], Operations: []
Exploring Operation: 14+20=34, Resulting Numbers: [24, 14, 34]
Generated Node #0,0: 43:[24, 14, 34] Operation: 14+20=34
Exploring Operation: 20+14=34, Resulting Numbers: [14, 24, 34]
Generated Node #0,1: 43:[14, 24, 34] Operation: 20+14=34
Exploring Operation: 24+14=38, Resulting Numbers: [14, 20, 38]
Generated Node #0,2: 43:[14, 20, 38] Operation: 24+14=38
Exploring Operation: 14+24=38, Resulting Numbers: [20, 14, 38]
Generated Node #0,3: 43:[20, 14, 38] Operation: 14+24=38
Exploring Operation: 14+14=28, Resulting Numbers: [24, 20, 28]
Generated Node #0,4: 43:[24, 20, 28] Operation: 14+14=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[24, 14, 34], Operations: ['14+20=34']
Exploring Operation: 14+34=48, Resulting Numbers: [24, 48]
Generated Node #0,0,0: 43:[24, 48] Operation: 14+34=48
Exploring Operation: 24+34=58, Resulting Numbers: [14, 58]
Generated Node #0,0,1: 43:[14, 58] Operation: 24+34=58
Exploring Operation: 34-14=20, Resulting Numbers: [24, 20]
Generated Node #0,0,2: 43:[24, 20] Operation: 34-14=20
Exploring Operation: 24+14=38, Resulting Numbers: [34, 38]
Generated Node #0,0,3: 43:[34, 38] Operation: 24+14=38
Exploring Operation: 24-14=10, Resulting Numbers: [34, 10]
Generated Node #0,0,4: 43:[34, 10] Operation: 24-14=10
Moving to Node #0,0,3
Current State: 43:[34, 38], Operations: ['14+20=34', '24+14=38']
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[24, 48], Operations: ['14+20=34', '14+34=48']
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[24, 20], Operations: ['14+20=34', '34-14=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[34, 10], Operations: ['14+20=34', '24-14=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,43 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[14, 58], Operations: ['14+20=34', '24+34=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,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:[14, 24, 34], Operations: ['20+14=34']
Exploring Operation: 34-14=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 43:[24, 20] Operation: 34-14=20
Exploring Operation: 14+34=48, Resulting Numbers: [24, 48]
Generated Node #0,1,1: 43:[24, 48] Operation: 14+34=48
Exploring Operation: 24-14=10, Resulting Numbers: [34, 10]
Generated Node #0,1,2: 43:[34, 10] Operation: 24-14=10
Exploring Operation: 14+24=38, Resulting Numbers: [34, 38]
Generated Node #0,1,3: 43:[34, 38] Operation: 14+24=38
Exploring Operation: 24+34=58, Resulting Numbers: [14, 58]
Generated Node #0,1,4: 43:[14, 58] Operation: 24+34=58
Moving to Node #0,1,3
Current State: 43:[34, 38], Operations: ['20+14=34', '14+24=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[24, 48], Operations: ['20+14=34', '14+34=48']
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[24, 20], Operations: ['20+14=34', '34-14=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[34, 10], Operations: ['20+14=34', '24-14=10']
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,43 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[14, 58], Operations: ['20+14=34', '24+34=58']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[14, 20, 38], Operations: ['24+14=38']
Exploring Operation: 20-14=6, Resulting Numbers: [38, 6]
Generated Node #0,2,0: 43:[38, 6] Operation: 20-14=6
Exploring Operation: 14+38=52, Resulting Numbers: [20, 52]
Generated Node #0,2,1: 43:[20, 52] Operation: 14+38=52
Exploring Operation: 38-14=24, Resulting Numbers: [20, 24]
Generated Node #0,2,2: 43:[20, 24] Operation: 38-14=24
Exploring Operation: 14+20=34, Resulting Numbers: [38, 34]
Generated Node #0,2,3: 43:[38, 34] Operation: 14+20=34
Exploring Operation: 20+38=58, Resulting Numbers: [14, 58]
Generated Node #0,2,4: 43:[14, 58] Operation: 20+38=58
Moving to Node #0,2,3
Current State: 43:[38, 34], Operations: ['24+14=38', '14+20=34']
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[20, 52], Operations: ['24+14=38', '14+38=52']
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[38, 6], Operations: ['24+14=38', '20-14=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,43 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[20, 24], Operations: ['24+14=38', '38-14=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[14, 58], Operations: ['24+14=38', '20+38=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,43 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[20, 14, 38], Operations: ['14+24=38']
Exploring Operation: 38-14=24, Resulting Numbers: [20, 24]
Generated Node #0,3,0: 43:[20, 24] Operation: 38-14=24
Exploring Operation: 20-14=6, Resulting Numbers: [38, 6]
Generated Node #0,3,1: 43:[38, 6] Operation: 20-14=6
Exploring Operation: 20+38=58, Resulting Numbers: [14, 58]
Generated Node #0,3,2: 43:[14, 58] Operation: 20+38=58
Exploring Operation: 14+38=52, Resulting Numbers: [20, 52]
Generated Node #0,3,3: 43:[20, 52] Operation: 14+38=52
Exploring Operation: 20+14=34, Resulting Numbers: [38, 34]
Generated Node #0,3,4: 43:[38, 34] Operation: 20+14=34
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[38, 34], Operations: ['14+24=38', '20+14=34']
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[20, 52], Operations: ['14+24=38', '14+38=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[20, 24], Operations: ['14+24=38', '38-14=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[38, 6], Operations: ['14+24=38', '20-14=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,43 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[14, 58], Operations: ['14+24=38', '20+38=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,43 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[24, 20, 28], Operations: ['14+14=28']
Exploring Operation: 24-20=4, Resulting Numbers: [28, 4]
Generated Node #0,4,0: 43:[28, 4] Operation: 24-20=4
Exploring Operation: 28-20=8, Resulting Numbers: [24, 8]
Generated Node #0,4,1: 43:[24, 8] Operation: 28-20=8
Exploring Operation: 20+28=48, Resulting Numbers: [24, 48]
Generated Node #0,4,2: 43:[24, 48] Operation: 20+28=48
Exploring Operation: 24+28=52, Resulting Numbers: [20, 52]
Generated Node #0,4,3: 43:[20, 52] Operation: 24+28=52
Exploring Operation: 24+20=44, Resulting Numbers: [28, 44]
Generated Node #0,4,4: 43:[28, 44] Operation: 24+20=44
Moving to Node #0,4,4
Current State: 43:[28, 44], Operations: ['14+14=28', '24+20=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[24, 48], Operations: ['14+14=28', '20+28=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,43 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[20, 52], Operations: ['14+14=28', '24+28=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[28, 4], Operations: ['14+14=28', '24-20=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[24, 8], Operations: ['14+14=28', '28-20=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,43 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,43 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 |
[
58,
81,
41,
94
] | 76 | [
"81-58=23",
"94-41=53",
"23+53=76"
] | Current State: 76:[58, 81, 41, 94], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [41, 94, 23]
Generated Node #2: [41, 94, 23] from Operation: 81-58=23
Current State: 76:[41, 94, 23], Operations: ['81-58=23']
Exploring Operation: 94-41=53, Resulting Numbers: [23, 53]
Generated Node #3: [23, 53] from Operation: 94-41=53
Current State: 76:[23, 53], Operations: ['81-58=23', '94-41=53']
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[58, 81, 41, 94], Operations: []
Exploring Operation: 81-41=40, Resulting Numbers: [58, 94, 40]
Generated Node #0,0: 76:[58, 94, 40] Operation: 81-41=40
Exploring Operation: 81-58=23, Resulting Numbers: [41, 94, 23]
Generated Node #0,1: 76:[41, 94, 23] Operation: 81-58=23
Exploring Operation: 94-58=36, Resulting Numbers: [81, 41, 36]
Generated Node #0,2: 76:[81, 41, 36] Operation: 94-58=36
Exploring Operation: 58-41=17, Resulting Numbers: [81, 94, 17]
Generated Node #0,3: 76:[81, 94, 17] Operation: 58-41=17
Exploring Operation: 94-81=13, Resulting Numbers: [58, 41, 13]
Generated Node #0,4: 76:[58, 41, 13] Operation: 94-81=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[81, 41, 36], Operations: ['94-58=36']
Exploring Operation: 81+36=117, Resulting Numbers: [41, 117]
Generated Node #0,2,0: 76:[41, 117] Operation: 81+36=117
Exploring Operation: 81-36=45, Resulting Numbers: [41, 45]
Generated Node #0,2,1: 76:[41, 45] Operation: 81-36=45
Exploring Operation: 81-41=40, Resulting Numbers: [36, 40]
Generated Node #0,2,2: 76:[36, 40] Operation: 81-41=40
Exploring Operation: 41+36=77, Resulting Numbers: [81, 77]
Generated Node #0,2,3: 76:[81, 77] Operation: 41+36=77
Exploring Operation: 41-36=5, Resulting Numbers: [81, 5]
Generated Node #0,2,4: 76:[81, 5] Operation: 41-36=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[36, 40], Operations: ['94-58=36', '81-41=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[58, 81, 41, 94], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [81, 41, 36]
Generated Node #0,2: 76:[81, 41, 36] Operation: 94-58=36
Moving to Node #0,2
Current State: 76:[81, 41, 36], Operations: ['94-58=36']
Exploring Operation: 81-41=40, Resulting Numbers: [36, 40]
Generated Node #0,2,2: 76:[36, 40] Operation: 81-41=40
Moving to Node #0,2,2
Current State: 76:[36, 40], Operations: ['94-58=36', '81-41=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
49,
18,
31,
86
] | 29 | [
"49*31=1519",
"18*86=1548",
"1548-1519=29"
] | Current State: 29:[49, 18, 31, 86], Operations: []
Exploring Operation: 49*31=1519, Resulting Numbers: [18, 86, 1519]
Generated Node #2: [18, 86, 1519] from Operation: 49*31=1519
Current State: 29:[18, 86, 1519], Operations: ['49*31=1519']
Exploring Operation: 18*86=1548, Resulting Numbers: [1519, 1548]
Generated Node #3: [1519, 1548] from Operation: 18*86=1548
Current State: 29:[1519, 1548], Operations: ['49*31=1519', '18*86=1548']
Exploring Operation: 1548-1519=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[49, 18, 31, 86], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [18, 31, 37]
Generated Node #0,0: 29:[18, 31, 37] Operation: 86-49=37
Exploring Operation: 86-31=55, Resulting Numbers: [49, 18, 55]
Generated Node #0,1: 29:[49, 18, 55] Operation: 86-31=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[18, 31, 37], Operations: ['86-49=37']
Exploring Operation: 31-18=13, Resulting Numbers: [37, 13]
Generated Node #0,0,0: 29:[37, 13] Operation: 31-18=13
Exploring Operation: 37-18=19, Resulting Numbers: [31, 19]
Generated Node #0,0,1: 29:[31, 19] Operation: 37-18=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[31, 19], Operations: ['86-49=37', '37-18=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No 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: 29:[37, 13], Operations: ['86-49=37', '31-18=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[49, 18, 55], Operations: ['86-31=55']
Exploring Operation: 55-18=37, Resulting Numbers: [49, 37]
Generated Node #0,1,0: 29:[49, 37] Operation: 55-18=37
Exploring Operation: 49-18=31, Resulting Numbers: [55, 31]
Generated Node #0,1,1: 29:[55, 31] Operation: 49-18=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[49, 37], Operations: ['86-31=55', '55-18=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,29 unequal: No Solution
No 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: 29:[55, 31], Operations: ['86-31=55', '49-18=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,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_2 | sum_heuristic |
[
23,
52,
15,
13
] | 47 | [
"23+52=75",
"15+13=28",
"75-28=47"
] | Current State: 47:[23, 52, 15, 13], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [15, 13, 75]
Generated Node #2: [15, 13, 75] from Operation: 23+52=75
Current State: 47:[15, 13, 75], Operations: ['23+52=75']
Exploring Operation: 15+13=28, Resulting Numbers: [75, 28]
Generated Node #3: [75, 28] from Operation: 15+13=28
Current State: 47:[75, 28], Operations: ['23+52=75', '15+13=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[23, 52, 15, 13], Operations: []
Exploring Operation: 23+13=36, Resulting Numbers: [52, 15, 36]
Generated Node #0,0: 47:[52, 15, 36] Operation: 23+13=36
Exploring Operation: 23+15=38, Resulting Numbers: [52, 13, 38]
Generated Node #0,1: 47:[52, 13, 38] Operation: 23+15=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[52, 15, 36], Operations: ['23+13=36']
Exploring Operation: 52-15=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 47:[36, 37] Operation: 52-15=37
Exploring Operation: 15+36=51, Resulting Numbers: [52, 51]
Generated Node #0,0,1: 47:[52, 51] Operation: 15+36=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[52, 51], Operations: ['23+13=36', '15+36=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[36, 37], Operations: ['23+13=36', '52-15=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[52, 13, 38], Operations: ['23+15=38']
Exploring Operation: 52-13=39, Resulting Numbers: [38, 39]
Generated Node #0,1,0: 47:[38, 39] Operation: 52-13=39
Exploring Operation: 13+38=51, Resulting Numbers: [52, 51]
Generated Node #0,1,1: 47:[52, 51] Operation: 13+38=51
Moving to Node #0,1,1
Current State: 47:[52, 51], Operations: ['23+15=38', '13+38=51']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[38, 39], Operations: ['23+15=38', '52-13=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,47 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 |
[
69,
7,
91,
39
] | 72 | [
"91/7=13",
"39/13=3",
"69+3=72"
] | Current State: 72:[69, 7, 91, 39], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [69, 39, 13]
Generated Node #2: [69, 39, 13] from Operation: 91/7=13
Current State: 72:[69, 39, 13], Operations: ['91/7=13']
Exploring Operation: 39/13=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 39/13=3
Current State: 72:[69, 3], Operations: ['91/7=13', '39/13=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[69, 7, 91, 39], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [7, 39, 22]
Generated Node #0,0: 72:[7, 39, 22] Operation: 91-69=22
Exploring Operation: 91/7=13, Resulting Numbers: [69, 39, 13]
Generated Node #0,1: 72:[69, 39, 13] Operation: 91/7=13
Moving to Node #0,0
Current State: 72:[7, 39, 22], Operations: ['91-69=22']
Exploring Operation: 39-22=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 72:[7, 17] Operation: 39-22=17
Exploring Operation: 39-7=32, Resulting Numbers: [22, 32]
Generated Node #0,0,1: 72:[22, 32] Operation: 39-7=32
Moving to Node #0,1
Current State: 72:[69, 39, 13], Operations: ['91/7=13']
Exploring Operation: 39/13=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 72:[69, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [69, 26]
Generated Node #0,1,1: 72:[69, 26] Operation: 39-13=26
Moving to Node #0,0,0
Current State: 72:[7, 17], Operations: ['91-69=22', '39-22=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[69, 3], Operations: ['91/7=13', '39/13=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[69, 7, 91, 39], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [69, 39, 13]
Generated Node #0,1: 72:[69, 39, 13] Operation: 91/7=13
Moving to Node #0,1
Current State: 72:[69, 39, 13], Operations: ['91/7=13']
Exploring Operation: 39/13=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 72:[69, 3] Operation: 39/13=3
Moving to Node #0,1,0
Current State: 72:[69, 3], Operations: ['91/7=13', '39/13=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
29,
17,
55,
84
] | 18 | [
"29+55=84",
"84/84=1",
"17+1=18"
] | Current State: 18:[29, 17, 55, 84], Operations: []
Exploring Operation: 29+55=84, Resulting Numbers: [17, 84, 84]
Generated Node #2: [17, 84, 84] from Operation: 29+55=84
Current State: 18:[17, 84, 84], Operations: ['29+55=84']
Exploring Operation: 84/84=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 84/84=1
Current State: 18:[17, 1], Operations: ['29+55=84', '84/84=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[29, 17, 55, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [29, 17, 29]
Generated Node #0,0: 18:[29, 17, 29] Operation: 84-55=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[29, 17, 29], Operations: ['84-55=29']
Exploring Operation: 29/29=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 29/29=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['84-55=29', '29/29=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[29, 17, 55, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [29, 17, 29]
Generated Node #0,0: 18:[29, 17, 29] Operation: 84-55=29
Moving to Node #0,0
Current State: 18:[29, 17, 29], Operations: ['84-55=29']
Exploring Operation: 29/29=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 29/29=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['84-55=29', '29/29=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
1,
4,
36,
23
] | 14 | [
"1*4=4",
"36/4=9",
"23-9=14"
] | Current State: 14:[1, 4, 36, 23], Operations: []
Exploring Operation: 1*4=4, Resulting Numbers: [36, 23, 4]
Generated Node #2: [36, 23, 4] from Operation: 1*4=4
Current State: 14:[36, 23, 4], Operations: ['1*4=4']
Exploring Operation: 36/4=9, Resulting Numbers: [23, 9]
Generated Node #3: [23, 9] from Operation: 36/4=9
Current State: 14:[23, 9], Operations: ['1*4=4', '36/4=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[1, 4, 36, 23], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [1, 4, 13]
Generated Node #0,0: 14:[1, 4, 13] Operation: 36-23=13
Moving to Node #0,0
Current State: 14:[1, 4, 13], Operations: ['36-23=13']
Exploring Operation: 4-1=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 14:[13, 3] Operation: 4-1=3
Moving to Node #0,0,0
Current State: 14:[13, 3], Operations: ['36-23=13', '4-1=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,14 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
68,
58,
14
] | 86 | [
"70-68=2",
"14*2=28",
"58+28=86"
] | Current State: 86:[70, 68, 58, 14], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [58, 14, 2]
Generated Node #2: [58, 14, 2] from Operation: 70-68=2
Current State: 86:[58, 14, 2], Operations: ['70-68=2']
Exploring Operation: 14*2=28, Resulting Numbers: [58, 28]
Generated Node #3: [58, 28] from Operation: 14*2=28
Current State: 86:[58, 28], Operations: ['70-68=2', '14*2=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[70, 68, 58, 14], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [58, 14, 2]
Generated Node #0,0: 86:[58, 14, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[58, 14, 2], Operations: ['70-68=2']
Exploring Operation: 58-14=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 86:[2, 44] Operation: 58-14=44
Moving to Node #0,0,0
Current State: 86:[2, 44], Operations: ['70-68=2', '58-14=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,86 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 |
[
54,
66,
7,
82
] | 87 | [
"66-54=12",
"82-7=75",
"12+75=87"
] | Current State: 87:[54, 66, 7, 82], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [7, 82, 12]
Generated Node #2: [7, 82, 12] from Operation: 66-54=12
Current State: 87:[7, 82, 12], Operations: ['66-54=12']
Exploring Operation: 82-7=75, Resulting Numbers: [12, 75]
Generated Node #3: [12, 75] from Operation: 82-7=75
Current State: 87:[12, 75], Operations: ['66-54=12', '82-7=75']
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[54, 66, 7, 82], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [7, 82, 12]
Generated Node #0,0: 87:[7, 82, 12] Operation: 66-54=12
Moving to Node #0,0
Current State: 87:[7, 82, 12], Operations: ['66-54=12']
Exploring Operation: 12-7=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 87:[82, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[82, 5], Operations: ['66-54=12', '12-7=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[54, 66, 7, 82], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [7, 82, 12]
Generated Node #0,0: 87:[7, 82, 12] Operation: 66-54=12
Moving to Node #0,0
Current State: 87:[7, 82, 12], Operations: ['66-54=12']
Exploring Operation: 12-7=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 87:[82, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 87:[82, 5], Operations: ['66-54=12', '12-7=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
34,
11,
25
] | 53 | [
"5+34=39",
"25-11=14",
"39+14=53"
] | Current State: 53:[5, 34, 11, 25], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [11, 25, 39]
Generated Node #2: [11, 25, 39] from Operation: 5+34=39
Current State: 53:[11, 25, 39], Operations: ['5+34=39']
Exploring Operation: 25-11=14, Resulting Numbers: [39, 14]
Generated Node #3: [39, 14] from Operation: 25-11=14
Current State: 53:[39, 14], Operations: ['5+34=39', '25-11=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[5, 34, 11, 25], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [34, 25, 55]
Generated Node #0,0: 53:[34, 25, 55] Operation: 5*11=55
Exploring Operation: 5+34=39, Resulting Numbers: [11, 25, 39]
Generated Node #0,1: 53:[11, 25, 39] Operation: 5+34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[34, 25, 55], Operations: ['5*11=55']
Exploring Operation: 34+25=59, Resulting Numbers: [55, 59]
Generated Node #0,0,0: 53:[55, 59] Operation: 34+25=59
Exploring Operation: 55-25=30, Resulting Numbers: [34, 30]
Generated Node #0,0,1: 53:[34, 30] Operation: 55-25=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[55, 59], Operations: ['5*11=55', '34+25=59']
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No 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: 53:[34, 30], Operations: ['5*11=55', '55-25=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[11, 25, 39], Operations: ['5+34=39']
Exploring Operation: 11+39=50, Resulting Numbers: [25, 50]
Generated Node #0,1,0: 53:[25, 50] Operation: 11+39=50
Exploring Operation: 11+25=36, Resulting Numbers: [39, 36]
Generated Node #0,1,1: 53:[39, 36] Operation: 11+25=36
Moving to Node #0,1,0
Current State: 53:[25, 50], Operations: ['5+34=39', '11+39=50']
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[39, 36], Operations: ['5+34=39', '11+25=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,53 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 |
[
54,
10,
26,
51
] | 88 | [
"54-51=3",
"26*3=78",
"10+78=88"
] | Current State: 88:[54, 10, 26, 51], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [10, 26, 3]
Generated Node #2: [10, 26, 3] from Operation: 54-51=3
Current State: 88:[10, 26, 3], Operations: ['54-51=3']
Exploring Operation: 26*3=78, Resulting Numbers: [10, 78]
Generated Node #3: [10, 78] from Operation: 26*3=78
Current State: 88:[10, 78], Operations: ['54-51=3', '26*3=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[54, 10, 26, 51], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [10, 26, 3]
Generated Node #0,0: 88:[10, 26, 3] Operation: 54-51=3
Moving to Node #0,0
Current State: 88:[10, 26, 3], Operations: ['54-51=3']
Exploring Operation: 26-3=23, Resulting Numbers: [10, 23]
Generated Node #0,0,0: 88:[10, 23] Operation: 26-3=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[10, 23], Operations: ['54-51=3', '26-3=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,88 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 |
[
53,
8,
5,
7
] | 37 | [
"7-5=2",
"8*2=16",
"53-16=37"
] | Current State: 37:[53, 8, 5, 7], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [53, 8, 2]
Generated Node #2: [53, 8, 2] from Operation: 7-5=2
Current State: 37:[53, 8, 2], Operations: ['7-5=2']
Exploring Operation: 8*2=16, Resulting Numbers: [53, 16]
Generated Node #3: [53, 16] from Operation: 8*2=16
Current State: 37:[53, 16], Operations: ['7-5=2', '8*2=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 8, 5, 7], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [5, 7, 45]
Generated Node #0,0: 37:[5, 7, 45] Operation: 53-8=45
Exploring Operation: 8*5=40, Resulting Numbers: [53, 7, 40]
Generated Node #0,1: 37:[53, 7, 40] Operation: 8*5=40
Exploring Operation: 5*7=35, Resulting Numbers: [53, 8, 35]
Generated Node #0,2: 37:[53, 8, 35] Operation: 5*7=35
Exploring Operation: 8*7=56, Resulting Numbers: [53, 5, 56]
Generated Node #0,3: 37:[53, 5, 56] Operation: 8*7=56
Exploring Operation: 53-5=48, Resulting Numbers: [8, 7, 48]
Generated Node #0,4: 37:[8, 7, 48] Operation: 53-5=48
Moving to Node #0,2
Current State: 37:[53, 8, 35], Operations: ['5*7=35']
Exploring Operation: 35-8=27, Resulting Numbers: [53, 27]
Generated Node #0,2,0: 37:[53, 27] Operation: 35-8=27
Exploring Operation: 53-35=18, Resulting Numbers: [8, 18]
Generated Node #0,2,1: 37:[8, 18] Operation: 53-35=18
Exploring Operation: 53+8=61, Resulting Numbers: [35, 61]
Generated Node #0,2,2: 37:[35, 61] Operation: 53+8=61
Exploring Operation: 53-8=45, Resulting Numbers: [35, 45]
Generated Node #0,2,3: 37:[35, 45] Operation: 53-8=45
Exploring Operation: 8+35=43, Resulting Numbers: [53, 43]
Generated Node #0,2,4: 37:[53, 43] Operation: 8+35=43
Moving to Node #0,1
Current State: 37:[53, 7, 40], Operations: ['8*5=40']
Exploring Operation: 53+7=60, Resulting Numbers: [40, 60]
Generated Node #0,1,0: 37:[40, 60] Operation: 53+7=60
Exploring Operation: 53-7=46, Resulting Numbers: [40, 46]
Generated Node #0,1,1: 37:[40, 46] Operation: 53-7=46
Exploring Operation: 40-7=33, Resulting Numbers: [53, 33]
Generated Node #0,1,2: 37:[53, 33] Operation: 40-7=33
Exploring Operation: 53-40=13, Resulting Numbers: [7, 13]
Generated Node #0,1,3: 37:[7, 13] Operation: 53-40=13
Exploring Operation: 7+40=47, Resulting Numbers: [53, 47]
Generated Node #0,1,4: 37:[53, 47] Operation: 7+40=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[40, 46], Operations: ['8*5=40', '53-7=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,37 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[53, 33], Operations: ['8*5=40', '40-7=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[40, 60], Operations: ['8*5=40', '53+7=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,37 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 37:[53, 47], Operations: ['8*5=40', '7+40=47']
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,37 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 37:[7, 13], Operations: ['8*5=40', '53-40=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 37:[53, 5, 56], Operations: ['8*7=56']
Exploring Operation: 56-53=3, Resulting Numbers: [5, 3]
Generated Node #0,3,0: 37:[5, 3] Operation: 56-53=3
Exploring Operation: 5+56=61, Resulting Numbers: [53, 61]
Generated Node #0,3,1: 37:[53, 61] Operation: 5+56=61
Exploring Operation: 53+5=58, Resulting Numbers: [56, 58]
Generated Node #0,3,2: 37:[56, 58] Operation: 53+5=58
Exploring Operation: 53-5=48, Resulting Numbers: [56, 48]
Generated Node #0,3,3: 37:[56, 48] Operation: 53-5=48
Exploring Operation: 56-5=51, Resulting Numbers: [53, 51]
Generated Node #0,3,4: 37:[53, 51] Operation: 56-5=51
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[56, 48], Operations: ['8*7=56', '53-5=48']
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,37 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 37:[53, 51], Operations: ['8*7=56', '56-5=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,37 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,37 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[53, 61], Operations: ['8*7=56', '5+56=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[56, 58], Operations: ['8*7=56', '53+5=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,37 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[5, 3], Operations: ['8*7=56', '56-53=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 37:[5, 7, 45], Operations: ['53-8=45']
Exploring Operation: 7-5=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 37:[45, 2] Operation: 7-5=2
Exploring Operation: 45-7=38, Resulting Numbers: [5, 38]
Generated Node #0,0,1: 37:[5, 38] Operation: 45-7=38
Exploring Operation: 5+7=12, Resulting Numbers: [45, 12]
Generated Node #0,0,2: 37:[45, 12] Operation: 5+7=12
Exploring Operation: 45-5=40, Resulting Numbers: [7, 40]
Generated Node #0,0,3: 37:[7, 40] Operation: 45-5=40
Exploring Operation: 5*7=35, Resulting Numbers: [45, 35]
Generated Node #0,0,4: 37:[45, 35] Operation: 5*7=35
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 37:[45, 35], Operations: ['53-8=45', '5*7=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,37 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[5, 38], Operations: ['53-8=45', '45-7=38']
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,37 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[45, 12], Operations: ['53-8=45', '5+7=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[7, 40], Operations: ['53-8=45', '45-5=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[45, 2], Operations: ['53-8=45', '7-5=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,37 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: 37:[8, 7, 48], Operations: ['53-5=48']
Exploring Operation: 8+7=15, Resulting Numbers: [48, 15]
Generated Node #0,4,0: 37:[48, 15] Operation: 8+7=15
Exploring Operation: 48-8=40, Resulting Numbers: [7, 40]
Generated Node #0,4,1: 37:[7, 40] Operation: 48-8=40
Exploring Operation: 8-7=1, Resulting Numbers: [48, 1]
Generated Node #0,4,2: 37:[48, 1] Operation: 8-7=1
Exploring Operation: 48-7=41, Resulting Numbers: [8, 41]
Generated Node #0,4,3: 37:[8, 41] Operation: 48-7=41
Exploring Operation: 8*7=56, Resulting Numbers: [48, 56]
Generated Node #0,4,4: 37:[48, 56] Operation: 8*7=56
Moving to Node #0,2,3
Current State: 37:[35, 45], Operations: ['5*7=35', '53-8=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,37 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[53, 43], Operations: ['5*7=35', '8+35=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[53, 27], Operations: ['5*7=35', '35-8=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,37 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[35, 61], Operations: ['5*7=35', '53+8=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[48, 56], Operations: ['53-5=48', '8*7=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,37 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,37 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[48, 15], Operations: ['53-5=48', '8+7=15']
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,37 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[8, 41], Operations: ['53-5=48', '48-7=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,37 unequal: No Solution
Moving to Node #0,4,1
Current State: 37:[7, 40], Operations: ['53-5=48', '48-8=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[48, 1], Operations: ['53-5=48', '8-7=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[8, 18], Operations: ['5*7=35', '53-35=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,37 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,37 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
15,
17,
64
] | 35 | [
"15-3=12",
"64-17=47",
"47-12=35"
] | Current State: 35:[3, 15, 17, 64], Operations: []
Exploring Operation: 15-3=12, Resulting Numbers: [17, 64, 12]
Generated Node #2: [17, 64, 12] from Operation: 15-3=12
Current State: 35:[17, 64, 12], Operations: ['15-3=12']
Exploring Operation: 64-17=47, Resulting Numbers: [12, 47]
Generated Node #3: [12, 47] from Operation: 64-17=47
Current State: 35:[12, 47], Operations: ['15-3=12', '64-17=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[3, 15, 17, 64], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [3, 17, 49]
Generated Node #0,0: 35:[3, 17, 49] Operation: 64-15=49
Exploring Operation: 15+17=32, Resulting Numbers: [3, 64, 32]
Generated Node #0,1: 35:[3, 64, 32] Operation: 15+17=32
Exploring Operation: 64-17=47, Resulting Numbers: [3, 15, 47]
Generated Node #0,2: 35:[3, 15, 47] Operation: 64-17=47
Exploring Operation: 17-15=2, Resulting Numbers: [3, 64, 2]
Generated Node #0,3: 35:[3, 64, 2] Operation: 17-15=2
Exploring Operation: 15/3=5, Resulting Numbers: [17, 64, 5]
Generated Node #0,4: 35:[17, 64, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[3, 15, 47], Operations: ['64-17=47']
Exploring Operation: 47-15=32, Resulting Numbers: [3, 32]
Generated Node #0,2,0: 35:[3, 32] Operation: 47-15=32
Exploring Operation: 15-3=12, Resulting Numbers: [47, 12]
Generated Node #0,2,1: 35:[47, 12] Operation: 15-3=12
Exploring Operation: 3*15=45, Resulting Numbers: [47, 45]
Generated Node #0,2,2: 35:[47, 45] Operation: 3*15=45
Exploring Operation: 15/3=5, Resulting Numbers: [47, 5]
Generated Node #0,2,3: 35:[47, 5] Operation: 15/3=5
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,2,4: 35:[15, 44] Operation: 47-3=44
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[3, 32], Operations: ['64-17=47', '47-15=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[3, 15, 17, 64], Operations: []
Exploring Operation: 64-17=47, Resulting Numbers: [3, 15, 47]
Generated Node #0,2: 35:[3, 15, 47] Operation: 64-17=47
Moving to Node #0,2
Current State: 35:[3, 15, 47], Operations: ['64-17=47']
Exploring Operation: 47-15=32, Resulting Numbers: [3, 32]
Generated Node #0,2,0: 35:[3, 32] Operation: 47-15=32
Moving to Node #0,2,0
Current State: 35:[3, 32], Operations: ['64-17=47', '47-15=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
14,
39,
75,
20
] | 19 | [
"20-14=6",
"39+75=114",
"114/6=19"
] | Current State: 19:[14, 39, 75, 20], Operations: []
Exploring Operation: 20-14=6, Resulting Numbers: [39, 75, 6]
Generated Node #2: [39, 75, 6] from Operation: 20-14=6
Current State: 19:[39, 75, 6], Operations: ['20-14=6']
Exploring Operation: 39+75=114, Resulting Numbers: [6, 114]
Generated Node #3: [6, 114] from Operation: 39+75=114
Current State: 19:[6, 114], Operations: ['20-14=6', '39+75=114']
Exploring Operation: 114/6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[14, 39, 75, 20], Operations: []
Exploring Operation: 39-20=19, Resulting Numbers: [14, 75, 19]
Generated Node #0,0: 19:[14, 75, 19] Operation: 39-20=19
Exploring Operation: 75-39=36, Resulting Numbers: [14, 20, 36]
Generated Node #0,1: 19:[14, 20, 36] Operation: 75-39=36
Exploring Operation: 75-14=61, Resulting Numbers: [39, 20, 61]
Generated Node #0,2: 19:[39, 20, 61] Operation: 75-14=61
Exploring Operation: 75-20=55, Resulting Numbers: [14, 39, 55]
Generated Node #0,3: 19:[14, 39, 55] Operation: 75-20=55
Exploring Operation: 39-14=25, Resulting Numbers: [75, 20, 25]
Generated Node #0,4: 19:[75, 20, 25] Operation: 39-14=25
Moving to Node #0,1
Current State: 19:[14, 20, 36], Operations: ['75-39=36']
Exploring Operation: 36-20=16, Resulting Numbers: [14, 16]
Generated Node #0,1,0: 19:[14, 16] Operation: 36-20=16
Exploring Operation: 14+36=50, Resulting Numbers: [20, 50]
Generated Node #0,1,1: 19:[20, 50] Operation: 14+36=50
Exploring Operation: 14+20=34, Resulting Numbers: [36, 34]
Generated Node #0,1,2: 19:[36, 34] Operation: 14+20=34
Exploring Operation: 20-14=6, Resulting Numbers: [36, 6]
Generated Node #0,1,3: 19:[36, 6] Operation: 20-14=6
Exploring Operation: 36-14=22, Resulting Numbers: [20, 22]
Generated Node #0,1,4: 19:[20, 22] Operation: 36-14=22
Moving to Node #0,3
Current State: 19:[14, 39, 55], Operations: ['75-20=55']
Exploring Operation: 14+39=53, Resulting Numbers: [55, 53]
Generated Node #0,3,0: 19:[55, 53] Operation: 14+39=53
Exploring Operation: 14+55=69, Resulting Numbers: [39, 69]
Generated Node #0,3,1: 19:[39, 69] Operation: 14+55=69
Exploring Operation: 55-39=16, Resulting Numbers: [14, 16]
Generated Node #0,3,2: 19:[14, 16] Operation: 55-39=16
Exploring Operation: 55-14=41, Resulting Numbers: [39, 41]
Generated Node #0,3,3: 19:[39, 41] Operation: 55-14=41
Exploring Operation: 39-14=25, Resulting Numbers: [55, 25]
Generated Node #0,3,4: 19:[55, 25] Operation: 39-14=25
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[14, 16], Operations: ['75-20=55', '55-39=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,19 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[39, 41], Operations: ['75-20=55', '55-14=41']
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,19 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[55, 25], Operations: ['75-20=55', '39-14=25']
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,19 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[55, 53], Operations: ['75-20=55', '14+39=53']
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,19 unequal: No Solution
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[39, 69], Operations: ['75-20=55', '14+55=69']
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,19 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,19 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: 19:[14, 75, 19], Operations: ['39-20=19']
Exploring Operation: 75-19=56, Resulting Numbers: [14, 56]
Generated Node #0,0,0: 19:[14, 56] Operation: 75-19=56
Exploring Operation: 75-14=61, Resulting Numbers: [19, 61]
Generated Node #0,0,1: 19:[19, 61] Operation: 75-14=61
Exploring Operation: 14+75=89, Resulting Numbers: [19, 89]
Generated Node #0,0,2: 19:[19, 89] Operation: 14+75=89
Exploring Operation: 19-14=5, Resulting Numbers: [75, 5]
Generated Node #0,0,3: 19:[75, 5] Operation: 19-14=5
Exploring Operation: 14+19=33, Resulting Numbers: [75, 33]
Generated Node #0,0,4: 19:[75, 33] Operation: 14+19=33
Moving to Node #0,2
Current State: 19:[39, 20, 61], Operations: ['75-14=61']
Exploring Operation: 39-20=19, Resulting Numbers: [61, 19]
Generated Node #0,2,0: 19:[61, 19] Operation: 39-20=19
Exploring Operation: 39+61=100, Resulting Numbers: [20, 100]
Generated Node #0,2,1: 19:[20, 100] Operation: 39+61=100
Exploring Operation: 61-39=22, Resulting Numbers: [20, 22]
Generated Node #0,2,2: 19:[20, 22] Operation: 61-39=22
Exploring Operation: 61-20=41, Resulting Numbers: [39, 41]
Generated Node #0,2,3: 19:[39, 41] Operation: 61-20=41
Exploring Operation: 39+20=59, Resulting Numbers: [61, 59]
Generated Node #0,2,4: 19:[61, 59] Operation: 39+20=59
Moving to Node #0,4
Current State: 19:[75, 20, 25], Operations: ['39-14=25']
Exploring Operation: 75+20=95, Resulting Numbers: [25, 95]
Generated Node #0,4,0: 19:[25, 95] Operation: 75+20=95
Exploring Operation: 75-20=55, Resulting Numbers: [25, 55]
Generated Node #0,4,1: 19:[25, 55] Operation: 75-20=55
Exploring Operation: 25-20=5, Resulting Numbers: [75, 5]
Generated Node #0,4,2: 19:[75, 5] Operation: 25-20=5
Exploring Operation: 75/25=3, Resulting Numbers: [20, 3]
Generated Node #0,4,3: 19:[20, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [20, 50]
Generated Node #0,4,4: 19:[20, 50] Operation: 75-25=50
Moving to Node #0,1,4
Current State: 19:[20, 22], Operations: ['75-39=36', '36-14=22']
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,19 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[20, 22], Operations: ['75-14=61', '61-39=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[14, 16], Operations: ['75-39=36', '36-20=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,19 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[20, 3], Operations: ['39-14=25', '75/25=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[36, 6], Operations: ['75-39=36', '20-14=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,19 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[36, 34], Operations: ['75-39=36', '14+20=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[20, 50], Operations: ['75-39=36', '14+36=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,19 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[20, 50], Operations: ['39-14=25', '75-25=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,19 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[19, 61], Operations: ['39-20=19', '75-14=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,19 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[14, 56], Operations: ['39-20=19', '75-19=56']
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,19 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[61, 19], Operations: ['75-14=61', '39-20=19']
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,19 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[39, 41], Operations: ['75-14=61', '61-20=41']
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,19 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[25, 55], Operations: ['39-14=25', '75-20=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,19 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[75, 5], Operations: ['39-14=25', '25-20=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,19 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[75, 5], Operations: ['39-20=19', '19-14=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,19 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[75, 33], Operations: ['39-20=19', '14+19=33']
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,19 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[19, 89], Operations: ['39-20=19', '14+75=89']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,19 unequal: No Solution
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[25, 95], Operations: ['39-14=25', '75+20=95']
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,19 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[20, 100], Operations: ['75-14=61', '39+61=100']
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 20*100=2000, Resulting Numbers: [2000]
2000,19 unequal: No Solution
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[61, 59], Operations: ['75-14=61', '39+20=59']
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
20,
13,
60
] | 81 | [
"40-13=27",
"60/20=3",
"27*3=81"
] | Current State: 81:[40, 20, 13, 60], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [20, 60, 27]
Generated Node #2: [20, 60, 27] from Operation: 40-13=27
Current State: 81:[20, 60, 27], Operations: ['40-13=27']
Exploring Operation: 60/20=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 60/20=3
Current State: 81:[27, 3], Operations: ['40-13=27', '60/20=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[40, 20, 13, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [40, 13, 3]
Generated Node #0,0: 81:[40, 13, 3] Operation: 60/20=3
Exploring Operation: 60-40=20, Resulting Numbers: [20, 13, 20]
Generated Node #0,1: 81:[20, 13, 20] Operation: 60-40=20
Moving to Node #0,0
Current State: 81:[40, 13, 3], Operations: ['60/20=3']
Exploring Operation: 40-13=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 81:[3, 27] Operation: 40-13=27
Exploring Operation: 40-3=37, Resulting Numbers: [13, 37]
Generated Node #0,0,1: 81:[13, 37] Operation: 40-3=37
Moving to Node #0,1
Current State: 81:[20, 13, 20], Operations: ['60-40=20']
Exploring Operation: 20-20=0, Resulting Numbers: [13, 0]
Generated Node #0,1,0: 81:[13, 0] Operation: 20-20=0
Exploring Operation: 20/20=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 81:[13, 1] Operation: 20/20=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[13, 1], Operations: ['60-40=20', '20/20=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[13, 0], Operations: ['60-40=20', '20-20=0']
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,81 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: 81:[3, 27], Operations: ['60/20=3', '40-13=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[40, 20, 13, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [40, 13, 3]
Generated Node #0,0: 81:[40, 13, 3] Operation: 60/20=3
Moving to Node #0,0
Current State: 81:[40, 13, 3], Operations: ['60/20=3']
Exploring Operation: 40-13=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 81:[3, 27] Operation: 40-13=27
Moving to Node #0,0,0
Current State: 81:[3, 27], Operations: ['60/20=3', '40-13=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
17,
2,
7,
41
] | 37 | [
"17*7=119",
"2*41=82",
"119-82=37"
] | Current State: 37:[17, 2, 7, 41], Operations: []
Exploring Operation: 17*7=119, Resulting Numbers: [2, 41, 119]
Generated Node #2: [2, 41, 119] from Operation: 17*7=119
Current State: 37:[2, 41, 119], Operations: ['17*7=119']
Exploring Operation: 2*41=82, Resulting Numbers: [119, 82]
Generated Node #3: [119, 82] from Operation: 2*41=82
Current State: 37:[119, 82], Operations: ['17*7=119', '2*41=82']
Exploring Operation: 119-82=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[17, 2, 7, 41], Operations: []
Exploring Operation: 2+7=9, Resulting Numbers: [17, 41, 9]
Generated Node #0,0: 37:[17, 41, 9] Operation: 2+7=9
Exploring Operation: 17*2=34, Resulting Numbers: [7, 41, 34]
Generated Node #0,1: 37:[7, 41, 34] Operation: 17*2=34
Exploring Operation: 17+7=24, Resulting Numbers: [2, 41, 24]
Generated Node #0,2: 37:[2, 41, 24] Operation: 17+7=24
Exploring Operation: 2*7=14, Resulting Numbers: [17, 41, 14]
Generated Node #0,3: 37:[17, 41, 14] Operation: 2*7=14
Exploring Operation: 17+2=19, Resulting Numbers: [7, 41, 19]
Generated Node #0,4: 37:[7, 41, 19] Operation: 17+2=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[7, 41, 34], Operations: ['17*2=34']
Exploring Operation: 7+41=48, Resulting Numbers: [34, 48]
Generated Node #0,1,0: 37:[34, 48] Operation: 7+41=48
Exploring Operation: 34-7=27, Resulting Numbers: [41, 27]
Generated Node #0,1,1: 37:[41, 27] Operation: 34-7=27
Exploring Operation: 41-7=34, Resulting Numbers: [34, 34]
Generated Node #0,1,2: 37:[34, 34] Operation: 41-7=34
Exploring Operation: 41-34=7, Resulting Numbers: [7, 7]
Generated Node #0,1,3: 37:[7, 7] Operation: 41-34=7
Exploring Operation: 7+34=41, Resulting Numbers: [41, 41]
Generated Node #0,1,4: 37:[41, 41] Operation: 7+34=41
Moving to Node #0,1,2
Current State: 37:[34, 34], Operations: ['17*2=34', '41-7=34']
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,37 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[41, 41], Operations: ['17*2=34', '7+34=41']
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[34, 48], Operations: ['17*2=34', '7+41=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,37 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[41, 27], Operations: ['17*2=34', '34-7=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[7, 7], Operations: ['17*2=34', '41-34=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[17, 41, 14], Operations: ['2*7=14']
Exploring Operation: 17-14=3, Resulting Numbers: [41, 3]
Generated Node #0,3,0: 37:[41, 3] Operation: 17-14=3
Exploring Operation: 41-17=24, Resulting Numbers: [14, 24]
Generated Node #0,3,1: 37:[14, 24] Operation: 41-17=24
Exploring Operation: 41-14=27, Resulting Numbers: [17, 27]
Generated Node #0,3,2: 37:[17, 27] Operation: 41-14=27
Exploring Operation: 17+14=31, Resulting Numbers: [41, 31]
Generated Node #0,3,3: 37:[41, 31] Operation: 17+14=31
Exploring Operation: 41+14=55, Resulting Numbers: [17, 55]
Generated Node #0,3,4: 37:[17, 55] Operation: 41+14=55
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[41, 31], Operations: ['2*7=14', '17+14=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[17, 27], Operations: ['2*7=14', '41-14=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,37 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[14, 24], Operations: ['2*7=14', '41-17=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[41, 3], Operations: ['2*7=14', '17-14=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 37:[17, 55], Operations: ['2*7=14', '41+14=55']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,37 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[17, 41, 9], Operations: ['2+7=9']
Exploring Operation: 41+9=50, Resulting Numbers: [17, 50]
Generated Node #0,0,0: 37:[17, 50] Operation: 41+9=50
Exploring Operation: 41-17=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 37:[9, 24] Operation: 41-17=24
Exploring Operation: 41-9=32, Resulting Numbers: [17, 32]
Generated Node #0,0,2: 37:[17, 32] Operation: 41-9=32
Exploring Operation: 17+9=26, Resulting Numbers: [41, 26]
Generated Node #0,0,3: 37:[41, 26] Operation: 17+9=26
Exploring Operation: 17-9=8, Resulting Numbers: [41, 8]
Generated Node #0,0,4: 37:[41, 8] Operation: 17-9=8
Moving to Node #0,0,3
Current State: 37:[41, 26], Operations: ['2+7=9', '17+9=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,37 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[17, 32], Operations: ['2+7=9', '41-9=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,37 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[17, 50], Operations: ['2+7=9', '41+9=50']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[41, 8], Operations: ['2+7=9', '17-9=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[9, 24], Operations: ['2+7=9', '41-17=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[2, 41, 24], Operations: ['17+7=24']
Exploring Operation: 2+24=26, Resulting Numbers: [41, 26]
Generated Node #0,2,0: 37:[41, 26] Operation: 2+24=26
Exploring Operation: 2*24=48, Resulting Numbers: [41, 48]
Generated Node #0,2,1: 37:[41, 48] Operation: 2*24=48
Exploring Operation: 41-2=39, Resulting Numbers: [24, 39]
Generated Node #0,2,2: 37:[24, 39] Operation: 41-2=39
Exploring Operation: 2+41=43, Resulting Numbers: [24, 43]
Generated Node #0,2,3: 37:[24, 43] Operation: 2+41=43
Exploring Operation: 24-2=22, Resulting Numbers: [41, 22]
Generated Node #0,2,4: 37:[41, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[41, 26], Operations: ['17+7=24', '2+24=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,37 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[41, 48], Operations: ['17+7=24', '2*24=48']
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,37 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[24, 39], Operations: ['17+7=24', '41-2=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 37:[24, 43], Operations: ['17+7=24', '2+41=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,37 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 37:[41, 22], Operations: ['17+7=24', '24-2=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,37 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[7, 41, 19], Operations: ['17+2=19']
Exploring Operation: 7+19=26, Resulting Numbers: [41, 26]
Generated Node #0,4,0: 37:[41, 26] Operation: 7+19=26
Exploring Operation: 19-7=12, Resulting Numbers: [41, 12]
Generated Node #0,4,1: 37:[41, 12] Operation: 19-7=12
Exploring Operation: 41-7=34, Resulting Numbers: [19, 34]
Generated Node #0,4,2: 37:[19, 34] Operation: 41-7=34
Exploring Operation: 7+41=48, Resulting Numbers: [19, 48]
Generated Node #0,4,3: 37:[19, 48] Operation: 7+41=48
Exploring Operation: 41-19=22, Resulting Numbers: [7, 22]
Generated Node #0,4,4: 37:[7, 22] Operation: 41-19=22
Moving to Node #0,4,0
Current State: 37:[41, 26], Operations: ['17+2=19', '7+19=26']
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,37 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[19, 34], Operations: ['17+2=19', '41-7=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,37 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Moving to Node #0,4,1
Current State: 37:[41, 12], Operations: ['17+2=19', '19-7=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,37 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[19, 48], Operations: ['17+2=19', '7+41=48']
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,37 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[7, 22], Operations: ['17+2=19', '41-19=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,37 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 |
[
99,
39,
52,
46
] | 66 | [
"99-39=60",
"52-46=6",
"60+6=66"
] | Current State: 66:[99, 39, 52, 46], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [52, 46, 60]
Generated Node #2: [52, 46, 60] from Operation: 99-39=60
Current State: 66:[52, 46, 60], Operations: ['99-39=60']
Exploring Operation: 52-46=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 52-46=6
Current State: 66:[60, 6], Operations: ['99-39=60', '52-46=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[99, 39, 52, 46], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [39, 52, 53]
Generated Node #0,0: 66:[39, 52, 53] Operation: 99-46=53
Exploring Operation: 99-52=47, Resulting Numbers: [39, 46, 47]
Generated Node #0,1: 66:[39, 46, 47] Operation: 99-52=47
Exploring Operation: 52-46=6, Resulting Numbers: [99, 39, 6]
Generated Node #0,2: 66:[99, 39, 6] Operation: 52-46=6
Exploring Operation: 99-39=60, Resulting Numbers: [52, 46, 60]
Generated Node #0,3: 66:[52, 46, 60] Operation: 99-39=60
Moving to Node #0,0
Current State: 66:[39, 52, 53], Operations: ['99-46=53']
Exploring Operation: 39+52=91, Resulting Numbers: [53, 91]
Generated Node #0,0,0: 66:[53, 91] Operation: 39+52=91
Exploring Operation: 53-52=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 66:[39, 1] Operation: 53-52=1
Exploring Operation: 52-39=13, Resulting Numbers: [53, 13]
Generated Node #0,0,2: 66:[53, 13] Operation: 52-39=13
Exploring Operation: 53-39=14, Resulting Numbers: [52, 14]
Generated Node #0,0,3: 66:[52, 14] Operation: 53-39=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[39, 1], Operations: ['99-46=53', '53-52=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No 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: 66:[53, 13], Operations: ['99-46=53', '52-39=13']
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[99, 39, 52, 46], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [39, 52, 53]
Generated Node #0,0: 66:[39, 52, 53] Operation: 99-46=53
Moving to Node #0,0
Current State: 66:[39, 52, 53], Operations: ['99-46=53']
Exploring Operation: 52-39=13, Resulting Numbers: [53, 13]
Generated Node #0,0,2: 66:[53, 13] Operation: 52-39=13
Moving to Node #0,0,2
Current State: 66:[53, 13], Operations: ['99-46=53', '52-39=13']
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
2,
68,
48,
22
] | 51 | [
"68-2=66",
"66/22=3",
"48+3=51"
] | Current State: 51:[2, 68, 48, 22], Operations: []
Exploring Operation: 68-2=66, Resulting Numbers: [48, 22, 66]
Generated Node #2: [48, 22, 66] from Operation: 68-2=66
Current State: 51:[48, 22, 66], Operations: ['68-2=66']
Exploring Operation: 66/22=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 66/22=3
Current State: 51:[48, 3], Operations: ['68-2=66', '66/22=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[2, 68, 48, 22], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [2, 22, 20]
Generated Node #0,0: 51:[2, 22, 20] Operation: 68-48=20
Exploring Operation: 68-22=46, Resulting Numbers: [2, 48, 46]
Generated Node #0,1: 51:[2, 48, 46] Operation: 68-22=46
Exploring Operation: 68-2=66, Resulting Numbers: [48, 22, 66]
Generated Node #0,2: 51:[48, 22, 66] Operation: 68-2=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[2, 22, 20], Operations: ['68-48=20']
Exploring Operation: 22-2=20, Resulting Numbers: [20, 20]
Generated Node #0,0,0: 51:[20, 20] Operation: 22-2=20
Exploring Operation: 22-20=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 51:[2, 2] Operation: 22-20=2
Exploring Operation: 20-2=18, Resulting Numbers: [22, 18]
Generated Node #0,0,2: 51:[22, 18] Operation: 20-2=18
Moving to Node #0,0,1
Current State: 51:[2, 2], Operations: ['68-48=20', '22-20=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[20, 20], Operations: ['68-48=20', '22-2=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[22, 18], Operations: ['68-48=20', '20-2=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,51 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,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,1
Current State: 51:[2, 48, 46], Operations: ['68-22=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 51:[2, 2] Operation: 48-46=2
Exploring Operation: 2+46=48, Resulting Numbers: [48, 48]
Generated Node #0,1,1: 51:[48, 48] Operation: 2+46=48
Exploring Operation: 2+48=50, Resulting Numbers: [46, 50]
Generated Node #0,1,2: 51:[46, 50] Operation: 2+48=50
Moving to Node #0,1,0
Current State: 51:[2, 2], Operations: ['68-22=46', '48-46=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[48, 48], Operations: ['68-22=46', '2+46=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[46, 50], Operations: ['68-22=46', '2+48=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,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:[48, 22, 66], Operations: ['68-2=66']
Exploring Operation: 66-48=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 51:[22, 18] Operation: 66-48=18
Exploring Operation: 66-22=44, Resulting Numbers: [48, 44]
Generated Node #0,2,1: 51:[48, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [48, 3]
Generated Node #0,2,2: 51:[48, 3] Operation: 66/22=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[48, 3], Operations: ['68-2=66', '66/22=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[2, 68, 48, 22], Operations: []
Exploring Operation: 68-2=66, Resulting Numbers: [48, 22, 66]
Generated Node #0,2: 51:[48, 22, 66] Operation: 68-2=66
Moving to Node #0,2
Current State: 51:[48, 22, 66], Operations: ['68-2=66']
Exploring Operation: 66/22=3, Resulting Numbers: [48, 3]
Generated Node #0,2,2: 51:[48, 3] Operation: 66/22=3
Moving to Node #0,2,2
Current State: 51:[48, 3], Operations: ['68-2=66', '66/22=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
92,
8,
24,
3
] | 97 | [
"92+3=95",
"8*24=192",
"192-95=97"
] | Current State: 97:[92, 8, 24, 3], Operations: []
Exploring Operation: 92+3=95, Resulting Numbers: [8, 24, 95]
Generated Node #2: [8, 24, 95] from Operation: 92+3=95
Current State: 97:[8, 24, 95], Operations: ['92+3=95']
Exploring Operation: 8*24=192, Resulting Numbers: [95, 192]
Generated Node #3: [95, 192] from Operation: 8*24=192
Current State: 97:[95, 192], Operations: ['92+3=95', '8*24=192']
Exploring Operation: 192-95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[92, 8, 24, 3], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [92, 8, 72]
Generated Node #0,0: 97:[92, 8, 72] Operation: 24*3=72
Exploring Operation: 8*3=24, Resulting Numbers: [92, 24, 24]
Generated Node #0,1: 97:[92, 24, 24] Operation: 8*3=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[92, 8, 72], Operations: ['24*3=72']
Exploring Operation: 92+8=100, Resulting Numbers: [72, 100]
Generated Node #0,0,0: 97:[72, 100] Operation: 92+8=100
Exploring Operation: 8+72=80, Resulting Numbers: [92, 80]
Generated Node #0,0,1: 97:[92, 80] Operation: 8+72=80
Moving to Node #0,0,1
Current State: 97:[92, 80], Operations: ['24*3=72', '8+72=80']
Exploring Operation: 92+80=172, Resulting Numbers: [172]
172,97 unequal: No Solution
Exploring Operation: 92-80=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[72, 100], Operations: ['24*3=72', '92+8=100']
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 72+100=172, Resulting Numbers: [172]
172,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[92, 24, 24], Operations: ['8*3=24']
Exploring Operation: 92+24=116, Resulting Numbers: [24, 116]
Generated Node #0,1,0: 97:[24, 116] Operation: 92+24=116
Exploring Operation: 24+24=48, Resulting Numbers: [92, 48]
Generated Node #0,1,1: 97:[92, 48] Operation: 24+24=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[92, 48], Operations: ['8*3=24', '24+24=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,97 unequal: No Solution
No 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: 97:[24, 116], Operations: ['8*3=24', '92+24=116']
Exploring Operation: 116-24=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 24+116=140, Resulting Numbers: [140]
140,97 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 |
[
7,
77,
49,
68
] | 65 | [
"7+77=84",
"68-49=19",
"84-19=65"
] | Current State: 65:[7, 77, 49, 68], Operations: []
Exploring Operation: 7+77=84, Resulting Numbers: [49, 68, 84]
Generated Node #2: [49, 68, 84] from Operation: 7+77=84
Current State: 65:[49, 68, 84], Operations: ['7+77=84']
Exploring Operation: 68-49=19, Resulting Numbers: [84, 19]
Generated Node #3: [84, 19] from Operation: 68-49=19
Current State: 65:[84, 19], Operations: ['7+77=84', '68-49=19']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[7, 77, 49, 68], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [77, 68, 7]
Generated Node #0,0: 65:[77, 68, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[77, 68, 7], Operations: ['49/7=7']
Exploring Operation: 77/7=11, Resulting Numbers: [68, 11]
Generated Node #0,0,0: 65:[68, 11] Operation: 77/7=11
Moving to Node #0,0,0
Current State: 65:[68, 11], Operations: ['49/7=7', '77/7=11']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
24,
8,
36
] | 56 | [
"36/9=4",
"8*4=32",
"24+32=56"
] | Current State: 56:[9, 24, 8, 36], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [24, 8, 4]
Generated Node #2: [24, 8, 4] from Operation: 36/9=4
Current State: 56:[24, 8, 4], Operations: ['36/9=4']
Exploring Operation: 8*4=32, Resulting Numbers: [24, 32]
Generated Node #3: [24, 32] from Operation: 8*4=32
Current State: 56:[24, 32], Operations: ['36/9=4', '8*4=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[9, 24, 8, 36], Operations: []
Exploring Operation: 24+36=60, Resulting Numbers: [9, 8, 60]
Generated Node #0,0: 56:[9, 8, 60] Operation: 24+36=60
Exploring Operation: 36-24=12, Resulting Numbers: [9, 8, 12]
Generated Node #0,1: 56:[9, 8, 12] Operation: 36-24=12
Exploring Operation: 36-9=27, Resulting Numbers: [24, 8, 27]
Generated Node #0,2: 56:[24, 8, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [24, 8, 4]
Generated Node #0,3: 56:[24, 8, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[9, 8, 12], Operations: ['36-24=12']
Exploring Operation: 9+8=17, Resulting Numbers: [12, 17]
Generated Node #0,1,0: 56:[12, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [12, 1]
Generated Node #0,1,1: 56:[12, 1] Operation: 9-8=1
Exploring Operation: 12-9=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 56:[8, 3] Operation: 12-9=3
Exploring Operation: 12-8=4, Resulting Numbers: [9, 4]
Generated Node #0,1,3: 56:[9, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[8, 3], Operations: ['36-24=12', '12-9=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[9, 4], Operations: ['36-24=12', '12-8=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[12, 1], Operations: ['36-24=12', '9-8=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[12, 17], Operations: ['36-24=12', '9+8=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,56 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[24, 8, 4], Operations: ['36/9=4']
Exploring Operation: 24+4=28, Resulting Numbers: [8, 28]
Generated Node #0,3,0: 56:[8, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [8, 6]
Generated Node #0,3,1: 56:[8, 6] Operation: 24/4=6
Exploring Operation: 24/8=3, Resulting Numbers: [4, 3]
Generated Node #0,3,2: 56:[4, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [4, 16]
Generated Node #0,3,3: 56:[4, 16] Operation: 24-8=16
Moving to Node #0,3,0
Current State: 56:[8, 28], Operations: ['36/9=4', '24+4=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[4, 3], Operations: ['36/9=4', '24/8=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[8, 6], Operations: ['36/9=4', '24/4=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[4, 16], Operations: ['36/9=4', '24-8=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[9, 8, 60], Operations: ['24+36=60']
Exploring Operation: 9-8=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 56:[60, 1] Operation: 9-8=1
Exploring Operation: 9+8=17, Resulting Numbers: [60, 17]
Generated Node #0,0,1: 56:[60, 17] Operation: 9+8=17
Exploring Operation: 60-9=51, Resulting Numbers: [8, 51]
Generated Node #0,0,2: 56:[8, 51] Operation: 60-9=51
Exploring Operation: 60-8=52, Resulting Numbers: [9, 52]
Generated Node #0,0,3: 56:[9, 52] Operation: 60-8=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[60, 1], Operations: ['24+36=60', '9-8=1']
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[8, 51], Operations: ['24+36=60', '60-9=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,56 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[9, 52], Operations: ['24+36=60', '60-8=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[60, 17], Operations: ['24+36=60', '9+8=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[24, 8, 27], Operations: ['36-9=27']
Exploring Operation: 27-24=3, Resulting Numbers: [8, 3]
Generated Node #0,2,0: 56:[8, 3] Operation: 27-24=3
Exploring Operation: 24-8=16, Resulting Numbers: [27, 16]
Generated Node #0,2,1: 56:[27, 16] Operation: 24-8=16
Exploring Operation: 24+8=32, Resulting Numbers: [27, 32]
Generated Node #0,2,2: 56:[27, 32] Operation: 24+8=32
Exploring Operation: 24/8=3, Resulting Numbers: [27, 3]
Generated Node #0,2,3: 56:[27, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[8, 3], Operations: ['36-9=27', '27-24=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 56:[27, 3], Operations: ['36-9=27', '24/8=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[27, 16], Operations: ['36-9=27', '24-8=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,56 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[27, 32], Operations: ['36-9=27', '24+8=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
2,
39,
56
] | 17 | [
"56*2=112",
"39+56=95",
"112-95=17"
] | Current State: 17:[56, 2, 39, 56], Operations: []
Exploring Operation: 56*2=112, Resulting Numbers: [39, 112]
Generated Node #2: [39, 112] from Operation: 56*2=112
Current State: 17:[39, 112], Operations: ['56*2=112']
Exploring Operation: 39+56=95, Resulting Numbers: [112, 95]
Generated Node #3: [112, 95] from Operation: 39+56=95
Current State: 17:[112, 95], Operations: ['56*2=112', '39+56=95']
Exploring Operation: 112-95=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[56, 2, 39, 56], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [2, 56, 17]
Generated Node #0,0: 17:[2, 56, 17] Operation: 56-39=17
Exploring Operation: 56/56=1, Resulting Numbers: [2, 39, 1]
Generated Node #0,1: 17:[2, 39, 1] Operation: 56/56=1
Moving to Node #0,1
Current State: 17:[2, 39, 1], Operations: ['56/56=1']
Exploring Operation: 39-2=37, Resulting Numbers: [1, 37]
Generated Node #0,1,0: 17:[1, 37] Operation: 39-2=37
Exploring Operation: 2+1=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 17:[39, 3] Operation: 2+1=3
Moving to Node #0,0
Current State: 17:[2, 56, 17], Operations: ['56-39=17']
Exploring Operation: 56/2=28, Resulting Numbers: [17, 28]
Generated Node #0,0,0: 17:[17, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [17, 54]
Generated Node #0,0,1: 17:[17, 54] Operation: 56-2=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[17, 28], Operations: ['56-39=17', '56/2=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[17, 54], Operations: ['56-39=17', '56-2=54']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,17 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: 17:[1, 37], Operations: ['56/56=1', '39-2=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[39, 3], Operations: ['56/56=1', '2+1=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
90,
66,
53
] | 77 | [
"90-48=42",
"66+53=119",
"119-42=77"
] | Current State: 77:[48, 90, 66, 53], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [66, 53, 42]
Generated Node #2: [66, 53, 42] from Operation: 90-48=42
Current State: 77:[66, 53, 42], Operations: ['90-48=42']
Exploring Operation: 66+53=119, Resulting Numbers: [42, 119]
Generated Node #3: [42, 119] from Operation: 66+53=119
Current State: 77:[42, 119], Operations: ['90-48=42', '66+53=119']
Exploring Operation: 119-42=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[48, 90, 66, 53], Operations: []
Exploring Operation: 48+53=101, Resulting Numbers: [90, 66, 101]
Generated Node #0,0: 77:[90, 66, 101] Operation: 48+53=101
Exploring Operation: 66-48=18, Resulting Numbers: [90, 53, 18]
Generated Node #0,1: 77:[90, 53, 18] Operation: 66-48=18
Exploring Operation: 53-48=5, Resulting Numbers: [90, 66, 5]
Generated Node #0,2: 77:[90, 66, 5] Operation: 53-48=5
Exploring Operation: 90-48=42, Resulting Numbers: [66, 53, 42]
Generated Node #0,3: 77:[66, 53, 42] Operation: 90-48=42
Exploring Operation: 66-53=13, Resulting Numbers: [48, 90, 13]
Generated Node #0,4: 77:[48, 90, 13] Operation: 66-53=13
Moving to Node #0,2
Current State: 77:[90, 66, 5], Operations: ['53-48=5']
Exploring Operation: 90+5=95, Resulting Numbers: [66, 95]
Generated Node #0,2,0: 77:[66, 95] Operation: 90+5=95
Exploring Operation: 90-66=24, Resulting Numbers: [5, 24]
Generated Node #0,2,1: 77:[5, 24] Operation: 90-66=24
Exploring Operation: 90/5=18, Resulting Numbers: [66, 18]
Generated Node #0,2,2: 77:[66, 18] Operation: 90/5=18
Exploring Operation: 90-5=85, Resulting Numbers: [66, 85]
Generated Node #0,2,3: 77:[66, 85] Operation: 90-5=85
Exploring Operation: 66+5=71, Resulting Numbers: [90, 71]
Generated Node #0,2,4: 77:[90, 71] Operation: 66+5=71
Moving to Node #0,4
Current State: 77:[48, 90, 13], Operations: ['66-53=13']
Exploring Operation: 48+13=61, Resulting Numbers: [90, 61]
Generated Node #0,4,0: 77:[90, 61] Operation: 48+13=61
Exploring Operation: 48-13=35, Resulting Numbers: [90, 35]
Generated Node #0,4,1: 77:[90, 35] Operation: 48-13=35
Exploring Operation: 90-13=77, Resulting Numbers: [48, 77]
Generated Node #0,4,2: 77:[48, 77] Operation: 90-13=77
Exploring Operation: 90+13=103, Resulting Numbers: [48, 103]
Generated Node #0,4,3: 77:[48, 103] Operation: 90+13=103
Exploring Operation: 90-48=42, Resulting Numbers: [13, 42]
Generated Node #0,4,4: 77:[13, 42] Operation: 90-48=42
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[90, 61], Operations: ['66-53=13', '48+13=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,77 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,77 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[48, 77], Operations: ['66-53=13', '90-13=77']
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,77 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,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,4,4
Current State: 77:[13, 42], Operations: ['66-53=13', '90-48=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,77 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,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,4,1
Current State: 77:[90, 35], Operations: ['66-53=13', '48-13=35']
Exploring Operation: 90*35=3150, Resulting Numbers: [3150]
3150,77 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,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,4,3
Current State: 77:[48, 103], Operations: ['66-53=13', '90+13=103']
Exploring Operation: 103-48=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 48*103=4944, Resulting Numbers: [4944]
4944,77 unequal: No Solution
Exploring Operation: 48+103=151, Resulting Numbers: [151]
151,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[90, 53, 18], Operations: ['66-48=18']
Exploring Operation: 53+18=71, Resulting Numbers: [90, 71]
Generated Node #0,1,0: 77:[90, 71] Operation: 53+18=71
Exploring Operation: 53-18=35, Resulting Numbers: [90, 35]
Generated Node #0,1,1: 77:[90, 35] Operation: 53-18=35
Exploring Operation: 90-18=72, Resulting Numbers: [53, 72]
Generated Node #0,1,2: 77:[53, 72] Operation: 90-18=72
Exploring Operation: 90-53=37, Resulting Numbers: [18, 37]
Generated Node #0,1,3: 77:[18, 37] Operation: 90-53=37
Exploring Operation: 90/18=5, Resulting Numbers: [53, 5]
Generated Node #0,1,4: 77:[53, 5] Operation: 90/18=5
Moving to Node #0,0
Current State: 77:[90, 66, 101], Operations: ['48+53=101']
Exploring Operation: 101-66=35, Resulting Numbers: [90, 35]
Generated Node #0,0,0: 77:[90, 35] Operation: 101-66=35
Exploring Operation: 90+66=156, Resulting Numbers: [101, 156]
Generated Node #0,0,1: 77:[101, 156] Operation: 90+66=156
Exploring Operation: 66+101=167, Resulting Numbers: [90, 167]
Generated Node #0,0,2: 77:[90, 167] Operation: 66+101=167
Exploring Operation: 101-90=11, Resulting Numbers: [66, 11]
Generated Node #0,0,3: 77:[66, 11] Operation: 101-90=11
Exploring Operation: 90-66=24, Resulting Numbers: [101, 24]
Generated Node #0,0,4: 77:[101, 24] Operation: 90-66=24
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[66, 11], Operations: ['48+53=101', '101-90=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[48, 90, 66, 53], Operations: []
Exploring Operation: 48+53=101, Resulting Numbers: [90, 66, 101]
Generated Node #0,0: 77:[90, 66, 101] Operation: 48+53=101
Moving to Node #0,0
Current State: 77:[90, 66, 101], Operations: ['48+53=101']
Exploring Operation: 101-90=11, Resulting Numbers: [66, 11]
Generated Node #0,0,3: 77:[66, 11] Operation: 101-90=11
Moving to Node #0,0,3
Current State: 77:[66, 11], Operations: ['48+53=101', '101-90=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
77,
48,
87,
92
] | 14 | [
"87-77=10",
"48+92=140",
"140/10=14"
] | Current State: 14:[77, 48, 87, 92], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [48, 92, 10]
Generated Node #2: [48, 92, 10] from Operation: 87-77=10
Current State: 14:[48, 92, 10], Operations: ['87-77=10']
Exploring Operation: 48+92=140, Resulting Numbers: [10, 140]
Generated Node #3: [10, 140] from Operation: 48+92=140
Current State: 14:[10, 140], Operations: ['87-77=10', '48+92=140']
Exploring Operation: 140/10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[77, 48, 87, 92], Operations: []
Exploring Operation: 92-77=15, Resulting Numbers: [48, 87, 15]
Generated Node #0,0: 14:[48, 87, 15] Operation: 92-77=15
Exploring Operation: 87-77=10, Resulting Numbers: [48, 92, 10]
Generated Node #0,1: 14:[48, 92, 10] Operation: 87-77=10
Exploring Operation: 87-48=39, Resulting Numbers: [77, 92, 39]
Generated Node #0,2: 14:[77, 92, 39] Operation: 87-48=39
Exploring Operation: 77-48=29, Resulting Numbers: [87, 92, 29]
Generated Node #0,3: 14:[87, 92, 29] Operation: 77-48=29
Exploring Operation: 92-87=5, Resulting Numbers: [77, 48, 5]
Generated Node #0,4: 14:[77, 48, 5] Operation: 92-87=5
Moving to Node #0,4
Current State: 14:[77, 48, 5], Operations: ['92-87=5']
Exploring Operation: 77-5=72, Resulting Numbers: [48, 72]
Generated Node #0,4,0: 14:[48, 72] Operation: 77-5=72
Exploring Operation: 48-5=43, Resulting Numbers: [77, 43]
Generated Node #0,4,1: 14:[77, 43] Operation: 48-5=43
Exploring Operation: 77+5=82, Resulting Numbers: [48, 82]
Generated Node #0,4,2: 14:[48, 82] Operation: 77+5=82
Exploring Operation: 48+5=53, Resulting Numbers: [77, 53]
Generated Node #0,4,3: 14:[77, 53] Operation: 48+5=53
Exploring Operation: 77-48=29, Resulting Numbers: [5, 29]
Generated Node #0,4,4: 14:[5, 29] Operation: 77-48=29
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[5, 29], Operations: ['92-87=5', '77-48=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[48, 72], Operations: ['92-87=5', '77-5=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[77, 43], Operations: ['92-87=5', '48-5=43']
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[48, 82], Operations: ['92-87=5', '77+5=82']
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,14 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[77, 53], Operations: ['92-87=5', '48+5=53']
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,14 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,14 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: 14:[48, 87, 15], Operations: ['92-77=15']
Exploring Operation: 48+87=135, Resulting Numbers: [15, 135]
Generated Node #0,0,0: 14:[15, 135] Operation: 48+87=135
Exploring Operation: 48+15=63, Resulting Numbers: [87, 63]
Generated Node #0,0,1: 14:[87, 63] Operation: 48+15=63
Exploring Operation: 48-15=33, Resulting Numbers: [87, 33]
Generated Node #0,0,2: 14:[87, 33] Operation: 48-15=33
Exploring Operation: 87-48=39, Resulting Numbers: [15, 39]
Generated Node #0,0,3: 14:[15, 39] Operation: 87-48=39
Exploring Operation: 87-15=72, Resulting Numbers: [48, 72]
Generated Node #0,0,4: 14:[48, 72] Operation: 87-15=72
Moving to Node #0,1
Current State: 14:[48, 92, 10], Operations: ['87-77=10']
Exploring Operation: 48+10=58, Resulting Numbers: [92, 58]
Generated Node #0,1,0: 14:[92, 58] Operation: 48+10=58
Exploring Operation: 48-10=38, Resulting Numbers: [92, 38]
Generated Node #0,1,1: 14:[92, 38] Operation: 48-10=38
Exploring Operation: 92-48=44, Resulting Numbers: [10, 44]
Generated Node #0,1,2: 14:[10, 44] Operation: 92-48=44
Exploring Operation: 92-10=82, Resulting Numbers: [48, 82]
Generated Node #0,1,3: 14:[48, 82] Operation: 92-10=82
Exploring Operation: 92+10=102, Resulting Numbers: [48, 102]
Generated Node #0,1,4: 14:[48, 102] Operation: 92+10=102
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[10, 44], Operations: ['87-77=10', '92-48=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,14 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[92, 38], Operations: ['87-77=10', '48-10=38']
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,14 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[48, 82], Operations: ['87-77=10', '92-10=82']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,14 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[92, 58], Operations: ['87-77=10', '48+10=58']
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,14 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 14:[48, 102], Operations: ['87-77=10', '92+10=102']
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,14 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: 14:[77, 92, 39], Operations: ['87-48=39']
Exploring Operation: 92-77=15, Resulting Numbers: [39, 15]
Generated Node #0,2,0: 14:[39, 15] Operation: 92-77=15
Exploring Operation: 77+39=116, Resulting Numbers: [92, 116]
Generated Node #0,2,1: 14:[92, 116] Operation: 77+39=116
Exploring Operation: 77+92=169, Resulting Numbers: [39, 169]
Generated Node #0,2,2: 14:[39, 169] Operation: 77+92=169
Exploring Operation: 77-39=38, Resulting Numbers: [92, 38]
Generated Node #0,2,3: 14:[92, 38] Operation: 77-39=38
Exploring Operation: 92-39=53, Resulting Numbers: [77, 53]
Generated Node #0,2,4: 14:[77, 53] Operation: 92-39=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[39, 15], Operations: ['87-48=39', '92-77=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[92, 38], Operations: ['87-48=39', '77-39=38']
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[77, 53], Operations: ['87-48=39', '92-39=53']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[92, 116], Operations: ['87-48=39', '77+39=116']
Exploring Operation: 92*116=10672, Resulting Numbers: [10672]
10672,14 unequal: No Solution
Exploring Operation: 116-92=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 92+116=208, Resulting Numbers: [208]
208,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[39, 169], Operations: ['87-48=39', '77+92=169']
Exploring Operation: 39*169=6591, Resulting Numbers: [6591]
6591,14 unequal: No Solution
Exploring Operation: 39+169=208, Resulting Numbers: [208]
208,14 unequal: No Solution
Exploring Operation: 169-39=130, Resulting Numbers: [130]
130,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 14:[87, 92, 29], Operations: ['77-48=29']
Exploring Operation: 92-29=63, Resulting Numbers: [87, 63]
Generated Node #0,3,0: 14:[87, 63] Operation: 92-29=63
Exploring Operation: 92-87=5, Resulting Numbers: [29, 5]
Generated Node #0,3,1: 14:[29, 5] Operation: 92-87=5
Exploring Operation: 87/29=3, Resulting Numbers: [92, 3]
Generated Node #0,3,2: 14:[92, 3] Operation: 87/29=3
Exploring Operation: 87+92=179, Resulting Numbers: [29, 179]
Generated Node #0,3,3: 14:[29, 179] Operation: 87+92=179
Exploring Operation: 87-29=58, Resulting Numbers: [92, 58]
Generated Node #0,3,4: 14:[92, 58] Operation: 87-29=58
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[29, 5], Operations: ['77-48=29', '92-87=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,14 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[92, 3], Operations: ['77-48=29', '87/29=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,14 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,14 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[87, 63], Operations: ['77-48=29', '92-29=63']
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,14 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 14:[92, 58], Operations: ['77-48=29', '87-29=58']
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,14 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[29, 179], Operations: ['77-48=29', '87+92=179']
Exploring Operation: 29*179=5191, Resulting Numbers: [5191]
5191,14 unequal: No Solution
Exploring Operation: 179-29=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 29+179=208, Resulting Numbers: [208]
208,14 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: 14:[15, 39], Operations: ['92-77=15', '87-48=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,14 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[48, 72], Operations: ['92-77=15', '87-15=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,14 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[87, 33], Operations: ['92-77=15', '48-15=33']
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,14 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[15, 135], Operations: ['92-77=15', '48+87=135']
Exploring Operation: 135-15=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 135/15=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 15*135=2025, Resulting Numbers: [2025]
2025,14 unequal: No Solution
Exploring Operation: 15+135=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[87, 63], Operations: ['92-77=15', '48+15=63']
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,14 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
41,
51,
31,
74
] | 76 | [
"51+31=82",
"82/41=2",
"74+2=76"
] | Current State: 76:[41, 51, 31, 74], Operations: []
Exploring Operation: 51+31=82, Resulting Numbers: [41, 74, 82]
Generated Node #2: [41, 74, 82] from Operation: 51+31=82
Current State: 76:[41, 74, 82], Operations: ['51+31=82']
Exploring Operation: 82/41=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 82/41=2
Current State: 76:[74, 2], Operations: ['51+31=82', '82/41=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[41, 51, 31, 74], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [41, 74, 20]
Generated Node #0,0: 76:[41, 74, 20] Operation: 51-31=20
Exploring Operation: 51+31=82, Resulting Numbers: [41, 74, 82]
Generated Node #0,1: 76:[41, 74, 82] Operation: 51+31=82
Moving to Node #0,0
Current State: 76:[41, 74, 20], Operations: ['51-31=20']
Exploring Operation: 74-41=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 76:[20, 33] Operation: 74-41=33
Exploring Operation: 41-20=21, Resulting Numbers: [74, 21]
Generated Node #0,0,1: 76:[74, 21] Operation: 41-20=21
Moving to Node #0,1
Current State: 76:[41, 74, 82], Operations: ['51+31=82']
Exploring Operation: 82-41=41, Resulting Numbers: [74, 41]
Generated Node #0,1,0: 76:[74, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 76:[74, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[74, 2], Operations: ['51+31=82', '82/41=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[41, 51, 31, 74], Operations: []
Exploring Operation: 51+31=82, Resulting Numbers: [41, 74, 82]
Generated Node #0,1: 76:[41, 74, 82] Operation: 51+31=82
Moving to Node #0,1
Current State: 76:[41, 74, 82], Operations: ['51+31=82']
Exploring Operation: 82/41=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 76:[74, 2] Operation: 82/41=2
Moving to Node #0,1,1
Current State: 76:[74, 2], Operations: ['51+31=82', '82/41=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
2,
98,
79,
2
] | 58 | [
"2+98=100",
"79*2=158",
"158-100=58"
] | Current State: 58:[2, 98, 79, 2], Operations: []
Exploring Operation: 2+98=100, Resulting Numbers: [79, 100]
Generated Node #2: [79, 100] from Operation: 2+98=100
Current State: 58:[79, 100], Operations: ['2+98=100']
Exploring Operation: 79*2=158, Resulting Numbers: [100, 158]
Generated Node #3: [100, 158] from Operation: 79*2=158
Current State: 58:[100, 158], Operations: ['2+98=100', '79*2=158']
Exploring Operation: 158-100=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[2, 98, 79, 2], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [2, 2, 19]
Generated Node #0,0: 58:[2, 2, 19] Operation: 98-79=19
Exploring Operation: 98/2=49, Resulting Numbers: [79, 2, 49]
Generated Node #0,1: 58:[79, 2, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[2, 2, 19], Operations: ['98-79=19']
Exploring Operation: 2+19=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 58:[2, 21] Operation: 2+19=21
Exploring Operation: 2+19=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 58:[2, 21] Operation: 2+19=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[2, 21], Operations: ['98-79=19', '2+19=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[2, 21], Operations: ['98-79=19', '2+19=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[79, 2, 49], Operations: ['98/2=49']
Exploring Operation: 79-2=77, Resulting Numbers: [49, 77]
Generated Node #0,1,0: 58:[49, 77] Operation: 79-2=77
Exploring Operation: 79-49=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 58:[2, 30] Operation: 79-49=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[2, 30], Operations: ['98/2=49', '79-49=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[49, 77], Operations: ['98/2=49', '79-2=77']
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,58 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
93,
95,
25
] | 19 | [
"93-42=51",
"95-25=70",
"70-51=19"
] | Current State: 19:[42, 93, 95, 25], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [95, 25, 51]
Generated Node #2: [95, 25, 51] from Operation: 93-42=51
Current State: 19:[95, 25, 51], Operations: ['93-42=51']
Exploring Operation: 95-25=70, Resulting Numbers: [51, 70]
Generated Node #3: [51, 70] from Operation: 95-25=70
Current State: 19:[51, 70], Operations: ['93-42=51', '95-25=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[42, 93, 95, 25], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [93, 25, 53]
Generated Node #0,0: 19:[93, 25, 53] Operation: 95-42=53
Exploring Operation: 95-93=2, Resulting Numbers: [42, 25, 2]
Generated Node #0,1: 19:[42, 25, 2] Operation: 95-93=2
Exploring Operation: 93-42=51, Resulting Numbers: [95, 25, 51]
Generated Node #0,2: 19:[95, 25, 51] Operation: 93-42=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[42, 25, 2], Operations: ['95-93=2']
Exploring Operation: 42/2=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 19:[25, 21] Operation: 42/2=21
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 19:[2, 17] Operation: 42-25=17
Exploring Operation: 42-2=40, Resulting Numbers: [25, 40]
Generated Node #0,1,2: 19:[25, 40] Operation: 42-2=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[25, 21], Operations: ['95-93=2', '42/2=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[2, 17], Operations: ['95-93=2', '42-25=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[42, 93, 95, 25], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [42, 25, 2]
Generated Node #0,1: 19:[42, 25, 2] Operation: 95-93=2
Moving to Node #0,1
Current State: 19:[42, 25, 2], Operations: ['95-93=2']
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 19:[2, 17] Operation: 42-25=17
Moving to Node #0,1,1
Current State: 19:[2, 17], Operations: ['95-93=2', '42-25=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
14,
3,
78,
61
] | 91 | [
"14+78=92",
"3*61=183",
"183-92=91"
] | Current State: 91:[14, 3, 78, 61], Operations: []
Exploring Operation: 14+78=92, Resulting Numbers: [3, 61, 92]
Generated Node #2: [3, 61, 92] from Operation: 14+78=92
Current State: 91:[3, 61, 92], Operations: ['14+78=92']
Exploring Operation: 3*61=183, Resulting Numbers: [92, 183]
Generated Node #3: [92, 183] from Operation: 3*61=183
Current State: 91:[92, 183], Operations: ['14+78=92', '3*61=183']
Exploring Operation: 183-92=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[14, 3, 78, 61], Operations: []
Exploring Operation: 3+78=81, Resulting Numbers: [14, 61, 81]
Generated Node #0,0: 91:[14, 61, 81] Operation: 3+78=81
Exploring Operation: 14+78=92, Resulting Numbers: [3, 61, 92]
Generated Node #0,1: 91:[3, 61, 92] Operation: 14+78=92
Exploring Operation: 78-61=17, Resulting Numbers: [14, 3, 17]
Generated Node #0,2: 91:[14, 3, 17] Operation: 78-61=17
Exploring Operation: 14+61=75, Resulting Numbers: [3, 78, 75]
Generated Node #0,3: 91:[3, 78, 75] Operation: 14+61=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[14, 3, 17], Operations: ['78-61=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14, 14]
Generated Node #0,2,0: 91:[14, 14] Operation: 17-3=14
Exploring Operation: 14+3=17, Resulting Numbers: [17, 17]
Generated Node #0,2,1: 91:[17, 17] Operation: 14+3=17
Exploring Operation: 17-14=3, Resulting Numbers: [3, 3]
Generated Node #0,2,2: 91:[3, 3] Operation: 17-14=3
Exploring Operation: 14-3=11, Resulting Numbers: [17, 11]
Generated Node #0,2,3: 91:[17, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[14, 14], Operations: ['78-61=17', '17-3=14']
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,91 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[17, 11], Operations: ['78-61=17', '14-3=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[17, 17], Operations: ['78-61=17', '14+3=17']
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[3, 3], Operations: ['78-61=17', '17-14=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,91 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: 91:[3, 78, 75], Operations: ['14+61=75']
Exploring Operation: 75/3=25, Resulting Numbers: [78, 25]
Generated Node #0,3,0: 91:[78, 25] Operation: 75/3=25
Exploring Operation: 3+75=78, Resulting Numbers: [78, 78]
Generated Node #0,3,1: 91:[78, 78] Operation: 3+75=78
Exploring Operation: 3+78=81, Resulting Numbers: [75, 81]
Generated Node #0,3,2: 91:[75, 81] Operation: 3+78=81
Exploring Operation: 78-75=3, Resulting Numbers: [3, 3]
Generated Node #0,3,3: 91:[3, 3] Operation: 78-75=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 91:[3, 3], Operations: ['14+61=75', '78-75=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[78, 25], Operations: ['14+61=75', '75/3=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[78, 78], Operations: ['14+61=75', '3+75=78']
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,91 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[75, 81], Operations: ['14+61=75', '3+78=81']
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,91 unequal: No Solution
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,91 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: 91:[3, 61, 92], Operations: ['14+78=92']
Exploring Operation: 3+61=64, Resulting Numbers: [92, 64]
Generated Node #0,1,0: 91:[92, 64] Operation: 3+61=64
Exploring Operation: 61-3=58, Resulting Numbers: [92, 58]
Generated Node #0,1,1: 91:[92, 58] Operation: 61-3=58
Exploring Operation: 92-61=31, Resulting Numbers: [3, 31]
Generated Node #0,1,2: 91:[3, 31] Operation: 92-61=31
Exploring Operation: 92-3=89, Resulting Numbers: [61, 89]
Generated Node #0,1,3: 91:[61, 89] Operation: 92-3=89
Moving to Node #0,1,2
Current State: 91:[3, 31], Operations: ['14+78=92', '92-61=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[92, 64], Operations: ['14+78=92', '3+61=64']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[61, 89], Operations: ['14+78=92', '92-3=89']
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[92, 58], Operations: ['14+78=92', '61-3=58']
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[14, 61, 81], Operations: ['3+78=81']
Exploring Operation: 81-61=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 91:[14, 20] Operation: 81-61=20
Exploring Operation: 14+81=95, Resulting Numbers: [61, 95]
Generated Node #0,0,1: 91:[61, 95] Operation: 14+81=95
Exploring Operation: 61-14=47, Resulting Numbers: [81, 47]
Generated Node #0,0,2: 91:[81, 47] Operation: 61-14=47
Exploring Operation: 14+61=75, Resulting Numbers: [81, 75]
Generated Node #0,0,3: 91:[81, 75] Operation: 14+61=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[14, 20], Operations: ['3+78=81', '81-61=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,91 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[81, 75], Operations: ['3+78=81', '14+61=75']
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[61, 95], Operations: ['3+78=81', '14+81=95']
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,91 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[81, 47], Operations: ['3+78=81', '61-14=47']
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,91 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,91 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 |
[
95,
38,
48,
30
] | 90 | [
"95*48=4560",
"4560/38=120",
"120-30=90"
] | Current State: 90:[95, 38, 48, 30], Operations: []
Exploring Operation: 95*48=4560, Resulting Numbers: [38, 30, 4560]
Generated Node #2: [38, 30, 4560] from Operation: 95*48=4560
Current State: 90:[38, 30, 4560], Operations: ['95*48=4560']
Exploring Operation: 4560/38=120, Resulting Numbers: [30, 120]
Generated Node #3: [30, 120] from Operation: 4560/38=120
Current State: 90:[30, 120], Operations: ['95*48=4560', '4560/38=120']
Exploring Operation: 120-30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[95, 38, 48, 30], Operations: []
Exploring Operation: 38+48=86, Resulting Numbers: [95, 30, 86]
Generated Node #0,0: 90:[95, 30, 86] Operation: 38+48=86
Exploring Operation: 38-30=8, Resulting Numbers: [95, 48, 8]
Generated Node #0,1: 90:[95, 48, 8] Operation: 38-30=8
Exploring Operation: 95-48=47, Resulting Numbers: [38, 30, 47]
Generated Node #0,2: 90:[38, 30, 47] Operation: 95-48=47
Exploring Operation: 48-38=10, Resulting Numbers: [95, 30, 10]
Generated Node #0,3: 90:[95, 30, 10] Operation: 48-38=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[95, 30, 10], Operations: ['48-38=10']
Exploring Operation: 30-10=20, Resulting Numbers: [95, 20]
Generated Node #0,3,0: 90:[95, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [95, 3]
Generated Node #0,3,1: 90:[95, 3] Operation: 30/10=3
Exploring Operation: 30+10=40, Resulting Numbers: [95, 40]
Generated Node #0,3,2: 90:[95, 40] Operation: 30+10=40
Exploring Operation: 95-10=85, Resulting Numbers: [30, 85]
Generated Node #0,3,3: 90:[30, 85] Operation: 95-10=85
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[95, 3], Operations: ['48-38=10', '30/10=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,90 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[30, 85], Operations: ['48-38=10', '95-10=85']
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,90 unequal: No Solution
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,90 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[95, 20], Operations: ['48-38=10', '30-10=20']
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,90 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,90 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[95, 40], Operations: ['48-38=10', '30+10=40']
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 95+40=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 95*40=3800, Resulting Numbers: [3800]
3800,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[95, 30, 86], Operations: ['38+48=86']
Exploring Operation: 86-30=56, Resulting Numbers: [95, 56]
Generated Node #0,0,0: 90:[95, 56] Operation: 86-30=56
Exploring Operation: 95-30=65, Resulting Numbers: [86, 65]
Generated Node #0,0,1: 90:[86, 65] Operation: 95-30=65
Exploring Operation: 30+86=116, Resulting Numbers: [95, 116]
Generated Node #0,0,2: 90:[95, 116] Operation: 30+86=116
Exploring Operation: 95-86=9, Resulting Numbers: [30, 9]
Generated Node #0,0,3: 90:[30, 9] Operation: 95-86=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[30, 9], Operations: ['38+48=86', '95-86=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[95, 56], Operations: ['38+48=86', '86-30=56']
Exploring Operation: 95+56=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 95*56=5320, Resulting Numbers: [5320]
5320,90 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[86, 65], Operations: ['38+48=86', '95-30=65']
Exploring Operation: 86*65=5590, Resulting Numbers: [5590]
5590,90 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[95, 116], Operations: ['38+48=86', '30+86=116']
Exploring Operation: 116-95=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 95+116=211, Resulting Numbers: [211]
211,90 unequal: No Solution
Exploring Operation: 95*116=11020, Resulting Numbers: [11020]
11020,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[95, 48, 8], Operations: ['38-30=8']
Exploring Operation: 48-8=40, Resulting Numbers: [95, 40]
Generated Node #0,1,0: 90:[95, 40] Operation: 48-8=40
Exploring Operation: 95-48=47, Resulting Numbers: [8, 47]
Generated Node #0,1,1: 90:[8, 47] Operation: 95-48=47
Exploring Operation: 48/8=6, Resulting Numbers: [95, 6]
Generated Node #0,1,2: 90:[95, 6] Operation: 48/8=6
Exploring Operation: 95-8=87, Resulting Numbers: [48, 87]
Generated Node #0,1,3: 90:[48, 87] Operation: 95-8=87
Moving to Node #0,1,1
Current State: 90:[8, 47], Operations: ['38-30=8', '95-48=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,90 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[95, 6], Operations: ['38-30=8', '48/8=6']
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,90 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[48, 87], Operations: ['38-30=8', '95-8=87']
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,90 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[95, 40], Operations: ['38-30=8', '48-8=40']
Exploring Operation: 95+40=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 95*40=3800, Resulting Numbers: [3800]
3800,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[38, 30, 47], Operations: ['95-48=47']
Exploring Operation: 38-30=8, Resulting Numbers: [47, 8]
Generated Node #0,2,0: 90:[47, 8] Operation: 38-30=8
Exploring Operation: 38+47=85, Resulting Numbers: [30, 85]
Generated Node #0,2,1: 90:[30, 85] Operation: 38+47=85
Exploring Operation: 47-38=9, Resulting Numbers: [30, 9]
Generated Node #0,2,2: 90:[30, 9] Operation: 47-38=9
Exploring Operation: 47-30=17, Resulting Numbers: [38, 17]
Generated Node #0,2,3: 90:[38, 17] Operation: 47-30=17
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[30, 9], Operations: ['95-48=47', '47-38=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,90 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[47, 8], Operations: ['95-48=47', '38-30=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[30, 85], Operations: ['95-48=47', '38+47=85']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,90 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[38, 17], Operations: ['95-48=47', '47-30=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
81,
69,
56,
10
] | 64 | [
"81-69=12",
"10*12=120",
"120-56=64"
] | Current State: 64:[81, 69, 56, 10], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [56, 10, 12]
Generated Node #2: [56, 10, 12] from Operation: 81-69=12
Current State: 64:[56, 10, 12], Operations: ['81-69=12']
Exploring Operation: 10*12=120, Resulting Numbers: [56, 120]
Generated Node #3: [56, 120] from Operation: 10*12=120
Current State: 64:[56, 120], Operations: ['81-69=12', '10*12=120']
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[81, 69, 56, 10], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [56, 10, 12]
Generated Node #0,0: 64:[56, 10, 12] Operation: 81-69=12
Moving to Node #0,0
Current State: 64:[56, 10, 12], Operations: ['81-69=12']
Exploring Operation: 56+10=66, Resulting Numbers: [12, 66]
Generated Node #0,0,0: 64:[12, 66] Operation: 56+10=66
Moving to Node #0,0,0
Current State: 64:[12, 66], Operations: ['81-69=12', '56+10=66']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
46,
36,
63
] | 47 | [
"46-26=20",
"63-36=27",
"20+27=47"
] | Current State: 47:[26, 46, 36, 63], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [36, 63, 20]
Generated Node #2: [36, 63, 20] from Operation: 46-26=20
Current State: 47:[36, 63, 20], Operations: ['46-26=20']
Exploring Operation: 63-36=27, Resulting Numbers: [20, 27]
Generated Node #3: [20, 27] from Operation: 63-36=27
Current State: 47:[20, 27], Operations: ['46-26=20', '63-36=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[26, 46, 36, 63], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [46, 36, 37]
Generated Node #0,0: 47:[46, 36, 37] Operation: 63-26=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[46, 36, 37], Operations: ['63-26=37']
Exploring Operation: 36+37=73, Resulting Numbers: [46, 73]
Generated Node #0,0,0: 47:[46, 73] Operation: 36+37=73
Moving to Node #0,0,0
Current State: 47:[46, 73], Operations: ['63-26=37', '36+37=73']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
66,
89,
33
] | 90 | [
"66-32=34",
"89-33=56",
"34+56=90"
] | Current State: 90:[32, 66, 89, 33], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [89, 33, 34]
Generated Node #2: [89, 33, 34] from Operation: 66-32=34
Current State: 90:[89, 33, 34], Operations: ['66-32=34']
Exploring Operation: 89-33=56, Resulting Numbers: [34, 56]
Generated Node #3: [34, 56] from Operation: 89-33=56
Current State: 90:[34, 56], Operations: ['66-32=34', '89-33=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[32, 66, 89, 33], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [89, 33, 34]
Generated Node #0,0: 90:[89, 33, 34] Operation: 66-32=34
Exploring Operation: 89-66=23, Resulting Numbers: [32, 33, 23]
Generated Node #0,1: 90:[32, 33, 23] Operation: 89-66=23
Exploring Operation: 66-33=33, Resulting Numbers: [32, 89, 33]
Generated Node #0,2: 90:[32, 89, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [32, 89, 2]
Generated Node #0,3: 90:[32, 89, 2] Operation: 66/33=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[32, 89, 2], Operations: ['66/33=2']
Exploring Operation: 32-2=30, Resulting Numbers: [89, 30]
Generated Node #0,3,0: 90:[89, 30] Operation: 32-2=30
Exploring Operation: 32+2=34, Resulting Numbers: [89, 34]
Generated Node #0,3,1: 90:[89, 34] Operation: 32+2=34
Exploring Operation: 89+2=91, Resulting Numbers: [32, 91]
Generated Node #0,3,2: 90:[32, 91] Operation: 89+2=91
Exploring Operation: 32/2=16, Resulting Numbers: [89, 16]
Generated Node #0,3,3: 90:[89, 16] Operation: 32/2=16
Moving to Node #0,3,0
Current State: 90:[89, 30], Operations: ['66/33=2', '32-2=30']
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,90 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[89, 16], Operations: ['66/33=2', '32/2=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,90 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[32, 91], Operations: ['66/33=2', '89+2=91']
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,90 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[89, 34], Operations: ['66/33=2', '32+2=34']
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,90 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,90 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[32, 89, 33], Operations: ['66-33=33']
Exploring Operation: 32+33=65, Resulting Numbers: [89, 65]
Generated Node #0,2,0: 90:[89, 65] Operation: 32+33=65
Exploring Operation: 33-32=1, Resulting Numbers: [89, 1]
Generated Node #0,2,1: 90:[89, 1] Operation: 33-32=1
Exploring Operation: 89-33=56, Resulting Numbers: [32, 56]
Generated Node #0,2,2: 90:[32, 56] Operation: 89-33=56
Exploring Operation: 89-32=57, Resulting Numbers: [33, 57]
Generated Node #0,2,3: 90:[33, 57] Operation: 89-32=57
Moving to Node #0,2,1
Current State: 90:[89, 1], Operations: ['66-33=33', '33-32=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[32, 66, 89, 33], Operations: []
Exploring Operation: 66-33=33, Resulting Numbers: [32, 89, 33]
Generated Node #0,2: 90:[32, 89, 33] Operation: 66-33=33
Moving to Node #0,2
Current State: 90:[32, 89, 33], Operations: ['66-33=33']
Exploring Operation: 33-32=1, Resulting Numbers: [89, 1]
Generated Node #0,2,1: 90:[89, 1] Operation: 33-32=1
Moving to Node #0,2,1
Current State: 90:[89, 1], Operations: ['66-33=33', '33-32=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
15,
75,
55,
23
] | 34 | [
"75/15=5",
"55/5=11",
"23+11=34"
] | Current State: 34:[15, 75, 55, 23], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [55, 23, 5]
Generated Node #2: [55, 23, 5] from Operation: 75/15=5
Current State: 34:[55, 23, 5], Operations: ['75/15=5']
Exploring Operation: 55/5=11, Resulting Numbers: [23, 11]
Generated Node #3: [23, 11] from Operation: 55/5=11
Current State: 34:[23, 11], Operations: ['75/15=5', '55/5=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 75, 55, 23], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [15, 23, 20]
Generated Node #0,0: 34:[15, 23, 20] Operation: 75-55=20
Moving to Node #0,0
Current State: 34:[15, 23, 20], Operations: ['75-55=20']
Exploring Operation: 23-20=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 34:[15, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[15, 3], Operations: ['75-55=20', '23-20=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,34 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 |
[
15,
16,
43,
5
] | 25 | [
"15*16=240",
"43*5=215",
"240-215=25"
] | Current State: 25:[15, 16, 43, 5], Operations: []
Exploring Operation: 15*16=240, Resulting Numbers: [43, 5, 240]
Generated Node #2: [43, 5, 240] from Operation: 15*16=240
Current State: 25:[43, 5, 240], Operations: ['15*16=240']
Exploring Operation: 43*5=215, Resulting Numbers: [240, 215]
Generated Node #3: [240, 215] from Operation: 43*5=215
Current State: 25:[240, 215], Operations: ['15*16=240', '43*5=215']
Exploring Operation: 240-215=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[15, 16, 43, 5], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [16, 5, 28]
Generated Node #0,0: 25:[16, 5, 28] Operation: 43-15=28
Exploring Operation: 43-16=27, Resulting Numbers: [15, 5, 27]
Generated Node #0,1: 25:[15, 5, 27] Operation: 43-16=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[16, 5, 28], Operations: ['43-15=28']
Exploring Operation: 16+5=21, Resulting Numbers: [28, 21]
Generated Node #0,0,0: 25:[28, 21] Operation: 16+5=21
Exploring Operation: 28-16=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 25:[5, 12] Operation: 28-16=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[28, 21], Operations: ['43-15=28', '16+5=21']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,25 unequal: No Solution
No 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: 25:[5, 12], Operations: ['43-15=28', '28-16=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,25 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: 25:[15, 5, 27], Operations: ['43-16=27']
Exploring Operation: 15/5=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 25:[27, 3] Operation: 15/5=3
Exploring Operation: 15+5=20, Resulting Numbers: [27, 20]
Generated Node #0,1,1: 25:[27, 20] Operation: 15+5=20
Moving to Node #0,1,0
Current State: 25:[27, 3], Operations: ['43-16=27', '15/5=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[27, 20], Operations: ['43-16=27', '15+5=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,25 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 |
[
73,
70,
34,
35
] | 90 | [
"70/35=2",
"34/2=17",
"73+17=90"
] | Current State: 90:[73, 70, 34, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [73, 34, 2]
Generated Node #2: [73, 34, 2] from Operation: 70/35=2
Current State: 90:[73, 34, 2], Operations: ['70/35=2']
Exploring Operation: 34/2=17, Resulting Numbers: [73, 17]
Generated Node #3: [73, 17] from Operation: 34/2=17
Current State: 90:[73, 17], Operations: ['70/35=2', '34/2=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[73, 70, 34, 35], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [34, 35, 3]
Generated Node #0,0: 90:[34, 35, 3] Operation: 73-70=3
Exploring Operation: 70-35=35, Resulting Numbers: [73, 34, 35]
Generated Node #0,1: 90:[73, 34, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [73, 34, 2]
Generated Node #0,2: 90:[73, 34, 2] Operation: 70/35=2
Moving to Node #0,0
Current State: 90:[34, 35, 3], Operations: ['73-70=3']
Exploring Operation: 35-3=32, Resulting Numbers: [34, 32]
Generated Node #0,0,0: 90:[34, 32] Operation: 35-3=32
Exploring Operation: 35-34=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 90:[3, 1] Operation: 35-34=1
Exploring Operation: 34-3=31, Resulting Numbers: [35, 31]
Generated Node #0,0,2: 90:[35, 31] Operation: 34-3=31
Moving to Node #0,2
Current State: 90:[73, 34, 2], Operations: ['70/35=2']
Exploring Operation: 73+34=107, Resulting Numbers: [2, 107]
Generated Node #0,2,0: 90:[2, 107] Operation: 73+34=107
Exploring Operation: 34/2=17, Resulting Numbers: [73, 17]
Generated Node #0,2,1: 90:[73, 17] Operation: 34/2=17
Exploring Operation: 73-34=39, Resulting Numbers: [2, 39]
Generated Node #0,2,2: 90:[2, 39] Operation: 73-34=39
Moving to Node #0,1
Current State: 90:[73, 34, 35], Operations: ['70-35=35']
Exploring Operation: 73-34=39, Resulting Numbers: [35, 39]
Generated Node #0,1,0: 90:[35, 39] Operation: 73-34=39
Exploring Operation: 73-35=38, Resulting Numbers: [34, 38]
Generated Node #0,1,1: 90:[34, 38] Operation: 73-35=38
Exploring Operation: 35-34=1, Resulting Numbers: [73, 1]
Generated Node #0,1,2: 90:[73, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[35, 39], Operations: ['70-35=35', '73-34=39']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,90 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[34, 38], Operations: ['70-35=35', '73-35=38']
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,90 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[73, 1], Operations: ['70-35=35', '35-34=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 90:[3, 1], Operations: ['73-70=3', '35-34=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[35, 31], Operations: ['73-70=3', '34-3=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,90 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[34, 32], Operations: ['73-70=3', '35-3=32']
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,90 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[2, 39], Operations: ['70/35=2', '73-34=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[2, 107], Operations: ['70/35=2', '73+34=107']
Exploring Operation: 107-2=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 2*107=214, Resulting Numbers: [214]
214,90 unequal: No Solution
Exploring Operation: 2+107=109, Resulting Numbers: [109]
109,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[73, 17], Operations: ['70/35=2', '34/2=17']
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,90 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[73, 70, 34, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [73, 34, 2]
Generated Node #0,2: 90:[73, 34, 2] Operation: 70/35=2
Moving to Node #0,2
Current State: 90:[73, 34, 2], Operations: ['70/35=2']
Exploring Operation: 34/2=17, Resulting Numbers: [73, 17]
Generated Node #0,2,1: 90:[73, 17] Operation: 34/2=17
Moving to Node #0,2,1
Current State: 90:[73, 17], Operations: ['70/35=2', '34/2=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
69,
2,
45,
74
] | 85 | [
"74-69=5",
"2*45=90",
"90-5=85"
] | Current State: 85:[69, 2, 45, 74], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [2, 45, 5]
Generated Node #2: [2, 45, 5] from Operation: 74-69=5
Current State: 85:[2, 45, 5], Operations: ['74-69=5']
Exploring Operation: 2*45=90, Resulting Numbers: [5, 90]
Generated Node #3: [5, 90] from Operation: 2*45=90
Current State: 85:[5, 90], Operations: ['74-69=5', '2*45=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[69, 2, 45, 74], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [2, 74, 24]
Generated Node #0,0: 85:[2, 74, 24] Operation: 69-45=24
Exploring Operation: 74-69=5, Resulting Numbers: [2, 45, 5]
Generated Node #0,1: 85:[2, 45, 5] Operation: 74-69=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[2, 74, 24], Operations: ['69-45=24']
Exploring Operation: 2+74=76, Resulting Numbers: [24, 76]
Generated Node #0,0,0: 85:[24, 76] Operation: 2+74=76
Exploring Operation: 24-2=22, Resulting Numbers: [74, 22]
Generated Node #0,0,1: 85:[74, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[24, 76], Operations: ['69-45=24', '2+74=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,85 unequal: No Solution
No 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: 85:[74, 22], Operations: ['69-45=24', '24-2=22']
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 45, 5], Operations: ['74-69=5']
Exploring Operation: 45/5=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 85:[2, 9] Operation: 45/5=9
Exploring Operation: 2*45=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 85:[5, 90] Operation: 2*45=90
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[5, 90], Operations: ['74-69=5', '2*45=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[69, 2, 45, 74], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [2, 45, 5]
Generated Node #0,1: 85:[2, 45, 5] Operation: 74-69=5
Moving to Node #0,1
Current State: 85:[2, 45, 5], Operations: ['74-69=5']
Exploring Operation: 2*45=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 85:[5, 90] Operation: 2*45=90
Moving to Node #0,1,1
Current State: 85:[5, 90], Operations: ['74-69=5', '2*45=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
32,
6,
50,
64
] | 24 | [
"32+6=38",
"64-50=14",
"38-14=24"
] | Current State: 24:[32, 6, 50, 64], Operations: []
Exploring Operation: 32+6=38, Resulting Numbers: [50, 64, 38]
Generated Node #2: [50, 64, 38] from Operation: 32+6=38
Current State: 24:[50, 64, 38], Operations: ['32+6=38']
Exploring Operation: 64-50=14, Resulting Numbers: [38, 14]
Generated Node #3: [38, 14] from Operation: 64-50=14
Current State: 24:[38, 14], Operations: ['32+6=38', '64-50=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[32, 6, 50, 64], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [32, 6, 14]
Generated Node #0,0: 24:[32, 6, 14] Operation: 64-50=14
Exploring Operation: 64/32=2, Resulting Numbers: [6, 50, 2]
Generated Node #0,1: 24:[6, 50, 2] Operation: 64/32=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[32, 6, 14], Operations: ['64-50=14']
Exploring Operation: 32-14=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 24:[6, 18] Operation: 32-14=18
Exploring Operation: 32-6=26, Resulting Numbers: [14, 26]
Generated Node #0,0,1: 24:[14, 26] Operation: 32-6=26
Moving to Node #0,0,1
Current State: 24:[14, 26], Operations: ['64-50=14', '32-6=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[6, 18], Operations: ['64-50=14', '32-14=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[32, 6, 50, 64], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [32, 6, 14]
Generated Node #0,0: 24:[32, 6, 14] Operation: 64-50=14
Moving to Node #0,0
Current State: 24:[32, 6, 14], Operations: ['64-50=14']
Exploring Operation: 32-14=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 24:[6, 18] Operation: 32-14=18
Moving to Node #0,0,0
Current State: 24:[6, 18], Operations: ['64-50=14', '32-14=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
58,
42,
9,
20
] | 13 | [
"58-42=16",
"9+20=29",
"29-16=13"
] | Current State: 13:[58, 42, 9, 20], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [9, 20, 16]
Generated Node #2: [9, 20, 16] from Operation: 58-42=16
Current State: 13:[9, 20, 16], Operations: ['58-42=16']
Exploring Operation: 9+20=29, Resulting Numbers: [16, 29]
Generated Node #3: [16, 29] from Operation: 9+20=29
Current State: 13:[16, 29], Operations: ['58-42=16', '9+20=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[58, 42, 9, 20], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [9, 20, 16]
Generated Node #0,0: 13:[9, 20, 16] Operation: 58-42=16
Exploring Operation: 58-9=49, Resulting Numbers: [42, 20, 49]
Generated Node #0,1: 13:[42, 20, 49] Operation: 58-9=49
Exploring Operation: 42-20=22, Resulting Numbers: [58, 9, 22]
Generated Node #0,2: 13:[58, 9, 22] Operation: 42-20=22
Exploring Operation: 58-20=38, Resulting Numbers: [42, 9, 38]
Generated Node #0,3: 13:[42, 9, 38] Operation: 58-20=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[9, 20, 16], Operations: ['58-42=16']
Exploring Operation: 20-16=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 13:[9, 4] Operation: 20-16=4
Exploring Operation: 20-9=11, Resulting Numbers: [16, 11]
Generated Node #0,0,1: 13:[16, 11] Operation: 20-9=11
Exploring Operation: 9+20=29, Resulting Numbers: [16, 29]
Generated Node #0,0,2: 13:[16, 29] Operation: 9+20=29
Exploring Operation: 16-9=7, Resulting Numbers: [20, 7]
Generated Node #0,0,3: 13:[20, 7] Operation: 16-9=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[16, 11], Operations: ['58-42=16', '20-9=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[9, 4], Operations: ['58-42=16', '20-16=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[58, 42, 9, 20], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [9, 20, 16]
Generated Node #0,0: 13:[9, 20, 16] Operation: 58-42=16
Moving to Node #0,0
Current State: 13:[9, 20, 16], Operations: ['58-42=16']
Exploring Operation: 20-16=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 13:[9, 4] Operation: 20-16=4
Moving to Node #0,0,0
Current State: 13:[9, 4], Operations: ['58-42=16', '20-16=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
17,
33,
12,
18
] | 22 | [
"33-17=16",
"18-12=6",
"16+6=22"
] | Current State: 22:[17, 33, 12, 18], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [12, 18, 16]
Generated Node #2: [12, 18, 16] from Operation: 33-17=16
Current State: 22:[12, 18, 16], Operations: ['33-17=16']
Exploring Operation: 18-12=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 18-12=6
Current State: 22:[16, 6], Operations: ['33-17=16', '18-12=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 33, 12, 18], Operations: []
Exploring Operation: 33-18=15, Resulting Numbers: [17, 12, 15]
Generated Node #0,0: 22:[17, 12, 15] Operation: 33-18=15
Exploring Operation: 33-17=16, Resulting Numbers: [12, 18, 16]
Generated Node #0,1: 22:[12, 18, 16] Operation: 33-17=16
Exploring Operation: 18-17=1, Resulting Numbers: [33, 12, 1]
Generated Node #0,2: 22:[33, 12, 1] Operation: 18-17=1
Exploring Operation: 33-12=21, Resulting Numbers: [17, 18, 21]
Generated Node #0,3: 22:[17, 18, 21] Operation: 33-12=21
Moving to Node #0,0
Current State: 22:[17, 12, 15], Operations: ['33-18=15']
Exploring Operation: 17-12=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 22:[15, 5] Operation: 17-12=5
Exploring Operation: 12+15=27, Resulting Numbers: [17, 27]
Generated Node #0,0,1: 22:[17, 27] Operation: 12+15=27
Exploring Operation: 15-12=3, Resulting Numbers: [17, 3]
Generated Node #0,0,2: 22:[17, 3] Operation: 15-12=3
Exploring Operation: 17-15=2, Resulting Numbers: [12, 2]
Generated Node #0,0,3: 22:[12, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[12, 2], Operations: ['33-18=15', '17-15=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
No 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: 22:[17, 3], Operations: ['33-18=15', '15-12=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No 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: 22:[15, 5], Operations: ['33-18=15', '17-12=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,22 unequal: No Solution
No 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: 22:[17, 27], Operations: ['33-18=15', '12+15=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 22:[17, 18, 21], Operations: ['33-12=21']
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,3,0: 22:[21, 1] Operation: 18-17=1
Exploring Operation: 21-17=4, Resulting Numbers: [18, 4]
Generated Node #0,3,1: 22:[18, 4] Operation: 21-17=4
Exploring Operation: 21-18=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 22:[17, 3] Operation: 21-18=3
Exploring Operation: 17+18=35, Resulting Numbers: [21, 35]
Generated Node #0,3,3: 22:[21, 35] Operation: 17+18=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[21, 1], Operations: ['33-12=21', '18-17=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 33, 12, 18], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [17, 18, 21]
Generated Node #0,3: 22:[17, 18, 21] Operation: 33-12=21
Moving to Node #0,3
Current State: 22:[17, 18, 21], Operations: ['33-12=21']
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,3,0: 22:[21, 1] Operation: 18-17=1
Moving to Node #0,3,0
Current State: 22:[21, 1], Operations: ['33-12=21', '18-17=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
27,
3,
7,
21
] | 56 | [
"27*7=189",
"189-21=168",
"168/3=56"
] | Current State: 56:[27, 3, 7, 21], Operations: []
Exploring Operation: 27*7=189, Resulting Numbers: [3, 21, 189]
Generated Node #2: [3, 21, 189] from Operation: 27*7=189
Current State: 56:[3, 21, 189], Operations: ['27*7=189']
Exploring Operation: 189-21=168, Resulting Numbers: [3, 168]
Generated Node #3: [3, 168] from Operation: 189-21=168
Current State: 56:[3, 168], Operations: ['27*7=189', '189-21=168']
Exploring Operation: 168/3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[27, 3, 7, 21], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [27, 7, 7]
Generated Node #0,0: 56:[27, 7, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[27, 7, 7], Operations: ['21/3=7']
Exploring Operation: 7+7=14, Resulting Numbers: [27, 14]
Generated Node #0,0,0: 56:[27, 14] Operation: 7+7=14
Moving to Node #0,0,0
Current State: 56:[27, 14], Operations: ['21/3=7', '7+7=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
16,
23,
18
] | 19 | [
"88-16=72",
"72/18=4",
"23-4=19"
] | Current State: 19:[88, 16, 23, 18], Operations: []
Exploring Operation: 88-16=72, Resulting Numbers: [23, 18, 72]
Generated Node #2: [23, 18, 72] from Operation: 88-16=72
Current State: 19:[23, 18, 72], Operations: ['88-16=72']
Exploring Operation: 72/18=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 72/18=4
Current State: 19:[23, 4], Operations: ['88-16=72', '72/18=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[88, 16, 23, 18], Operations: []
Exploring Operation: 88-23=65, Resulting Numbers: [16, 18, 65]
Generated Node #0,0: 19:[16, 18, 65] Operation: 88-23=65
Exploring Operation: 88-16=72, Resulting Numbers: [23, 18, 72]
Generated Node #0,1: 19:[23, 18, 72] Operation: 88-16=72
Moving to Node #0,0
Current State: 19:[16, 18, 65], Operations: ['88-23=65']
Exploring Operation: 65-18=47, Resulting Numbers: [16, 47]
Generated Node #0,0,0: 19:[16, 47] Operation: 65-18=47
Exploring Operation: 65-16=49, Resulting Numbers: [18, 49]
Generated Node #0,0,1: 19:[18, 49] Operation: 65-16=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[16, 47], Operations: ['88-23=65', '65-18=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[18, 49], Operations: ['88-23=65', '65-16=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,19 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: 19:[23, 18, 72], Operations: ['88-16=72']
Exploring Operation: 72-23=49, Resulting Numbers: [18, 49]
Generated Node #0,1,0: 19:[18, 49] Operation: 72-23=49
Exploring Operation: 72/18=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 19:[23, 4] Operation: 72/18=4
Moving to Node #0,1,1
Current State: 19:[23, 4], Operations: ['88-16=72', '72/18=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[88, 16, 23, 18], Operations: []
Exploring Operation: 88-16=72, Resulting Numbers: [23, 18, 72]
Generated Node #0,1: 19:[23, 18, 72] Operation: 88-16=72
Moving to Node #0,1
Current State: 19:[23, 18, 72], Operations: ['88-16=72']
Exploring Operation: 72/18=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 19:[23, 4] Operation: 72/18=4
Moving to Node #0,1,1
Current State: 19:[23, 4], Operations: ['88-16=72', '72/18=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
51,
24,
30,
35
] | 32 | [
"51-24=27",
"35-30=5",
"27+5=32"
] | Current State: 32:[51, 24, 30, 35], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [30, 35, 27]
Generated Node #2: [30, 35, 27] from Operation: 51-24=27
Current State: 32:[30, 35, 27], Operations: ['51-24=27']
Exploring Operation: 35-30=5, Resulting Numbers: [27, 5]
Generated Node #3: [27, 5] from Operation: 35-30=5
Current State: 32:[27, 5], Operations: ['51-24=27', '35-30=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[51, 24, 30, 35], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [30, 35, 27]
Generated Node #0,0: 32:[30, 35, 27] Operation: 51-24=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[30, 35, 27], Operations: ['51-24=27']
Exploring Operation: 35-27=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 32:[30, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[30, 8], Operations: ['51-24=27', '35-27=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,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_1 | mult_heuristic |
[
24,
25,
46,
71
] | 68 | [
"24+25=49",
"46+71=117",
"117-49=68"
] | Current State: 68:[24, 25, 46, 71], Operations: []
Exploring Operation: 24+25=49, Resulting Numbers: [46, 71, 49]
Generated Node #2: [46, 71, 49] from Operation: 24+25=49
Current State: 68:[46, 71, 49], Operations: ['24+25=49']
Exploring Operation: 46+71=117, Resulting Numbers: [49, 117]
Generated Node #3: [49, 117] from Operation: 46+71=117
Current State: 68:[49, 117], Operations: ['24+25=49', '46+71=117']
Exploring Operation: 117-49=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[24, 25, 46, 71], Operations: []
Exploring Operation: 25-24=1, Resulting Numbers: [46, 71, 1]
Generated Node #0,0: 68:[46, 71, 1] Operation: 25-24=1
Exploring Operation: 46-25=21, Resulting Numbers: [24, 71, 21]
Generated Node #0,1: 68:[24, 71, 21] Operation: 46-25=21
Exploring Operation: 46-24=22, Resulting Numbers: [25, 71, 22]
Generated Node #0,2: 68:[25, 71, 22] Operation: 46-24=22
Exploring Operation: 24+46=70, Resulting Numbers: [25, 71, 70]
Generated Node #0,3: 68:[25, 71, 70] Operation: 24+46=70
Exploring Operation: 25+46=71, Resulting Numbers: [24, 71, 71]
Generated Node #0,4: 68:[24, 71, 71] Operation: 25+46=71
Moving to Node #0,3
Current State: 68:[25, 71, 70], Operations: ['24+46=70']
Exploring Operation: 71-25=46, Resulting Numbers: [70, 46]
Generated Node #0,3,0: 68:[70, 46] Operation: 71-25=46
Exploring Operation: 71-70=1, Resulting Numbers: [25, 1]
Generated Node #0,3,1: 68:[25, 1] Operation: 71-70=1
Exploring Operation: 25+70=95, Resulting Numbers: [71, 95]
Generated Node #0,3,2: 68:[71, 95] Operation: 25+70=95
Exploring Operation: 70-25=45, Resulting Numbers: [71, 45]
Generated Node #0,3,3: 68:[71, 45] Operation: 70-25=45
Exploring Operation: 25+71=96, Resulting Numbers: [70, 96]
Generated Node #0,3,4: 68:[70, 96] Operation: 25+71=96
Moving to Node #0,4
Current State: 68:[24, 71, 71], Operations: ['25+46=71']
Exploring Operation: 71-71=0, Resulting Numbers: [24, 0]
Generated Node #0,4,0: 68:[24, 0] Operation: 71-71=0
Exploring Operation: 71-24=47, Resulting Numbers: [71, 47]
Generated Node #0,4,1: 68:[71, 47] Operation: 71-24=47
Exploring Operation: 24+71=95, Resulting Numbers: [71, 95]
Generated Node #0,4,2: 68:[71, 95] Operation: 24+71=95
Exploring Operation: 71/71=1, Resulting Numbers: [24, 1]
Generated Node #0,4,3: 68:[24, 1] Operation: 71/71=1
Exploring Operation: 71-24=47, Resulting Numbers: [71, 47]
Generated Node #0,4,4: 68:[71, 47] Operation: 71-24=47
Moving to Node #0,1
Current State: 68:[24, 71, 21], Operations: ['46-25=21']
Exploring Operation: 24+71=95, Resulting Numbers: [21, 95]
Generated Node #0,1,0: 68:[21, 95] Operation: 24+71=95
Exploring Operation: 24-21=3, Resulting Numbers: [71, 3]
Generated Node #0,1,1: 68:[71, 3] Operation: 24-21=3
Exploring Operation: 71-24=47, Resulting Numbers: [21, 47]
Generated Node #0,1,2: 68:[21, 47] Operation: 71-24=47
Exploring Operation: 71-21=50, Resulting Numbers: [24, 50]
Generated Node #0,1,3: 68:[24, 50] Operation: 71-21=50
Exploring Operation: 24+21=45, Resulting Numbers: [71, 45]
Generated Node #0,1,4: 68:[71, 45] Operation: 24+21=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[71, 3], Operations: ['46-25=21', '24-21=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,68 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[24, 25, 46, 71], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [24, 71, 21]
Generated Node #0,1: 68:[24, 71, 21] Operation: 46-25=21
Moving to Node #0,1
Current State: 68:[24, 71, 21], Operations: ['46-25=21']
Exploring Operation: 24-21=3, Resulting Numbers: [71, 3]
Generated Node #0,1,1: 68:[71, 3] Operation: 24-21=3
Moving to Node #0,1,1
Current State: 68:[71, 3], Operations: ['46-25=21', '24-21=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
27,
1,
68,
34
] | 74 | [
"27+1=28",
"68+34=102",
"102-28=74"
] | Current State: 74:[27, 1, 68, 34], Operations: []
Exploring Operation: 27+1=28, Resulting Numbers: [68, 34, 28]
Generated Node #2: [68, 34, 28] from Operation: 27+1=28
Current State: 74:[68, 34, 28], Operations: ['27+1=28']
Exploring Operation: 68+34=102, Resulting Numbers: [28, 102]
Generated Node #3: [28, 102] from Operation: 68+34=102
Current State: 74:[28, 102], Operations: ['27+1=28', '68+34=102']
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[27, 1, 68, 34], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [1, 34, 41]
Generated Node #0,0: 74:[1, 34, 41] Operation: 68-27=41
Moving to Node #0,0
Current State: 74:[1, 34, 41], Operations: ['68-27=41']
Exploring Operation: 34+41=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 74:[1, 75] Operation: 34+41=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[1, 75], Operations: ['68-27=41', '34+41=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[27, 1, 68, 34], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [1, 34, 41]
Generated Node #0,0: 74:[1, 34, 41] Operation: 68-27=41
Moving to Node #0,0
Current State: 74:[1, 34, 41], Operations: ['68-27=41']
Exploring Operation: 34+41=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 74:[1, 75] Operation: 34+41=75
Moving to Node #0,0,0
Current State: 74:[1, 75], Operations: ['68-27=41', '34+41=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
59,
5,
64,
58
] | 63 | [
"64*58=3712",
"5+3712=3717",
"3717/59=63"
] | Current State: 63:[59, 5, 64, 58], Operations: []
Exploring Operation: 64*58=3712, Resulting Numbers: [59, 5, 3712]
Generated Node #2: [59, 5, 3712] from Operation: 64*58=3712
Current State: 63:[59, 5, 3712], Operations: ['64*58=3712']
Exploring Operation: 5+3712=3717, Resulting Numbers: [59, 3717]
Generated Node #3: [59, 3717] from Operation: 5+3712=3717
Current State: 63:[59, 3717], Operations: ['64*58=3712', '5+3712=3717']
Exploring Operation: 3717/59=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[59, 5, 64, 58], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [5, 64, 1]
Generated Node #0,0: 63:[5, 64, 1] Operation: 59-58=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[5, 64, 1], Operations: ['59-58=1']
Exploring Operation: 5+1=6, Resulting Numbers: [64, 6]
Generated Node #0,0,0: 63:[64, 6] Operation: 5+1=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[64, 6], Operations: ['59-58=1', '5+1=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,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_1 | mult_heuristic |
[
42,
39,
59,
13
] | 51 | [
"59-42=17",
"39/13=3",
"17*3=51"
] | Current State: 51:[42, 39, 59, 13], Operations: []
Exploring Operation: 59-42=17, Resulting Numbers: [39, 13, 17]
Generated Node #2: [39, 13, 17] from Operation: 59-42=17
Current State: 51:[39, 13, 17], Operations: ['59-42=17']
Exploring Operation: 39/13=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 39/13=3
Current State: 51:[17, 3], Operations: ['59-42=17', '39/13=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[42, 39, 59, 13], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [59, 13, 3]
Generated Node #0,0: 51:[59, 13, 3] Operation: 42-39=3
Moving to Node #0,0
Current State: 51:[59, 13, 3], Operations: ['42-39=3']
Exploring Operation: 59-13=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 51:[3, 46] Operation: 59-13=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[3, 46], Operations: ['42-39=3', '59-13=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,51 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 |
[
45,
47,
40,
62
] | 44 | [
"47-45=2",
"62-40=22",
"2*22=44"
] | Current State: 44:[45, 47, 40, 62], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [40, 62, 2]
Generated Node #2: [40, 62, 2] from Operation: 47-45=2
Current State: 44:[40, 62, 2], Operations: ['47-45=2']
Exploring Operation: 62-40=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 62-40=22
Current State: 44:[2, 22], Operations: ['47-45=2', '62-40=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[45, 47, 40, 62], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [47, 40, 17]
Generated Node #0,0: 44:[47, 40, 17] Operation: 62-45=17
Exploring Operation: 47-45=2, Resulting Numbers: [40, 62, 2]
Generated Node #0,1: 44:[40, 62, 2] Operation: 47-45=2
Exploring Operation: 45-40=5, Resulting Numbers: [47, 62, 5]
Generated Node #0,2: 44:[47, 62, 5] Operation: 45-40=5
Exploring Operation: 62-47=15, Resulting Numbers: [45, 40, 15]
Generated Node #0,3: 44:[45, 40, 15] Operation: 62-47=15
Exploring Operation: 62-40=22, Resulting Numbers: [45, 47, 22]
Generated Node #0,4: 44:[45, 47, 22] Operation: 62-40=22
Moving to Node #0,4
Current State: 44:[45, 47, 22], Operations: ['62-40=22']
Exploring Operation: 45-22=23, Resulting Numbers: [47, 23]
Generated Node #0,4,0: 44:[47, 23] Operation: 45-22=23
Exploring Operation: 45+22=67, Resulting Numbers: [47, 67]
Generated Node #0,4,1: 44:[47, 67] Operation: 45+22=67
Exploring Operation: 47-22=25, Resulting Numbers: [45, 25]
Generated Node #0,4,2: 44:[45, 25] Operation: 47-22=25
Exploring Operation: 47+22=69, Resulting Numbers: [45, 69]
Generated Node #0,4,3: 44:[45, 69] Operation: 47+22=69
Exploring Operation: 47-45=2, Resulting Numbers: [22, 2]
Generated Node #0,4,4: 44:[22, 2] Operation: 47-45=2
Moving to Node #0,3
Current State: 44:[45, 40, 15], Operations: ['62-47=15']
Exploring Operation: 45-15=30, Resulting Numbers: [40, 30]
Generated Node #0,3,0: 44:[40, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [40, 3]
Generated Node #0,3,1: 44:[40, 3] Operation: 45/15=3
Exploring Operation: 40+15=55, Resulting Numbers: [45, 55]
Generated Node #0,3,2: 44:[45, 55] Operation: 40+15=55
Exploring Operation: 45-40=5, Resulting Numbers: [15, 5]
Generated Node #0,3,3: 44:[15, 5] Operation: 45-40=5
Exploring Operation: 40-15=25, Resulting Numbers: [45, 25]
Generated Node #0,3,4: 44:[45, 25] Operation: 40-15=25
Moving to Node #0,0
Current State: 44:[47, 40, 17], Operations: ['62-45=17']
Exploring Operation: 40+17=57, Resulting Numbers: [47, 57]
Generated Node #0,0,0: 44:[47, 57] Operation: 40+17=57
Exploring Operation: 47+17=64, Resulting Numbers: [40, 64]
Generated Node #0,0,1: 44:[40, 64] Operation: 47+17=64
Exploring Operation: 47-40=7, Resulting Numbers: [17, 7]
Generated Node #0,0,2: 44:[17, 7] Operation: 47-40=7
Exploring Operation: 40-17=23, Resulting Numbers: [47, 23]
Generated Node #0,0,3: 44:[47, 23] Operation: 40-17=23
Exploring Operation: 47-17=30, Resulting Numbers: [40, 30]
Generated Node #0,0,4: 44:[40, 30] Operation: 47-17=30
Moving to Node #0,1
Current State: 44:[40, 62, 2], Operations: ['47-45=2']
Exploring Operation: 62/2=31, Resulting Numbers: [40, 31]
Generated Node #0,1,0: 44:[40, 31] Operation: 62/2=31
Exploring Operation: 62-40=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 44:[2, 22] Operation: 62-40=22
Exploring Operation: 40/2=20, Resulting Numbers: [62, 20]
Generated Node #0,1,2: 44:[62, 20] Operation: 40/2=20
Exploring Operation: 40+2=42, Resulting Numbers: [62, 42]
Generated Node #0,1,3: 44:[62, 42] Operation: 40+2=42
Exploring Operation: 62-2=60, Resulting Numbers: [40, 60]
Generated Node #0,1,4: 44:[40, 60] Operation: 62-2=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[2, 22], Operations: ['47-45=2', '62-40=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[45, 47, 40, 62], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [40, 62, 2]
Generated Node #0,1: 44:[40, 62, 2] Operation: 47-45=2
Moving to Node #0,1
Current State: 44:[40, 62, 2], Operations: ['47-45=2']
Exploring Operation: 62-40=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 44:[2, 22] Operation: 62-40=22
Moving to Node #0,1,1
Current State: 44:[2, 22], Operations: ['47-45=2', '62-40=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | mult_heuristic |
[
6,
62,
85,
39
] | 10 | [
"62-6=56",
"85-39=46",
"56-46=10"
] | Current State: 10:[6, 62, 85, 39], Operations: []
Exploring Operation: 62-6=56, Resulting Numbers: [85, 39, 56]
Generated Node #2: [85, 39, 56] from Operation: 62-6=56
Current State: 10:[85, 39, 56], Operations: ['62-6=56']
Exploring Operation: 85-39=46, Resulting Numbers: [56, 46]
Generated Node #3: [56, 46] from Operation: 85-39=46
Current State: 10:[56, 46], Operations: ['62-6=56', '85-39=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[6, 62, 85, 39], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [6, 39, 23]
Generated Node #0,0: 10:[6, 39, 23] Operation: 85-62=23
Moving to Node #0,0
Current State: 10:[6, 39, 23], Operations: ['85-62=23']
Exploring Operation: 39-23=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 10:[6, 16] Operation: 39-23=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[6, 16], Operations: ['85-62=23', '39-23=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[6, 62, 85, 39], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [6, 39, 23]
Generated Node #0,0: 10:[6, 39, 23] Operation: 85-62=23
Moving to Node #0,0
Current State: 10:[6, 39, 23], Operations: ['85-62=23']
Exploring Operation: 39-23=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 10:[6, 16] Operation: 39-23=16
Moving to Node #0,0,0
Current State: 10:[6, 16], Operations: ['85-62=23', '39-23=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
61,
10,
5
] | 66 | [
"25/5=5",
"61+10=71",
"71-5=66"
] | Current State: 66:[25, 61, 10, 5], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [61, 10, 5]
Generated Node #2: [61, 10, 5] from Operation: 25/5=5
Current State: 66:[61, 10, 5], Operations: ['25/5=5']
Exploring Operation: 61+10=71, Resulting Numbers: [5, 71]
Generated Node #3: [5, 71] from Operation: 61+10=71
Current State: 66:[5, 71], Operations: ['25/5=5', '61+10=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[25, 61, 10, 5], Operations: []
Exploring Operation: 61+5=66, Resulting Numbers: [25, 10, 66]
Generated Node #0,0: 66:[25, 10, 66] Operation: 61+5=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[25, 10, 66], Operations: ['61+5=66']
Exploring Operation: 25+10=35, Resulting Numbers: [66, 35]
Generated Node #0,0,0: 66:[66, 35] Operation: 25+10=35
Moving to Node #0,0,0
Current State: 66:[66, 35], Operations: ['61+5=66', '25+10=35']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
78,
35,
14
] | 69 | [
"8*14=112",
"78-35=43",
"112-43=69"
] | Current State: 69:[8, 78, 35, 14], Operations: []
Exploring Operation: 8*14=112, Resulting Numbers: [78, 35, 112]
Generated Node #2: [78, 35, 112] from Operation: 8*14=112
Current State: 69:[78, 35, 112], Operations: ['8*14=112']
Exploring Operation: 78-35=43, Resulting Numbers: [112, 43]
Generated Node #3: [112, 43] from Operation: 78-35=43
Current State: 69:[112, 43], Operations: ['8*14=112', '78-35=43']
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[8, 78, 35, 14], Operations: []
Exploring Operation: 8+14=22, Resulting Numbers: [78, 35, 22]
Generated Node #0,0: 69:[78, 35, 22] Operation: 8+14=22
Exploring Operation: 35-14=21, Resulting Numbers: [8, 78, 21]
Generated Node #0,1: 69:[8, 78, 21] Operation: 35-14=21
Exploring Operation: 78-8=70, Resulting Numbers: [35, 14, 70]
Generated Node #0,2: 69:[35, 14, 70] Operation: 78-8=70
Exploring Operation: 35-8=27, Resulting Numbers: [78, 14, 27]
Generated Node #0,3: 69:[78, 14, 27] Operation: 35-8=27
Moving to Node #0,1
Current State: 69:[8, 78, 21], Operations: ['35-14=21']
Exploring Operation: 8+78=86, Resulting Numbers: [21, 86]
Generated Node #0,1,0: 69:[21, 86] Operation: 8+78=86
Exploring Operation: 8+21=29, Resulting Numbers: [78, 29]
Generated Node #0,1,1: 69:[78, 29] Operation: 8+21=29
Exploring Operation: 78-21=57, Resulting Numbers: [8, 57]
Generated Node #0,1,2: 69:[8, 57] Operation: 78-21=57
Exploring Operation: 78-8=70, Resulting Numbers: [21, 70]
Generated Node #0,1,3: 69:[21, 70] Operation: 78-8=70
Moving to Node #0,2
Current State: 69:[35, 14, 70], Operations: ['78-8=70']
Exploring Operation: 35-14=21, Resulting Numbers: [70, 21]
Generated Node #0,2,0: 69:[70, 21] Operation: 35-14=21
Exploring Operation: 70/35=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 69:[14, 2] Operation: 70/35=2
Exploring Operation: 35+14=49, Resulting Numbers: [70, 49]
Generated Node #0,2,2: 69:[70, 49] Operation: 35+14=49
Exploring Operation: 70/14=5, Resulting Numbers: [35, 5]
Generated Node #0,2,3: 69:[35, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[70, 21], Operations: ['78-8=70', '35-14=21']
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,69 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[14, 2], Operations: ['78-8=70', '70/35=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[35, 5], Operations: ['78-8=70', '70/14=5']
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,69 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[70, 49], Operations: ['78-8=70', '35+14=49']
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,69 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,69 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,69 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: 69:[78, 35, 22], Operations: ['8+14=22']
Exploring Operation: 78-35=43, Resulting Numbers: [22, 43]
Generated Node #0,0,0: 69:[22, 43] Operation: 78-35=43
Exploring Operation: 78-22=56, Resulting Numbers: [35, 56]
Generated Node #0,0,1: 69:[35, 56] Operation: 78-22=56
Exploring Operation: 35+22=57, Resulting Numbers: [78, 57]
Generated Node #0,0,2: 69:[78, 57] Operation: 35+22=57
Exploring Operation: 35-22=13, Resulting Numbers: [78, 13]
Generated Node #0,0,3: 69:[78, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[78, 13], Operations: ['8+14=22', '35-22=13']
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,69 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[22, 43], Operations: ['8+14=22', '78-35=43']
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,69 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[78, 57], Operations: ['8+14=22', '35+22=57']
Exploring Operation: 78+57=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Exploring Operation: 78*57=4446, Resulting Numbers: [4446]
4446,69 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[35, 56], Operations: ['8+14=22', '78-22=56']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,69 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 69:[78, 14, 27], Operations: ['35-8=27']
Exploring Operation: 27-14=13, Resulting Numbers: [78, 13]
Generated Node #0,3,0: 69:[78, 13] Operation: 27-14=13
Exploring Operation: 78-27=51, Resulting Numbers: [14, 51]
Generated Node #0,3,1: 69:[14, 51] Operation: 78-27=51
Exploring Operation: 78+14=92, Resulting Numbers: [27, 92]
Generated Node #0,3,2: 69:[27, 92] Operation: 78+14=92
Exploring Operation: 78-14=64, Resulting Numbers: [27, 64]
Generated Node #0,3,3: 69:[27, 64] Operation: 78-14=64
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[27, 64], Operations: ['35-8=27', '78-14=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,69 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[78, 13], Operations: ['35-8=27', '27-14=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[14, 51], Operations: ['35-8=27', '78-27=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,69 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[27, 92], Operations: ['35-8=27', '78+14=92']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,69 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 69:[21, 70], Operations: ['35-14=21', '78-8=70']
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,69 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[78, 29], Operations: ['35-14=21', '8+21=29']
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,69 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,69 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[8, 57], Operations: ['35-14=21', '78-21=57']
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,69 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[21, 86], Operations: ['35-14=21', '8+78=86']
Exploring Operation: 21*86=1806, Resulting Numbers: [1806]
1806,69 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 21+86=107, Resulting Numbers: [107]
107,69 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
39,
96,
10
] | 25 | [
"22+39=61",
"96-10=86",
"86-61=25"
] | Current State: 25:[22, 39, 96, 10], Operations: []
Exploring Operation: 22+39=61, Resulting Numbers: [96, 10, 61]
Generated Node #2: [96, 10, 61] from Operation: 22+39=61
Current State: 25:[96, 10, 61], Operations: ['22+39=61']
Exploring Operation: 96-10=86, Resulting Numbers: [61, 86]
Generated Node #3: [61, 86] from Operation: 96-10=86
Current State: 25:[61, 86], Operations: ['22+39=61', '96-10=86']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[22, 39, 96, 10], Operations: []
Exploring Operation: 96-39=57, Resulting Numbers: [22, 10, 57]
Generated Node #0,0: 25:[22, 10, 57] Operation: 96-39=57
Exploring Operation: 96-22=74, Resulting Numbers: [39, 10, 74]
Generated Node #0,1: 25:[39, 10, 74] Operation: 96-22=74
Moving to Node #0,0
Current State: 25:[22, 10, 57], Operations: ['96-39=57']
Exploring Operation: 57-22=35, Resulting Numbers: [10, 35]
Generated Node #0,0,0: 25:[10, 35] Operation: 57-22=35
Exploring Operation: 57-10=47, Resulting Numbers: [22, 47]
Generated Node #0,0,1: 25:[22, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[10, 35], Operations: ['96-39=57', '57-22=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[22, 39, 96, 10], Operations: []
Exploring Operation: 96-39=57, Resulting Numbers: [22, 10, 57]
Generated Node #0,0: 25:[22, 10, 57] Operation: 96-39=57
Moving to Node #0,0
Current State: 25:[22, 10, 57], Operations: ['96-39=57']
Exploring Operation: 57-22=35, Resulting Numbers: [10, 35]
Generated Node #0,0,0: 25:[10, 35] Operation: 57-22=35
Moving to Node #0,0,0
Current State: 25:[10, 35], Operations: ['96-39=57', '57-22=35']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
38,
3,
16,
46
] | 48 | [
"3+16=19",
"38/19=2",
"46+2=48"
] | Current State: 48:[38, 3, 16, 46], Operations: []
Exploring Operation: 3+16=19, Resulting Numbers: [38, 46, 19]
Generated Node #2: [38, 46, 19] from Operation: 3+16=19
Current State: 48:[38, 46, 19], Operations: ['3+16=19']
Exploring Operation: 38/19=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 38/19=2
Current State: 48:[46, 2], Operations: ['3+16=19', '38/19=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[38, 3, 16, 46], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [3, 46, 22]
Generated Node #0,0: 48:[3, 46, 22] Operation: 38-16=22
Exploring Operation: 46-38=8, Resulting Numbers: [3, 16, 8]
Generated Node #0,1: 48:[3, 16, 8] Operation: 46-38=8
Exploring Operation: 38+16=54, Resulting Numbers: [3, 46, 54]
Generated Node #0,2: 48:[3, 46, 54] Operation: 38+16=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[3, 16, 8], Operations: ['46-38=8']
Exploring Operation: 16+8=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 48:[3, 24] Operation: 16+8=24
Exploring Operation: 3*8=24, Resulting Numbers: [16, 24]
Generated Node #0,1,1: 48:[16, 24] Operation: 3*8=24
Exploring Operation: 3*16=48, Resulting Numbers: [8, 48]
Generated Node #0,1,2: 48:[8, 48] Operation: 3*16=48
Moving to Node #0,1,0
Current State: 48:[3, 24], Operations: ['46-38=8', '16+8=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[16, 24], Operations: ['46-38=8', '3*8=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[8, 48], Operations: ['46-38=8', '3*16=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[3, 46, 22], Operations: ['38-16=22']
Exploring Operation: 46-22=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 48:[3, 24] Operation: 46-22=24
Exploring Operation: 3+22=25, Resulting Numbers: [46, 25]
Generated Node #0,0,1: 48:[46, 25] Operation: 3+22=25
Exploring Operation: 3+46=49, Resulting Numbers: [22, 49]
Generated Node #0,0,2: 48:[22, 49] Operation: 3+46=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[3, 24], Operations: ['38-16=22', '46-22=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,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,0,1
Current State: 48:[46, 25], Operations: ['38-16=22', '3+22=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,48 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,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,0,2
Current State: 48:[22, 49], Operations: ['38-16=22', '3+46=49']
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[3, 46, 54], Operations: ['38+16=54']
Exploring Operation: 54-46=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 48:[3, 8] Operation: 54-46=8
Exploring Operation: 54-3=51, Resulting Numbers: [46, 51]
Generated Node #0,2,1: 48:[46, 51] Operation: 54-3=51
Exploring Operation: 54/3=18, Resulting Numbers: [46, 18]
Generated Node #0,2,2: 48:[46, 18] Operation: 54/3=18
Moving to Node #0,2,0
Current State: 48:[3, 8], Operations: ['38+16=54', '54-46=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[46, 18], Operations: ['38+16=54', '54/3=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,48 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[46, 51], Operations: ['38+16=54', '54-3=51']
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,48 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
10,
36,
7
] | 40 | [
"21-10=11",
"36-7=29",
"11+29=40"
] | Current State: 40:[21, 10, 36, 7], Operations: []
Exploring Operation: 21-10=11, Resulting Numbers: [36, 7, 11]
Generated Node #2: [36, 7, 11] from Operation: 21-10=11
Current State: 40:[36, 7, 11], Operations: ['21-10=11']
Exploring Operation: 36-7=29, Resulting Numbers: [11, 29]
Generated Node #3: [11, 29] from Operation: 36-7=29
Current State: 40:[11, 29], Operations: ['21-10=11', '36-7=29']
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[21, 10, 36, 7], Operations: []
Exploring Operation: 36+7=43, Resulting Numbers: [21, 10, 43]
Generated Node #0,0: 40:[21, 10, 43] Operation: 36+7=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[21, 10, 43], Operations: ['36+7=43']
Exploring Operation: 43-21=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 40:[10, 22] Operation: 43-21=22
Moving to Node #0,0,0
Current State: 40:[10, 22], Operations: ['36+7=43', '43-21=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
93,
75,
74
] | 41 | [
"93-52=41",
"75-74=1",
"41*1=41"
] | Current State: 41:[52, 93, 75, 74], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [75, 74, 41]
Generated Node #2: [75, 74, 41] from Operation: 93-52=41
Current State: 41:[75, 74, 41], Operations: ['93-52=41']
Exploring Operation: 75-74=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 75-74=1
Current State: 41:[41, 1], Operations: ['93-52=41', '75-74=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[52, 93, 75, 74], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [75, 74, 41]
Generated Node #0,0: 41:[75, 74, 41] Operation: 93-52=41
Exploring Operation: 93-75=18, Resulting Numbers: [52, 74, 18]
Generated Node #0,1: 41:[52, 74, 18] Operation: 93-75=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[75, 74, 41], Operations: ['93-52=41']
Exploring Operation: 75-74=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 41:[41, 1] Operation: 75-74=1
Exploring Operation: 75-41=34, Resulting Numbers: [74, 34]
Generated Node #0,0,1: 41:[74, 34] Operation: 75-41=34
Moving to Node #0,0,0
Current State: 41:[41, 1], Operations: ['93-52=41', '75-74=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[52, 93, 75, 74], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [75, 74, 41]
Generated Node #0,0: 41:[75, 74, 41] Operation: 93-52=41
Moving to Node #0,0
Current State: 41:[75, 74, 41], Operations: ['93-52=41']
Exploring Operation: 75-74=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 41:[41, 1] Operation: 75-74=1
Moving to Node #0,0,0
Current State: 41:[41, 1], Operations: ['93-52=41', '75-74=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
98,
18,
3,
99
] | 54 | [
"99-98=1",
"18*3=54",
"1*54=54"
] | Current State: 54:[98, 18, 3, 99], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [18, 3, 1]
Generated Node #2: [18, 3, 1] from Operation: 99-98=1
Current State: 54:[18, 3, 1], Operations: ['99-98=1']
Exploring Operation: 18*3=54, Resulting Numbers: [1, 54]
Generated Node #3: [1, 54] from Operation: 18*3=54
Current State: 54:[1, 54], Operations: ['99-98=1', '18*3=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[98, 18, 3, 99], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [18, 3, 1]
Generated Node #0,0: 54:[18, 3, 1] Operation: 99-98=1
Exploring Operation: 99/3=33, Resulting Numbers: [98, 18, 33]
Generated Node #0,1: 54:[98, 18, 33] Operation: 99/3=33
Exploring Operation: 98-18=80, Resulting Numbers: [3, 99, 80]
Generated Node #0,2: 54:[3, 99, 80] Operation: 98-18=80
Moving to Node #0,0
Current State: 54:[18, 3, 1], Operations: ['99-98=1']
Exploring Operation: 18/1=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 54:[3, 18] Operation: 18/1=18
Exploring Operation: 3*1=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 54:[18, 3] Operation: 3*1=3
Exploring Operation: 18*1=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 54:[3, 18] Operation: 18*1=18
Moving to Node #0,1
Current State: 54:[98, 18, 33], Operations: ['99/3=33']
Exploring Operation: 98-18=80, Resulting Numbers: [33, 80]
Generated Node #0,1,0: 54:[33, 80] Operation: 98-18=80
Exploring Operation: 98-33=65, Resulting Numbers: [18, 65]
Generated Node #0,1,1: 54:[18, 65] Operation: 98-33=65
Exploring Operation: 18+33=51, Resulting Numbers: [98, 51]
Generated Node #0,1,2: 54:[98, 51] Operation: 18+33=51
Moving to Node #0,2
Current State: 54:[3, 99, 80], Operations: ['98-18=80']
Exploring Operation: 99-3=96, Resulting Numbers: [80, 96]
Generated Node #0,2,0: 54:[80, 96] Operation: 99-3=96
Exploring Operation: 99-80=19, Resulting Numbers: [3, 19]
Generated Node #0,2,1: 54:[3, 19] Operation: 99-80=19
Exploring Operation: 99/3=33, Resulting Numbers: [80, 33]
Generated Node #0,2,2: 54:[80, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[3, 19], Operations: ['98-18=80', '99-80=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[80, 33], Operations: ['98-18=80', '99/3=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,54 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[80, 96], Operations: ['98-18=80', '99-3=96']
Exploring Operation: 80+96=176, Resulting Numbers: [176]
176,54 unequal: No Solution
Exploring Operation: 80*96=7680, Resulting Numbers: [7680]
7680,54 unequal: No Solution
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,54 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: 54:[3, 18], Operations: ['99-98=1', '18/1=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:[98, 18, 3, 99], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [18, 3, 1]
Generated Node #0,0: 54:[18, 3, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 54:[18, 3, 1], Operations: ['99-98=1']
Exploring Operation: 18/1=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 54:[3, 18] Operation: 18/1=18
Moving to Node #0,0,0
Current State: 54:[3, 18], Operations: ['99-98=1', '18/1=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
41,
44,
30,
21
] | 25 | [
"41-30=11",
"44/11=4",
"21+4=25"
] | Current State: 25:[41, 44, 30, 21], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [44, 21, 11]
Generated Node #2: [44, 21, 11] from Operation: 41-30=11
Current State: 25:[44, 21, 11], Operations: ['41-30=11']
Exploring Operation: 44/11=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 44/11=4
Current State: 25:[21, 4], Operations: ['41-30=11', '44/11=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[41, 44, 30, 21], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [44, 21, 11]
Generated Node #0,0: 25:[44, 21, 11] Operation: 41-30=11
Exploring Operation: 44-41=3, Resulting Numbers: [30, 21, 3]
Generated Node #0,1: 25:[30, 21, 3] Operation: 44-41=3
Exploring Operation: 44-21=23, Resulting Numbers: [41, 30, 23]
Generated Node #0,2: 25:[41, 30, 23] Operation: 44-21=23
Exploring Operation: 41-21=20, Resulting Numbers: [44, 30, 20]
Generated Node #0,3: 25:[44, 30, 20] Operation: 41-21=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[30, 21, 3], Operations: ['44-41=3']
Exploring Operation: 30-3=27, Resulting Numbers: [21, 27]
Generated Node #0,1,0: 25:[21, 27] Operation: 30-3=27
Exploring Operation: 21/3=7, Resulting Numbers: [30, 7]
Generated Node #0,1,1: 25:[30, 7] Operation: 21/3=7
Exploring Operation: 30-21=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 25:[3, 9] Operation: 30-21=9
Exploring Operation: 21+3=24, Resulting Numbers: [30, 24]
Generated Node #0,1,3: 25:[30, 24] Operation: 21+3=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[21, 27], Operations: ['44-41=3', '30-3=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,25 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No 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: 25:[3, 9], Operations: ['44-41=3', '30-21=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No 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: 25:[30, 24], Operations: ['44-41=3', '21+3=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,25 unequal: No Solution
No 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: 25:[30, 7], Operations: ['44-41=3', '21/3=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,25 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,25 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: 25:[41, 30, 23], Operations: ['44-21=23']
Exploring Operation: 30-23=7, Resulting Numbers: [41, 7]
Generated Node #0,2,0: 25:[41, 7] Operation: 30-23=7
Exploring Operation: 41-30=11, Resulting Numbers: [23, 11]
Generated Node #0,2,1: 25:[23, 11] Operation: 41-30=11
Exploring Operation: 41-23=18, Resulting Numbers: [30, 18]
Generated Node #0,2,2: 25:[30, 18] Operation: 41-23=18
Exploring Operation: 41+23=64, Resulting Numbers: [30, 64]
Generated Node #0,2,3: 25:[30, 64] Operation: 41+23=64
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[23, 11], Operations: ['44-21=23', '41-30=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,25 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No 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: 25:[30, 18], Operations: ['44-21=23', '41-23=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,25 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No 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: 25:[41, 7], Operations: ['44-21=23', '30-23=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,25 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,25 unequal: No Solution
No 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: 25:[30, 64], Operations: ['44-21=23', '41+23=64']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,25 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: 25:[44, 21, 11], Operations: ['41-30=11']
Exploring Operation: 21-11=10, Resulting Numbers: [44, 10]
Generated Node #0,0,0: 25:[44, 10] Operation: 21-11=10
Exploring Operation: 44-21=23, Resulting Numbers: [11, 23]
Generated Node #0,0,1: 25:[11, 23] Operation: 44-21=23
Exploring Operation: 44/11=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 25:[21, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [21, 33]
Generated Node #0,0,3: 25:[21, 33] Operation: 44-11=33
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[21, 4], Operations: ['41-30=11', '44/11=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[41, 44, 30, 21], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [44, 21, 11]
Generated Node #0,0: 25:[44, 21, 11] Operation: 41-30=11
Moving to Node #0,0
Current State: 25:[44, 21, 11], Operations: ['41-30=11']
Exploring Operation: 44/11=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 25:[21, 4] Operation: 44/11=4
Moving to Node #0,0,2
Current State: 25:[21, 4], Operations: ['41-30=11', '44/11=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
31,
83,
52,
57
] | 26 | [
"31+83=114",
"52*57=2964",
"2964/114=26"
] | Current State: 26:[31, 83, 52, 57], Operations: []
Exploring Operation: 31+83=114, Resulting Numbers: [52, 57, 114]
Generated Node #2: [52, 57, 114] from Operation: 31+83=114
Current State: 26:[52, 57, 114], Operations: ['31+83=114']
Exploring Operation: 52*57=2964, Resulting Numbers: [114, 2964]
Generated Node #3: [114, 2964] from Operation: 52*57=2964
Current State: 26:[114, 2964], Operations: ['31+83=114', '52*57=2964']
Exploring Operation: 2964/114=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[31, 83, 52, 57], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [31, 52, 26]
Generated Node #0,0: 26:[31, 52, 26] Operation: 83-57=26
Moving to Node #0,0
Current State: 26:[31, 52, 26], Operations: ['83-57=26']
Exploring Operation: 52-31=21, Resulting Numbers: [26, 21]
Generated Node #0,0,0: 26:[26, 21] Operation: 52-31=21
Moving to Node #0,0,0
Current State: 26:[26, 21], Operations: ['83-57=26', '52-31=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
47,
98,
96
] | 100 | [
"95-47=48",
"96/48=2",
"98+2=100"
] | Current State: 100:[95, 47, 98, 96], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [98, 96, 48]
Generated Node #2: [98, 96, 48] from Operation: 95-47=48
Current State: 100:[98, 96, 48], Operations: ['95-47=48']
Exploring Operation: 96/48=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 96/48=2
Current State: 100:[98, 2], Operations: ['95-47=48', '96/48=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[95, 47, 98, 96], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [47, 96, 3]
Generated Node #0,0: 100:[47, 96, 3] Operation: 98-95=3
Exploring Operation: 95-47=48, Resulting Numbers: [98, 96, 48]
Generated Node #0,1: 100:[98, 96, 48] Operation: 95-47=48
Exploring Operation: 96-47=49, Resulting Numbers: [95, 98, 49]
Generated Node #0,2: 100:[95, 98, 49] Operation: 96-47=49
Exploring Operation: 96-95=1, Resulting Numbers: [47, 98, 1]
Generated Node #0,3: 100:[47, 98, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[47, 98, 1], Operations: ['96-95=1']
Exploring Operation: 98+1=99, Resulting Numbers: [47, 99]
Generated Node #0,3,0: 100:[47, 99] Operation: 98+1=99
Exploring Operation: 47+1=48, Resulting Numbers: [98, 48]
Generated Node #0,3,1: 100:[98, 48] Operation: 47+1=48
Exploring Operation: 47*1=47, Resulting Numbers: [98, 47]
Generated Node #0,3,2: 100:[98, 47] Operation: 47*1=47
Exploring Operation: 98-47=51, Resulting Numbers: [1, 51]
Generated Node #0,3,3: 100:[1, 51] Operation: 98-47=51
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[1, 51], Operations: ['96-95=1', '98-47=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[47, 99], Operations: ['96-95=1', '98+1=99']
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,100 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[98, 48], Operations: ['96-95=1', '47+1=48']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 98*48=4704, Resulting Numbers: [4704]
4704,100 unequal: No Solution
Exploring Operation: 98+48=146, Resulting Numbers: [146]
146,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[98, 47], Operations: ['96-95=1', '47*1=47']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,100 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[47, 96, 3], Operations: ['98-95=3']
Exploring Operation: 96-47=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 100:[3, 49] Operation: 96-47=49
Exploring Operation: 47-3=44, Resulting Numbers: [96, 44]
Generated Node #0,0,1: 100:[96, 44] Operation: 47-3=44
Exploring Operation: 47+3=50, Resulting Numbers: [96, 50]
Generated Node #0,0,2: 100:[96, 50] Operation: 47+3=50
Exploring Operation: 96+3=99, Resulting Numbers: [47, 99]
Generated Node #0,0,3: 100:[47, 99] Operation: 96+3=99
Moving to Node #0,0,0
Current State: 100:[3, 49], Operations: ['98-95=3', '96-47=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[47, 99], Operations: ['98-95=3', '96+3=99']
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,100 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,100 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[96, 50], Operations: ['98-95=3', '47+3=50']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,100 unequal: No Solution
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[96, 44], Operations: ['98-95=3', '47-3=44']
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,100 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,100 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[98, 96, 48], Operations: ['95-47=48']
Exploring Operation: 96-48=48, Resulting Numbers: [98, 48]
Generated Node #0,1,0: 100:[98, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [98, 2]
Generated Node #0,1,1: 100:[98, 2] Operation: 96/48=2
Exploring Operation: 98-96=2, Resulting Numbers: [48, 2]
Generated Node #0,1,2: 100:[48, 2] Operation: 98-96=2
Exploring Operation: 98-48=50, Resulting Numbers: [96, 50]
Generated Node #0,1,3: 100:[96, 50] Operation: 98-48=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[98, 2], Operations: ['95-47=48', '96/48=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,100 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[95, 47, 98, 96], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [98, 96, 48]
Generated Node #0,1: 100:[98, 96, 48] Operation: 95-47=48
Moving to Node #0,1
Current State: 100:[98, 96, 48], Operations: ['95-47=48']
Exploring Operation: 96/48=2, Resulting Numbers: [98, 2]
Generated Node #0,1,1: 100:[98, 2] Operation: 96/48=2
Moving to Node #0,1,1
Current State: 100:[98, 2], Operations: ['95-47=48', '96/48=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
80,
30,
77,
22
] | 36 | [
"80-77=3",
"22*3=66",
"66-30=36"
] | Current State: 36:[80, 30, 77, 22], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [30, 22, 3]
Generated Node #2: [30, 22, 3] from Operation: 80-77=3
Current State: 36:[30, 22, 3], Operations: ['80-77=3']
Exploring Operation: 22*3=66, Resulting Numbers: [30, 66]
Generated Node #3: [30, 66] from Operation: 22*3=66
Current State: 36:[30, 66], Operations: ['80-77=3', '22*3=66']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[80, 30, 77, 22], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [77, 22, 50]
Generated Node #0,0: 36:[77, 22, 50] Operation: 80-30=50
Exploring Operation: 77-30=47, Resulting Numbers: [80, 22, 47]
Generated Node #0,1: 36:[80, 22, 47] Operation: 77-30=47
Exploring Operation: 77-22=55, Resulting Numbers: [80, 30, 55]
Generated Node #0,2: 36:[80, 30, 55] Operation: 77-22=55
Exploring Operation: 80-77=3, Resulting Numbers: [30, 22, 3]
Generated Node #0,3: 36:[30, 22, 3] Operation: 80-77=3
Exploring Operation: 80-22=58, Resulting Numbers: [30, 77, 58]
Generated Node #0,4: 36:[30, 77, 58] Operation: 80-22=58
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[30, 22, 3], Operations: ['80-77=3']
Exploring Operation: 22-3=19, Resulting Numbers: [30, 19]
Generated Node #0,3,0: 36:[30, 19] Operation: 22-3=19
Exploring Operation: 30+3=33, Resulting Numbers: [22, 33]
Generated Node #0,3,1: 36:[22, 33] Operation: 30+3=33
Exploring Operation: 30/3=10, Resulting Numbers: [22, 10]
Generated Node #0,3,2: 36:[22, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [22, 27]
Generated Node #0,3,3: 36:[22, 27] Operation: 30-3=27
Exploring Operation: 30-22=8, Resulting Numbers: [3, 8]
Generated Node #0,3,4: 36:[3, 8] Operation: 30-22=8
Moving to Node #0,3,4
Current State: 36:[3, 8], Operations: ['80-77=3', '30-22=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[22, 10], Operations: ['80-77=3', '30/3=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,36 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[30, 19], Operations: ['80-77=3', '22-3=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[22, 33], Operations: ['80-77=3', '30+3=33']
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,36 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[22, 27], Operations: ['80-77=3', '30-3=27']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,36 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,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
Current State: 36:[77, 22, 50], Operations: ['80-30=50']
Exploring Operation: 77+22=99, Resulting Numbers: [50, 99]
Generated Node #0,0,0: 36:[50, 99] Operation: 77+22=99
Exploring Operation: 77-50=27, Resulting Numbers: [22, 27]
Generated Node #0,0,1: 36:[22, 27] Operation: 77-50=27
Exploring Operation: 50-22=28, Resulting Numbers: [77, 28]
Generated Node #0,0,2: 36:[77, 28] Operation: 50-22=28
Exploring Operation: 77-22=55, Resulting Numbers: [50, 55]
Generated Node #0,0,3: 36:[50, 55] Operation: 77-22=55
Exploring Operation: 22+50=72, Resulting Numbers: [77, 72]
Generated Node #0,0,4: 36:[77, 72] Operation: 22+50=72
Moving to Node #0,0,1
Current State: 36:[22, 27], Operations: ['80-30=50', '77-50=27']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[50, 55], Operations: ['80-30=50', '77-22=55']
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[77, 28], Operations: ['80-30=50', '50-22=28']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,36 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[50, 99], Operations: ['80-30=50', '77+22=99']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 50*99=4950, Resulting Numbers: [4950]
4950,36 unequal: No Solution
Exploring Operation: 50+99=149, Resulting Numbers: [149]
149,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[77, 72], Operations: ['80-30=50', '22+50=72']
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,36 unequal: No Solution
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,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,1
Current State: 36:[80, 22, 47], Operations: ['77-30=47']
Exploring Operation: 47-22=25, Resulting Numbers: [80, 25]
Generated Node #0,1,0: 36:[80, 25] Operation: 47-22=25
Exploring Operation: 80-22=58, Resulting Numbers: [47, 58]
Generated Node #0,1,1: 36:[47, 58] Operation: 80-22=58
Exploring Operation: 80+22=102, Resulting Numbers: [47, 102]
Generated Node #0,1,2: 36:[47, 102] Operation: 80+22=102
Exploring Operation: 22+47=69, Resulting Numbers: [80, 69]
Generated Node #0,1,3: 36:[80, 69] Operation: 22+47=69
Exploring Operation: 80-47=33, Resulting Numbers: [22, 33]
Generated Node #0,1,4: 36:[22, 33] Operation: 80-47=33
Moving to Node #0,1,4
Current State: 36:[22, 33], Operations: ['77-30=47', '80-47=33']
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,36 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[47, 58], Operations: ['77-30=47', '80-22=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[80, 25], Operations: ['77-30=47', '47-22=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,36 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[47, 102], Operations: ['77-30=47', '80+22=102']
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,36 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[80, 69], Operations: ['77-30=47', '22+47=69']
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,36 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,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,2
Current State: 36:[80, 30, 55], Operations: ['77-22=55']
Exploring Operation: 30+55=85, Resulting Numbers: [80, 85]
Generated Node #0,2,0: 36:[80, 85] Operation: 30+55=85
Exploring Operation: 80-30=50, Resulting Numbers: [55, 50]
Generated Node #0,2,1: 36:[55, 50] Operation: 80-30=50
Exploring Operation: 80+30=110, Resulting Numbers: [55, 110]
Generated Node #0,2,2: 36:[55, 110] Operation: 80+30=110
Exploring Operation: 55-30=25, Resulting Numbers: [80, 25]
Generated Node #0,2,3: 36:[80, 25] Operation: 55-30=25
Exploring Operation: 80-55=25, Resulting Numbers: [30, 25]
Generated Node #0,2,4: 36:[30, 25] Operation: 80-55=25
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 36:[30, 25], Operations: ['77-22=55', '80-55=25']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,36 unequal: No Solution
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,36 unequal: No Solution
No 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: 36:[55, 50], Operations: ['77-22=55', '80-30=50']
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,36 unequal: No Solution
No 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: 36:[80, 25], Operations: ['77-22=55', '55-30=25']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,36 unequal: No Solution
No 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: 36:[80, 85], Operations: ['77-22=55', '30+55=85']
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,36 unequal: No Solution
No 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: 36:[55, 110], Operations: ['77-22=55', '80+30=110']
Exploring Operation: 110/55=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 55+110=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 55*110=6050, Resulting Numbers: [6050]
6050,36 unequal: No Solution
Exploring Operation: 110-55=55, Resulting Numbers: [55]
55,36 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: 36:[30, 77, 58], Operations: ['80-22=58']
Exploring Operation: 77-58=19, Resulting Numbers: [30, 19]
Generated Node #0,4,0: 36:[30, 19] Operation: 77-58=19
Exploring Operation: 30+58=88, Resulting Numbers: [77, 88]
Generated Node #0,4,1: 36:[77, 88] Operation: 30+58=88
Exploring Operation: 30+77=107, Resulting Numbers: [58, 107]
Generated Node #0,4,2: 36:[58, 107] Operation: 30+77=107
Exploring Operation: 58-30=28, Resulting Numbers: [77, 28]
Generated Node #0,4,3: 36:[77, 28] Operation: 58-30=28
Exploring Operation: 77-30=47, Resulting Numbers: [58, 47]
Generated Node #0,4,4: 36:[58, 47] Operation: 77-30=47
Moving to Node #0,4,0
Current State: 36:[30, 19], Operations: ['80-22=58', '77-58=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,36 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[58, 47], Operations: ['80-22=58', '77-30=47']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[77, 28], Operations: ['80-22=58', '58-30=28']
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,36 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[77, 88], Operations: ['80-22=58', '30+58=88']
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[58, 107], Operations: ['80-22=58', '30+77=107']
Exploring Operation: 107-58=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 58*107=6206, Resulting Numbers: [6206]
6206,36 unequal: No Solution
Exploring Operation: 58+107=165, Resulting Numbers: [165]
165,36 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 |
[
22,
25,
36,
64
] | 76 | [
"25-22=3",
"36/3=12",
"64+12=76"
] | Current State: 76:[22, 25, 36, 64], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [36, 64, 3]
Generated Node #2: [36, 64, 3] from Operation: 25-22=3
Current State: 76:[36, 64, 3], Operations: ['25-22=3']
Exploring Operation: 36/3=12, Resulting Numbers: [64, 12]
Generated Node #3: [64, 12] from Operation: 36/3=12
Current State: 76:[64, 12], Operations: ['25-22=3', '36/3=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[22, 25, 36, 64], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [22, 36, 39]
Generated Node #0,0: 76:[22, 36, 39] Operation: 64-25=39
Exploring Operation: 22+64=86, Resulting Numbers: [25, 36, 86]
Generated Node #0,1: 76:[25, 36, 86] Operation: 22+64=86
Exploring Operation: 25-22=3, Resulting Numbers: [36, 64, 3]
Generated Node #0,2: 76:[36, 64, 3] Operation: 25-22=3
Exploring Operation: 25+64=89, Resulting Numbers: [22, 36, 89]
Generated Node #0,3: 76:[22, 36, 89] Operation: 25+64=89
Exploring Operation: 64-22=42, Resulting Numbers: [25, 36, 42]
Generated Node #0,4: 76:[25, 36, 42] Operation: 64-22=42
Moving to Node #0,0
Current State: 76:[22, 36, 39], Operations: ['64-25=39']
Exploring Operation: 39-22=17, Resulting Numbers: [36, 17]
Generated Node #0,0,0: 76:[36, 17] Operation: 39-22=17
Exploring Operation: 22+39=61, Resulting Numbers: [36, 61]
Generated Node #0,0,1: 76:[36, 61] Operation: 22+39=61
Exploring Operation: 39-36=3, Resulting Numbers: [22, 3]
Generated Node #0,0,2: 76:[22, 3] Operation: 39-36=3
Exploring Operation: 36+39=75, Resulting Numbers: [22, 75]
Generated Node #0,0,3: 76:[22, 75] Operation: 36+39=75
Exploring Operation: 36-22=14, Resulting Numbers: [39, 14]
Generated Node #0,0,4: 76:[39, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[36, 17], Operations: ['64-25=39', '39-22=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,76 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[22, 3], Operations: ['64-25=39', '39-36=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[22, 75], Operations: ['64-25=39', '36+39=75']
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,76 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[39, 14], Operations: ['64-25=39', '36-22=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[36, 61], Operations: ['64-25=39', '22+39=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,76 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 76:[25, 36, 42], Operations: ['64-22=42']
Exploring Operation: 36+42=78, Resulting Numbers: [25, 78]
Generated Node #0,4,0: 76:[25, 78] Operation: 36+42=78
Exploring Operation: 36-25=11, Resulting Numbers: [42, 11]
Generated Node #0,4,1: 76:[42, 11] Operation: 36-25=11
Exploring Operation: 25+42=67, Resulting Numbers: [36, 67]
Generated Node #0,4,2: 76:[36, 67] Operation: 25+42=67
Exploring Operation: 42-36=6, Resulting Numbers: [25, 6]
Generated Node #0,4,3: 76:[25, 6] Operation: 42-36=6
Exploring Operation: 42-25=17, Resulting Numbers: [36, 17]
Generated Node #0,4,4: 76:[36, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[36, 17], Operations: ['64-22=42', '42-25=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,76 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[25, 78], Operations: ['64-22=42', '36+42=78']
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,76 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[25, 6], Operations: ['64-22=42', '42-36=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,76 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[42, 11], Operations: ['64-22=42', '36-25=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,76 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[36, 67], Operations: ['64-22=42', '25+42=67']
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,76 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 76:[36, 64, 3], Operations: ['25-22=3']
Exploring Operation: 36-3=33, Resulting Numbers: [64, 33]
Generated Node #0,2,0: 76:[64, 33] Operation: 36-3=33
Exploring Operation: 64-36=28, Resulting Numbers: [3, 28]
Generated Node #0,2,1: 76:[3, 28] Operation: 64-36=28
Exploring Operation: 64+3=67, Resulting Numbers: [36, 67]
Generated Node #0,2,2: 76:[36, 67] Operation: 64+3=67
Exploring Operation: 64-3=61, Resulting Numbers: [36, 61]
Generated Node #0,2,3: 76:[36, 61] Operation: 64-3=61
Exploring Operation: 36+3=39, Resulting Numbers: [64, 39]
Generated Node #0,2,4: 76:[64, 39] Operation: 36+3=39
Moving to Node #0,1
Current State: 76:[25, 36, 86], Operations: ['22+64=86']
Exploring Operation: 25+86=111, Resulting Numbers: [36, 111]
Generated Node #0,1,0: 76:[36, 111] Operation: 25+86=111
Exploring Operation: 86-25=61, Resulting Numbers: [36, 61]
Generated Node #0,1,1: 76:[36, 61] Operation: 86-25=61
Exploring Operation: 86-36=50, Resulting Numbers: [25, 50]
Generated Node #0,1,2: 76:[25, 50] Operation: 86-36=50
Exploring Operation: 25+36=61, Resulting Numbers: [86, 61]
Generated Node #0,1,3: 76:[86, 61] Operation: 25+36=61
Exploring Operation: 36-25=11, Resulting Numbers: [86, 11]
Generated Node #0,1,4: 76:[86, 11] Operation: 36-25=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[36, 61], Operations: ['22+64=86', '86-25=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[86, 11], Operations: ['22+64=86', '36-25=11']
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[25, 50], Operations: ['22+64=86', '86-36=50']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,76 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[86, 61], Operations: ['22+64=86', '25+36=61']
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,76 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[36, 111], Operations: ['22+64=86', '25+86=111']
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 36+111=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 36*111=3996, Resulting Numbers: [3996]
3996,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 76:[22, 36, 89], Operations: ['25+64=89']
Exploring Operation: 36-22=14, Resulting Numbers: [89, 14]
Generated Node #0,3,0: 76:[89, 14] Operation: 36-22=14
Exploring Operation: 89-22=67, Resulting Numbers: [36, 67]
Generated Node #0,3,1: 76:[36, 67] Operation: 89-22=67
Exploring Operation: 22+89=111, Resulting Numbers: [36, 111]
Generated Node #0,3,2: 76:[36, 111] Operation: 22+89=111
Exploring Operation: 22+36=58, Resulting Numbers: [89, 58]
Generated Node #0,3,3: 76:[89, 58] Operation: 22+36=58
Exploring Operation: 89-36=53, Resulting Numbers: [22, 53]
Generated Node #0,3,4: 76:[22, 53] Operation: 89-36=53
Moving to Node #0,2,1
Current State: 76:[3, 28], Operations: ['25-22=3', '64-36=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[36, 67], Operations: ['25+64=89', '89-22=67']
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,76 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[36, 67], Operations: ['25-22=3', '64+3=67']
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,76 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[64, 39], Operations: ['25-22=3', '36+3=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,76 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[36, 61], Operations: ['25-22=3', '64-3=61']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[64, 33], Operations: ['25-22=3', '36-3=33']
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,76 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[89, 14], Operations: ['25+64=89', '36-22=14']
Exploring Operation: 89*14=1246, Resulting Numbers: [1246]
1246,76 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 89+14=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[22, 53], Operations: ['25+64=89', '89-36=53']
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,76 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[89, 58], Operations: ['25+64=89', '22+36=58']
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,76 unequal: No Solution
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[36, 111], Operations: ['25+64=89', '22+89=111']
Exploring Operation: 36*111=3996, Resulting Numbers: [3996]
3996,76 unequal: No Solution
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 36+111=147, Resulting Numbers: [147]
147,76 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
37,
14,
6,
97
] | 80 | [
"37-14=23",
"6+97=103",
"103-23=80"
] | Current State: 80:[37, 14, 6, 97], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [6, 97, 23]
Generated Node #2: [6, 97, 23] from Operation: 37-14=23
Current State: 80:[6, 97, 23], Operations: ['37-14=23']
Exploring Operation: 6+97=103, Resulting Numbers: [23, 103]
Generated Node #3: [23, 103] from Operation: 6+97=103
Current State: 80:[23, 103], Operations: ['37-14=23', '6+97=103']
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[37, 14, 6, 97], Operations: []
Exploring Operation: 97-14=83, Resulting Numbers: [37, 6, 83]
Generated Node #0,0: 80:[37, 6, 83] Operation: 97-14=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[37, 6, 83], Operations: ['97-14=83']
Exploring Operation: 37+6=43, Resulting Numbers: [83, 43]
Generated Node #0,0,0: 80:[83, 43] Operation: 37+6=43
Moving to Node #0,0,0
Current State: 80:[83, 43], Operations: ['97-14=83', '37+6=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,80 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 |
[
71,
35,
28,
7
] | 80 | [
"71-7=64",
"35*64=2240",
"2240/28=80"
] | Current State: 80:[71, 35, 28, 7], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [35, 28, 64]
Generated Node #2: [35, 28, 64] from Operation: 71-7=64
Current State: 80:[35, 28, 64], Operations: ['71-7=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [28, 2240]
Generated Node #3: [28, 2240] from Operation: 35*64=2240
Current State: 80:[28, 2240], Operations: ['71-7=64', '35*64=2240']
Exploring Operation: 2240/28=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[71, 35, 28, 7], Operations: []
Exploring Operation: 71+7=78, Resulting Numbers: [35, 28, 78]
Generated Node #0,0: 80:[35, 28, 78] Operation: 71+7=78
Exploring Operation: 71-28=43, Resulting Numbers: [35, 7, 43]
Generated Node #0,1: 80:[35, 7, 43] Operation: 71-28=43
Exploring Operation: 28/7=4, Resulting Numbers: [71, 35, 4]
Generated Node #0,2: 80:[71, 35, 4] Operation: 28/7=4
Exploring Operation: 71-35=36, Resulting Numbers: [28, 7, 36]
Generated Node #0,3: 80:[28, 7, 36] Operation: 71-35=36
Exploring Operation: 35-28=7, Resulting Numbers: [71, 7, 7]
Generated Node #0,4: 80:[71, 7, 7] Operation: 35-28=7
Moving to Node #0,1
Current State: 80:[35, 7, 43], Operations: ['71-28=43']
Exploring Operation: 35+7=42, Resulting Numbers: [43, 42]
Generated Node #0,1,0: 80:[43, 42] Operation: 35+7=42
Exploring Operation: 35+43=78, Resulting Numbers: [7, 78]
Generated Node #0,1,1: 80:[7, 78] Operation: 35+43=78
Exploring Operation: 43-35=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 80:[7, 8] Operation: 43-35=8
Exploring Operation: 35/7=5, Resulting Numbers: [43, 5]
Generated Node #0,1,3: 80:[43, 5] Operation: 35/7=5
Exploring Operation: 43-7=36, Resulting Numbers: [35, 36]
Generated Node #0,1,4: 80:[35, 36] Operation: 43-7=36
Moving to Node #0,4
Current State: 80:[71, 7, 7], Operations: ['35-28=7']
Exploring Operation: 71+7=78, Resulting Numbers: [7, 78]
Generated Node #0,4,0: 80:[7, 78] Operation: 71+7=78
Exploring Operation: 71+7=78, Resulting Numbers: [7, 78]
Generated Node #0,4,1: 80:[7, 78] Operation: 71+7=78
Exploring Operation: 7+7=14, Resulting Numbers: [71, 14]
Generated Node #0,4,2: 80:[71, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [71, 1]
Generated Node #0,4,3: 80:[71, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [71, 0]
Generated Node #0,4,4: 80:[71, 0] Operation: 7-7=0
Moving to Node #0,3
Current State: 80:[28, 7, 36], Operations: ['71-35=36']
Exploring Operation: 28+7=35, Resulting Numbers: [36, 35]
Generated Node #0,3,0: 80:[36, 35] Operation: 28+7=35
Exploring Operation: 28/7=4, Resulting Numbers: [36, 4]
Generated Node #0,3,1: 80:[36, 4] Operation: 28/7=4
Exploring Operation: 7+36=43, Resulting Numbers: [28, 43]
Generated Node #0,3,2: 80:[28, 43] Operation: 7+36=43
Exploring Operation: 36-28=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 80:[7, 8] Operation: 36-28=8
Exploring Operation: 28-7=21, Resulting Numbers: [36, 21]
Generated Node #0,3,4: 80:[36, 21] Operation: 28-7=21
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[7, 8], Operations: ['71-35=36', '36-28=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,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,3,1
Current State: 80:[36, 4], Operations: ['71-35=36', '28/7=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,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,3,4
Current State: 80:[36, 21], Operations: ['71-35=36', '28-7=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,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,3,0
Current State: 80:[36, 35], Operations: ['71-35=36', '28+7=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,80 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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,3,2
Current State: 80:[28, 43], Operations: ['71-35=36', '7+36=43']
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,80 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,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:[71, 35, 4], Operations: ['28/7=4']
Exploring Operation: 71-35=36, Resulting Numbers: [4, 36]
Generated Node #0,2,0: 80:[4, 36] Operation: 71-35=36
Exploring Operation: 71+4=75, Resulting Numbers: [35, 75]
Generated Node #0,2,1: 80:[35, 75] Operation: 71+4=75
Exploring Operation: 35+4=39, Resulting Numbers: [71, 39]
Generated Node #0,2,2: 80:[71, 39] Operation: 35+4=39
Exploring Operation: 71-4=67, Resulting Numbers: [35, 67]
Generated Node #0,2,3: 80:[35, 67] Operation: 71-4=67
Exploring Operation: 35-4=31, Resulting Numbers: [71, 31]
Generated Node #0,2,4: 80:[71, 31] Operation: 35-4=31
Moving to Node #0,0
Current State: 80:[35, 28, 78], Operations: ['71+7=78']
Exploring Operation: 78-35=43, Resulting Numbers: [28, 43]
Generated Node #0,0,0: 80:[28, 43] Operation: 78-35=43
Exploring Operation: 35+28=63, Resulting Numbers: [78, 63]
Generated Node #0,0,1: 80:[78, 63] Operation: 35+28=63
Exploring Operation: 28+78=106, Resulting Numbers: [35, 106]
Generated Node #0,0,2: 80:[35, 106] Operation: 28+78=106
Exploring Operation: 78-28=50, Resulting Numbers: [35, 50]
Generated Node #0,0,3: 80:[35, 50] Operation: 78-28=50
Exploring Operation: 35-28=7, Resulting Numbers: [78, 7]
Generated Node #0,0,4: 80:[78, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[78, 7], Operations: ['71+7=78', '35-28=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,80 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,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,0
Current State: 80:[28, 43], Operations: ['71+7=78', '78-35=43']
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,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,3
Current State: 80:[35, 50], Operations: ['71+7=78', '78-28=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,80 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,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:[78, 63], Operations: ['71+7=78', '35+28=63']
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,80 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,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:[35, 106], Operations: ['71+7=78', '28+78=106']
Exploring Operation: 35*106=3710, Resulting Numbers: [3710]
3710,80 unequal: No Solution
Exploring Operation: 35+106=141, Resulting Numbers: [141]
141,80 unequal: No Solution
Exploring Operation: 106-35=71, Resulting Numbers: [71]
71,80 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: 80:[7, 8], Operations: ['71-28=43', '43-35=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[43, 5], Operations: ['71-28=43', '35/7=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,80 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[7, 78], Operations: ['35-28=7', '71+7=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[7, 78], Operations: ['35-28=7', '71+7=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,80 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[7, 78], Operations: ['71-28=43', '35+43=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[4, 36], Operations: ['28/7=4', '71-35=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[43, 42], Operations: ['71-28=43', '35+7=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[35, 36], Operations: ['71-28=43', '43-7=36']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,80 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[71, 39], Operations: ['28/7=4', '35+4=39']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 71+39=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 71*39=2769, Resulting Numbers: [2769]
2769,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[35, 75], Operations: ['28/7=4', '71+4=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[71, 1], Operations: ['35-28=7', '7/7=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,80 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[71, 0], Operations: ['35-28=7', '7-7=0']
Exploring Operation: 71-0=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 71+0=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 71*0=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[71, 14], Operations: ['35-28=7', '7+7=14']
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,80 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[35, 67], Operations: ['28/7=4', '71-4=67']
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,80 unequal: No Solution
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,80 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[71, 31], Operations: ['28/7=4', '35-4=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,80 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
14,
77,
6
] | 61 | [
"82+14=96",
"96/6=16",
"77-16=61"
] | Current State: 61:[82, 14, 77, 6], Operations: []
Exploring Operation: 82+14=96, Resulting Numbers: [77, 6, 96]
Generated Node #2: [77, 6, 96] from Operation: 82+14=96
Current State: 61:[77, 6, 96], Operations: ['82+14=96']
Exploring Operation: 96/6=16, Resulting Numbers: [77, 16]
Generated Node #3: [77, 16] from Operation: 96/6=16
Current State: 61:[77, 16], Operations: ['82+14=96', '96/6=16']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[82, 14, 77, 6], Operations: []
Exploring Operation: 14*6=84, Resulting Numbers: [82, 77, 84]
Generated Node #0,0: 61:[82, 77, 84] Operation: 14*6=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[82, 77, 84], Operations: ['14*6=84']
Exploring Operation: 84-82=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 61:[77, 2] Operation: 84-82=2
Moving to Node #0,0,0
Current State: 61:[77, 2], Operations: ['14*6=84', '84-82=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,61 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.