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 |
|---|---|---|---|---|---|---|---|---|
[
66,
52,
73,
16
] | 43 | [
"66-52=14",
"73-16=57",
"57-14=43"
] | Current State: 43:[66, 52, 73, 16], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [73, 16, 14]
Generated Node #2: [73, 16, 14] from Operation: 66-52=14
Current State: 43:[73, 16, 14], Operations: ['66-52=14']
Exploring Operation: 73-16=57, Resulting Numbers: [14, 57]
Generated Node #3: [14, 57] from Operation: 73-16=57
Current State: 43:[14, 57], Operations: ['66-52=14', '73-16=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[66, 52, 73, 16], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [66, 73, 36]
Generated Node #0,0: 43:[66, 73, 36] Operation: 52-16=36
Exploring Operation: 73-16=57, Resulting Numbers: [66, 52, 57]
Generated Node #0,1: 43:[66, 52, 57] Operation: 73-16=57
Exploring Operation: 66-16=50, Resulting Numbers: [52, 73, 50]
Generated Node #0,2: 43:[52, 73, 50] Operation: 66-16=50
Exploring Operation: 73-66=7, Resulting Numbers: [52, 16, 7]
Generated Node #0,3: 43:[52, 16, 7] Operation: 73-66=7
Exploring Operation: 73-52=21, Resulting Numbers: [66, 16, 21]
Generated Node #0,4: 43:[66, 16, 21] Operation: 73-52=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[66, 52, 57], Operations: ['73-16=57']
Exploring Operation: 66+57=123, Resulting Numbers: [52, 123]
Generated Node #0,1,0: 43:[52, 123] Operation: 66+57=123
Exploring Operation: 57-52=5, Resulting Numbers: [66, 5]
Generated Node #0,1,1: 43:[66, 5] Operation: 57-52=5
Exploring Operation: 66+52=118, Resulting Numbers: [57, 118]
Generated Node #0,1,2: 43:[57, 118] Operation: 66+52=118
Exploring Operation: 66-52=14, Resulting Numbers: [57, 14]
Generated Node #0,1,3: 43:[57, 14] Operation: 66-52=14
Exploring Operation: 66-57=9, Resulting Numbers: [52, 9]
Generated Node #0,1,4: 43:[52, 9] Operation: 66-57=9
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[57, 14], Operations: ['73-16=57', '66-52=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[66, 52, 73, 16], Operations: []
Exploring Operation: 73-16=57, Resulting Numbers: [66, 52, 57]
Generated Node #0,1: 43:[66, 52, 57] Operation: 73-16=57
Moving to Node #0,1
Current State: 43:[66, 52, 57], Operations: ['73-16=57']
Exploring Operation: 66-52=14, Resulting Numbers: [57, 14]
Generated Node #0,1,3: 43:[57, 14] Operation: 66-52=14
Moving to Node #0,1,3
Current State: 43:[57, 14], Operations: ['73-16=57', '66-52=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
88,
92,
4,
23
] | 39 | [
"92-88=4",
"4*4=16",
"23+16=39"
] | Current State: 39:[88, 92, 4, 23], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [4, 23, 4]
Generated Node #2: [4, 23, 4] from Operation: 92-88=4
Current State: 39:[4, 23, 4], Operations: ['92-88=4']
Exploring Operation: 4*4=16, Resulting Numbers: [23, 16]
Generated Node #3: [23, 16] from Operation: 4*4=16
Current State: 39:[23, 16], Operations: ['92-88=4', '4*4=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[88, 92, 4, 23], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [4, 23, 4]
Generated Node #0,0: 39:[4, 23, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[4, 23, 4], Operations: ['92-88=4']
Exploring Operation: 23-4=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 39:[4, 19] Operation: 23-4=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[4, 19], Operations: ['92-88=4', '23-4=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
83,
96,
46
] | 81 | [
"83-52=31",
"96-46=50",
"31+50=81"
] | Current State: 81:[52, 83, 96, 46], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [96, 46, 31]
Generated Node #2: [96, 46, 31] from Operation: 83-52=31
Current State: 81:[96, 46, 31], Operations: ['83-52=31']
Exploring Operation: 96-46=50, Resulting Numbers: [31, 50]
Generated Node #3: [31, 50] from Operation: 96-46=50
Current State: 81:[31, 50], Operations: ['83-52=31', '96-46=50']
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 83, 96, 46], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [83, 96, 6]
Generated Node #0,0: 81:[83, 96, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[83, 96, 6], Operations: ['52-46=6']
Exploring Operation: 96-83=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 81:[6, 13] Operation: 96-83=13
Moving to Node #0,0,0
Current State: 81:[6, 13], Operations: ['52-46=6', '96-83=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
78,
70,
48,
4
] | 80 | [
"78-70=8",
"4*8=32",
"48+32=80"
] | Current State: 80:[78, 70, 48, 4], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [48, 4, 8]
Generated Node #2: [48, 4, 8] from Operation: 78-70=8
Current State: 80:[48, 4, 8], Operations: ['78-70=8']
Exploring Operation: 4*8=32, Resulting Numbers: [48, 32]
Generated Node #3: [48, 32] from Operation: 4*8=32
Current State: 80:[48, 32], Operations: ['78-70=8', '4*8=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[78, 70, 48, 4], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [78, 70, 12]
Generated Node #0,0: 80:[78, 70, 12] Operation: 48/4=12
Exploring Operation: 70+4=74, Resulting Numbers: [78, 48, 74]
Generated Node #0,1: 80:[78, 48, 74] Operation: 70+4=74
Exploring Operation: 70-48=22, Resulting Numbers: [78, 4, 22]
Generated Node #0,2: 80:[78, 4, 22] Operation: 70-48=22
Exploring Operation: 78-70=8, Resulting Numbers: [48, 4, 8]
Generated Node #0,3: 80:[48, 4, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[78, 4, 22], Operations: ['70-48=22']
Exploring Operation: 78+4=82, Resulting Numbers: [22, 82]
Generated Node #0,2,0: 80:[22, 82] Operation: 78+4=82
Exploring Operation: 22-4=18, Resulting Numbers: [78, 18]
Generated Node #0,2,1: 80:[78, 18] Operation: 22-4=18
Exploring Operation: 4+22=26, Resulting Numbers: [78, 26]
Generated Node #0,2,2: 80:[78, 26] Operation: 4+22=26
Exploring Operation: 78-4=74, Resulting Numbers: [22, 74]
Generated Node #0,2,3: 80:[22, 74] Operation: 78-4=74
Moving to Node #0,2,0
Current State: 80:[22, 82], Operations: ['70-48=22', '78+4=82']
Exploring Operation: 22+82=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 22*82=1804, Resulting Numbers: [1804]
1804,80 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[78, 18], Operations: ['70-48=22', '22-4=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,80 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[22, 74], Operations: ['70-48=22', '78-4=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,80 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[78, 26], Operations: ['70-48=22', '4+22=26']
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,80 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,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
Current State: 80:[48, 4, 8], Operations: ['78-70=8']
Exploring Operation: 48-4=44, Resulting Numbers: [8, 44]
Generated Node #0,3,0: 80:[8, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [8, 12]
Generated Node #0,3,1: 80:[8, 12] Operation: 48/4=12
Exploring Operation: 48-8=40, Resulting Numbers: [4, 40]
Generated Node #0,3,2: 80:[4, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [4, 6]
Generated Node #0,3,3: 80:[4, 6] Operation: 48/8=6
Moving to Node #0,3,2
Current State: 80:[4, 40], Operations: ['78-70=8', '48-8=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[4, 6], Operations: ['78-70=8', '48/8=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[8, 12], Operations: ['78-70=8', '48/4=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[8, 44], Operations: ['78-70=8', '48-4=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,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
Current State: 80:[78, 70, 12], Operations: ['48/4=12']
Exploring Operation: 78+12=90, Resulting Numbers: [70, 90]
Generated Node #0,0,0: 80:[70, 90] Operation: 78+12=90
Exploring Operation: 78-70=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 80:[12, 8] Operation: 78-70=8
Exploring Operation: 70+12=82, Resulting Numbers: [78, 82]
Generated Node #0,0,2: 80:[78, 82] Operation: 70+12=82
Exploring Operation: 70-12=58, Resulting Numbers: [78, 58]
Generated Node #0,0,3: 80:[78, 58] Operation: 70-12=58
Moving to Node #0,0,1
Current State: 80:[12, 8], Operations: ['48/4=12', '78-70=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[78, 82], Operations: ['48/4=12', '70+12=82']
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[78, 58], Operations: ['48/4=12', '70-12=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,80 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[70, 90], Operations: ['48/4=12', '78+12=90']
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,80 unequal: No Solution
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[78, 48, 74], Operations: ['70+4=74']
Exploring Operation: 78-48=30, Resulting Numbers: [74, 30]
Generated Node #0,1,0: 80:[74, 30] Operation: 78-48=30
Exploring Operation: 74-48=26, Resulting Numbers: [78, 26]
Generated Node #0,1,1: 80:[78, 26] Operation: 74-48=26
Exploring Operation: 78-74=4, Resulting Numbers: [48, 4]
Generated Node #0,1,2: 80:[48, 4] Operation: 78-74=4
Exploring Operation: 48+74=122, Resulting Numbers: [78, 122]
Generated Node #0,1,3: 80:[78, 122] Operation: 48+74=122
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[78, 26], Operations: ['70+4=74', '74-48=26']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,80 unequal: No Solution
No 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: 80:[48, 4], Operations: ['70+4=74', '78-74=4']
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,80 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No 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: 80:[74, 30], Operations: ['70+4=74', '78-48=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,80 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,80 unequal: No Solution
No 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: 80:[78, 122], Operations: ['70+4=74', '48+74=122']
Exploring Operation: 78+122=200, Resulting Numbers: [200]
200,80 unequal: No Solution
Exploring Operation: 122-78=44, Resulting Numbers: [44]
44,80 unequal: No Solution
Exploring Operation: 78*122=9516, Resulting Numbers: [9516]
9516,80 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 |
[
45,
17,
35,
46
] | 52 | [
"46-45=1",
"17+35=52",
"1*52=52"
] | Current State: 52:[45, 17, 35, 46], Operations: []
Exploring Operation: 46-45=1, Resulting Numbers: [17, 35, 1]
Generated Node #2: [17, 35, 1] from Operation: 46-45=1
Current State: 52:[17, 35, 1], Operations: ['46-45=1']
Exploring Operation: 17+35=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 17+35=52
Current State: 52:[1, 52], Operations: ['46-45=1', '17+35=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[45, 17, 35, 46], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [17, 46, 10]
Generated Node #0,0: 52:[17, 46, 10] Operation: 45-35=10
Exploring Operation: 17+35=52, Resulting Numbers: [45, 46, 52]
Generated Node #0,1: 52:[45, 46, 52] Operation: 17+35=52
Exploring Operation: 46-45=1, Resulting Numbers: [17, 35, 1]
Generated Node #0,2: 52:[17, 35, 1] Operation: 46-45=1
Exploring Operation: 46-35=11, Resulting Numbers: [45, 17, 11]
Generated Node #0,3: 52:[45, 17, 11] Operation: 46-35=11
Moving to Node #0,0
Current State: 52:[17, 46, 10], Operations: ['45-35=10']
Exploring Operation: 17+10=27, Resulting Numbers: [46, 27]
Generated Node #0,0,0: 52:[46, 27] Operation: 17+10=27
Exploring Operation: 46-17=29, Resulting Numbers: [10, 29]
Generated Node #0,0,1: 52:[10, 29] Operation: 46-17=29
Exploring Operation: 46+10=56, Resulting Numbers: [17, 56]
Generated Node #0,0,2: 52:[17, 56] Operation: 46+10=56
Exploring Operation: 17-10=7, Resulting Numbers: [46, 7]
Generated Node #0,0,3: 52:[46, 7] Operation: 17-10=7
Moving to Node #0,3
Current State: 52:[45, 17, 11], Operations: ['46-35=11']
Exploring Operation: 45+11=56, Resulting Numbers: [17, 56]
Generated Node #0,3,0: 52:[17, 56] Operation: 45+11=56
Exploring Operation: 17+11=28, Resulting Numbers: [45, 28]
Generated Node #0,3,1: 52:[45, 28] Operation: 17+11=28
Exploring Operation: 45-17=28, Resulting Numbers: [11, 28]
Generated Node #0,3,2: 52:[11, 28] Operation: 45-17=28
Exploring Operation: 17-11=6, Resulting Numbers: [45, 6]
Generated Node #0,3,3: 52:[45, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[11, 28], Operations: ['46-35=11', '45-17=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,52 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[17, 56], Operations: ['46-35=11', '45+11=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,52 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[45, 28], Operations: ['46-35=11', '17+11=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,52 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[45, 6], Operations: ['46-35=11', '17-11=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[45, 46, 52], Operations: ['17+35=52']
Exploring Operation: 52-45=7, Resulting Numbers: [46, 7]
Generated Node #0,1,0: 52:[46, 7] Operation: 52-45=7
Exploring Operation: 46-45=1, Resulting Numbers: [52, 1]
Generated Node #0,1,1: 52:[52, 1] Operation: 46-45=1
Exploring Operation: 45+46=91, Resulting Numbers: [52, 91]
Generated Node #0,1,2: 52:[52, 91] Operation: 45+46=91
Exploring Operation: 52-46=6, Resulting Numbers: [45, 6]
Generated Node #0,1,3: 52:[45, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[52, 1], Operations: ['17+35=52', '46-45=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[45, 17, 35, 46], Operations: []
Exploring Operation: 17+35=52, Resulting Numbers: [45, 46, 52]
Generated Node #0,1: 52:[45, 46, 52] Operation: 17+35=52
Moving to Node #0,1
Current State: 52:[45, 46, 52], Operations: ['17+35=52']
Exploring Operation: 46-45=1, Resulting Numbers: [52, 1]
Generated Node #0,1,1: 52:[52, 1] Operation: 46-45=1
Moving to Node #0,1,1
Current State: 52:[52, 1], Operations: ['17+35=52', '46-45=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
87,
9,
17,
96
] | 18 | [
"87+9=96",
"96/96=1",
"17+1=18"
] | Current State: 18:[87, 9, 17, 96], Operations: []
Exploring Operation: 87+9=96, Resulting Numbers: [17, 96, 96]
Generated Node #2: [17, 96, 96] from Operation: 87+9=96
Current State: 18:[17, 96, 96], Operations: ['87+9=96']
Exploring Operation: 96/96=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 96/96=1
Current State: 18:[17, 1], Operations: ['87+9=96', '96/96=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[87, 9, 17, 96], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [87, 9, 79]
Generated Node #0,0: 18:[87, 9, 79] Operation: 96-17=79
Exploring Operation: 96-9=87, Resulting Numbers: [87, 17, 87]
Generated Node #0,1: 18:[87, 17, 87] Operation: 96-9=87
Exploring Operation: 87-17=70, Resulting Numbers: [9, 96, 70]
Generated Node #0,2: 18:[9, 96, 70] Operation: 87-17=70
Exploring Operation: 87-9=78, Resulting Numbers: [17, 96, 78]
Generated Node #0,3: 18:[17, 96, 78] Operation: 87-9=78
Exploring Operation: 96-87=9, Resulting Numbers: [9, 17, 9]
Generated Node #0,4: 18:[9, 17, 9] Operation: 96-87=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[9, 17, 9], Operations: ['96-87=9']
Exploring Operation: 17-9=8, Resulting Numbers: [9, 8]
Generated Node #0,4,0: 18:[9, 8] Operation: 17-9=8
Exploring Operation: 9-9=0, Resulting Numbers: [17, 0]
Generated Node #0,4,1: 18:[17, 0] Operation: 9-9=0
Exploring Operation: 17-9=8, Resulting Numbers: [9, 8]
Generated Node #0,4,2: 18:[9, 8] Operation: 17-9=8
Exploring Operation: 9/9=1, Resulting Numbers: [17, 1]
Generated Node #0,4,3: 18:[17, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [17, 18]
Generated Node #0,4,4: 18:[17, 18] Operation: 9+9=18
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 18:[9, 8], Operations: ['96-87=9', '17-9=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 18:[9, 8], Operations: ['96-87=9', '17-9=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 18:[17, 18], Operations: ['96-87=9', '9+9=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,18 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 18:[17, 1], Operations: ['96-87=9', '9/9=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[87, 9, 17, 96], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [9, 17, 9]
Generated Node #0,4: 18:[9, 17, 9] Operation: 96-87=9
Moving to Node #0,4
Current State: 18:[9, 17, 9], Operations: ['96-87=9']
Exploring Operation: 9/9=1, Resulting Numbers: [17, 1]
Generated Node #0,4,3: 18:[17, 1] Operation: 9/9=1
Moving to Node #0,4,3
Current State: 18:[17, 1], Operations: ['96-87=9', '9/9=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.979167 | hs_5 | mult_heuristic |
[
3,
37,
50,
47
] | 63 | [
"37-3=34",
"50+47=97",
"97-34=63"
] | Current State: 63:[3, 37, 50, 47], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [50, 47, 34]
Generated Node #2: [50, 47, 34] from Operation: 37-3=34
Current State: 63:[50, 47, 34], Operations: ['37-3=34']
Exploring Operation: 50+47=97, Resulting Numbers: [34, 97]
Generated Node #3: [34, 97] from Operation: 50+47=97
Current State: 63:[34, 97], Operations: ['37-3=34', '50+47=97']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[3, 37, 50, 47], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [3, 47, 13]
Generated Node #0,0: 63:[3, 47, 13] Operation: 50-37=13
Exploring Operation: 37+50=87, Resulting Numbers: [3, 47, 87]
Generated Node #0,1: 63:[3, 47, 87] Operation: 37+50=87
Exploring Operation: 50-47=3, Resulting Numbers: [3, 37, 3]
Generated Node #0,2: 63:[3, 37, 3] Operation: 50-47=3
Exploring Operation: 47-37=10, Resulting Numbers: [3, 50, 10]
Generated Node #0,3: 63:[3, 50, 10] Operation: 47-37=10
Exploring Operation: 37+47=84, Resulting Numbers: [3, 50, 84]
Generated Node #0,4: 63:[3, 50, 84] Operation: 37+47=84
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[3, 50, 10], Operations: ['47-37=10']
Exploring Operation: 50+10=60, Resulting Numbers: [3, 60]
Generated Node #0,3,0: 63:[3, 60] Operation: 50+10=60
Exploring Operation: 3+50=53, Resulting Numbers: [10, 53]
Generated Node #0,3,1: 63:[10, 53] Operation: 3+50=53
Exploring Operation: 10-3=7, Resulting Numbers: [50, 7]
Generated Node #0,3,2: 63:[50, 7] Operation: 10-3=7
Exploring Operation: 50/10=5, Resulting Numbers: [3, 5]
Generated Node #0,3,3: 63:[3, 5] Operation: 50/10=5
Exploring Operation: 50-3=47, Resulting Numbers: [10, 47]
Generated Node #0,3,4: 63:[10, 47] Operation: 50-3=47
Moving to Node #0,3,3
Current State: 63:[3, 5], Operations: ['47-37=10', '50/10=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[3, 60], Operations: ['47-37=10', '50+10=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[3, 37, 50, 47], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [3, 50, 10]
Generated Node #0,3: 63:[3, 50, 10] Operation: 47-37=10
Moving to Node #0,3
Current State: 63:[3, 50, 10], Operations: ['47-37=10']
Exploring Operation: 50+10=60, Resulting Numbers: [3, 60]
Generated Node #0,3,0: 63:[3, 60] Operation: 50+10=60
Moving to Node #0,3,0
Current State: 63:[3, 60], Operations: ['47-37=10', '50+10=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
30,
21,
46,
17
] | 49 | [
"30+21=51",
"51/17=3",
"46+3=49"
] | Current State: 49:[30, 21, 46, 17], Operations: []
Exploring Operation: 30+21=51, Resulting Numbers: [46, 17, 51]
Generated Node #2: [46, 17, 51] from Operation: 30+21=51
Current State: 49:[46, 17, 51], Operations: ['30+21=51']
Exploring Operation: 51/17=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 51/17=3
Current State: 49:[46, 3], Operations: ['30+21=51', '51/17=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[30, 21, 46, 17], Operations: []
Exploring Operation: 30+21=51, Resulting Numbers: [46, 17, 51]
Generated Node #0,0: 49:[46, 17, 51] Operation: 30+21=51
Exploring Operation: 30-21=9, Resulting Numbers: [46, 17, 9]
Generated Node #0,1: 49:[46, 17, 9] Operation: 30-21=9
Exploring Operation: 30+17=47, Resulting Numbers: [21, 46, 47]
Generated Node #0,2: 49:[21, 46, 47] Operation: 30+17=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[46, 17, 51], Operations: ['30+21=51']
Exploring Operation: 51-46=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 49:[17, 5] Operation: 51-46=5
Exploring Operation: 46+17=63, Resulting Numbers: [51, 63]
Generated Node #0,0,1: 49:[51, 63] Operation: 46+17=63
Exploring Operation: 51/17=3, Resulting Numbers: [46, 3]
Generated Node #0,0,2: 49:[46, 3] Operation: 51/17=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[46, 3], Operations: ['30+21=51', '51/17=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[30, 21, 46, 17], Operations: []
Exploring Operation: 30+21=51, Resulting Numbers: [46, 17, 51]
Generated Node #0,0: 49:[46, 17, 51] Operation: 30+21=51
Moving to Node #0,0
Current State: 49:[46, 17, 51], Operations: ['30+21=51']
Exploring Operation: 51/17=3, Resulting Numbers: [46, 3]
Generated Node #0,0,2: 49:[46, 3] Operation: 51/17=3
Moving to Node #0,0,2
Current State: 49:[46, 3], Operations: ['30+21=51', '51/17=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
71,
18,
72,
8
] | 11 | [
"71-18=53",
"72-8=64",
"64-53=11"
] | Current State: 11:[71, 18, 72, 8], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [72, 8, 53]
Generated Node #2: [72, 8, 53] from Operation: 71-18=53
Current State: 11:[72, 8, 53], Operations: ['71-18=53']
Exploring Operation: 72-8=64, Resulting Numbers: [53, 64]
Generated Node #3: [53, 64] from Operation: 72-8=64
Current State: 11:[53, 64], Operations: ['71-18=53', '72-8=64']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[71, 18, 72, 8], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [71, 18, 9]
Generated Node #0,0: 11:[71, 18, 9] Operation: 72/8=9
Exploring Operation: 72-71=1, Resulting Numbers: [18, 8, 1]
Generated Node #0,1: 11:[18, 8, 1] Operation: 72-71=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[18, 8, 1], Operations: ['72-71=1']
Exploring Operation: 18-1=17, Resulting Numbers: [8, 17]
Generated Node #0,1,0: 11:[8, 17] Operation: 18-1=17
Exploring Operation: 8+1=9, Resulting Numbers: [18, 9]
Generated Node #0,1,1: 11:[18, 9] Operation: 8+1=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[8, 17], Operations: ['72-71=1', '18-1=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,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:[18, 9], Operations: ['72-71=1', '8+1=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,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,0
Current State: 11:[71, 18, 9], Operations: ['72/8=9']
Exploring Operation: 71-9=62, Resulting Numbers: [18, 62]
Generated Node #0,0,0: 11:[18, 62] Operation: 71-9=62
Exploring Operation: 71-18=53, Resulting Numbers: [9, 53]
Generated Node #0,0,1: 11:[9, 53] Operation: 71-18=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[9, 53], Operations: ['72/8=9', '71-18=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,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,0,0
Current State: 11:[18, 62], Operations: ['72/8=9', '71-9=62']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,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_2 | mult_heuristic |
[
50,
85,
4,
91
] | 49 | [
"85-50=35",
"4*35=140",
"140-91=49"
] | Current State: 49:[50, 85, 4, 91], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [4, 91, 35]
Generated Node #2: [4, 91, 35] from Operation: 85-50=35
Current State: 49:[4, 91, 35], Operations: ['85-50=35']
Exploring Operation: 4*35=140, Resulting Numbers: [91, 140]
Generated Node #3: [91, 140] from Operation: 4*35=140
Current State: 49:[91, 140], Operations: ['85-50=35', '4*35=140']
Exploring Operation: 140-91=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 85, 4, 91], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [50, 4, 6]
Generated Node #0,0: 49:[50, 4, 6] Operation: 91-85=6
Exploring Operation: 85-4=81, Resulting Numbers: [50, 91, 81]
Generated Node #0,1: 49:[50, 91, 81] Operation: 85-4=81
Exploring Operation: 85-50=35, Resulting Numbers: [4, 91, 35]
Generated Node #0,2: 49:[4, 91, 35] Operation: 85-50=35
Exploring Operation: 91-50=41, Resulting Numbers: [85, 4, 41]
Generated Node #0,3: 49:[85, 4, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 49:[50, 4, 6], Operations: ['91-85=6']
Exploring Operation: 50-4=46, Resulting Numbers: [6, 46]
Generated Node #0,0,0: 49:[6, 46] Operation: 50-4=46
Exploring Operation: 6-4=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 49:[50, 2] Operation: 6-4=2
Exploring Operation: 50+4=54, Resulting Numbers: [6, 54]
Generated Node #0,0,2: 49:[6, 54] Operation: 50+4=54
Exploring Operation: 4+6=10, Resulting Numbers: [50, 10]
Generated Node #0,0,3: 49:[50, 10] Operation: 4+6=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[6, 46], Operations: ['91-85=6', '50-4=46']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,49 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[50, 10], Operations: ['91-85=6', '4+6=10']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[50, 2], Operations: ['91-85=6', '6-4=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[6, 54], Operations: ['91-85=6', '50+4=54']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,49 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: 49:[85, 4, 41], Operations: ['91-50=41']
Exploring Operation: 85+4=89, Resulting Numbers: [41, 89]
Generated Node #0,3,0: 49:[41, 89] Operation: 85+4=89
Exploring Operation: 85-4=81, Resulting Numbers: [41, 81]
Generated Node #0,3,1: 49:[41, 81] Operation: 85-4=81
Exploring Operation: 4+41=45, Resulting Numbers: [85, 45]
Generated Node #0,3,2: 49:[85, 45] Operation: 4+41=45
Exploring Operation: 85-41=44, Resulting Numbers: [4, 44]
Generated Node #0,3,3: 49:[4, 44] Operation: 85-41=44
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[4, 44], Operations: ['91-50=41', '85-41=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,49 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[41, 81], Operations: ['91-50=41', '85-4=81']
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,49 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[85, 45], Operations: ['91-50=41', '4+41=45']
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[41, 89], Operations: ['91-50=41', '85+4=89']
Exploring Operation: 41*89=3649, Resulting Numbers: [3649]
3649,49 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,49 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: 49:[4, 91, 35], Operations: ['85-50=35']
Exploring Operation: 91-4=87, Resulting Numbers: [35, 87]
Generated Node #0,2,0: 49:[35, 87] Operation: 91-4=87
Exploring Operation: 4+35=39, Resulting Numbers: [91, 39]
Generated Node #0,2,1: 49:[91, 39] Operation: 4+35=39
Exploring Operation: 91-35=56, Resulting Numbers: [4, 56]
Generated Node #0,2,2: 49:[4, 56] Operation: 91-35=56
Exploring Operation: 4+91=95, Resulting Numbers: [35, 95]
Generated Node #0,2,3: 49:[35, 95] Operation: 4+91=95
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[4, 56], Operations: ['85-50=35', '91-35=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,49 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[35, 87], Operations: ['85-50=35', '91-4=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,49 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[91, 39], Operations: ['85-50=35', '4+35=39']
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,49 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[35, 95], Operations: ['85-50=35', '4+91=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,49 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: 49:[50, 91, 81], Operations: ['85-4=81']
Exploring Operation: 91-81=10, Resulting Numbers: [50, 10]
Generated Node #0,1,0: 49:[50, 10] Operation: 91-81=10
Exploring Operation: 81-50=31, Resulting Numbers: [91, 31]
Generated Node #0,1,1: 49:[91, 31] Operation: 81-50=31
Exploring Operation: 91-50=41, Resulting Numbers: [81, 41]
Generated Node #0,1,2: 49:[81, 41] Operation: 91-50=41
Exploring Operation: 50+91=141, Resulting Numbers: [81, 141]
Generated Node #0,1,3: 49:[81, 141] Operation: 50+91=141
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[50, 10], Operations: ['85-4=81', '91-81=10']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,49 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[81, 41], Operations: ['85-4=81', '91-50=41']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[91, 31], Operations: ['85-4=81', '81-50=31']
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[81, 141], Operations: ['85-4=81', '50+91=141']
Exploring Operation: 81*141=11421, Resulting Numbers: [11421]
11421,49 unequal: No Solution
Exploring Operation: 81+141=222, Resulting Numbers: [222]
222,49 unequal: No Solution
Exploring Operation: 141-81=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
35,
23,
38
] | 16 | [
"35+23=58",
"38+58=96",
"96/6=16"
] | Current State: 16:[6, 35, 23, 38], Operations: []
Exploring Operation: 35+23=58, Resulting Numbers: [6, 38, 58]
Generated Node #2: [6, 38, 58] from Operation: 35+23=58
Current State: 16:[6, 38, 58], Operations: ['35+23=58']
Exploring Operation: 38+58=96, Resulting Numbers: [6, 96]
Generated Node #3: [6, 96] from Operation: 38+58=96
Current State: 16:[6, 96], Operations: ['35+23=58', '38+58=96']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[6, 35, 23, 38], Operations: []
Exploring Operation: 23-6=17, Resulting Numbers: [35, 38, 17]
Generated Node #0,0: 16:[35, 38, 17] Operation: 23-6=17
Exploring Operation: 35-6=29, Resulting Numbers: [23, 38, 29]
Generated Node #0,1: 16:[23, 38, 29] Operation: 35-6=29
Exploring Operation: 38-23=15, Resulting Numbers: [6, 35, 15]
Generated Node #0,2: 16:[6, 35, 15] Operation: 38-23=15
Exploring Operation: 38-35=3, Resulting Numbers: [6, 23, 3]
Generated Node #0,3: 16:[6, 23, 3] Operation: 38-35=3
Exploring Operation: 35-23=12, Resulting Numbers: [6, 38, 12]
Generated Node #0,4: 16:[6, 38, 12] Operation: 35-23=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[6, 23, 3], Operations: ['38-35=3']
Exploring Operation: 6/3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 16:[23, 2] Operation: 6/3=2
Exploring Operation: 23-6=17, Resulting Numbers: [3, 17]
Generated Node #0,3,1: 16:[3, 17] Operation: 23-6=17
Exploring Operation: 6-3=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 16:[23, 3] Operation: 6-3=3
Exploring Operation: 6+3=9, Resulting Numbers: [23, 9]
Generated Node #0,3,3: 16:[23, 9] Operation: 6+3=9
Exploring Operation: 23-3=20, Resulting Numbers: [6, 20]
Generated Node #0,3,4: 16:[6, 20] Operation: 23-3=20
Moving to Node #0,3,1
Current State: 16:[3, 17], Operations: ['38-35=3', '23-6=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[6, 20], Operations: ['38-35=3', '23-3=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[23, 2], Operations: ['38-35=3', '6/3=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[23, 3], Operations: ['38-35=3', '6-3=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[23, 9], Operations: ['38-35=3', '6+3=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,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
Current State: 16:[6, 35, 15], Operations: ['38-23=15']
Exploring Operation: 6+15=21, Resulting Numbers: [35, 21]
Generated Node #0,2,0: 16:[35, 21] Operation: 6+15=21
Exploring Operation: 35-6=29, Resulting Numbers: [15, 29]
Generated Node #0,2,1: 16:[15, 29] Operation: 35-6=29
Exploring Operation: 35-15=20, Resulting Numbers: [6, 20]
Generated Node #0,2,2: 16:[6, 20] Operation: 35-15=20
Exploring Operation: 15-6=9, Resulting Numbers: [35, 9]
Generated Node #0,2,3: 16:[35, 9] Operation: 15-6=9
Exploring Operation: 6+35=41, Resulting Numbers: [15, 41]
Generated Node #0,2,4: 16:[15, 41] Operation: 6+35=41
Moving to Node #0,2,2
Current State: 16:[6, 20], Operations: ['38-23=15', '35-15=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[15, 29], Operations: ['38-23=15', '35-6=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[35, 9], Operations: ['38-23=15', '15-6=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[35, 21], Operations: ['38-23=15', '6+15=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[15, 41], Operations: ['38-23=15', '6+35=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,16 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,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,4
Current State: 16:[6, 38, 12], Operations: ['35-23=12']
Exploring Operation: 38-12=26, Resulting Numbers: [6, 26]
Generated Node #0,4,0: 16:[6, 26] Operation: 38-12=26
Exploring Operation: 38-6=32, Resulting Numbers: [12, 32]
Generated Node #0,4,1: 16:[12, 32] Operation: 38-6=32
Exploring Operation: 12/6=2, Resulting Numbers: [38, 2]
Generated Node #0,4,2: 16:[38, 2] Operation: 12/6=2
Exploring Operation: 6+12=18, Resulting Numbers: [38, 18]
Generated Node #0,4,3: 16:[38, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [38, 6]
Generated Node #0,4,4: 16:[38, 6] Operation: 12-6=6
Moving to Node #0,4,0
Current State: 16:[6, 26], Operations: ['35-23=12', '38-12=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,16 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[12, 32], Operations: ['35-23=12', '38-6=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,16 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[38, 2], Operations: ['35-23=12', '12/6=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[38, 18], Operations: ['35-23=12', '6+12=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,16 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[38, 6], Operations: ['35-23=12', '12-6=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,16 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,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,0
Current State: 16:[35, 38, 17], Operations: ['23-6=17']
Exploring Operation: 38-35=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 16:[17, 3] Operation: 38-35=3
Exploring Operation: 35-17=18, Resulting Numbers: [38, 18]
Generated Node #0,0,1: 16:[38, 18] Operation: 35-17=18
Exploring Operation: 38-17=21, Resulting Numbers: [35, 21]
Generated Node #0,0,2: 16:[35, 21] Operation: 38-17=21
Exploring Operation: 35+38=73, Resulting Numbers: [17, 73]
Generated Node #0,0,3: 16:[17, 73] Operation: 35+38=73
Exploring Operation: 35+17=52, Resulting Numbers: [38, 52]
Generated Node #0,0,4: 16:[38, 52] Operation: 35+17=52
Moving to Node #0,0,0
Current State: 16:[17, 3], Operations: ['23-6=17', '38-35=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[35, 21], Operations: ['23-6=17', '38-17=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[38, 18], Operations: ['23-6=17', '35-17=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,16 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[17, 73], Operations: ['23-6=17', '35+38=73']
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,16 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[38, 52], Operations: ['23-6=17', '35+17=52']
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,16 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[23, 38, 29], Operations: ['35-6=29']
Exploring Operation: 29-23=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 16:[38, 6] Operation: 29-23=6
Exploring Operation: 23+29=52, Resulting Numbers: [38, 52]
Generated Node #0,1,1: 16:[38, 52] Operation: 23+29=52
Exploring Operation: 38-23=15, Resulting Numbers: [29, 15]
Generated Node #0,1,2: 16:[29, 15] Operation: 38-23=15
Exploring Operation: 23+38=61, Resulting Numbers: [29, 61]
Generated Node #0,1,3: 16:[29, 61] Operation: 23+38=61
Exploring Operation: 38-29=9, Resulting Numbers: [23, 9]
Generated Node #0,1,4: 16:[23, 9] Operation: 38-29=9
Moving to Node #0,1,4
Current State: 16:[23, 9], Operations: ['35-6=29', '38-29=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[29, 15], Operations: ['35-6=29', '38-23=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,16 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[38, 6], Operations: ['35-6=29', '29-23=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[38, 52], Operations: ['35-6=29', '23+29=52']
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,16 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[29, 61], Operations: ['35-6=29', '23+38=61']
Exploring Operation: 29*61=1769, Resulting Numbers: [1769]
1769,16 unequal: No Solution
Exploring Operation: 29+61=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
52,
14,
58,
80
] | 72 | [
"52+14=66",
"58+80=138",
"138-66=72"
] | Current State: 72:[52, 14, 58, 80], Operations: []
Exploring Operation: 52+14=66, Resulting Numbers: [58, 80, 66]
Generated Node #2: [58, 80, 66] from Operation: 52+14=66
Current State: 72:[58, 80, 66], Operations: ['52+14=66']
Exploring Operation: 58+80=138, Resulting Numbers: [66, 138]
Generated Node #3: [66, 138] from Operation: 58+80=138
Current State: 72:[66, 138], Operations: ['52+14=66', '58+80=138']
Exploring Operation: 138-66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[52, 14, 58, 80], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [14, 80, 6]
Generated Node #0,0: 72:[14, 80, 6] Operation: 58-52=6
Exploring Operation: 80-52=28, Resulting Numbers: [14, 58, 28]
Generated Node #0,1: 72:[14, 58, 28] Operation: 80-52=28
Exploring Operation: 52-14=38, Resulting Numbers: [58, 80, 38]
Generated Node #0,2: 72:[58, 80, 38] Operation: 52-14=38
Exploring Operation: 80-58=22, Resulting Numbers: [52, 14, 22]
Generated Node #0,3: 72:[52, 14, 22] Operation: 80-58=22
Exploring Operation: 14+58=72, Resulting Numbers: [52, 80, 72]
Generated Node #0,4: 72:[52, 80, 72] Operation: 14+58=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[14, 80, 6], Operations: ['58-52=6']
Exploring Operation: 14+6=20, Resulting Numbers: [80, 20]
Generated Node #0,0,0: 72:[80, 20] Operation: 14+6=20
Exploring Operation: 80-14=66, Resulting Numbers: [6, 66]
Generated Node #0,0,1: 72:[6, 66] Operation: 80-14=66
Exploring Operation: 80-6=74, Resulting Numbers: [14, 74]
Generated Node #0,0,2: 72:[14, 74] Operation: 80-6=74
Exploring Operation: 80+6=86, Resulting Numbers: [14, 86]
Generated Node #0,0,3: 72:[14, 86] Operation: 80+6=86
Exploring Operation: 14-6=8, Resulting Numbers: [80, 8]
Generated Node #0,0,4: 72:[80, 8] Operation: 14-6=8
Moving to Node #0,0,2
Current State: 72:[14, 74], Operations: ['58-52=6', '80-6=74']
Exploring Operation: 14*74=1036, Resulting Numbers: [1036]
1036,72 unequal: No Solution
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[6, 66], Operations: ['58-52=6', '80-14=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[52, 14, 58, 80], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [14, 80, 6]
Generated Node #0,0: 72:[14, 80, 6] Operation: 58-52=6
Moving to Node #0,0
Current State: 72:[14, 80, 6], Operations: ['58-52=6']
Exploring Operation: 80-14=66, Resulting Numbers: [6, 66]
Generated Node #0,0,1: 72:[6, 66] Operation: 80-14=66
Moving to Node #0,0,1
Current State: 72:[6, 66], Operations: ['58-52=6', '80-14=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
46,
70,
32,
12
] | 44 | [
"70-46=24",
"32-12=20",
"24+20=44"
] | Current State: 44:[46, 70, 32, 12], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [32, 12, 24]
Generated Node #2: [32, 12, 24] from Operation: 70-46=24
Current State: 44:[32, 12, 24], Operations: ['70-46=24']
Exploring Operation: 32-12=20, Resulting Numbers: [24, 20]
Generated Node #3: [24, 20] from Operation: 32-12=20
Current State: 44:[24, 20], Operations: ['70-46=24', '32-12=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 70, 32, 12], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [32, 12, 24]
Generated Node #0,0: 44:[32, 12, 24] Operation: 70-46=24
Exploring Operation: 70-32=38, Resulting Numbers: [46, 12, 38]
Generated Node #0,1: 44:[46, 12, 38] Operation: 70-32=38
Moving to Node #0,1
Current State: 44:[46, 12, 38], Operations: ['70-32=38']
Exploring Operation: 38-12=26, Resulting Numbers: [46, 26]
Generated Node #0,1,0: 44:[46, 26] Operation: 38-12=26
Exploring Operation: 46-38=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 44:[12, 8] Operation: 46-38=8
Moving to Node #0,0
Current State: 44:[32, 12, 24], Operations: ['70-46=24']
Exploring Operation: 32+12=44, Resulting Numbers: [24, 44]
Generated Node #0,0,0: 44:[24, 44] Operation: 32+12=44
Exploring Operation: 32-12=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 44:[24, 20] Operation: 32-12=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[24, 44], Operations: ['70-46=24', '32+12=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[24, 20], Operations: ['70-46=24', '32-12=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 70, 32, 12], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [32, 12, 24]
Generated Node #0,0: 44:[32, 12, 24] Operation: 70-46=24
Moving to Node #0,0
Current State: 44:[32, 12, 24], Operations: ['70-46=24']
Exploring Operation: 32-12=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 44:[24, 20] Operation: 32-12=20
Moving to Node #0,0,1
Current State: 44:[24, 20], Operations: ['70-46=24', '32-12=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
12,
4,
37,
50
] | 61 | [
"12*4=48",
"50-37=13",
"48+13=61"
] | Current State: 61:[12, 4, 37, 50], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [37, 50, 48]
Generated Node #2: [37, 50, 48] from Operation: 12*4=48
Current State: 61:[37, 50, 48], Operations: ['12*4=48']
Exploring Operation: 50-37=13, Resulting Numbers: [48, 13]
Generated Node #3: [48, 13] from Operation: 50-37=13
Current State: 61:[48, 13], Operations: ['12*4=48', '50-37=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[12, 4, 37, 50], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [37, 50, 48]
Generated Node #0,0: 61:[37, 50, 48] Operation: 12*4=48
Exploring Operation: 12+37=49, Resulting Numbers: [4, 50, 49]
Generated Node #0,1: 61:[4, 50, 49] Operation: 12+37=49
Exploring Operation: 4+37=41, Resulting Numbers: [12, 50, 41]
Generated Node #0,2: 61:[12, 50, 41] Operation: 4+37=41
Exploring Operation: 4+50=54, Resulting Numbers: [12, 37, 54]
Generated Node #0,3: 61:[12, 37, 54] Operation: 4+50=54
Exploring Operation: 12+4=16, Resulting Numbers: [37, 50, 16]
Generated Node #0,4: 61:[37, 50, 16] Operation: 12+4=16
Moving to Node #0,0
Current State: 61:[37, 50, 48], Operations: ['12*4=48']
Exploring Operation: 50+48=98, Resulting Numbers: [37, 98]
Generated Node #0,0,0: 61:[37, 98] Operation: 50+48=98
Exploring Operation: 48-37=11, Resulting Numbers: [50, 11]
Generated Node #0,0,1: 61:[50, 11] Operation: 48-37=11
Exploring Operation: 50-37=13, Resulting Numbers: [48, 13]
Generated Node #0,0,2: 61:[48, 13] Operation: 50-37=13
Exploring Operation: 37+48=85, Resulting Numbers: [50, 85]
Generated Node #0,0,3: 61:[50, 85] Operation: 37+48=85
Exploring Operation: 37+50=87, Resulting Numbers: [48, 87]
Generated Node #0,0,4: 61:[48, 87] Operation: 37+50=87
Moving to Node #0,2
Current State: 61:[12, 50, 41], Operations: ['4+37=41']
Exploring Operation: 50-12=38, Resulting Numbers: [41, 38]
Generated Node #0,2,0: 61:[41, 38] Operation: 50-12=38
Exploring Operation: 41-12=29, Resulting Numbers: [50, 29]
Generated Node #0,2,1: 61:[50, 29] Operation: 41-12=29
Exploring Operation: 12+50=62, Resulting Numbers: [41, 62]
Generated Node #0,2,2: 61:[41, 62] Operation: 12+50=62
Exploring Operation: 50+41=91, Resulting Numbers: [12, 91]
Generated Node #0,2,3: 61:[12, 91] Operation: 50+41=91
Exploring Operation: 12+41=53, Resulting Numbers: [50, 53]
Generated Node #0,2,4: 61:[50, 53] Operation: 12+41=53
Moving to Node #0,4
Current State: 61:[37, 50, 16], Operations: ['12+4=16']
Exploring Operation: 50-16=34, Resulting Numbers: [37, 34]
Generated Node #0,4,0: 61:[37, 34] Operation: 50-16=34
Exploring Operation: 37+16=53, Resulting Numbers: [50, 53]
Generated Node #0,4,1: 61:[50, 53] Operation: 37+16=53
Exploring Operation: 50+16=66, Resulting Numbers: [37, 66]
Generated Node #0,4,2: 61:[37, 66] Operation: 50+16=66
Exploring Operation: 37-16=21, Resulting Numbers: [50, 21]
Generated Node #0,4,3: 61:[50, 21] Operation: 37-16=21
Exploring Operation: 37+50=87, Resulting Numbers: [16, 87]
Generated Node #0,4,4: 61:[16, 87] Operation: 37+50=87
Moving to Node #0,1
Current State: 61:[4, 50, 49], Operations: ['12+37=49']
Exploring Operation: 50+49=99, Resulting Numbers: [4, 99]
Generated Node #0,1,0: 61:[4, 99] Operation: 50+49=99
Exploring Operation: 4+49=53, Resulting Numbers: [50, 53]
Generated Node #0,1,1: 61:[50, 53] Operation: 4+49=53
Exploring Operation: 50-4=46, Resulting Numbers: [49, 46]
Generated Node #0,1,2: 61:[49, 46] Operation: 50-4=46
Exploring Operation: 49-4=45, Resulting Numbers: [50, 45]
Generated Node #0,1,3: 61:[50, 45] Operation: 49-4=45
Exploring Operation: 4+50=54, Resulting Numbers: [49, 54]
Generated Node #0,1,4: 61:[49, 54] Operation: 4+50=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[50, 53], Operations: ['12+37=49', '4+49=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,61 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,61 unequal: No Solution
No 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: 61:[49, 54], Operations: ['12+37=49', '4+50=54']
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 49*54=2646, Resulting Numbers: [2646]
2646,61 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No 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: 61:[49, 46], Operations: ['12+37=49', '50-4=46']
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,61 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,61 unequal: No Solution
No 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: 61:[50, 45], Operations: ['12+37=49', '49-4=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,61 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No 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: 61:[4, 99], Operations: ['12+37=49', '50+49=99']
Exploring Operation: 4+99=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 4*99=396, Resulting Numbers: [396]
396,61 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,61 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: 61:[12, 37, 54], Operations: ['4+50=54']
Exploring Operation: 37-12=25, Resulting Numbers: [54, 25]
Generated Node #0,3,0: 61:[54, 25] Operation: 37-12=25
Exploring Operation: 37+54=91, Resulting Numbers: [12, 91]
Generated Node #0,3,1: 61:[12, 91] Operation: 37+54=91
Exploring Operation: 12+54=66, Resulting Numbers: [37, 66]
Generated Node #0,3,2: 61:[37, 66] Operation: 12+54=66
Exploring Operation: 12+37=49, Resulting Numbers: [54, 49]
Generated Node #0,3,3: 61:[54, 49] Operation: 12+37=49
Exploring Operation: 54-12=42, Resulting Numbers: [37, 42]
Generated Node #0,3,4: 61:[37, 42] Operation: 54-12=42
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[54, 49], Operations: ['4+50=54', '12+37=49']
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,61 unequal: No Solution
No 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: 61:[37, 66], Operations: ['4+50=54', '12+54=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,61 unequal: No Solution
No 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: 61:[54, 25], Operations: ['4+50=54', '37-12=25']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,61 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,61 unequal: No Solution
No 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: 61:[37, 42], Operations: ['4+50=54', '54-12=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,61 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,61 unequal: No Solution
No 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: 61:[12, 91], Operations: ['4+50=54', '37+54=91']
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,61 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 61:[50, 53], Operations: ['4+37=41', '12+41=53']
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[50, 53], Operations: ['12+4=16', '37+16=53']
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,61 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[41, 62], Operations: ['4+37=41', '12+50=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[37, 66], Operations: ['12+4=16', '50+16=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[50, 85], Operations: ['12*4=48', '37+48=85']
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[48, 87], Operations: ['12*4=48', '37+50=87']
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[41, 38], Operations: ['4+37=41', '50-12=38']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,61 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[50, 29], Operations: ['4+37=41', '41-12=29']
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,61 unequal: No Solution
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[50, 21], Operations: ['12+4=16', '37-16=21']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[37, 34], Operations: ['12+4=16', '50-16=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[37, 98], Operations: ['12*4=48', '50+48=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[12, 4, 37, 50], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [37, 50, 48]
Generated Node #0,0: 61:[37, 50, 48] Operation: 12*4=48
Moving to Node #0,0
Current State: 61:[37, 50, 48], Operations: ['12*4=48']
Exploring Operation: 50+48=98, Resulting Numbers: [37, 98]
Generated Node #0,0,0: 61:[37, 98] Operation: 50+48=98
Moving to Node #0,0,0
Current State: 61:[37, 98], Operations: ['12*4=48', '50+48=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.917535 | hs_5 | mult_heuristic |
[
73,
24,
9,
30
] | 67 | [
"24+30=54",
"54/9=6",
"73-6=67"
] | Current State: 67:[73, 24, 9, 30], Operations: []
Exploring Operation: 24+30=54, Resulting Numbers: [73, 9, 54]
Generated Node #2: [73, 9, 54] from Operation: 24+30=54
Current State: 67:[73, 9, 54], Operations: ['24+30=54']
Exploring Operation: 54/9=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 54/9=6
Current State: 67:[73, 6], Operations: ['24+30=54', '54/9=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[73, 24, 9, 30], Operations: []
Exploring Operation: 24+9=33, Resulting Numbers: [73, 30, 33]
Generated Node #0,0: 67:[73, 30, 33] Operation: 24+9=33
Moving to Node #0,0
Current State: 67:[73, 30, 33], Operations: ['24+9=33']
Exploring Operation: 30+33=63, Resulting Numbers: [73, 63]
Generated Node #0,0,0: 67:[73, 63] Operation: 30+33=63
Moving to Node #0,0,0
Current State: 67:[73, 63], Operations: ['24+9=33', '30+33=63']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
56,
48,
49
] | 45 | [
"91+56=147",
"147/49=3",
"48-3=45"
] | Current State: 45:[91, 56, 48, 49], Operations: []
Exploring Operation: 91+56=147, Resulting Numbers: [48, 49, 147]
Generated Node #2: [48, 49, 147] from Operation: 91+56=147
Current State: 45:[48, 49, 147], Operations: ['91+56=147']
Exploring Operation: 147/49=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 147/49=3
Current State: 45:[48, 3], Operations: ['91+56=147', '147/49=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[91, 56, 48, 49], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [91, 48, 7]
Generated Node #0,0: 45:[91, 48, 7] Operation: 56-49=7
Exploring Operation: 91-56=35, Resulting Numbers: [48, 49, 35]
Generated Node #0,1: 45:[48, 49, 35] Operation: 91-56=35
Exploring Operation: 91-48=43, Resulting Numbers: [56, 49, 43]
Generated Node #0,2: 45:[56, 49, 43] Operation: 91-48=43
Exploring Operation: 56-48=8, Resulting Numbers: [91, 49, 8]
Generated Node #0,3: 45:[91, 49, 8] Operation: 56-48=8
Exploring Operation: 91-49=42, Resulting Numbers: [56, 48, 42]
Generated Node #0,4: 45:[56, 48, 42] Operation: 91-49=42
Moving to Node #0,1
Current State: 45:[48, 49, 35], Operations: ['91-56=35']
Exploring Operation: 49-35=14, Resulting Numbers: [48, 14]
Generated Node #0,1,0: 45:[48, 14] Operation: 49-35=14
Exploring Operation: 48-35=13, Resulting Numbers: [49, 13]
Generated Node #0,1,1: 45:[49, 13] Operation: 48-35=13
Exploring Operation: 49+35=84, Resulting Numbers: [48, 84]
Generated Node #0,1,2: 45:[48, 84] Operation: 49+35=84
Exploring Operation: 48+35=83, Resulting Numbers: [49, 83]
Generated Node #0,1,3: 45:[49, 83] Operation: 48+35=83
Exploring Operation: 49-48=1, Resulting Numbers: [35, 1]
Generated Node #0,1,4: 45:[35, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[48, 14], Operations: ['91-56=35', '49-35=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,45 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[49, 13], Operations: ['91-56=35', '48-35=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,45 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[35, 1], Operations: ['91-56=35', '49-48=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[48, 84], Operations: ['91-56=35', '49+35=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[49, 83], Operations: ['91-56=35', '48+35=83']
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,45 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: 45:[56, 48, 42], Operations: ['91-49=42']
Exploring Operation: 56-48=8, Resulting Numbers: [42, 8]
Generated Node #0,4,0: 45:[42, 8] Operation: 56-48=8
Exploring Operation: 56+42=98, Resulting Numbers: [48, 98]
Generated Node #0,4,1: 45:[48, 98] Operation: 56+42=98
Exploring Operation: 48-42=6, Resulting Numbers: [56, 6]
Generated Node #0,4,2: 45:[56, 6] Operation: 48-42=6
Exploring Operation: 48+42=90, Resulting Numbers: [56, 90]
Generated Node #0,4,3: 45:[56, 90] Operation: 48+42=90
Exploring Operation: 56-42=14, Resulting Numbers: [48, 14]
Generated Node #0,4,4: 45:[48, 14] Operation: 56-42=14
Moving to Node #0,2
Current State: 45:[56, 49, 43], Operations: ['91-48=43']
Exploring Operation: 56-43=13, Resulting Numbers: [49, 13]
Generated Node #0,2,0: 45:[49, 13] Operation: 56-43=13
Exploring Operation: 49+43=92, Resulting Numbers: [56, 92]
Generated Node #0,2,1: 45:[56, 92] Operation: 49+43=92
Exploring Operation: 56+43=99, Resulting Numbers: [49, 99]
Generated Node #0,2,2: 45:[49, 99] Operation: 56+43=99
Exploring Operation: 56-49=7, Resulting Numbers: [43, 7]
Generated Node #0,2,3: 45:[43, 7] Operation: 56-49=7
Exploring Operation: 49-43=6, Resulting Numbers: [56, 6]
Generated Node #0,2,4: 45:[56, 6] Operation: 49-43=6
Moving to Node #0,0
Current State: 45:[91, 48, 7], Operations: ['56-49=7']
Exploring Operation: 91-7=84, Resulting Numbers: [48, 84]
Generated Node #0,0,0: 45:[48, 84] Operation: 91-7=84
Exploring Operation: 91-48=43, Resulting Numbers: [7, 43]
Generated Node #0,0,1: 45:[7, 43] Operation: 91-48=43
Exploring Operation: 48-7=41, Resulting Numbers: [91, 41]
Generated Node #0,0,2: 45:[91, 41] Operation: 48-7=41
Exploring Operation: 91+7=98, Resulting Numbers: [48, 98]
Generated Node #0,0,3: 45:[48, 98] Operation: 91+7=98
Exploring Operation: 91/7=13, Resulting Numbers: [48, 13]
Generated Node #0,0,4: 45:[48, 13] Operation: 91/7=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[7, 43], Operations: ['56-49=7', '91-48=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,45 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 45:[48, 13], Operations: ['56-49=7', '91/7=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[48, 84], Operations: ['56-49=7', '91-7=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[91, 41], Operations: ['56-49=7', '48-7=41']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[48, 98], Operations: ['56-49=7', '91+7=98']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,45 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,45 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: 45:[91, 49, 8], Operations: ['56-48=8']
Exploring Operation: 91+8=99, Resulting Numbers: [49, 99]
Generated Node #0,3,0: 45:[49, 99] Operation: 91+8=99
Exploring Operation: 49-8=41, Resulting Numbers: [91, 41]
Generated Node #0,3,1: 45:[91, 41] Operation: 49-8=41
Exploring Operation: 91-49=42, Resulting Numbers: [8, 42]
Generated Node #0,3,2: 45:[8, 42] Operation: 91-49=42
Exploring Operation: 49+8=57, Resulting Numbers: [91, 57]
Generated Node #0,3,3: 45:[91, 57] Operation: 49+8=57
Exploring Operation: 91-8=83, Resulting Numbers: [49, 83]
Generated Node #0,3,4: 45:[49, 83] Operation: 91-8=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[8, 42], Operations: ['56-48=8', '91-49=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 45:[49, 83], Operations: ['56-48=8', '91-8=83']
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,45 unequal: No Solution
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[91, 41], Operations: ['56-48=8', '49-8=41']
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[49, 99], Operations: ['56-48=8', '91+8=99']
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 49*99=4851, Resulting Numbers: [4851]
4851,45 unequal: No Solution
Exploring Operation: 49+99=148, Resulting Numbers: [148]
148,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[91, 57], Operations: ['56-48=8', '49+8=57']
Exploring Operation: 91*57=5187, Resulting Numbers: [5187]
5187,45 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 91+57=148, Resulting Numbers: [148]
148,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 45:[42, 8], Operations: ['91-49=42', '56-48=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[43, 7], Operations: ['91-48=43', '56-49=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,45 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[48, 14], Operations: ['91-49=42', '56-42=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,45 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[49, 13], Operations: ['91-48=43', '56-43=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,45 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[56, 6], Operations: ['91-49=42', '48-42=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[56, 6], Operations: ['91-48=43', '49-43=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[56, 90], Operations: ['91-49=42', '48+42=90']
Exploring Operation: 56+90=146, Resulting Numbers: [146]
146,45 unequal: No Solution
Exploring Operation: 56*90=5040, Resulting Numbers: [5040]
5040,45 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[48, 98], Operations: ['91-49=42', '56+42=98']
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,45 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[49, 99], Operations: ['91-48=43', '56+43=99']
Exploring Operation: 49*99=4851, Resulting Numbers: [4851]
4851,45 unequal: No Solution
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 49+99=148, Resulting Numbers: [148]
148,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[56, 92], Operations: ['91-48=43', '49+43=92']
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,45 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,45 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
5,
28,
98
] | 92 | [
"98-74=24",
"5*24=120",
"120-28=92"
] | Current State: 92:[74, 5, 28, 98], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [5, 28, 24]
Generated Node #2: [5, 28, 24] from Operation: 98-74=24
Current State: 92:[5, 28, 24], Operations: ['98-74=24']
Exploring Operation: 5*24=120, Resulting Numbers: [28, 120]
Generated Node #3: [28, 120] from Operation: 5*24=120
Current State: 92:[28, 120], Operations: ['98-74=24', '5*24=120']
Exploring Operation: 120-28=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[74, 5, 28, 98], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [5, 28, 24]
Generated Node #0,0: 92:[5, 28, 24] Operation: 98-74=24
Exploring Operation: 74-28=46, Resulting Numbers: [5, 98, 46]
Generated Node #0,1: 92:[5, 98, 46] Operation: 74-28=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[5, 28, 24], Operations: ['98-74=24']
Exploring Operation: 28-5=23, Resulting Numbers: [24, 23]
Generated Node #0,0,0: 92:[24, 23] Operation: 28-5=23
Exploring Operation: 28-24=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 92:[5, 4] Operation: 28-24=4
Moving to Node #0,0,0
Current State: 92:[24, 23], Operations: ['98-74=24', '28-5=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[5, 4], Operations: ['98-74=24', '28-24=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[5, 98, 46], Operations: ['74-28=46']
Exploring Operation: 98-5=93, Resulting Numbers: [46, 93]
Generated Node #0,1,0: 92:[46, 93] Operation: 98-5=93
Exploring Operation: 98-46=52, Resulting Numbers: [5, 52]
Generated Node #0,1,1: 92:[5, 52] Operation: 98-46=52
Moving to Node #0,1,0
Current State: 92:[46, 93], Operations: ['74-28=46', '98-5=93']
Exploring Operation: 46+93=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[5, 52], Operations: ['74-28=46', '98-46=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,92 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 |
[
89,
63,
14,
3
] | 86 | [
"89+14=103",
"63*3=189",
"189-103=86"
] | Current State: 86:[89, 63, 14, 3], Operations: []
Exploring Operation: 89+14=103, Resulting Numbers: [63, 3, 103]
Generated Node #2: [63, 3, 103] from Operation: 89+14=103
Current State: 86:[63, 3, 103], Operations: ['89+14=103']
Exploring Operation: 63*3=189, Resulting Numbers: [103, 189]
Generated Node #3: [103, 189] from Operation: 63*3=189
Current State: 86:[103, 189], Operations: ['89+14=103', '63*3=189']
Exploring Operation: 189-103=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[89, 63, 14, 3], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [89, 3, 49]
Generated Node #0,0: 86:[89, 3, 49] Operation: 63-14=49
Exploring Operation: 14*3=42, Resulting Numbers: [89, 63, 42]
Generated Node #0,1: 86:[89, 63, 42] Operation: 14*3=42
Exploring Operation: 63+14=77, Resulting Numbers: [89, 3, 77]
Generated Node #0,2: 86:[89, 3, 77] Operation: 63+14=77
Moving to Node #0,0
Current State: 86:[89, 3, 49], Operations: ['63-14=49']
Exploring Operation: 89-49=40, Resulting Numbers: [3, 40]
Generated Node #0,0,0: 86:[3, 40] Operation: 89-49=40
Exploring Operation: 89-3=86, Resulting Numbers: [49, 86]
Generated Node #0,0,1: 86:[49, 86] Operation: 89-3=86
Exploring Operation: 49-3=46, Resulting Numbers: [89, 46]
Generated Node #0,0,2: 86:[89, 46] Operation: 49-3=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[3, 40], Operations: ['63-14=49', '89-49=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,86 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[49, 86], Operations: ['63-14=49', '89-3=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[89, 46], Operations: ['63-14=49', '49-3=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,86 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[89, 3, 77], Operations: ['63+14=77']
Exploring Operation: 89-3=86, Resulting Numbers: [77, 86]
Generated Node #0,2,0: 86:[77, 86] Operation: 89-3=86
Exploring Operation: 3+77=80, Resulting Numbers: [89, 80]
Generated Node #0,2,1: 86:[89, 80] Operation: 3+77=80
Exploring Operation: 89-77=12, Resulting Numbers: [3, 12]
Generated Node #0,2,2: 86:[3, 12] Operation: 89-77=12
Moving to Node #0,1
Current State: 86:[89, 63, 42], Operations: ['14*3=42']
Exploring Operation: 89-63=26, Resulting Numbers: [42, 26]
Generated Node #0,1,0: 86:[42, 26] Operation: 89-63=26
Exploring Operation: 63+42=105, Resulting Numbers: [89, 105]
Generated Node #0,1,1: 86:[89, 105] Operation: 63+42=105
Exploring Operation: 63-42=21, Resulting Numbers: [89, 21]
Generated Node #0,1,2: 86:[89, 21] Operation: 63-42=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[42, 26], Operations: ['14*3=42', '89-63=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[89, 105], Operations: ['14*3=42', '63+42=105']
Exploring Operation: 89+105=194, Resulting Numbers: [194]
194,86 unequal: No Solution
Exploring Operation: 89*105=9345, Resulting Numbers: [9345]
9345,86 unequal: No Solution
Exploring Operation: 105-89=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[89, 21], Operations: ['14*3=42', '63-42=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,86 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 86:[77, 86], Operations: ['63+14=77', '89-3=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,86 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,86 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[89, 80], Operations: ['63+14=77', '3+77=80']
Exploring Operation: 89*80=7120, Resulting Numbers: [7120]
7120,86 unequal: No Solution
Exploring Operation: 89+80=169, Resulting Numbers: [169]
169,86 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[3, 12], Operations: ['63+14=77', '89-77=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
8,
9,
47
] | 93 | [
"29+8=37",
"9+47=56",
"37+56=93"
] | Current State: 93:[29, 8, 9, 47], Operations: []
Exploring Operation: 29+8=37, Resulting Numbers: [9, 47, 37]
Generated Node #2: [9, 47, 37] from Operation: 29+8=37
Current State: 93:[9, 47, 37], Operations: ['29+8=37']
Exploring Operation: 9+47=56, Resulting Numbers: [37, 56]
Generated Node #3: [37, 56] from Operation: 9+47=56
Current State: 93:[37, 56], Operations: ['29+8=37', '9+47=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[29, 8, 9, 47], Operations: []
Exploring Operation: 47-8=39, Resulting Numbers: [29, 9, 39]
Generated Node #0,0: 93:[29, 9, 39] Operation: 47-8=39
Exploring Operation: 47-29=18, Resulting Numbers: [8, 9, 18]
Generated Node #0,1: 93:[8, 9, 18] Operation: 47-29=18
Exploring Operation: 47-9=38, Resulting Numbers: [29, 8, 38]
Generated Node #0,2: 93:[29, 8, 38] Operation: 47-9=38
Exploring Operation: 9-8=1, Resulting Numbers: [29, 47, 1]
Generated Node #0,3: 93:[29, 47, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[29, 8, 38], Operations: ['47-9=38']
Exploring Operation: 29-8=21, Resulting Numbers: [38, 21]
Generated Node #0,2,0: 93:[38, 21] Operation: 29-8=21
Exploring Operation: 38-8=30, Resulting Numbers: [29, 30]
Generated Node #0,2,1: 93:[29, 30] Operation: 38-8=30
Exploring Operation: 29+8=37, Resulting Numbers: [38, 37]
Generated Node #0,2,2: 93:[38, 37] Operation: 29+8=37
Exploring Operation: 38-29=9, Resulting Numbers: [8, 9]
Generated Node #0,2,3: 93:[8, 9] Operation: 38-29=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[29, 30], Operations: ['47-9=38', '38-8=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[8, 9], Operations: ['47-9=38', '38-29=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[38, 37], Operations: ['47-9=38', '29+8=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,93 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[38, 21], Operations: ['47-9=38', '29-8=21']
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,93 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[29, 9, 39], Operations: ['47-8=39']
Exploring Operation: 29-9=20, Resulting Numbers: [39, 20]
Generated Node #0,0,0: 93:[39, 20] Operation: 29-9=20
Exploring Operation: 29+9=38, Resulting Numbers: [39, 38]
Generated Node #0,0,1: 93:[39, 38] Operation: 29+9=38
Exploring Operation: 39-29=10, Resulting Numbers: [9, 10]
Generated Node #0,0,2: 93:[9, 10] Operation: 39-29=10
Exploring Operation: 39-9=30, Resulting Numbers: [29, 30]
Generated Node #0,0,3: 93:[29, 30] Operation: 39-9=30
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 93:[29, 30], Operations: ['47-8=39', '39-9=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,93 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[9, 10], Operations: ['47-8=39', '39-29=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[39, 38], Operations: ['47-8=39', '29+9=38']
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,93 unequal: No Solution
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[39, 20], Operations: ['47-8=39', '29-9=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,93 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[29, 47, 1], Operations: ['9-8=1']
Exploring Operation: 29*1=29, Resulting Numbers: [47, 29]
Generated Node #0,3,0: 93:[47, 29] Operation: 29*1=29
Exploring Operation: 47-29=18, Resulting Numbers: [1, 18]
Generated Node #0,3,1: 93:[1, 18] Operation: 47-29=18
Exploring Operation: 29+1=30, Resulting Numbers: [47, 30]
Generated Node #0,3,2: 93:[47, 30] Operation: 29+1=30
Exploring Operation: 47-1=46, Resulting Numbers: [29, 46]
Generated Node #0,3,3: 93:[29, 46] Operation: 47-1=46
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[1, 18], Operations: ['9-8=1', '47-29=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[47, 30], Operations: ['9-8=1', '29+1=30']
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[29, 46], Operations: ['9-8=1', '47-1=46']
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[47, 29], Operations: ['9-8=1', '29*1=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,93 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[8, 9, 18], Operations: ['47-29=18']
Exploring Operation: 8+18=26, Resulting Numbers: [9, 26]
Generated Node #0,1,0: 93:[9, 26] Operation: 8+18=26
Exploring Operation: 18-9=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 93:[8, 9] Operation: 18-9=9
Exploring Operation: 9+18=27, Resulting Numbers: [8, 27]
Generated Node #0,1,2: 93:[8, 27] Operation: 9+18=27
Exploring Operation: 18/9=2, Resulting Numbers: [8, 2]
Generated Node #0,1,3: 93:[8, 2] Operation: 18/9=2
Moving to Node #0,1,3
Current State: 93:[8, 2], Operations: ['47-29=18', '18/9=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[8, 27], Operations: ['47-29=18', '9+18=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,93 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[8, 9], Operations: ['47-29=18', '18-9=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[9, 26], Operations: ['47-29=18', '8+18=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,93 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
28,
8,
34,
88
] | 73 | [
"28+34=62",
"88/8=11",
"62+11=73"
] | Current State: 73:[28, 8, 34, 88], Operations: []
Exploring Operation: 28+34=62, Resulting Numbers: [8, 88, 62]
Generated Node #2: [8, 88, 62] from Operation: 28+34=62
Current State: 73:[8, 88, 62], Operations: ['28+34=62']
Exploring Operation: 88/8=11, Resulting Numbers: [62, 11]
Generated Node #3: [62, 11] from Operation: 88/8=11
Current State: 73:[62, 11], Operations: ['28+34=62', '88/8=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[28, 8, 34, 88], Operations: []
Exploring Operation: 28+34=62, Resulting Numbers: [8, 88, 62]
Generated Node #0,0: 73:[8, 88, 62] Operation: 28+34=62
Exploring Operation: 28+8=36, Resulting Numbers: [34, 88, 36]
Generated Node #0,1: 73:[34, 88, 36] Operation: 28+8=36
Moving to Node #0,0
Current State: 73:[8, 88, 62], Operations: ['28+34=62']
Exploring Operation: 8+62=70, Resulting Numbers: [88, 70]
Generated Node #0,0,0: 73:[88, 70] Operation: 8+62=70
Exploring Operation: 88-8=80, Resulting Numbers: [62, 80]
Generated Node #0,0,1: 73:[62, 80] Operation: 88-8=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[88, 70], Operations: ['28+34=62', '8+62=70']
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[62, 80], Operations: ['28+34=62', '88-8=80']
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,73 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: 73:[34, 88, 36], Operations: ['28+8=36']
Exploring Operation: 88-34=54, Resulting Numbers: [36, 54]
Generated Node #0,1,0: 73:[36, 54] Operation: 88-34=54
Exploring Operation: 34+36=70, Resulting Numbers: [88, 70]
Generated Node #0,1,1: 73:[88, 70] Operation: 34+36=70
Moving to Node #0,1,1
Current State: 73:[88, 70], Operations: ['28+8=36', '34+36=70']
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[36, 54], Operations: ['28+8=36', '88-34=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
34,
7,
34
] | 12 | [
"34*7=238",
"238-34=204",
"204/17=12"
] | Current State: 12:[17, 34, 7, 34], Operations: []
Exploring Operation: 34*7=238, Resulting Numbers: [17, 238]
Generated Node #2: [17, 238] from Operation: 34*7=238
Current State: 12:[17, 238], Operations: ['34*7=238']
Exploring Operation: 238-34=204, Resulting Numbers: [17, 204]
Generated Node #3: [17, 204] from Operation: 238-34=204
Current State: 12:[17, 204], Operations: ['34*7=238', '238-34=204']
Exploring Operation: 204/17=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[17, 34, 7, 34], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [34, 7, 2]
Generated Node #0,0: 12:[34, 7, 2] Operation: 34/17=2
Exploring Operation: 34-34=0, Resulting Numbers: [17, 7, 0]
Generated Node #0,1: 12:[17, 7, 0] Operation: 34-34=0
Exploring Operation: 34/34=1, Resulting Numbers: [17, 7, 1]
Generated Node #0,2: 12:[17, 7, 1] Operation: 34/34=1
Exploring Operation: 34/17=2, Resulting Numbers: [7, 34, 2]
Generated Node #0,3: 12:[7, 34, 2] Operation: 34/17=2
Moving to Node #0,2
Current State: 12:[17, 7, 1], Operations: ['34/34=1']
Exploring Operation: 17*1=17, Resulting Numbers: [7, 17]
Generated Node #0,2,0: 12:[7, 17] Operation: 17*1=17
Exploring Operation: 17-1=16, Resulting Numbers: [7, 16]
Generated Node #0,2,1: 12:[7, 16] Operation: 17-1=16
Exploring Operation: 17-7=10, Resulting Numbers: [1, 10]
Generated Node #0,2,2: 12:[1, 10] Operation: 17-7=10
Exploring Operation: 7-1=6, Resulting Numbers: [17, 6]
Generated Node #0,2,3: 12:[17, 6] Operation: 7-1=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[1, 10], Operations: ['34/34=1', '17-7=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[7, 16], Operations: ['34/34=1', '17-1=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,12 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[17, 6], Operations: ['34/34=1', '7-1=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[7, 17], Operations: ['34/34=1', '17*1=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,12 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: 12:[17, 7, 0], Operations: ['34-34=0']
Exploring Operation: 17-0=17, Resulting Numbers: [7, 17]
Generated Node #0,1,0: 12:[7, 17] Operation: 17-0=17
Exploring Operation: 17+0=17, Resulting Numbers: [7, 17]
Generated Node #0,1,1: 12:[7, 17] Operation: 17+0=17
Exploring Operation: 17-7=10, Resulting Numbers: [0, 10]
Generated Node #0,1,2: 12:[0, 10] Operation: 17-7=10
Exploring Operation: 17*0=0, Resulting Numbers: [7, 0]
Generated Node #0,1,3: 12:[7, 0] Operation: 17*0=0
Moving to Node #0,3
Current State: 12:[7, 34, 2], Operations: ['34/17=2']
Exploring Operation: 7-2=5, Resulting Numbers: [34, 5]
Generated Node #0,3,0: 12:[34, 5] Operation: 7-2=5
Exploring Operation: 34-7=27, Resulting Numbers: [2, 27]
Generated Node #0,3,1: 12:[2, 27] Operation: 34-7=27
Exploring Operation: 34/2=17, Resulting Numbers: [7, 17]
Generated Node #0,3,2: 12:[7, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [7, 32]
Generated Node #0,3,3: 12:[7, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[7, 17], Operations: ['34/17=2', '34/2=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[2, 27], Operations: ['34/17=2', '34-7=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[7, 32], Operations: ['34/17=2', '34-2=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,12 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[34, 5], Operations: ['34/17=2', '7-2=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,12 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 12:[34, 7, 2], Operations: ['34/17=2']
Exploring Operation: 7-2=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 12:[34, 5] Operation: 7-2=5
Exploring Operation: 34/2=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 12:[7, 17] Operation: 34/2=17
Exploring Operation: 34-7=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 12:[2, 27] Operation: 34-7=27
Exploring Operation: 34-2=32, Resulting Numbers: [7, 32]
Generated Node #0,0,3: 12:[7, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[7, 17], Operations: ['34/17=2', '34/2=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[2, 27], Operations: ['34/17=2', '34-7=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[7, 32], Operations: ['34/17=2', '34-2=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,12 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[34, 5], Operations: ['34/17=2', '7-2=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,12 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,12 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: 12:[7, 0], Operations: ['34-34=0', '17*0=0']
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[0, 10], Operations: ['34-34=0', '17-7=10']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 0+10=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 0*10=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[7, 17], Operations: ['34-34=0', '17+0=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[7, 17], Operations: ['34-34=0', '17-0=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
30,
96,
11,
85
] | 91 | [
"96-30=66",
"66/11=6",
"85+6=91"
] | Current State: 91:[30, 96, 11, 85], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [11, 85, 66]
Generated Node #2: [11, 85, 66] from Operation: 96-30=66
Current State: 91:[11, 85, 66], Operations: ['96-30=66']
Exploring Operation: 66/11=6, Resulting Numbers: [85, 6]
Generated Node #3: [85, 6] from Operation: 66/11=6
Current State: 91:[85, 6], Operations: ['96-30=66', '66/11=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[30, 96, 11, 85], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [96, 85, 19]
Generated Node #0,0: 91:[96, 85, 19] Operation: 30-11=19
Moving to Node #0,0
Current State: 91:[96, 85, 19], Operations: ['30-11=19']
Exploring Operation: 96-85=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 91:[19, 11] Operation: 96-85=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[19, 11], Operations: ['30-11=19', '96-85=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
13,
4,
26
] | 99 | [
"13-8=5",
"4*26=104",
"104-5=99"
] | Current State: 99:[8, 13, 4, 26], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [4, 26, 5]
Generated Node #2: [4, 26, 5] from Operation: 13-8=5
Current State: 99:[4, 26, 5], Operations: ['13-8=5']
Exploring Operation: 4*26=104, Resulting Numbers: [5, 104]
Generated Node #3: [5, 104] from Operation: 4*26=104
Current State: 99:[5, 104], Operations: ['13-8=5', '4*26=104']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[8, 13, 4, 26], Operations: []
Exploring Operation: 8+26=34, Resulting Numbers: [13, 4, 34]
Generated Node #0,0: 99:[13, 4, 34] Operation: 8+26=34
Exploring Operation: 26/13=2, Resulting Numbers: [8, 4, 2]
Generated Node #0,1: 99:[8, 4, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [8, 4, 13]
Generated Node #0,2: 99:[8, 4, 13] Operation: 26-13=13
Exploring Operation: 4+26=30, Resulting Numbers: [8, 13, 30]
Generated Node #0,3: 99:[8, 13, 30] Operation: 4+26=30
Moving to Node #0,1
Current State: 99:[8, 4, 2], Operations: ['26/13=2']
Exploring Operation: 8-4=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 99:[2, 4] Operation: 8-4=4
Exploring Operation: 8+4=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 99:[2, 12] Operation: 8+4=12
Exploring Operation: 8/4=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 99:[2, 2] Operation: 8/4=2
Exploring Operation: 8*4=32, Resulting Numbers: [2, 32]
Generated Node #0,1,3: 99:[2, 32] Operation: 8*4=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[2, 4], Operations: ['26/13=2', '8-4=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,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:[2, 12], Operations: ['26/13=2', '8+4=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[2, 2], Operations: ['26/13=2', '8/4=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,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,3
Current State: 99:[2, 32], Operations: ['26/13=2', '8*4=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 99:[8, 4, 13], Operations: ['26-13=13']
Exploring Operation: 8+4=12, Resulting Numbers: [13, 12]
Generated Node #0,2,0: 99:[13, 12] Operation: 8+4=12
Exploring Operation: 8-4=4, Resulting Numbers: [13, 4]
Generated Node #0,2,1: 99:[13, 4] Operation: 8-4=4
Exploring Operation: 13-4=9, Resulting Numbers: [8, 9]
Generated Node #0,2,2: 99:[8, 9] Operation: 13-4=9
Exploring Operation: 8*4=32, Resulting Numbers: [13, 32]
Generated Node #0,2,3: 99:[13, 32] Operation: 8*4=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[8, 9], Operations: ['26-13=13', '13-4=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[13, 12], Operations: ['26-13=13', '8+4=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[13, 4], Operations: ['26-13=13', '8-4=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[13, 32], Operations: ['26-13=13', '8*4=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,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:[13, 4, 34], Operations: ['8+26=34']
Exploring Operation: 4+34=38, Resulting Numbers: [13, 38]
Generated Node #0,0,0: 99:[13, 38] Operation: 4+34=38
Exploring Operation: 13+4=17, Resulting Numbers: [34, 17]
Generated Node #0,0,1: 99:[34, 17] Operation: 13+4=17
Exploring Operation: 34-4=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 99:[13, 30] Operation: 34-4=30
Exploring Operation: 13-4=9, Resulting Numbers: [34, 9]
Generated Node #0,0,3: 99:[34, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[34, 9], Operations: ['8+26=34', '13-4=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,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,2
Current State: 99:[13, 30], Operations: ['8+26=34', '34-4=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,99 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[13, 38], Operations: ['8+26=34', '4+34=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,99 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,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:[34, 17], Operations: ['8+26=34', '13+4=17']
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,99 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: 99:[8, 13, 30], Operations: ['4+26=30']
Exploring Operation: 30-13=17, Resulting Numbers: [8, 17]
Generated Node #0,3,0: 99:[8, 17] Operation: 30-13=17
Exploring Operation: 8*13=104, Resulting Numbers: [30, 104]
Generated Node #0,3,1: 99:[30, 104] Operation: 8*13=104
Exploring Operation: 13-8=5, Resulting Numbers: [30, 5]
Generated Node #0,3,2: 99:[30, 5] Operation: 13-8=5
Exploring Operation: 8+30=38, Resulting Numbers: [13, 38]
Generated Node #0,3,3: 99:[13, 38] Operation: 8+30=38
Moving to Node #0,3,2
Current State: 99:[30, 5], Operations: ['4+26=30', '13-8=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[13, 38], Operations: ['4+26=30', '8+30=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,99 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[8, 17], Operations: ['4+26=30', '30-13=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,99 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[30, 104], Operations: ['4+26=30', '8*13=104']
Exploring Operation: 104-30=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 30+104=134, Resulting Numbers: [134]
134,99 unequal: No Solution
Exploring Operation: 30*104=3120, Resulting Numbers: [3120]
3120,99 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
44,
86,
1,
28
] | 70 | [
"86-44=42",
"1*28=28",
"42+28=70"
] | Current State: 70:[44, 86, 1, 28], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [1, 28, 42]
Generated Node #2: [1, 28, 42] from Operation: 86-44=42
Current State: 70:[1, 28, 42], Operations: ['86-44=42']
Exploring Operation: 1*28=28, Resulting Numbers: [42, 28]
Generated Node #3: [42, 28] from Operation: 1*28=28
Current State: 70:[42, 28], Operations: ['86-44=42', '1*28=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[44, 86, 1, 28], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [1, 28, 42]
Generated Node #0,0: 70:[1, 28, 42] Operation: 86-44=42
Exploring Operation: 44-1=43, Resulting Numbers: [86, 28, 43]
Generated Node #0,1: 70:[86, 28, 43] Operation: 44-1=43
Exploring Operation: 44+28=72, Resulting Numbers: [86, 1, 72]
Generated Node #0,2: 70:[86, 1, 72] Operation: 44+28=72
Exploring Operation: 86-28=58, Resulting Numbers: [44, 1, 58]
Generated Node #0,3: 70:[44, 1, 58] Operation: 86-28=58
Exploring Operation: 44-28=16, Resulting Numbers: [86, 1, 16]
Generated Node #0,4: 70:[86, 1, 16] Operation: 44-28=16
Moving to Node #0,0
Current State: 70:[1, 28, 42], Operations: ['86-44=42']
Exploring Operation: 28+42=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 70:[1, 70] Operation: 28+42=70
Exploring Operation: 42-28=14, Resulting Numbers: [1, 14]
Generated Node #0,0,1: 70:[1, 14] Operation: 42-28=14
Exploring Operation: 42-1=41, Resulting Numbers: [28, 41]
Generated Node #0,0,2: 70:[28, 41] Operation: 42-1=41
Exploring Operation: 1+28=29, Resulting Numbers: [42, 29]
Generated Node #0,0,3: 70:[42, 29] Operation: 1+28=29
Exploring Operation: 1*28=28, Resulting Numbers: [42, 28]
Generated Node #0,0,4: 70:[42, 28] Operation: 1*28=28
Moving to Node #0,4
Current State: 70:[86, 1, 16], Operations: ['44-28=16']
Exploring Operation: 86-1=85, Resulting Numbers: [16, 85]
Generated Node #0,4,0: 70:[16, 85] Operation: 86-1=85
Exploring Operation: 86-16=70, Resulting Numbers: [1, 70]
Generated Node #0,4,1: 70:[1, 70] Operation: 86-16=70
Exploring Operation: 86*1=86, Resulting Numbers: [16, 86]
Generated Node #0,4,2: 70:[16, 86] Operation: 86*1=86
Exploring Operation: 16-1=15, Resulting Numbers: [86, 15]
Generated Node #0,4,3: 70:[86, 15] Operation: 16-1=15
Exploring Operation: 86/1=86, Resulting Numbers: [16, 86]
Generated Node #0,4,4: 70:[16, 86] Operation: 86/1=86
Moving to Node #0,2
Current State: 70:[86, 1, 72], Operations: ['44+28=72']
Exploring Operation: 72-1=71, Resulting Numbers: [86, 71]
Generated Node #0,2,0: 70:[86, 71] Operation: 72-1=71
Exploring Operation: 86-72=14, Resulting Numbers: [1, 14]
Generated Node #0,2,1: 70:[1, 14] Operation: 86-72=14
Exploring Operation: 86*1=86, Resulting Numbers: [72, 86]
Generated Node #0,2,2: 70:[72, 86] Operation: 86*1=86
Exploring Operation: 86/1=86, Resulting Numbers: [72, 86]
Generated Node #0,2,3: 70:[72, 86] Operation: 86/1=86
Exploring Operation: 86-1=85, Resulting Numbers: [72, 85]
Generated Node #0,2,4: 70:[72, 85] Operation: 86-1=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[1, 14], Operations: ['44+28=72', '86-72=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[86, 71], Operations: ['44+28=72', '72-1=71']
Exploring Operation: 86*71=6106, Resulting Numbers: [6106]
6106,70 unequal: No Solution
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 86+71=157, Resulting Numbers: [157]
157,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[72, 85], Operations: ['44+28=72', '86-1=85']
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,70 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[72, 86], Operations: ['44+28=72', '86*1=86']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 72+86=158, Resulting Numbers: [158]
158,70 unequal: No Solution
Exploring Operation: 72*86=6192, Resulting Numbers: [6192]
6192,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[72, 86], Operations: ['44+28=72', '86/1=86']
Exploring Operation: 72+86=158, Resulting Numbers: [158]
158,70 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 72*86=6192, Resulting Numbers: [6192]
6192,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 70:[44, 1, 58], Operations: ['86-28=58']
Exploring Operation: 44-1=43, Resulting Numbers: [58, 43]
Generated Node #0,3,0: 70:[58, 43] Operation: 44-1=43
Exploring Operation: 1+58=59, Resulting Numbers: [44, 59]
Generated Node #0,3,1: 70:[44, 59] Operation: 1+58=59
Exploring Operation: 44/1=44, Resulting Numbers: [58, 44]
Generated Node #0,3,2: 70:[58, 44] Operation: 44/1=44
Exploring Operation: 58-44=14, Resulting Numbers: [1, 14]
Generated Node #0,3,3: 70:[1, 14] Operation: 58-44=14
Exploring Operation: 44*1=44, Resulting Numbers: [58, 44]
Generated Node #0,3,4: 70:[58, 44] Operation: 44*1=44
Moving to Node #0,1
Current State: 70:[86, 28, 43], Operations: ['44-1=43']
Exploring Operation: 86-28=58, Resulting Numbers: [43, 58]
Generated Node #0,1,0: 70:[43, 58] Operation: 86-28=58
Exploring Operation: 28+43=71, Resulting Numbers: [86, 71]
Generated Node #0,1,1: 70:[86, 71] Operation: 28+43=71
Exploring Operation: 86/43=2, Resulting Numbers: [28, 2]
Generated Node #0,1,2: 70:[28, 2] Operation: 86/43=2
Exploring Operation: 43-28=15, Resulting Numbers: [86, 15]
Generated Node #0,1,3: 70:[86, 15] Operation: 43-28=15
Exploring Operation: 86-43=43, Resulting Numbers: [28, 43]
Generated Node #0,1,4: 70:[28, 43] Operation: 86-43=43
Moving to Node #0,0,0
Current State: 70:[1, 70], Operations: ['86-44=42', '28+42=70']
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[44, 86, 1, 28], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [1, 28, 42]
Generated Node #0,0: 70:[1, 28, 42] Operation: 86-44=42
Moving to Node #0,0
Current State: 70:[1, 28, 42], Operations: ['86-44=42']
Exploring Operation: 28+42=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 70:[1, 70] Operation: 28+42=70
Moving to Node #0,0,0
Current State: 70:[1, 70], Operations: ['86-44=42', '28+42=70']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
2,
1,
58,
3
] | 49 | [
"2+1=3",
"3*3=9",
"58-9=49"
] | Current State: 49:[2, 1, 58, 3], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [58, 3, 3]
Generated Node #2: [58, 3, 3] from Operation: 2+1=3
Current State: 49:[58, 3, 3], Operations: ['2+1=3']
Exploring Operation: 3*3=9, Resulting Numbers: [58, 9]
Generated Node #3: [58, 9] from Operation: 3*3=9
Current State: 49:[58, 9], Operations: ['2+1=3', '3*3=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 1, 58, 3], Operations: []
Exploring Operation: 2+3=5, Resulting Numbers: [1, 58, 5]
Generated Node #0,0: 49:[1, 58, 5] Operation: 2+3=5
Exploring Operation: 58-1=57, Resulting Numbers: [2, 3, 57]
Generated Node #0,1: 49:[2, 3, 57] Operation: 58-1=57
Exploring Operation: 2+1=3, Resulting Numbers: [58, 3, 3]
Generated Node #0,2: 49:[58, 3, 3] Operation: 2+1=3
Exploring Operation: 58-2=56, Resulting Numbers: [1, 3, 56]
Generated Node #0,3: 49:[1, 3, 56] Operation: 58-2=56
Exploring Operation: 2*3=6, Resulting Numbers: [1, 58, 6]
Generated Node #0,4: 49:[1, 58, 6] Operation: 2*3=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[1, 58, 6], Operations: ['2*3=6']
Exploring Operation: 1+6=7, Resulting Numbers: [58, 7]
Generated Node #0,4,0: 49:[58, 7] Operation: 1+6=7
Exploring Operation: 58/1=58, Resulting Numbers: [6, 58]
Generated Node #0,4,1: 49:[6, 58] Operation: 58/1=58
Exploring Operation: 1*58=58, Resulting Numbers: [6, 58]
Generated Node #0,4,2: 49:[6, 58] Operation: 1*58=58
Exploring Operation: 58-1=57, Resulting Numbers: [6, 57]
Generated Node #0,4,3: 49:[6, 57] Operation: 58-1=57
Exploring Operation: 58-6=52, Resulting Numbers: [1, 52]
Generated Node #0,4,4: 49:[1, 52] Operation: 58-6=52
Moving to Node #0,4,0
Current State: 49:[58, 7], Operations: ['2*3=6', '1+6=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,49 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[1, 52], Operations: ['2*3=6', '58-6=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[6, 57], Operations: ['2*3=6', '58-1=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[6, 58], Operations: ['2*3=6', '58/1=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,49 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[6, 58], Operations: ['2*3=6', '1*58=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[1, 58, 5], Operations: ['2+3=5']
Exploring Operation: 58-5=53, Resulting Numbers: [1, 53]
Generated Node #0,0,0: 49:[1, 53] Operation: 58-5=53
Exploring Operation: 58-1=57, Resulting Numbers: [5, 57]
Generated Node #0,0,1: 49:[5, 57] Operation: 58-1=57
Exploring Operation: 1+5=6, Resulting Numbers: [58, 6]
Generated Node #0,0,2: 49:[58, 6] Operation: 1+5=6
Exploring Operation: 58/1=58, Resulting Numbers: [5, 58]
Generated Node #0,0,3: 49:[5, 58] Operation: 58/1=58
Exploring Operation: 1*58=58, Resulting Numbers: [5, 58]
Generated Node #0,0,4: 49:[5, 58] Operation: 1*58=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[1, 53], Operations: ['2+3=5', '58-5=53']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,49 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[5, 57], Operations: ['2+3=5', '58-1=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[58, 6], Operations: ['2+3=5', '1+5=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,49 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[5, 58], Operations: ['2+3=5', '58/1=58']
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,49 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 49:[5, 58], Operations: ['2+3=5', '1*58=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,49 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: 49:[2, 3, 57], Operations: ['58-1=57']
Exploring Operation: 2+3=5, Resulting Numbers: [57, 5]
Generated Node #0,1,0: 49:[57, 5] Operation: 2+3=5
Exploring Operation: 2*3=6, Resulting Numbers: [57, 6]
Generated Node #0,1,1: 49:[57, 6] Operation: 2*3=6
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,1,2: 49:[2, 54] Operation: 57-3=54
Exploring Operation: 3-2=1, Resulting Numbers: [57, 1]
Generated Node #0,1,3: 49:[57, 1] Operation: 3-2=1
Exploring Operation: 57-2=55, Resulting Numbers: [3, 55]
Generated Node #0,1,4: 49:[3, 55] Operation: 57-2=55
Moving to Node #0,1,1
Current State: 49:[57, 6], Operations: ['58-1=57', '2*3=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[2, 54], Operations: ['58-1=57', '57-3=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[57, 5], Operations: ['58-1=57', '2+3=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,49 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[3, 55], Operations: ['58-1=57', '57-2=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[57, 1], Operations: ['58-1=57', '3-2=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[58, 3, 3], Operations: ['2+1=3']
Exploring Operation: 58-3=55, Resulting Numbers: [3, 55]
Generated Node #0,2,0: 49:[3, 55] Operation: 58-3=55
Exploring Operation: 3/3=1, Resulting Numbers: [58, 1]
Generated Node #0,2,1: 49:[58, 1] Operation: 3/3=1
Exploring Operation: 3*3=9, Resulting Numbers: [58, 9]
Generated Node #0,2,2: 49:[58, 9] Operation: 3*3=9
Exploring Operation: 3+3=6, Resulting Numbers: [58, 6]
Generated Node #0,2,3: 49:[58, 6] Operation: 3+3=6
Exploring Operation: 58-3=55, Resulting Numbers: [3, 55]
Generated Node #0,2,4: 49:[3, 55] Operation: 58-3=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[3, 55], Operations: ['2+1=3', '58-3=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,49 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[58, 6], Operations: ['2+1=3', '3+3=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,49 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 49:[3, 55], Operations: ['2+1=3', '58-3=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,49 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[58, 9], Operations: ['2+1=3', '3*3=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,49 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[2, 1, 58, 3], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [58, 3, 3]
Generated Node #0,2: 49:[58, 3, 3] Operation: 2+1=3
Moving to Node #0,2
Current State: 49:[58, 3, 3], Operations: ['2+1=3']
Exploring Operation: 3*3=9, Resulting Numbers: [58, 9]
Generated Node #0,2,2: 49:[58, 9] Operation: 3*3=9
Moving to Node #0,2,2
Current State: 49:[58, 9], Operations: ['2+1=3', '3*3=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.922743 | hs_5 | sum_heuristic |
[
82,
83,
23,
22
] | 46 | [
"83-82=1",
"23+22=45",
"1+45=46"
] | Current State: 46:[82, 83, 23, 22], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [23, 22, 1]
Generated Node #2: [23, 22, 1] from Operation: 83-82=1
Current State: 46:[23, 22, 1], Operations: ['83-82=1']
Exploring Operation: 23+22=45, Resulting Numbers: [1, 45]
Generated Node #3: [1, 45] from Operation: 23+22=45
Current State: 46:[1, 45], Operations: ['83-82=1', '23+22=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[82, 83, 23, 22], Operations: []
Exploring Operation: 82-23=59, Resulting Numbers: [83, 22, 59]
Generated Node #0,0: 46:[83, 22, 59] Operation: 82-23=59
Exploring Operation: 83-22=61, Resulting Numbers: [82, 23, 61]
Generated Node #0,1: 46:[82, 23, 61] Operation: 83-22=61
Exploring Operation: 83-82=1, Resulting Numbers: [23, 22, 1]
Generated Node #0,2: 46:[23, 22, 1] Operation: 83-82=1
Exploring Operation: 82-22=60, Resulting Numbers: [83, 23, 60]
Generated Node #0,3: 46:[83, 23, 60] Operation: 82-22=60
Exploring Operation: 83-23=60, Resulting Numbers: [82, 22, 60]
Generated Node #0,4: 46:[82, 22, 60] Operation: 83-23=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[23, 22, 1], Operations: ['83-82=1']
Exploring Operation: 23/1=23, Resulting Numbers: [22, 23]
Generated Node #0,2,0: 46:[22, 23] Operation: 23/1=23
Exploring Operation: 22+1=23, Resulting Numbers: [23, 23]
Generated Node #0,2,1: 46:[23, 23] Operation: 22+1=23
Exploring Operation: 23*1=23, Resulting Numbers: [22, 23]
Generated Node #0,2,2: 46:[22, 23] Operation: 23*1=23
Exploring Operation: 22/1=22, Resulting Numbers: [23, 22]
Generated Node #0,2,3: 46:[23, 22] Operation: 22/1=22
Exploring Operation: 22*1=22, Resulting Numbers: [23, 22]
Generated Node #0,2,4: 46:[23, 22] Operation: 22*1=22
Moving to Node #0,2,1
Current State: 46:[23, 23], Operations: ['83-82=1', '22+1=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[82, 83, 23, 22], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [23, 22, 1]
Generated Node #0,2: 46:[23, 22, 1] Operation: 83-82=1
Moving to Node #0,2
Current State: 46:[23, 22, 1], Operations: ['83-82=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23, 23]
Generated Node #0,2,1: 46:[23, 23] Operation: 22+1=23
Moving to Node #0,2,1
Current State: 46:[23, 23], Operations: ['83-82=1', '22+1=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
51,
28,
76,
12
] | 36 | [
"51+28=79",
"79-76=3",
"12*3=36"
] | Current State: 36:[51, 28, 76, 12], Operations: []
Exploring Operation: 51+28=79, Resulting Numbers: [76, 12, 79]
Generated Node #2: [76, 12, 79] from Operation: 51+28=79
Current State: 36:[76, 12, 79], Operations: ['51+28=79']
Exploring Operation: 79-76=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 79-76=3
Current State: 36:[12, 3], Operations: ['51+28=79', '79-76=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[51, 28, 76, 12], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [28, 12, 25]
Generated Node #0,0: 36:[28, 12, 25] Operation: 76-51=25
Exploring Operation: 76-28=48, Resulting Numbers: [51, 12, 48]
Generated Node #0,1: 36:[51, 12, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[28, 12, 25], Operations: ['76-51=25']
Exploring Operation: 28-12=16, Resulting Numbers: [25, 16]
Generated Node #0,0,0: 36:[25, 16] Operation: 28-12=16
Exploring Operation: 28-25=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 36:[12, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[12, 3], Operations: ['76-51=25', '28-25=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[51, 28, 76, 12], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [28, 12, 25]
Generated Node #0,0: 36:[28, 12, 25] Operation: 76-51=25
Moving to Node #0,0
Current State: 36:[28, 12, 25], Operations: ['76-51=25']
Exploring Operation: 28-25=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 36:[12, 3] Operation: 28-25=3
Moving to Node #0,0,1
Current State: 36:[12, 3], Operations: ['76-51=25', '28-25=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
90,
42,
54
] | 11 | [
"90*42=3780",
"3780/54=70",
"81-70=11"
] | Current State: 11:[81, 90, 42, 54], Operations: []
Exploring Operation: 90*42=3780, Resulting Numbers: [81, 54, 3780]
Generated Node #2: [81, 54, 3780] from Operation: 90*42=3780
Current State: 11:[81, 54, 3780], Operations: ['90*42=3780']
Exploring Operation: 3780/54=70, Resulting Numbers: [81, 70]
Generated Node #3: [81, 70] from Operation: 3780/54=70
Current State: 11:[81, 70], Operations: ['90*42=3780', '3780/54=70']
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[81, 90, 42, 54], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [90, 42, 27]
Generated Node #0,0: 11:[90, 42, 27] Operation: 81-54=27
Exploring Operation: 90-81=9, Resulting Numbers: [42, 54, 9]
Generated Node #0,1: 11:[42, 54, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[42, 54, 9], Operations: ['90-81=9']
Exploring Operation: 54-42=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 11:[9, 12] Operation: 54-42=12
Exploring Operation: 54/9=6, Resulting Numbers: [42, 6]
Generated Node #0,1,1: 11:[42, 6] Operation: 54/9=6
Moving to Node #0,1,0
Current State: 11:[9, 12], Operations: ['90-81=9', '54-42=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[42, 6], Operations: ['90-81=9', '54/9=6']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,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,0
Current State: 11:[90, 42, 27], Operations: ['81-54=27']
Exploring Operation: 90-27=63, Resulting Numbers: [42, 63]
Generated Node #0,0,0: 11:[42, 63] Operation: 90-27=63
Exploring Operation: 90-42=48, Resulting Numbers: [27, 48]
Generated Node #0,0,1: 11:[27, 48] Operation: 90-42=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[27, 48], Operations: ['81-54=27', '90-42=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,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,0,0
Current State: 11:[42, 63], Operations: ['81-54=27', '90-27=63']
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,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_2 | sum_heuristic |
[
20,
9,
21,
28
] | 36 | [
"20+9=29",
"28-21=7",
"29+7=36"
] | Current State: 36:[20, 9, 21, 28], Operations: []
Exploring Operation: 20+9=29, Resulting Numbers: [21, 28, 29]
Generated Node #2: [21, 28, 29] from Operation: 20+9=29
Current State: 36:[21, 28, 29], Operations: ['20+9=29']
Exploring Operation: 28-21=7, Resulting Numbers: [29, 7]
Generated Node #3: [29, 7] from Operation: 28-21=7
Current State: 36:[29, 7], Operations: ['20+9=29', '28-21=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[20, 9, 21, 28], Operations: []
Exploring Operation: 28-20=8, Resulting Numbers: [9, 21, 8]
Generated Node #0,0: 36:[9, 21, 8] Operation: 28-20=8
Exploring Operation: 9+28=37, Resulting Numbers: [20, 21, 37]
Generated Node #0,1: 36:[20, 21, 37] Operation: 9+28=37
Exploring Operation: 28-9=19, Resulting Numbers: [20, 21, 19]
Generated Node #0,2: 36:[20, 21, 19] Operation: 28-9=19
Exploring Operation: 28-21=7, Resulting Numbers: [20, 9, 7]
Generated Node #0,3: 36:[20, 9, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[20, 9, 7], Operations: ['28-21=7']
Exploring Operation: 9+7=16, Resulting Numbers: [20, 16]
Generated Node #0,3,0: 36:[20, 16] Operation: 9+7=16
Exploring Operation: 20-9=11, Resulting Numbers: [7, 11]
Generated Node #0,3,1: 36:[7, 11] Operation: 20-9=11
Exploring Operation: 9-7=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 36:[20, 2] Operation: 9-7=2
Exploring Operation: 20-7=13, Resulting Numbers: [9, 13]
Generated Node #0,3,3: 36:[9, 13] Operation: 20-7=13
Moving to Node #0,3,3
Current State: 36:[9, 13], Operations: ['28-21=7', '20-7=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[20, 2], Operations: ['28-21=7', '9-7=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[7, 11], Operations: ['28-21=7', '20-9=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,36 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[20, 16], Operations: ['28-21=7', '9+7=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,36 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[20, 9, 21, 28], Operations: []
Exploring Operation: 28-21=7, Resulting Numbers: [20, 9, 7]
Generated Node #0,3: 36:[20, 9, 7] Operation: 28-21=7
Moving to Node #0,3
Current State: 36:[20, 9, 7], Operations: ['28-21=7']
Exploring Operation: 9+7=16, Resulting Numbers: [20, 16]
Generated Node #0,3,0: 36:[20, 16] Operation: 9+7=16
Moving to Node #0,3,0
Current State: 36:[20, 16], Operations: ['28-21=7', '9+7=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
89,
90,
13,
41
] | 53 | [
"90-89=1",
"13+41=54",
"54-1=53"
] | Current State: 53:[89, 90, 13, 41], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [13, 41, 1]
Generated Node #2: [13, 41, 1] from Operation: 90-89=1
Current State: 53:[13, 41, 1], Operations: ['90-89=1']
Exploring Operation: 13+41=54, Resulting Numbers: [1, 54]
Generated Node #3: [1, 54] from Operation: 13+41=54
Current State: 53:[1, 54], Operations: ['90-89=1', '13+41=54']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[89, 90, 13, 41], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [89, 41, 77]
Generated Node #0,0: 53:[89, 41, 77] Operation: 90-13=77
Exploring Operation: 89-13=76, Resulting Numbers: [90, 41, 76]
Generated Node #0,1: 53:[90, 41, 76] Operation: 89-13=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[89, 41, 77], Operations: ['90-13=77']
Exploring Operation: 89-77=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 53:[41, 12] Operation: 89-77=12
Exploring Operation: 89-41=48, Resulting Numbers: [77, 48]
Generated Node #0,0,1: 53:[77, 48] Operation: 89-41=48
Moving to Node #0,0,1
Current State: 53:[77, 48], Operations: ['90-13=77', '89-41=48']
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[41, 12], Operations: ['90-13=77', '89-77=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[89, 90, 13, 41], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [89, 41, 77]
Generated Node #0,0: 53:[89, 41, 77] Operation: 90-13=77
Moving to Node #0,0
Current State: 53:[89, 41, 77], Operations: ['90-13=77']
Exploring Operation: 89-77=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 53:[41, 12] Operation: 89-77=12
Moving to Node #0,0,0
Current State: 53:[41, 12], Operations: ['90-13=77', '89-77=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
1,
23,
31,
59
] | 50 | [
"23-1=22",
"59-31=28",
"22+28=50"
] | Current State: 50:[1, 23, 31, 59], Operations: []
Exploring Operation: 23-1=22, Resulting Numbers: [31, 59, 22]
Generated Node #2: [31, 59, 22] from Operation: 23-1=22
Current State: 50:[31, 59, 22], Operations: ['23-1=22']
Exploring Operation: 59-31=28, Resulting Numbers: [22, 28]
Generated Node #3: [22, 28] from Operation: 59-31=28
Current State: 50:[22, 28], Operations: ['23-1=22', '59-31=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[1, 23, 31, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [1, 23, 28]
Generated Node #0,0: 50:[1, 23, 28] Operation: 59-31=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[1, 23, 28], Operations: ['59-31=28']
Exploring Operation: 28-23=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 50:[1, 5] Operation: 28-23=5
Moving to Node #0,0,0
Current State: 50:[1, 5], Operations: ['59-31=28', '28-23=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,50 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 |
[
33,
13,
16,
32
] | 79 | [
"33*32=1056",
"1056/16=66",
"13+66=79"
] | Current State: 79:[33, 13, 16, 32], Operations: []
Exploring Operation: 33*32=1056, Resulting Numbers: [13, 16, 1056]
Generated Node #2: [13, 16, 1056] from Operation: 33*32=1056
Current State: 79:[13, 16, 1056], Operations: ['33*32=1056']
Exploring Operation: 1056/16=66, Resulting Numbers: [13, 66]
Generated Node #3: [13, 66] from Operation: 1056/16=66
Current State: 79:[13, 66], Operations: ['33*32=1056', '1056/16=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[33, 13, 16, 32], Operations: []
Exploring Operation: 13+16=29, Resulting Numbers: [33, 32, 29]
Generated Node #0,0: 79:[33, 32, 29] Operation: 13+16=29
Exploring Operation: 33+16=49, Resulting Numbers: [13, 32, 49]
Generated Node #0,1: 79:[13, 32, 49] Operation: 33+16=49
Exploring Operation: 33+32=65, Resulting Numbers: [13, 16, 65]
Generated Node #0,2: 79:[13, 16, 65] Operation: 33+32=65
Exploring Operation: 33+13=46, Resulting Numbers: [16, 32, 46]
Generated Node #0,3: 79:[16, 32, 46] Operation: 33+13=46
Moving to Node #0,0
Current State: 79:[33, 32, 29], Operations: ['13+16=29']
Exploring Operation: 33+32=65, Resulting Numbers: [29, 65]
Generated Node #0,0,0: 79:[29, 65] Operation: 33+32=65
Exploring Operation: 33+29=62, Resulting Numbers: [32, 62]
Generated Node #0,0,1: 79:[32, 62] Operation: 33+29=62
Exploring Operation: 33-29=4, Resulting Numbers: [32, 4]
Generated Node #0,0,2: 79:[32, 4] Operation: 33-29=4
Exploring Operation: 32+29=61, Resulting Numbers: [33, 61]
Generated Node #0,0,3: 79:[33, 61] Operation: 32+29=61
Moving to Node #0,2
Current State: 79:[13, 16, 65], Operations: ['33+32=65']
Exploring Operation: 16+65=81, Resulting Numbers: [13, 81]
Generated Node #0,2,0: 79:[13, 81] Operation: 16+65=81
Exploring Operation: 16-13=3, Resulting Numbers: [65, 3]
Generated Node #0,2,1: 79:[65, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [65, 29]
Generated Node #0,2,2: 79:[65, 29] Operation: 13+16=29
Exploring Operation: 13+65=78, Resulting Numbers: [16, 78]
Generated Node #0,2,3: 79:[16, 78] Operation: 13+65=78
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[65, 29], Operations: ['33+32=65', '13+16=29']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,79 unequal: No Solution
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[16, 78], Operations: ['33+32=65', '13+65=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,79 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[13, 81], Operations: ['33+32=65', '16+65=81']
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,79 unequal: No Solution
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[65, 3], Operations: ['33+32=65', '16-13=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,79 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: 79:[13, 32, 49], Operations: ['33+16=49']
Exploring Operation: 32-13=19, Resulting Numbers: [49, 19]
Generated Node #0,1,0: 79:[49, 19] Operation: 32-13=19
Exploring Operation: 13+32=45, Resulting Numbers: [49, 45]
Generated Node #0,1,1: 79:[49, 45] Operation: 13+32=45
Exploring Operation: 13+49=62, Resulting Numbers: [32, 62]
Generated Node #0,1,2: 79:[32, 62] Operation: 13+49=62
Exploring Operation: 32+49=81, Resulting Numbers: [13, 81]
Generated Node #0,1,3: 79:[13, 81] Operation: 32+49=81
Moving to Node #0,3
Current State: 79:[16, 32, 46], Operations: ['33+13=46']
Exploring Operation: 32-16=16, Resulting Numbers: [46, 16]
Generated Node #0,3,0: 79:[46, 16] Operation: 32-16=16
Exploring Operation: 16+46=62, Resulting Numbers: [32, 62]
Generated Node #0,3,1: 79:[32, 62] Operation: 16+46=62
Exploring Operation: 16+32=48, Resulting Numbers: [46, 48]
Generated Node #0,3,2: 79:[46, 48] Operation: 16+32=48
Exploring Operation: 32+46=78, Resulting Numbers: [16, 78]
Generated Node #0,3,3: 79:[16, 78] Operation: 32+46=78
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[32, 62], Operations: ['33+13=46', '16+46=62']
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,79 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[46, 48], Operations: ['33+13=46', '16+32=48']
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,79 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[16, 78], Operations: ['33+13=46', '32+46=78']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[46, 16], Operations: ['33+13=46', '32-16=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,79 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,79 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: 79:[29, 65], Operations: ['13+16=29', '33+32=65']
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,79 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[33, 61], Operations: ['13+16=29', '32+29=61']
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,79 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[32, 62], Operations: ['33+16=49', '13+49=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[32, 62], Operations: ['13+16=29', '33+29=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[49, 45], Operations: ['33+16=49', '13+32=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[13, 81], Operations: ['33+16=49', '32+49=81']
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[49, 19], Operations: ['33+16=49', '32-13=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[32, 4], Operations: ['13+16=29', '33-29=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,79 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
66,
56,
36,
34
] | 59 | [
"66+36=102",
"102/34=3",
"56+3=59"
] | Current State: 59:[66, 56, 36, 34], Operations: []
Exploring Operation: 66+36=102, Resulting Numbers: [56, 34, 102]
Generated Node #2: [56, 34, 102] from Operation: 66+36=102
Current State: 59:[56, 34, 102], Operations: ['66+36=102']
Exploring Operation: 102/34=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 102/34=3
Current State: 59:[56, 3], Operations: ['66+36=102', '102/34=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[66, 56, 36, 34], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [56, 36, 32]
Generated Node #0,0: 59:[56, 36, 32] Operation: 66-34=32
Exploring Operation: 36+34=70, Resulting Numbers: [66, 56, 70]
Generated Node #0,1: 59:[66, 56, 70] Operation: 36+34=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[66, 56, 70], Operations: ['36+34=70']
Exploring Operation: 70-66=4, Resulting Numbers: [56, 4]
Generated Node #0,1,0: 59:[56, 4] Operation: 70-66=4
Exploring Operation: 70-56=14, Resulting Numbers: [66, 14]
Generated Node #0,1,1: 59:[66, 14] Operation: 70-56=14
Moving to Node #0,1,1
Current State: 59:[66, 14], Operations: ['36+34=70', '70-56=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[56, 4], Operations: ['36+34=70', '70-66=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[56, 36, 32], Operations: ['66-34=32']
Exploring Operation: 36+32=68, Resulting Numbers: [56, 68]
Generated Node #0,0,0: 59:[56, 68] Operation: 36+32=68
Exploring Operation: 56+32=88, Resulting Numbers: [36, 88]
Generated Node #0,0,1: 59:[36, 88] Operation: 56+32=88
Moving to Node #0,0,0
Current State: 59:[56, 68], Operations: ['66-34=32', '36+32=68']
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[36, 88], Operations: ['66-34=32', '56+32=88']
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
23,
67,
91
] | 30 | [
"31+23=54",
"91-67=24",
"54-24=30"
] | Current State: 30:[31, 23, 67, 91], Operations: []
Exploring Operation: 31+23=54, Resulting Numbers: [67, 91, 54]
Generated Node #2: [67, 91, 54] from Operation: 31+23=54
Current State: 30:[67, 91, 54], Operations: ['31+23=54']
Exploring Operation: 91-67=24, Resulting Numbers: [54, 24]
Generated Node #3: [54, 24] from Operation: 91-67=24
Current State: 30:[54, 24], Operations: ['31+23=54', '91-67=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[31, 23, 67, 91], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [31, 23, 24]
Generated Node #0,0: 30:[31, 23, 24] Operation: 91-67=24
Moving to Node #0,0
Current State: 30:[31, 23, 24], Operations: ['91-67=24']
Exploring Operation: 24-23=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 24-23=1
Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['91-67=24', '24-23=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[31, 23, 67, 91], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [31, 23, 24]
Generated Node #0,0: 30:[31, 23, 24] Operation: 91-67=24
Moving to Node #0,0
Current State: 30:[31, 23, 24], Operations: ['91-67=24']
Exploring Operation: 24-23=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 24-23=1
Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['91-67=24', '24-23=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
12,
83,
1,
9
] | 87 | [
"12+83=95",
"9-1=8",
"95-8=87"
] | Current State: 87:[12, 83, 1, 9], Operations: []
Exploring Operation: 12+83=95, Resulting Numbers: [1, 9, 95]
Generated Node #2: [1, 9, 95] from Operation: 12+83=95
Current State: 87:[1, 9, 95], Operations: ['12+83=95']
Exploring Operation: 9-1=8, Resulting Numbers: [95, 8]
Generated Node #3: [95, 8] from Operation: 9-1=8
Current State: 87:[95, 8], Operations: ['12+83=95', '9-1=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[12, 83, 1, 9], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [83, 1, 3]
Generated Node #0,0: 87:[83, 1, 3] Operation: 12-9=3
Exploring Operation: 12+9=21, Resulting Numbers: [83, 1, 21]
Generated Node #0,1: 87:[83, 1, 21] Operation: 12+9=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[83, 1, 3], Operations: ['12-9=3']
Exploring Operation: 83+1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 87:[3, 84] Operation: 83+1=84
Exploring Operation: 83+3=86, Resulting Numbers: [1, 86]
Generated Node #0,0,1: 87:[1, 86] Operation: 83+3=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[3, 84], Operations: ['12-9=3', '83+1=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[12, 83, 1, 9], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [83, 1, 3]
Generated Node #0,0: 87:[83, 1, 3] Operation: 12-9=3
Moving to Node #0,0
Current State: 87:[83, 1, 3], Operations: ['12-9=3']
Exploring Operation: 83+1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 87:[3, 84] Operation: 83+1=84
Moving to Node #0,0,0
Current State: 87:[3, 84], Operations: ['12-9=3', '83+1=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
2,
40,
95,
35
] | 20 | [
"2*40=80",
"95-35=60",
"80-60=20"
] | Current State: 20:[2, 40, 95, 35], Operations: []
Exploring Operation: 2*40=80, Resulting Numbers: [95, 35, 80]
Generated Node #2: [95, 35, 80] from Operation: 2*40=80
Current State: 20:[95, 35, 80], Operations: ['2*40=80']
Exploring Operation: 95-35=60, Resulting Numbers: [80, 60]
Generated Node #3: [80, 60] from Operation: 95-35=60
Current State: 20:[80, 60], Operations: ['2*40=80', '95-35=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 40, 95, 35], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [2, 35, 55]
Generated Node #0,0: 20:[2, 35, 55] Operation: 95-40=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 35, 55], Operations: ['95-40=55']
Exploring Operation: 55-35=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 20:[2, 20] Operation: 55-35=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[2, 20], Operations: ['95-40=55', '55-35=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,20 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 |
[
45,
1,
58,
63
] | 10 | [
"63-58=5",
"45/5=9",
"1+9=10"
] | Current State: 10:[45, 1, 58, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [45, 1, 5]
Generated Node #2: [45, 1, 5] from Operation: 63-58=5
Current State: 10:[45, 1, 5], Operations: ['63-58=5']
Exploring Operation: 45/5=9, Resulting Numbers: [1, 9]
Generated Node #3: [1, 9] from Operation: 45/5=9
Current State: 10:[1, 9], Operations: ['63-58=5', '45/5=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[45, 1, 58, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [45, 1, 5]
Generated Node #0,0: 10:[45, 1, 5] Operation: 63-58=5
Exploring Operation: 58-45=13, Resulting Numbers: [1, 63, 13]
Generated Node #0,1: 10:[1, 63, 13] Operation: 58-45=13
Exploring Operation: 63-45=18, Resulting Numbers: [1, 58, 18]
Generated Node #0,2: 10:[1, 58, 18] Operation: 63-45=18
Moving to Node #0,0
Current State: 10:[45, 1, 5], Operations: ['63-58=5']
Exploring Operation: 45/5=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 10:[1, 9] Operation: 45/5=9
Exploring Operation: 45-5=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 10:[1, 40] Operation: 45-5=40
Exploring Operation: 45-1=44, Resulting Numbers: [5, 44]
Generated Node #0,0,2: 10:[5, 44] Operation: 45-1=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[1, 9], Operations: ['63-58=5', '45/5=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[45, 1, 58, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [45, 1, 5]
Generated Node #0,0: 10:[45, 1, 5] Operation: 63-58=5
Moving to Node #0,0
Current State: 10:[45, 1, 5], Operations: ['63-58=5']
Exploring Operation: 45/5=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 10:[1, 9] Operation: 45/5=9
Moving to Node #0,0,0
Current State: 10:[1, 9], Operations: ['63-58=5', '45/5=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
3,
13,
5,
8
] | 32 | [
"3*8=24",
"13-5=8",
"24+8=32"
] | Current State: 32:[3, 13, 5, 8], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [13, 5, 24]
Generated Node #2: [13, 5, 24] from Operation: 3*8=24
Current State: 32:[13, 5, 24], Operations: ['3*8=24']
Exploring Operation: 13-5=8, Resulting Numbers: [24, 8]
Generated Node #3: [24, 8] from Operation: 13-5=8
Current State: 32:[24, 8], Operations: ['3*8=24', '13-5=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 13, 5, 8], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [3, 8, 8]
Generated Node #0,0: 32:[3, 8, 8] Operation: 13-5=8
Exploring Operation: 3+5=8, Resulting Numbers: [13, 8, 8]
Generated Node #0,1: 32:[13, 8, 8] Operation: 3+5=8
Exploring Operation: 3+13=16, Resulting Numbers: [5, 8, 16]
Generated Node #0,2: 32:[5, 8, 16] Operation: 3+13=16
Exploring Operation: 13-3=10, Resulting Numbers: [5, 8, 10]
Generated Node #0,3: 32:[5, 8, 10] Operation: 13-3=10
Exploring Operation: 5-3=2, Resulting Numbers: [13, 8, 2]
Generated Node #0,4: 32:[13, 8, 2] Operation: 5-3=2
Moving to Node #0,0
Current State: 32:[3, 8, 8], Operations: ['13-5=8']
Exploring Operation: 3+8=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 32:[8, 11] Operation: 3+8=11
Exploring Operation: 8+8=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 32:[3, 16] Operation: 8+8=16
Exploring Operation: 8-3=5, Resulting Numbers: [8, 5]
Generated Node #0,0,2: 32:[8, 5] Operation: 8-3=5
Exploring Operation: 8-3=5, Resulting Numbers: [8, 5]
Generated Node #0,0,3: 32:[8, 5] Operation: 8-3=5
Exploring Operation: 8/8=1, Resulting Numbers: [3, 1]
Generated Node #0,0,4: 32:[3, 1] Operation: 8/8=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[3, 16], Operations: ['13-5=8', '8+8=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[8, 5], Operations: ['13-5=8', '8-3=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[8, 5], Operations: ['13-5=8', '8-3=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[3, 1], Operations: ['13-5=8', '8/8=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 11], Operations: ['13-5=8', '3+8=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,32 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: 32:[5, 8, 16], Operations: ['3+13=16']
Exploring Operation: 16-8=8, Resulting Numbers: [5, 8]
Generated Node #0,2,0: 32:[5, 8] Operation: 16-8=8
Exploring Operation: 8-5=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 32:[16, 3] Operation: 8-5=3
Exploring Operation: 16-5=11, Resulting Numbers: [8, 11]
Generated Node #0,2,2: 32:[8, 11] Operation: 16-5=11
Exploring Operation: 16/8=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 32:[5, 2] Operation: 16/8=2
Exploring Operation: 5+8=13, Resulting Numbers: [16, 13]
Generated Node #0,2,4: 32:[16, 13] Operation: 5+8=13
Moving to Node #0,1
Current State: 32:[13, 8, 8], Operations: ['3+5=8']
Exploring Operation: 13-8=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 32:[8, 5] Operation: 13-8=5
Exploring Operation: 8/8=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 32:[13, 1] Operation: 8/8=1
Exploring Operation: 8+8=16, Resulting Numbers: [13, 16]
Generated Node #0,1,2: 32:[13, 16] Operation: 8+8=16
Exploring Operation: 13-8=5, Resulting Numbers: [8, 5]
Generated Node #0,1,3: 32:[8, 5] Operation: 13-8=5
Exploring Operation: 13+8=21, Resulting Numbers: [8, 21]
Generated Node #0,1,4: 32:[8, 21] Operation: 13+8=21
Moving to Node #0,3
Current State: 32:[5, 8, 10], Operations: ['13-3=10']
Exploring Operation: 10-5=5, Resulting Numbers: [8, 5]
Generated Node #0,3,0: 32:[8, 5] Operation: 10-5=5
Exploring Operation: 10-8=2, Resulting Numbers: [5, 2]
Generated Node #0,3,1: 32:[5, 2] Operation: 10-8=2
Exploring Operation: 10/5=2, Resulting Numbers: [8, 2]
Generated Node #0,3,2: 32:[8, 2] Operation: 10/5=2
Exploring Operation: 5+10=15, Resulting Numbers: [8, 15]
Generated Node #0,3,3: 32:[8, 15] Operation: 5+10=15
Exploring Operation: 8-5=3, Resulting Numbers: [10, 3]
Generated Node #0,3,4: 32:[10, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[8, 2], Operations: ['13-3=10', '10/5=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[8, 5], Operations: ['13-3=10', '10-5=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[5, 2], Operations: ['13-3=10', '10-8=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[8, 15], Operations: ['13-3=10', '5+10=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 32:[10, 3], Operations: ['13-3=10', '8-5=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,32 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: 32:[13, 8, 2], Operations: ['5-3=2']
Exploring Operation: 13+2=15, Resulting Numbers: [8, 15]
Generated Node #0,4,0: 32:[8, 15] Operation: 13+2=15
Exploring Operation: 8/2=4, Resulting Numbers: [13, 4]
Generated Node #0,4,1: 32:[13, 4] Operation: 8/2=4
Exploring Operation: 8*2=16, Resulting Numbers: [13, 16]
Generated Node #0,4,2: 32:[13, 16] Operation: 8*2=16
Exploring Operation: 13-8=5, Resulting Numbers: [2, 5]
Generated Node #0,4,3: 32:[2, 5] Operation: 13-8=5
Exploring Operation: 13-2=11, Resulting Numbers: [8, 11]
Generated Node #0,4,4: 32:[8, 11] Operation: 13-2=11
Moving to Node #0,2,0
Current State: 32:[5, 8], Operations: ['3+13=16', '16-8=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[5, 2], Operations: ['3+13=16', '16/8=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[8, 5], Operations: ['3+5=8', '13-8=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[8, 5], Operations: ['3+5=8', '13-8=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[2, 5], Operations: ['5-3=2', '13-8=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[16, 3], Operations: ['3+13=16', '8-5=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[8, 15], Operations: ['5-3=2', '13+2=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[13, 16], Operations: ['5-3=2', '8*2=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,32 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[13, 4], Operations: ['5-3=2', '8/2=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[8, 11], Operations: ['5-3=2', '13-2=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[13, 16], Operations: ['3+5=8', '8+8=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[16, 13], Operations: ['3+13=16', '5+8=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,32 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[8, 11], Operations: ['3+13=16', '16-5=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[13, 1], Operations: ['3+5=8', '8/8=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[8, 21], Operations: ['3+5=8', '13+8=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,32 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
38,
94,
21,
63
] | 98 | [
"94-38=56",
"63-21=42",
"56+42=98"
] | Current State: 98:[38, 94, 21, 63], Operations: []
Exploring Operation: 94-38=56, Resulting Numbers: [21, 63, 56]
Generated Node #2: [21, 63, 56] from Operation: 94-38=56
Current State: 98:[21, 63, 56], Operations: ['94-38=56']
Exploring Operation: 63-21=42, Resulting Numbers: [56, 42]
Generated Node #3: [56, 42] from Operation: 63-21=42
Current State: 98:[56, 42], Operations: ['94-38=56', '63-21=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[38, 94, 21, 63], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [38, 94, 3]
Generated Node #0,0: 98:[38, 94, 3] Operation: 63/21=3
Exploring Operation: 38+63=101, Resulting Numbers: [94, 21, 101]
Generated Node #0,1: 98:[94, 21, 101] Operation: 38+63=101
Moving to Node #0,1
Current State: 98:[94, 21, 101], Operations: ['38+63=101']
Exploring Operation: 101-94=7, Resulting Numbers: [21, 7]
Generated Node #0,1,0: 98:[21, 7] Operation: 101-94=7
Exploring Operation: 94+21=115, Resulting Numbers: [101, 115]
Generated Node #0,1,1: 98:[101, 115] Operation: 94+21=115
Moving to Node #0,0
Current State: 98:[38, 94, 3], Operations: ['63/21=3']
Exploring Operation: 38+3=41, Resulting Numbers: [94, 41]
Generated Node #0,0,0: 98:[94, 41] Operation: 38+3=41
Exploring Operation: 94-38=56, Resulting Numbers: [3, 56]
Generated Node #0,0,1: 98:[3, 56] Operation: 94-38=56
Moving to Node #0,1,0
Current State: 98:[21, 7], Operations: ['38+63=101', '101-94=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[3, 56], Operations: ['63/21=3', '94-38=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[94, 41], Operations: ['63/21=3', '38+3=41']
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[101, 115], Operations: ['38+63=101', '94+21=115']
Exploring Operation: 101+115=216, Resulting Numbers: [216]
216,98 unequal: No Solution
Exploring Operation: 115-101=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
63,
7,
33
] | 28 | [
"33-31=2",
"63-7=56",
"56/2=28"
] | Current State: 28:[31, 63, 7, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [63, 7, 2]
Generated Node #2: [63, 7, 2] from Operation: 33-31=2
Current State: 28:[63, 7, 2], Operations: ['33-31=2']
Exploring Operation: 63-7=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 63-7=56
Current State: 28:[2, 56], Operations: ['33-31=2', '63-7=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[31, 63, 7, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [31, 7, 30]
Generated Node #0,0: 28:[31, 7, 30] Operation: 63-33=30
Exploring Operation: 63-31=32, Resulting Numbers: [7, 33, 32]
Generated Node #0,1: 28:[7, 33, 32] Operation: 63-31=32
Exploring Operation: 33-31=2, Resulting Numbers: [63, 7, 2]
Generated Node #0,2: 28:[63, 7, 2] Operation: 33-31=2
Exploring Operation: 63/7=9, Resulting Numbers: [31, 33, 9]
Generated Node #0,3: 28:[31, 33, 9] Operation: 63/7=9
Moving to Node #0,0
Current State: 28:[31, 7, 30], Operations: ['63-33=30']
Exploring Operation: 30-7=23, Resulting Numbers: [31, 23]
Generated Node #0,0,0: 28:[31, 23] Operation: 30-7=23
Exploring Operation: 31-30=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 28:[7, 1] Operation: 31-30=1
Exploring Operation: 31-7=24, Resulting Numbers: [30, 24]
Generated Node #0,0,2: 28:[30, 24] Operation: 31-7=24
Exploring Operation: 31+7=38, Resulting Numbers: [30, 38]
Generated Node #0,0,3: 28:[30, 38] Operation: 31+7=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[7, 1], Operations: ['63-33=30', '31-30=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[30, 24], Operations: ['63-33=30', '31-7=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[31, 23], Operations: ['63-33=30', '30-7=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[30, 38], Operations: ['63-33=30', '31+7=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,28 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,28 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,28 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: 28:[7, 33, 32], Operations: ['63-31=32']
Exploring Operation: 7+33=40, Resulting Numbers: [32, 40]
Generated Node #0,1,0: 28:[32, 40] Operation: 7+33=40
Exploring Operation: 32-7=25, Resulting Numbers: [33, 25]
Generated Node #0,1,1: 28:[33, 25] Operation: 32-7=25
Exploring Operation: 33-7=26, Resulting Numbers: [32, 26]
Generated Node #0,1,2: 28:[32, 26] Operation: 33-7=26
Exploring Operation: 33-32=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 28:[7, 1] Operation: 33-32=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[7, 1], Operations: ['63-31=32', '33-32=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[32, 26], Operations: ['63-31=32', '33-7=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,28 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[33, 25], Operations: ['63-31=32', '32-7=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[32, 40], Operations: ['63-31=32', '7+33=40']
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,28 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,28 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: 28:[31, 33, 9], Operations: ['63/7=9']
Exploring Operation: 33-9=24, Resulting Numbers: [31, 24]
Generated Node #0,3,0: 28:[31, 24] Operation: 33-9=24
Exploring Operation: 31-9=22, Resulting Numbers: [33, 22]
Generated Node #0,3,1: 28:[33, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [33, 40]
Generated Node #0,3,2: 28:[33, 40] Operation: 31+9=40
Exploring Operation: 33-31=2, Resulting Numbers: [9, 2]
Generated Node #0,3,3: 28:[9, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[9, 2], Operations: ['63/7=9', '33-31=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[31, 24], Operations: ['63/7=9', '33-9=24']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[33, 22], Operations: ['63/7=9', '31-9=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,28 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[33, 40], Operations: ['63/7=9', '31+9=40']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,28 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: 28:[63, 7, 2], Operations: ['33-31=2']
Exploring Operation: 7*2=14, Resulting Numbers: [63, 14]
Generated Node #0,2,0: 28:[63, 14] Operation: 7*2=14
Exploring Operation: 63-7=56, Resulting Numbers: [2, 56]
Generated Node #0,2,1: 28:[2, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 28:[2, 9] Operation: 63/7=9
Exploring Operation: 63-2=61, Resulting Numbers: [7, 61]
Generated Node #0,2,3: 28:[7, 61] Operation: 63-2=61
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[2, 9], Operations: ['33-31=2', '63/7=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[2, 56], Operations: ['33-31=2', '63-7=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[31, 63, 7, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [63, 7, 2]
Generated Node #0,2: 28:[63, 7, 2] Operation: 33-31=2
Moving to Node #0,2
Current State: 28:[63, 7, 2], Operations: ['33-31=2']
Exploring Operation: 63-7=56, Resulting Numbers: [2, 56]
Generated Node #0,2,1: 28:[2, 56] Operation: 63-7=56
Moving to Node #0,2,1
Current State: 28:[2, 56], Operations: ['33-31=2', '63-7=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_4 | mult_heuristic |
[
25,
34,
3,
20
] | 33 | [
"34-25=9",
"20-9=11",
"3*11=33"
] | Current State: 33:[25, 34, 3, 20], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [3, 20, 9]
Generated Node #2: [3, 20, 9] from Operation: 34-25=9
Current State: 33:[3, 20, 9], Operations: ['34-25=9']
Exploring Operation: 20-9=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 20-9=11
Current State: 33:[3, 11], Operations: ['34-25=9', '20-9=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[25, 34, 3, 20], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [34, 3, 5]
Generated Node #0,0: 33:[34, 3, 5] Operation: 25-20=5
Exploring Operation: 25+20=45, Resulting Numbers: [34, 3, 45]
Generated Node #0,1: 33:[34, 3, 45] Operation: 25+20=45
Exploring Operation: 25+3=28, Resulting Numbers: [34, 20, 28]
Generated Node #0,2: 33:[34, 20, 28] Operation: 25+3=28
Exploring Operation: 34-25=9, Resulting Numbers: [3, 20, 9]
Generated Node #0,3: 33:[3, 20, 9] Operation: 34-25=9
Exploring Operation: 34-20=14, Resulting Numbers: [25, 3, 14]
Generated Node #0,4: 33:[25, 3, 14] Operation: 34-20=14
Moving to Node #0,0
Current State: 33:[34, 3, 5], Operations: ['25-20=5']
Exploring Operation: 3*5=15, Resulting Numbers: [34, 15]
Generated Node #0,0,0: 33:[34, 15] Operation: 3*5=15
Exploring Operation: 34-3=31, Resulting Numbers: [5, 31]
Generated Node #0,0,1: 33:[5, 31] Operation: 34-3=31
Exploring Operation: 34-5=29, Resulting Numbers: [3, 29]
Generated Node #0,0,2: 33:[3, 29] Operation: 34-5=29
Exploring Operation: 3+5=8, Resulting Numbers: [34, 8]
Generated Node #0,0,3: 33:[34, 8] Operation: 3+5=8
Exploring Operation: 5-3=2, Resulting Numbers: [34, 2]
Generated Node #0,0,4: 33:[34, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[34, 2], Operations: ['25-20=5', '5-3=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[5, 31], Operations: ['25-20=5', '34-3=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,33 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[3, 29], Operations: ['25-20=5', '34-5=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[34, 8], Operations: ['25-20=5', '3+5=8']
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,33 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[34, 15], Operations: ['25-20=5', '3*5=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,33 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: 33:[25, 3, 14], Operations: ['34-20=14']
Exploring Operation: 14-3=11, Resulting Numbers: [25, 11]
Generated Node #0,4,0: 33:[25, 11] Operation: 14-3=11
Exploring Operation: 25-14=11, Resulting Numbers: [3, 11]
Generated Node #0,4,1: 33:[3, 11] Operation: 25-14=11
Exploring Operation: 25+14=39, Resulting Numbers: [3, 39]
Generated Node #0,4,2: 33:[3, 39] Operation: 25+14=39
Exploring Operation: 25-3=22, Resulting Numbers: [14, 22]
Generated Node #0,4,3: 33:[14, 22] Operation: 25-3=22
Exploring Operation: 25+3=28, Resulting Numbers: [14, 28]
Generated Node #0,4,4: 33:[14, 28] Operation: 25+3=28
Moving to Node #0,3
Current State: 33:[3, 20, 9], Operations: ['34-25=9']
Exploring Operation: 20-3=17, Resulting Numbers: [9, 17]
Generated Node #0,3,0: 33:[9, 17] Operation: 20-3=17
Exploring Operation: 9/3=3, Resulting Numbers: [20, 3]
Generated Node #0,3,1: 33:[20, 3] Operation: 9/3=3
Exploring Operation: 20+9=29, Resulting Numbers: [3, 29]
Generated Node #0,3,2: 33:[3, 29] Operation: 20+9=29
Exploring Operation: 20-9=11, Resulting Numbers: [3, 11]
Generated Node #0,3,3: 33:[3, 11] Operation: 20-9=11
Exploring Operation: 3+9=12, Resulting Numbers: [20, 12]
Generated Node #0,3,4: 33:[20, 12] Operation: 3+9=12
Moving to Node #0,1
Current State: 33:[34, 3, 45], Operations: ['25+20=45']
Exploring Operation: 45-34=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 33:[3, 11] Operation: 45-34=11
Exploring Operation: 45-3=42, Resulting Numbers: [34, 42]
Generated Node #0,1,1: 33:[34, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [34, 15]
Generated Node #0,1,2: 33:[34, 15] Operation: 45/3=15
Exploring Operation: 34-3=31, Resulting Numbers: [45, 31]
Generated Node #0,1,3: 33:[45, 31] Operation: 34-3=31
Exploring Operation: 34+3=37, Resulting Numbers: [45, 37]
Generated Node #0,1,4: 33:[45, 37] Operation: 34+3=37
Moving to Node #0,2
Current State: 33:[34, 20, 28], Operations: ['25+3=28']
Exploring Operation: 34-20=14, Resulting Numbers: [28, 14]
Generated Node #0,2,0: 33:[28, 14] Operation: 34-20=14
Exploring Operation: 34-28=6, Resulting Numbers: [20, 6]
Generated Node #0,2,1: 33:[20, 6] Operation: 34-28=6
Exploring Operation: 34+20=54, Resulting Numbers: [28, 54]
Generated Node #0,2,2: 33:[28, 54] Operation: 34+20=54
Exploring Operation: 20+28=48, Resulting Numbers: [34, 48]
Generated Node #0,2,3: 33:[34, 48] Operation: 20+28=48
Exploring Operation: 28-20=8, Resulting Numbers: [34, 8]
Generated Node #0,2,4: 33:[34, 8] Operation: 28-20=8
Moving to Node #0,4,1
Current State: 33:[3, 11], Operations: ['34-20=14', '25-14=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[25, 34, 3, 20], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [25, 3, 14]
Generated Node #0,4: 33:[25, 3, 14] Operation: 34-20=14
Moving to Node #0,4
Current State: 33:[25, 3, 14], Operations: ['34-20=14']
Exploring Operation: 25-14=11, Resulting Numbers: [3, 11]
Generated Node #0,4,1: 33:[3, 11] Operation: 25-14=11
Moving to Node #0,4,1
Current State: 33:[3, 11], Operations: ['34-20=14', '25-14=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
53,
97,
54,
34
] | 63 | [
"54-53=1",
"97-34=63",
"1*63=63"
] | Current State: 63:[53, 97, 54, 34], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [97, 34, 1]
Generated Node #2: [97, 34, 1] from Operation: 54-53=1
Current State: 63:[97, 34, 1], Operations: ['54-53=1']
Exploring Operation: 97-34=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 97-34=63
Current State: 63:[1, 63], Operations: ['54-53=1', '97-34=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[53, 97, 54, 34], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [53, 54, 63]
Generated Node #0,0: 63:[53, 54, 63] Operation: 97-34=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[53, 54, 63], Operations: ['97-34=63']
Exploring Operation: 54-53=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 63:[63, 1] Operation: 54-53=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[63, 1], Operations: ['97-34=63', '54-53=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[53, 97, 54, 34], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [53, 54, 63]
Generated Node #0,0: 63:[53, 54, 63] Operation: 97-34=63
Moving to Node #0,0
Current State: 63:[53, 54, 63], Operations: ['97-34=63']
Exploring Operation: 54-53=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 63:[63, 1] Operation: 54-53=1
Moving to Node #0,0,0
Current State: 63:[63, 1], Operations: ['97-34=63', '54-53=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
98,
30,
58
] | 82 | [
"98-92=6",
"30+58=88",
"88-6=82"
] | Current State: 82:[92, 98, 30, 58], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [30, 58, 6]
Generated Node #2: [30, 58, 6] from Operation: 98-92=6
Current State: 82:[30, 58, 6], Operations: ['98-92=6']
Exploring Operation: 30+58=88, Resulting Numbers: [6, 88]
Generated Node #3: [6, 88] from Operation: 30+58=88
Current State: 82:[6, 88], Operations: ['98-92=6', '30+58=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[92, 98, 30, 58], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [30, 58, 6]
Generated Node #0,0: 82:[30, 58, 6] Operation: 98-92=6
Exploring Operation: 98-58=40, Resulting Numbers: [92, 30, 40]
Generated Node #0,1: 82:[92, 30, 40] Operation: 98-58=40
Exploring Operation: 30+58=88, Resulting Numbers: [92, 98, 88]
Generated Node #0,2: 82:[92, 98, 88] Operation: 30+58=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[92, 30, 40], Operations: ['98-58=40']
Exploring Operation: 40-30=10, Resulting Numbers: [92, 10]
Generated Node #0,1,0: 82:[92, 10] Operation: 40-30=10
Exploring Operation: 92-30=62, Resulting Numbers: [40, 62]
Generated Node #0,1,1: 82:[40, 62] Operation: 92-30=62
Exploring Operation: 92-40=52, Resulting Numbers: [30, 52]
Generated Node #0,1,2: 82:[30, 52] Operation: 92-40=52
Moving to Node #0,1,0
Current State: 82:[92, 10], Operations: ['98-58=40', '40-30=10']
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,82 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[92, 98, 30, 58], Operations: []
Exploring Operation: 98-58=40, Resulting Numbers: [92, 30, 40]
Generated Node #0,1: 82:[92, 30, 40] Operation: 98-58=40
Moving to Node #0,1
Current State: 82:[92, 30, 40], Operations: ['98-58=40']
Exploring Operation: 40-30=10, Resulting Numbers: [92, 10]
Generated Node #0,1,0: 82:[92, 10] Operation: 40-30=10
Moving to Node #0,1,0
Current State: 82:[92, 10], Operations: ['98-58=40', '40-30=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
25,
90,
31,
58
] | 45 | [
"25+31=56",
"58-56=2",
"90/2=45"
] | Current State: 45:[25, 90, 31, 58], Operations: []
Exploring Operation: 25+31=56, Resulting Numbers: [90, 58, 56]
Generated Node #2: [90, 58, 56] from Operation: 25+31=56
Current State: 45:[90, 58, 56], Operations: ['25+31=56']
Exploring Operation: 58-56=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 58-56=2
Current State: 45:[90, 2], Operations: ['25+31=56', '58-56=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 90, 31, 58], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [25, 31, 32]
Generated Node #0,0: 45:[25, 31, 32] Operation: 90-58=32
Exploring Operation: 31-25=6, Resulting Numbers: [90, 58, 6]
Generated Node #0,1: 45:[90, 58, 6] Operation: 31-25=6
Exploring Operation: 90-31=59, Resulting Numbers: [25, 58, 59]
Generated Node #0,2: 45:[25, 58, 59] Operation: 90-31=59
Exploring Operation: 58-31=27, Resulting Numbers: [25, 90, 27]
Generated Node #0,3: 45:[25, 90, 27] Operation: 58-31=27
Exploring Operation: 90-25=65, Resulting Numbers: [31, 58, 65]
Generated Node #0,4: 45:[31, 58, 65] Operation: 90-25=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[25, 31, 32], Operations: ['90-58=32']
Exploring Operation: 25+31=56, Resulting Numbers: [32, 56]
Generated Node #0,0,0: 45:[32, 56] Operation: 25+31=56
Exploring Operation: 25+32=57, Resulting Numbers: [31, 57]
Generated Node #0,0,1: 45:[31, 57] Operation: 25+32=57
Exploring Operation: 31-25=6, Resulting Numbers: [32, 6]
Generated Node #0,0,2: 45:[32, 6] Operation: 31-25=6
Exploring Operation: 32-25=7, Resulting Numbers: [31, 7]
Generated Node #0,0,3: 45:[31, 7] Operation: 32-25=7
Exploring Operation: 32-31=1, Resulting Numbers: [25, 1]
Generated Node #0,0,4: 45:[25, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 45:[25, 1], Operations: ['90-58=32', '32-31=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[32, 6], Operations: ['90-58=32', '31-25=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,45 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[31, 7], Operations: ['90-58=32', '32-25=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,45 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[32, 56], Operations: ['90-58=32', '25+31=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[31, 57], Operations: ['90-58=32', '25+32=57']
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,45 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[25, 58, 59], Operations: ['90-31=59']
Exploring Operation: 58-25=33, Resulting Numbers: [59, 33]
Generated Node #0,2,0: 45:[59, 33] Operation: 58-25=33
Exploring Operation: 25+59=84, Resulting Numbers: [58, 84]
Generated Node #0,2,1: 45:[58, 84] Operation: 25+59=84
Exploring Operation: 25+58=83, Resulting Numbers: [59, 83]
Generated Node #0,2,2: 45:[59, 83] Operation: 25+58=83
Exploring Operation: 59-25=34, Resulting Numbers: [58, 34]
Generated Node #0,2,3: 45:[58, 34] Operation: 59-25=34
Exploring Operation: 59-58=1, Resulting Numbers: [25, 1]
Generated Node #0,2,4: 45:[25, 1] Operation: 59-58=1
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 45:[25, 1], Operations: ['90-31=59', '59-58=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 45:[58, 34], Operations: ['90-31=59', '59-25=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[59, 33], Operations: ['90-31=59', '58-25=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,45 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[58, 84], Operations: ['90-31=59', '25+59=84']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,45 unequal: No Solution
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[59, 83], Operations: ['90-31=59', '25+58=83']
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,45 unequal: No Solution
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,45 unequal: No Solution
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[31, 58, 65], Operations: ['90-25=65']
Exploring Operation: 65-31=34, Resulting Numbers: [58, 34]
Generated Node #0,4,0: 45:[58, 34] Operation: 65-31=34
Exploring Operation: 31+58=89, Resulting Numbers: [65, 89]
Generated Node #0,4,1: 45:[65, 89] Operation: 31+58=89
Exploring Operation: 65-58=7, Resulting Numbers: [31, 7]
Generated Node #0,4,2: 45:[31, 7] Operation: 65-58=7
Exploring Operation: 31+65=96, Resulting Numbers: [58, 96]
Generated Node #0,4,3: 45:[58, 96] Operation: 31+65=96
Exploring Operation: 58-31=27, Resulting Numbers: [65, 27]
Generated Node #0,4,4: 45:[65, 27] Operation: 58-31=27
Moving to Node #0,4,2
Current State: 45:[31, 7], Operations: ['90-25=65', '65-58=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,45 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[58, 34], Operations: ['90-25=65', '65-31=34']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[65, 27], Operations: ['90-25=65', '58-31=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,45 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[65, 89], Operations: ['90-25=65', '31+58=89']
Exploring Operation: 65+89=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Exploring Operation: 65*89=5785, Resulting Numbers: [5785]
5785,45 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[58, 96], Operations: ['90-25=65', '31+65=96']
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[90, 58, 6], Operations: ['31-25=6']
Exploring Operation: 90/6=15, Resulting Numbers: [58, 15]
Generated Node #0,1,0: 45:[58, 15] Operation: 90/6=15
Exploring Operation: 58-6=52, Resulting Numbers: [90, 52]
Generated Node #0,1,1: 45:[90, 52] Operation: 58-6=52
Exploring Operation: 90-58=32, Resulting Numbers: [6, 32]
Generated Node #0,1,2: 45:[6, 32] Operation: 90-58=32
Exploring Operation: 90-6=84, Resulting Numbers: [58, 84]
Generated Node #0,1,3: 45:[58, 84] Operation: 90-6=84
Exploring Operation: 90+6=96, Resulting Numbers: [58, 96]
Generated Node #0,1,4: 45:[58, 96] Operation: 90+6=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[58, 15], Operations: ['31-25=6', '90/6=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[6, 32], Operations: ['31-25=6', '90-58=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,45 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[90, 52], Operations: ['31-25=6', '58-6=52']
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,45 unequal: No Solution
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,45 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[58, 84], Operations: ['31-25=6', '90-6=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,45 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,45 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 45:[58, 96], Operations: ['31-25=6', '90+6=96']
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,45 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[25, 90, 27], Operations: ['58-31=27']
Exploring Operation: 25+27=52, Resulting Numbers: [90, 52]
Generated Node #0,3,0: 45:[90, 52] Operation: 25+27=52
Exploring Operation: 90-25=65, Resulting Numbers: [27, 65]
Generated Node #0,3,1: 45:[27, 65] Operation: 90-25=65
Exploring Operation: 90-27=63, Resulting Numbers: [25, 63]
Generated Node #0,3,2: 45:[25, 63] Operation: 90-27=63
Exploring Operation: 27-25=2, Resulting Numbers: [90, 2]
Generated Node #0,3,3: 45:[90, 2] Operation: 27-25=2
Exploring Operation: 25+90=115, Resulting Numbers: [27, 115]
Generated Node #0,3,4: 45:[27, 115] Operation: 25+90=115
Moving to Node #0,3,2
Current State: 45:[25, 63], Operations: ['58-31=27', '90-27=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,45 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[27, 65], Operations: ['58-31=27', '90-25=65']
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,45 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[90, 2], Operations: ['58-31=27', '27-25=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,45 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[25, 90, 31, 58], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [25, 90, 27]
Generated Node #0,3: 45:[25, 90, 27] Operation: 58-31=27
Moving to Node #0,3
Current State: 45:[25, 90, 27], Operations: ['58-31=27']
Exploring Operation: 27-25=2, Resulting Numbers: [90, 2]
Generated Node #0,3,3: 45:[90, 2] Operation: 27-25=2
Moving to Node #0,3,3
Current State: 45:[90, 2], Operations: ['58-31=27', '27-25=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.908854 | hs_5 | sum_heuristic |
[
75,
35,
80,
57
] | 53 | [
"75*57=4275",
"4275-35=4240",
"4240/80=53"
] | Current State: 53:[75, 35, 80, 57], Operations: []
Exploring Operation: 75*57=4275, Resulting Numbers: [35, 80, 4275]
Generated Node #2: [35, 80, 4275] from Operation: 75*57=4275
Current State: 53:[35, 80, 4275], Operations: ['75*57=4275']
Exploring Operation: 4275-35=4240, Resulting Numbers: [80, 4240]
Generated Node #3: [80, 4240] from Operation: 4275-35=4240
Current State: 53:[80, 4240], Operations: ['75*57=4275', '4275-35=4240']
Exploring Operation: 4240/80=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[75, 35, 80, 57], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [75, 57, 45]
Generated Node #0,0: 53:[75, 57, 45] Operation: 80-35=45
Exploring Operation: 80-57=23, Resulting Numbers: [75, 35, 23]
Generated Node #0,1: 53:[75, 35, 23] Operation: 80-57=23
Exploring Operation: 80-75=5, Resulting Numbers: [35, 57, 5]
Generated Node #0,2: 53:[35, 57, 5] Operation: 80-75=5
Exploring Operation: 75-35=40, Resulting Numbers: [80, 57, 40]
Generated Node #0,3: 53:[80, 57, 40] Operation: 75-35=40
Moving to Node #0,0
Current State: 53:[75, 57, 45], Operations: ['80-35=45']
Exploring Operation: 75-45=30, Resulting Numbers: [57, 30]
Generated Node #0,0,0: 53:[57, 30] Operation: 75-45=30
Exploring Operation: 75+45=120, Resulting Numbers: [57, 120]
Generated Node #0,0,1: 53:[57, 120] Operation: 75+45=120
Exploring Operation: 57-45=12, Resulting Numbers: [75, 12]
Generated Node #0,0,2: 53:[75, 12] Operation: 57-45=12
Exploring Operation: 75-57=18, Resulting Numbers: [45, 18]
Generated Node #0,0,3: 53:[45, 18] Operation: 75-57=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[57, 30], Operations: ['80-35=45', '75-45=30']
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,53 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[45, 18], Operations: ['80-35=45', '75-57=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[75, 12], Operations: ['80-35=45', '57-45=12']
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[57, 120], Operations: ['80-35=45', '75+45=120']
Exploring Operation: 120-57=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 57+120=177, Resulting Numbers: [177]
177,53 unequal: No Solution
Exploring Operation: 57*120=6840, Resulting Numbers: [6840]
6840,53 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: 53:[80, 57, 40], Operations: ['75-35=40']
Exploring Operation: 80-40=40, Resulting Numbers: [57, 40]
Generated Node #0,3,0: 53:[57, 40] Operation: 80-40=40
Exploring Operation: 57-40=17, Resulting Numbers: [80, 17]
Generated Node #0,3,1: 53:[80, 17] Operation: 57-40=17
Exploring Operation: 80/40=2, Resulting Numbers: [57, 2]
Generated Node #0,3,2: 53:[57, 2] Operation: 80/40=2
Exploring Operation: 80-57=23, Resulting Numbers: [40, 23]
Generated Node #0,3,3: 53:[40, 23] Operation: 80-57=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[57, 40], Operations: ['75-35=40', '80-40=40']
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,53 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[40, 23], Operations: ['75-35=40', '80-57=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[57, 2], Operations: ['75-35=40', '80/40=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[80, 17], Operations: ['75-35=40', '57-40=17']
Exploring Operation: 80*17=1360, Resulting Numbers: [1360]
1360,53 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,53 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: 53:[35, 57, 5], Operations: ['80-75=5']
Exploring Operation: 35-5=30, Resulting Numbers: [57, 30]
Generated Node #0,2,0: 53:[57, 30] Operation: 35-5=30
Exploring Operation: 57-5=52, Resulting Numbers: [35, 52]
Generated Node #0,2,1: 53:[35, 52] Operation: 57-5=52
Exploring Operation: 57+5=62, Resulting Numbers: [35, 62]
Generated Node #0,2,2: 53:[35, 62] Operation: 57+5=62
Exploring Operation: 35+5=40, Resulting Numbers: [57, 40]
Generated Node #0,2,3: 53:[57, 40] Operation: 35+5=40
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[57, 40], Operations: ['80-75=5', '35+5=40']
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,53 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[35, 52], Operations: ['80-75=5', '57-5=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,53 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[57, 30], Operations: ['80-75=5', '35-5=30']
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,53 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[35, 62], Operations: ['80-75=5', '57+5=62']
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,53 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[75, 35, 23], Operations: ['80-57=23']
Exploring Operation: 35+23=58, Resulting Numbers: [75, 58]
Generated Node #0,1,0: 53:[75, 58] Operation: 35+23=58
Exploring Operation: 75-23=52, Resulting Numbers: [35, 52]
Generated Node #0,1,1: 53:[35, 52] Operation: 75-23=52
Exploring Operation: 75-35=40, Resulting Numbers: [23, 40]
Generated Node #0,1,2: 53:[23, 40] Operation: 75-35=40
Exploring Operation: 75+23=98, Resulting Numbers: [35, 98]
Generated Node #0,1,3: 53:[35, 98] Operation: 75+23=98
Moving to Node #0,1,1
Current State: 53:[35, 52], Operations: ['80-57=23', '75-23=52']
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,53 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[75, 58], Operations: ['80-57=23', '35+23=58']
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,53 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[23, 40], Operations: ['80-57=23', '75-35=40']
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,53 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[35, 98], Operations: ['80-57=23', '75+23=98']
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
3,
45,
80
] | 47 | [
"80-45=35",
"3*35=105",
"105-58=47"
] | Current State: 47:[58, 3, 45, 80], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [58, 3, 35]
Generated Node #2: [58, 3, 35] from Operation: 80-45=35
Current State: 47:[58, 3, 35], Operations: ['80-45=35']
Exploring Operation: 3*35=105, Resulting Numbers: [58, 105]
Generated Node #3: [58, 105] from Operation: 3*35=105
Current State: 47:[58, 105], Operations: ['80-45=35', '3*35=105']
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[58, 3, 45, 80], Operations: []
Exploring Operation: 3+45=48, Resulting Numbers: [58, 80, 48]
Generated Node #0,0: 47:[58, 80, 48] Operation: 3+45=48
Exploring Operation: 58-3=55, Resulting Numbers: [45, 80, 55]
Generated Node #0,1: 47:[45, 80, 55] Operation: 58-3=55
Exploring Operation: 58+3=61, Resulting Numbers: [45, 80, 61]
Generated Node #0,2: 47:[45, 80, 61] Operation: 58+3=61
Exploring Operation: 80-3=77, Resulting Numbers: [58, 45, 77]
Generated Node #0,3: 47:[58, 45, 77] Operation: 80-3=77
Moving to Node #0,1
Current State: 47:[45, 80, 55], Operations: ['58-3=55']
Exploring Operation: 80-45=35, Resulting Numbers: [55, 35]
Generated Node #0,1,0: 47:[55, 35] Operation: 80-45=35
Exploring Operation: 55-45=10, Resulting Numbers: [80, 10]
Generated Node #0,1,1: 47:[80, 10] Operation: 55-45=10
Exploring Operation: 45+80=125, Resulting Numbers: [55, 125]
Generated Node #0,1,2: 47:[55, 125] Operation: 45+80=125
Exploring Operation: 80-55=25, Resulting Numbers: [45, 25]
Generated Node #0,1,3: 47:[45, 25] Operation: 80-55=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[55, 35], Operations: ['58-3=55', '80-45=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,47 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[45, 25], Operations: ['58-3=55', '80-55=25']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[80, 10], Operations: ['58-3=55', '55-45=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,47 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[55, 125], Operations: ['58-3=55', '45+80=125']
Exploring Operation: 125-55=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 55*125=6875, Resulting Numbers: [6875]
6875,47 unequal: No Solution
Exploring Operation: 55+125=180, Resulting Numbers: [180]
180,47 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: 47:[58, 45, 77], Operations: ['80-3=77']
Exploring Operation: 77-58=19, Resulting Numbers: [45, 19]
Generated Node #0,3,0: 47:[45, 19] Operation: 77-58=19
Exploring Operation: 58-45=13, Resulting Numbers: [77, 13]
Generated Node #0,3,1: 47:[77, 13] Operation: 58-45=13
Exploring Operation: 77-45=32, Resulting Numbers: [58, 32]
Generated Node #0,3,2: 47:[58, 32] Operation: 77-45=32
Exploring Operation: 58+45=103, Resulting Numbers: [77, 103]
Generated Node #0,3,3: 47:[77, 103] Operation: 58+45=103
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[58, 32], Operations: ['80-3=77', '77-45=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,47 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[45, 19], Operations: ['80-3=77', '77-58=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,47 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[77, 13], Operations: ['80-3=77', '58-45=13']
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,47 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[77, 103], Operations: ['80-3=77', '58+45=103']
Exploring Operation: 77*103=7931, Resulting Numbers: [7931]
7931,47 unequal: No Solution
Exploring Operation: 103-77=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 77+103=180, Resulting Numbers: [180]
180,47 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: 47:[58, 80, 48], Operations: ['3+45=48']
Exploring Operation: 58+80=138, Resulting Numbers: [48, 138]
Generated Node #0,0,0: 47:[48, 138] Operation: 58+80=138
Exploring Operation: 80-48=32, Resulting Numbers: [58, 32]
Generated Node #0,0,1: 47:[58, 32] Operation: 80-48=32
Exploring Operation: 58-48=10, Resulting Numbers: [80, 10]
Generated Node #0,0,2: 47:[80, 10] Operation: 58-48=10
Exploring Operation: 80-58=22, Resulting Numbers: [48, 22]
Generated Node #0,0,3: 47:[48, 22] Operation: 80-58=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[58, 32], Operations: ['3+45=48', '80-48=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,47 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[48, 22], Operations: ['3+45=48', '80-58=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[80, 10], Operations: ['3+45=48', '58-48=10']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,47 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[48, 138], Operations: ['3+45=48', '58+80=138']
Exploring Operation: 138-48=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 48*138=6624, Resulting Numbers: [6624]
6624,47 unequal: No Solution
Exploring Operation: 48+138=186, Resulting Numbers: [186]
186,47 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: 47:[45, 80, 61], Operations: ['58+3=61']
Exploring Operation: 61-45=16, Resulting Numbers: [80, 16]
Generated Node #0,2,0: 47:[80, 16] Operation: 61-45=16
Exploring Operation: 45+80=125, Resulting Numbers: [61, 125]
Generated Node #0,2,1: 47:[61, 125] Operation: 45+80=125
Exploring Operation: 80-61=19, Resulting Numbers: [45, 19]
Generated Node #0,2,2: 47:[45, 19] Operation: 80-61=19
Exploring Operation: 80-45=35, Resulting Numbers: [61, 35]
Generated Node #0,2,3: 47:[61, 35] Operation: 80-45=35
Moving to Node #0,2,3
Current State: 47:[61, 35], Operations: ['58+3=61', '80-45=35']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[45, 19], Operations: ['58+3=61', '80-61=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,47 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[80, 16], Operations: ['58+3=61', '61-45=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,47 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[61, 125], Operations: ['58+3=61', '45+80=125']
Exploring Operation: 61+125=186, Resulting Numbers: [186]
186,47 unequal: No Solution
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 61*125=7625, Resulting Numbers: [7625]
7625,47 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
92,
21,
31,
63
] | 58 | [
"92-31=61",
"63/21=3",
"61-3=58"
] | Current State: 58:[92, 21, 31, 63], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [21, 63, 61]
Generated Node #2: [21, 63, 61] from Operation: 92-31=61
Current State: 58:[21, 63, 61], Operations: ['92-31=61']
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 63/21=3
Current State: 58:[61, 3], Operations: ['92-31=61', '63/21=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[92, 21, 31, 63], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [21, 31, 29]
Generated Node #0,0: 58:[21, 31, 29] Operation: 92-63=29
Exploring Operation: 92-31=61, Resulting Numbers: [21, 63, 61]
Generated Node #0,1: 58:[21, 63, 61] Operation: 92-31=61
Moving to Node #0,0
Current State: 58:[21, 31, 29], Operations: ['92-63=29']
Exploring Operation: 31-21=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 58:[29, 10] Operation: 31-21=10
Exploring Operation: 21+31=52, Resulting Numbers: [29, 52]
Generated Node #0,0,1: 58:[29, 52] Operation: 21+31=52
Moving to Node #0,1
Current State: 58:[21, 63, 61], Operations: ['92-31=61']
Exploring Operation: 63-61=2, Resulting Numbers: [21, 2]
Generated Node #0,1,0: 58:[21, 2] Operation: 63-61=2
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #0,1,1: 58:[61, 3] Operation: 63/21=3
Moving to Node #0,1,1
Current State: 58:[61, 3], Operations: ['92-31=61', '63/21=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[92, 21, 31, 63], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [21, 63, 61]
Generated Node #0,1: 58:[21, 63, 61] Operation: 92-31=61
Moving to Node #0,1
Current State: 58:[21, 63, 61], Operations: ['92-31=61']
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #0,1,1: 58:[61, 3] Operation: 63/21=3
Moving to Node #0,1,1
Current State: 58:[61, 3], Operations: ['92-31=61', '63/21=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
35,
49,
39,
16
] | 77 | [
"39+16=55",
"49*55=2695",
"2695/35=77"
] | Current State: 77:[35, 49, 39, 16], Operations: []
Exploring Operation: 39+16=55, Resulting Numbers: [35, 49, 55]
Generated Node #2: [35, 49, 55] from Operation: 39+16=55
Current State: 77:[35, 49, 55], Operations: ['39+16=55']
Exploring Operation: 49*55=2695, Resulting Numbers: [35, 2695]
Generated Node #3: [35, 2695] from Operation: 49*55=2695
Current State: 77:[35, 2695], Operations: ['39+16=55', '49*55=2695']
Exploring Operation: 2695/35=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[35, 49, 39, 16], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [39, 16, 14]
Generated Node #0,0: 77:[39, 16, 14] Operation: 49-35=14
Exploring Operation: 49-39=10, Resulting Numbers: [35, 16, 10]
Generated Node #0,1: 77:[35, 16, 10] Operation: 49-39=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[35, 16, 10], Operations: ['49-39=10']
Exploring Operation: 35-10=25, Resulting Numbers: [16, 25]
Generated Node #0,1,0: 77:[16, 25] Operation: 35-10=25
Exploring Operation: 35-16=19, Resulting Numbers: [10, 19]
Generated Node #0,1,1: 77:[10, 19] Operation: 35-16=19
Moving to Node #0,1,1
Current State: 77:[10, 19], Operations: ['49-39=10', '35-16=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[16, 25], Operations: ['49-39=10', '35-10=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[39, 16, 14], Operations: ['49-35=14']
Exploring Operation: 39-16=23, Resulting Numbers: [14, 23]
Generated Node #0,0,0: 77:[14, 23] Operation: 39-16=23
Exploring Operation: 39-14=25, Resulting Numbers: [16, 25]
Generated Node #0,0,1: 77:[16, 25] Operation: 39-14=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[14, 23], Operations: ['49-35=14', '39-16=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[16, 25], Operations: ['49-35=14', '39-14=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
47,
66,
49,
9
] | 69 | [
"66*49=3234",
"9+3234=3243",
"3243/47=69"
] | Current State: 69:[47, 66, 49, 9], Operations: []
Exploring Operation: 66*49=3234, Resulting Numbers: [47, 9, 3234]
Generated Node #2: [47, 9, 3234] from Operation: 66*49=3234
Current State: 69:[47, 9, 3234], Operations: ['66*49=3234']
Exploring Operation: 9+3234=3243, Resulting Numbers: [47, 3243]
Generated Node #3: [47, 3243] from Operation: 9+3234=3243
Current State: 69:[47, 3243], Operations: ['66*49=3234', '9+3234=3243']
Exploring Operation: 3243/47=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[47, 66, 49, 9], Operations: []
Exploring Operation: 47+49=96, Resulting Numbers: [66, 9, 96]
Generated Node #0,0: 69:[66, 9, 96] Operation: 47+49=96
Exploring Operation: 66-49=17, Resulting Numbers: [47, 9, 17]
Generated Node #0,1: 69:[47, 9, 17] Operation: 66-49=17
Exploring Operation: 66-47=19, Resulting Numbers: [49, 9, 19]
Generated Node #0,2: 69:[49, 9, 19] Operation: 66-47=19
Exploring Operation: 49-47=2, Resulting Numbers: [66, 9, 2]
Generated Node #0,3: 69:[66, 9, 2] Operation: 49-47=2
Exploring Operation: 47+9=56, Resulting Numbers: [66, 49, 56]
Generated Node #0,4: 69:[66, 49, 56] Operation: 47+9=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[66, 9, 2], Operations: ['49-47=2']
Exploring Operation: 66-2=64, Resulting Numbers: [9, 64]
Generated Node #0,3,0: 69:[9, 64] Operation: 66-2=64
Exploring Operation: 9*2=18, Resulting Numbers: [66, 18]
Generated Node #0,3,1: 69:[66, 18] Operation: 9*2=18
Exploring Operation: 9-2=7, Resulting Numbers: [66, 7]
Generated Node #0,3,2: 69:[66, 7] Operation: 9-2=7
Exploring Operation: 66+2=68, Resulting Numbers: [9, 68]
Generated Node #0,3,3: 69:[9, 68] Operation: 66+2=68
Exploring Operation: 66+9=75, Resulting Numbers: [2, 75]
Generated Node #0,3,4: 69:[2, 75] Operation: 66+9=75
Moving to Node #0,3,2
Current State: 69:[66, 7], Operations: ['49-47=2', '9-2=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,69 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[2, 75], Operations: ['49-47=2', '66+9=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[9, 68], Operations: ['49-47=2', '66+2=68']
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,69 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[66, 18], Operations: ['49-47=2', '9*2=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[9, 64], Operations: ['49-47=2', '66-2=64']
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,69 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,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
Current State: 69:[49, 9, 19], Operations: ['66-47=19']
Exploring Operation: 49+19=68, Resulting Numbers: [9, 68]
Generated Node #0,2,0: 69:[9, 68] Operation: 49+19=68
Exploring Operation: 49-9=40, Resulting Numbers: [19, 40]
Generated Node #0,2,1: 69:[19, 40] Operation: 49-9=40
Exploring Operation: 49-19=30, Resulting Numbers: [9, 30]
Generated Node #0,2,2: 69:[9, 30] Operation: 49-19=30
Exploring Operation: 9+19=28, Resulting Numbers: [49, 28]
Generated Node #0,2,3: 69:[49, 28] Operation: 9+19=28
Exploring Operation: 49+9=58, Resulting Numbers: [19, 58]
Generated Node #0,2,4: 69:[19, 58] Operation: 49+9=58
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[9, 68], Operations: ['66-47=19', '49+19=68']
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[9, 30], Operations: ['66-47=19', '49-19=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 69:[19, 58], Operations: ['66-47=19', '49+9=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[19, 40], Operations: ['66-47=19', '49-9=40']
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,69 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 69:[49, 28], Operations: ['66-47=19', '9+19=28']
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,69 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[47, 9, 17], Operations: ['66-49=17']
Exploring Operation: 9+17=26, Resulting Numbers: [47, 26]
Generated Node #0,1,0: 69:[47, 26] Operation: 9+17=26
Exploring Operation: 47-9=38, Resulting Numbers: [17, 38]
Generated Node #0,1,1: 69:[17, 38] Operation: 47-9=38
Exploring Operation: 47+17=64, Resulting Numbers: [9, 64]
Generated Node #0,1,2: 69:[9, 64] Operation: 47+17=64
Exploring Operation: 47+9=56, Resulting Numbers: [17, 56]
Generated Node #0,1,3: 69:[17, 56] Operation: 47+9=56
Exploring Operation: 47-17=30, Resulting Numbers: [9, 30]
Generated Node #0,1,4: 69:[9, 30] Operation: 47-17=30
Moving to Node #0,1,2
Current State: 69:[9, 64], Operations: ['66-49=17', '47+17=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[9, 30], Operations: ['66-49=17', '47-17=30']
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,69 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[17, 56], Operations: ['66-49=17', '47+9=56']
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,69 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[17, 38], Operations: ['66-49=17', '47-9=38']
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,69 unequal: No Solution
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[47, 26], Operations: ['66-49=17', '9+17=26']
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,69 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,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
Current State: 69:[66, 9, 96], Operations: ['47+49=96']
Exploring Operation: 66-9=57, Resulting Numbers: [96, 57]
Generated Node #0,0,0: 69:[96, 57] Operation: 66-9=57
Exploring Operation: 9+96=105, Resulting Numbers: [66, 105]
Generated Node #0,0,1: 69:[66, 105] Operation: 9+96=105
Exploring Operation: 96-9=87, Resulting Numbers: [66, 87]
Generated Node #0,0,2: 69:[66, 87] Operation: 96-9=87
Exploring Operation: 66+9=75, Resulting Numbers: [96, 75]
Generated Node #0,0,3: 69:[96, 75] Operation: 66+9=75
Exploring Operation: 96-66=30, Resulting Numbers: [9, 30]
Generated Node #0,0,4: 69:[9, 30] Operation: 96-66=30
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[9, 30], Operations: ['47+49=96', '96-66=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,69 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[66, 87], Operations: ['47+49=96', '96-9=87']
Exploring Operation: 87-66=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 66*87=5742, Resulting Numbers: [5742]
5742,69 unequal: No Solution
Exploring Operation: 66+87=153, Resulting Numbers: [153]
153,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[96, 75], Operations: ['47+49=96', '66+9=75']
Exploring Operation: 96+75=171, Resulting Numbers: [171]
171,69 unequal: No Solution
Exploring Operation: 96*75=7200, Resulting Numbers: [7200]
7200,69 unequal: No Solution
Exploring Operation: 96-75=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[96, 57], Operations: ['47+49=96', '66-9=57']
Exploring Operation: 96*57=5472, Resulting Numbers: [5472]
5472,69 unequal: No Solution
Exploring Operation: 96+57=153, Resulting Numbers: [153]
153,69 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[66, 105], Operations: ['47+49=96', '9+96=105']
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 66+105=171, Resulting Numbers: [171]
171,69 unequal: No Solution
Exploring Operation: 66*105=6930, Resulting Numbers: [6930]
6930,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[66, 49, 56], Operations: ['47+9=56']
Exploring Operation: 56-49=7, Resulting Numbers: [66, 7]
Generated Node #0,4,0: 69:[66, 7] Operation: 56-49=7
Exploring Operation: 66+49=115, Resulting Numbers: [56, 115]
Generated Node #0,4,1: 69:[56, 115] Operation: 66+49=115
Exploring Operation: 66-49=17, Resulting Numbers: [56, 17]
Generated Node #0,4,2: 69:[56, 17] Operation: 66-49=17
Exploring Operation: 49+56=105, Resulting Numbers: [66, 105]
Generated Node #0,4,3: 69:[66, 105] Operation: 49+56=105
Exploring Operation: 66-56=10, Resulting Numbers: [49, 10]
Generated Node #0,4,4: 69:[49, 10] Operation: 66-56=10
Moving to Node #0,4,0
Current State: 69:[66, 7], Operations: ['47+9=56', '56-49=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,69 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Moving to Node #0,4,2
Current State: 69:[56, 17], Operations: ['47+9=56', '66-49=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,69 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,69 unequal: No Solution
Moving to Node #0,4,4
Current State: 69:[49, 10], Operations: ['47+9=56', '66-56=10']
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,69 unequal: No Solution
Moving to Node #0,4,3
Current State: 69:[66, 105], Operations: ['47+9=56', '49+56=105']
Exploring Operation: 66*105=6930, Resulting Numbers: [6930]
6930,69 unequal: No Solution
Exploring Operation: 66+105=171, Resulting Numbers: [171]
171,69 unequal: No Solution
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Moving to Node #0,4,1
Current State: 69:[56, 115], Operations: ['47+9=56', '66+49=115']
Exploring Operation: 115-56=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 56+115=171, Resulting Numbers: [171]
171,69 unequal: No Solution
Exploring Operation: 56*115=6440, Resulting Numbers: [6440]
6440,69 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 |
[
90,
2,
8,
55
] | 31 | [
"90-55=35",
"8/2=4",
"35-4=31"
] | Current State: 31:[90, 2, 8, 55], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [2, 8, 35]
Generated Node #2: [2, 8, 35] from Operation: 90-55=35
Current State: 31:[2, 8, 35], Operations: ['90-55=35']
Exploring Operation: 8/2=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 8/2=4
Current State: 31:[35, 4], Operations: ['90-55=35', '8/2=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[90, 2, 8, 55], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [90, 55, 16]
Generated Node #0,0: 31:[90, 55, 16] Operation: 2*8=16
Exploring Operation: 90-2=88, Resulting Numbers: [8, 55, 88]
Generated Node #0,1: 31:[8, 55, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [8, 55, 45]
Generated Node #0,2: 31:[8, 55, 45] Operation: 90/2=45
Exploring Operation: 90-55=35, Resulting Numbers: [2, 8, 35]
Generated Node #0,3: 31:[2, 8, 35] Operation: 90-55=35
Moving to Node #0,3
Current State: 31:[2, 8, 35], Operations: ['90-55=35']
Exploring Operation: 2+8=10, Resulting Numbers: [35, 10]
Generated Node #0,3,0: 31:[35, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [35, 6]
Generated Node #0,3,1: 31:[35, 6] Operation: 8-2=6
Exploring Operation: 2*8=16, Resulting Numbers: [35, 16]
Generated Node #0,3,2: 31:[35, 16] Operation: 2*8=16
Exploring Operation: 35-2=33, Resulting Numbers: [8, 33]
Generated Node #0,3,3: 31:[8, 33] Operation: 35-2=33
Moving to Node #0,2
Current State: 31:[8, 55, 45], Operations: ['90/2=45']
Exploring Operation: 45-8=37, Resulting Numbers: [55, 37]
Generated Node #0,2,0: 31:[55, 37] Operation: 45-8=37
Exploring Operation: 8+55=63, Resulting Numbers: [45, 63]
Generated Node #0,2,1: 31:[45, 63] Operation: 8+55=63
Exploring Operation: 55-45=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 31:[8, 10] Operation: 55-45=10
Exploring Operation: 55-8=47, Resulting Numbers: [45, 47]
Generated Node #0,2,3: 31:[45, 47] Operation: 55-8=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[55, 37], Operations: ['90/2=45', '45-8=37']
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 55*37=2035, Resulting Numbers: [2035]
2035,31 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[45, 47], Operations: ['90/2=45', '55-8=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,31 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[8, 10], Operations: ['90/2=45', '55-45=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[45, 63], Operations: ['90/2=45', '8+55=63']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,31 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: 31:[90, 55, 16], Operations: ['2*8=16']
Exploring Operation: 90-55=35, Resulting Numbers: [16, 35]
Generated Node #0,0,0: 31:[16, 35] Operation: 90-55=35
Exploring Operation: 90+16=106, Resulting Numbers: [55, 106]
Generated Node #0,0,1: 31:[55, 106] Operation: 90+16=106
Exploring Operation: 90-16=74, Resulting Numbers: [55, 74]
Generated Node #0,0,2: 31:[55, 74] Operation: 90-16=74
Exploring Operation: 55-16=39, Resulting Numbers: [90, 39]
Generated Node #0,0,3: 31:[90, 39] Operation: 55-16=39
Moving to Node #0,1
Current State: 31:[8, 55, 88], Operations: ['90-2=88']
Exploring Operation: 88-55=33, Resulting Numbers: [8, 33]
Generated Node #0,1,0: 31:[8, 33] Operation: 88-55=33
Exploring Operation: 55-8=47, Resulting Numbers: [88, 47]
Generated Node #0,1,1: 31:[88, 47] Operation: 55-8=47
Exploring Operation: 88/8=11, Resulting Numbers: [55, 11]
Generated Node #0,1,2: 31:[55, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [55, 80]
Generated Node #0,1,3: 31:[55, 80] Operation: 88-8=80
Moving to Node #0,3,2
Current State: 31:[35, 16], Operations: ['90-55=35', '2*8=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[16, 35], Operations: ['2*8=16', '90-55=35']
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,31 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[8, 33], Operations: ['90-55=35', '35-2=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[35, 10], Operations: ['90-55=35', '2+8=10']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[8, 33], Operations: ['90-2=88', '88-55=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[35, 6], Operations: ['90-55=35', '8-2=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,31 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[55, 11], Operations: ['90-2=88', '88/8=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[90, 39], Operations: ['2*8=16', '55-16=39']
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,31 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[55, 74], Operations: ['2*8=16', '90-16=74']
Exploring Operation: 55*74=4070, Resulting Numbers: [4070]
4070,31 unequal: No Solution
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,31 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[55, 80], Operations: ['90-2=88', '88-8=80']
Exploring Operation: 55*80=4400, Resulting Numbers: [4400]
4400,31 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 55+80=135, Resulting Numbers: [135]
135,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[88, 47], Operations: ['90-2=88', '55-8=47']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,31 unequal: No Solution
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[55, 106], Operations: ['2*8=16', '90+16=106']
Exploring Operation: 55*106=5830, Resulting Numbers: [5830]
5830,31 unequal: No Solution
Exploring Operation: 106-55=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 55+106=161, Resulting Numbers: [161]
161,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
33,
64,
80,
3
] | 27 | [
"33/3=11",
"80-64=16",
"11+16=27"
] | Current State: 27:[33, 64, 80, 3], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [64, 80, 11]
Generated Node #2: [64, 80, 11] from Operation: 33/3=11
Current State: 27:[64, 80, 11], Operations: ['33/3=11']
Exploring Operation: 80-64=16, Resulting Numbers: [11, 16]
Generated Node #3: [11, 16] from Operation: 80-64=16
Current State: 27:[11, 16], Operations: ['33/3=11', '80-64=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[33, 64, 80, 3], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [64, 3, 47]
Generated Node #0,0: 27:[64, 3, 47] Operation: 80-33=47
Exploring Operation: 64-33=31, Resulting Numbers: [80, 3, 31]
Generated Node #0,1: 27:[80, 3, 31] Operation: 64-33=31
Exploring Operation: 33/3=11, Resulting Numbers: [64, 80, 11]
Generated Node #0,2: 27:[64, 80, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [64, 80, 30]
Generated Node #0,3: 27:[64, 80, 30] Operation: 33-3=30
Exploring Operation: 80-64=16, Resulting Numbers: [33, 3, 16]
Generated Node #0,4: 27:[33, 3, 16] Operation: 80-64=16
Moving to Node #0,4
Current State: 27:[33, 3, 16], Operations: ['80-64=16']
Exploring Operation: 33-3=30, Resulting Numbers: [16, 30]
Generated Node #0,4,0: 27:[16, 30] Operation: 33-3=30
Exploring Operation: 33-16=17, Resulting Numbers: [3, 17]
Generated Node #0,4,1: 27:[3, 17] Operation: 33-16=17
Exploring Operation: 3+16=19, Resulting Numbers: [33, 19]
Generated Node #0,4,2: 27:[33, 19] Operation: 3+16=19
Exploring Operation: 16-3=13, Resulting Numbers: [33, 13]
Generated Node #0,4,3: 27:[33, 13] Operation: 16-3=13
Exploring Operation: 33/3=11, Resulting Numbers: [16, 11]
Generated Node #0,4,4: 27:[16, 11] Operation: 33/3=11
Moving to Node #0,1
Current State: 27:[80, 3, 31], Operations: ['64-33=31']
Exploring Operation: 3+31=34, Resulting Numbers: [80, 34]
Generated Node #0,1,0: 27:[80, 34] Operation: 3+31=34
Exploring Operation: 31-3=28, Resulting Numbers: [80, 28]
Generated Node #0,1,1: 27:[80, 28] Operation: 31-3=28
Exploring Operation: 80-3=77, Resulting Numbers: [31, 77]
Generated Node #0,1,2: 27:[31, 77] Operation: 80-3=77
Exploring Operation: 80-31=49, Resulting Numbers: [3, 49]
Generated Node #0,1,3: 27:[3, 49] Operation: 80-31=49
Exploring Operation: 80+3=83, Resulting Numbers: [31, 83]
Generated Node #0,1,4: 27:[31, 83] Operation: 80+3=83
Moving to Node #0,0
Current State: 27:[64, 3, 47], Operations: ['80-33=47']
Exploring Operation: 64+3=67, Resulting Numbers: [47, 67]
Generated Node #0,0,0: 27:[47, 67] Operation: 64+3=67
Exploring Operation: 47-3=44, Resulting Numbers: [64, 44]
Generated Node #0,0,1: 27:[64, 44] Operation: 47-3=44
Exploring Operation: 3+47=50, Resulting Numbers: [64, 50]
Generated Node #0,0,2: 27:[64, 50] Operation: 3+47=50
Exploring Operation: 64-47=17, Resulting Numbers: [3, 17]
Generated Node #0,0,3: 27:[3, 17] Operation: 64-47=17
Exploring Operation: 64-3=61, Resulting Numbers: [47, 61]
Generated Node #0,0,4: 27:[47, 61] Operation: 64-3=61
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[3, 17], Operations: ['80-33=47', '64-47=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[64, 44], Operations: ['80-33=47', '47-3=44']
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,27 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 27:[47, 61], Operations: ['80-33=47', '64-3=61']
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,27 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[47, 67], Operations: ['80-33=47', '64+3=67']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,27 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[64, 50], Operations: ['80-33=47', '3+47=50']
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,27 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,27 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,27 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: 27:[64, 80, 11], Operations: ['33/3=11']
Exploring Operation: 80-11=69, Resulting Numbers: [64, 69]
Generated Node #0,2,0: 27:[64, 69] Operation: 80-11=69
Exploring Operation: 64+11=75, Resulting Numbers: [80, 75]
Generated Node #0,2,1: 27:[80, 75] Operation: 64+11=75
Exploring Operation: 80+11=91, Resulting Numbers: [64, 91]
Generated Node #0,2,2: 27:[64, 91] Operation: 80+11=91
Exploring Operation: 80-64=16, Resulting Numbers: [11, 16]
Generated Node #0,2,3: 27:[11, 16] Operation: 80-64=16
Exploring Operation: 64-11=53, Resulting Numbers: [80, 53]
Generated Node #0,2,4: 27:[80, 53] Operation: 64-11=53
Moving to Node #0,3
Current State: 27:[64, 80, 30], Operations: ['33-3=30']
Exploring Operation: 64+30=94, Resulting Numbers: [80, 94]
Generated Node #0,3,0: 27:[80, 94] Operation: 64+30=94
Exploring Operation: 64-30=34, Resulting Numbers: [80, 34]
Generated Node #0,3,1: 27:[80, 34] Operation: 64-30=34
Exploring Operation: 64+80=144, Resulting Numbers: [30, 144]
Generated Node #0,3,2: 27:[30, 144] Operation: 64+80=144
Exploring Operation: 80-30=50, Resulting Numbers: [64, 50]
Generated Node #0,3,3: 27:[64, 50] Operation: 80-30=50
Exploring Operation: 80-64=16, Resulting Numbers: [30, 16]
Generated Node #0,3,4: 27:[30, 16] Operation: 80-64=16
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 27:[30, 16], Operations: ['33-3=30', '80-64=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[80, 34], Operations: ['33-3=30', '64-30=34']
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,27 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[64, 50], Operations: ['33-3=30', '80-30=50']
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,27 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 64*50=3200, Resulting Numbers: [3200]
3200,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[80, 94], Operations: ['33-3=30', '64+30=94']
Exploring Operation: 80*94=7520, Resulting Numbers: [7520]
7520,27 unequal: No Solution
Exploring Operation: 80+94=174, Resulting Numbers: [174]
174,27 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[30, 144], Operations: ['33-3=30', '64+80=144']
Exploring Operation: 30+144=174, Resulting Numbers: [174]
174,27 unequal: No Solution
Exploring Operation: 30*144=4320, Resulting Numbers: [4320]
4320,27 unequal: No Solution
Exploring Operation: 144-30=114, Resulting Numbers: [114]
114,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 27:[3, 17], Operations: ['80-64=16', '33-16=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[16, 11], Operations: ['80-64=16', '33/3=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,27 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[33, 64, 80, 3], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [33, 3, 16]
Generated Node #0,4: 27:[33, 3, 16] Operation: 80-64=16
Moving to Node #0,4
Current State: 27:[33, 3, 16], Operations: ['80-64=16']
Exploring Operation: 33/3=11, Resulting Numbers: [16, 11]
Generated Node #0,4,4: 27:[16, 11] Operation: 33/3=11
Moving to Node #0,4,4
Current State: 27:[16, 11], Operations: ['80-64=16', '33/3=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
59,
63,
62,
12
] | 27 | [
"62-59=3",
"12*3=36",
"63-36=27"
] | Current State: 27:[59, 63, 62, 12], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [63, 12, 3]
Generated Node #2: [63, 12, 3] from Operation: 62-59=3
Current State: 27:[63, 12, 3], Operations: ['62-59=3']
Exploring Operation: 12*3=36, Resulting Numbers: [63, 36]
Generated Node #3: [63, 36] from Operation: 12*3=36
Current State: 27:[63, 36], Operations: ['62-59=3', '12*3=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[59, 63, 62, 12], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [59, 12, 1]
Generated Node #0,0: 27:[59, 12, 1] Operation: 63-62=1
Exploring Operation: 63-59=4, Resulting Numbers: [62, 12, 4]
Generated Node #0,1: 27:[62, 12, 4] Operation: 63-59=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[59, 12, 1], Operations: ['63-62=1']
Exploring Operation: 59-12=47, Resulting Numbers: [1, 47]
Generated Node #0,0,0: 27:[1, 47] Operation: 59-12=47
Exploring Operation: 59-1=58, Resulting Numbers: [12, 58]
Generated Node #0,0,1: 27:[12, 58] Operation: 59-1=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[1, 47], Operations: ['63-62=1', '59-12=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[12, 58], Operations: ['63-62=1', '59-1=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[62, 12, 4], Operations: ['63-59=4']
Exploring Operation: 62-12=50, Resulting Numbers: [4, 50]
Generated Node #0,1,0: 27:[4, 50] Operation: 62-12=50
Exploring Operation: 62-4=58, Resulting Numbers: [12, 58]
Generated Node #0,1,1: 27:[12, 58] Operation: 62-4=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[4, 50], Operations: ['63-59=4', '62-12=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[12, 58], Operations: ['63-59=4', '62-4=58']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
23,
4,
57
] | 95 | [
"45*57=2565",
"23+4=27",
"2565/27=95"
] | Current State: 95:[45, 23, 4, 57], Operations: []
Exploring Operation: 45*57=2565, Resulting Numbers: [23, 4, 2565]
Generated Node #2: [23, 4, 2565] from Operation: 45*57=2565
Current State: 95:[23, 4, 2565], Operations: ['45*57=2565']
Exploring Operation: 23+4=27, Resulting Numbers: [2565, 27]
Generated Node #3: [2565, 27] from Operation: 23+4=27
Current State: 95:[2565, 27], Operations: ['45*57=2565', '23+4=27']
Exploring Operation: 2565/27=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[45, 23, 4, 57], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [4, 57, 22]
Generated Node #0,0: 95:[4, 57, 22] Operation: 45-23=22
Exploring Operation: 57-45=12, Resulting Numbers: [23, 4, 12]
Generated Node #0,1: 95:[23, 4, 12] Operation: 57-45=12
Exploring Operation: 23+57=80, Resulting Numbers: [45, 4, 80]
Generated Node #0,2: 95:[45, 4, 80] Operation: 23+57=80
Exploring Operation: 45+57=102, Resulting Numbers: [23, 4, 102]
Generated Node #0,3: 95:[23, 4, 102] Operation: 45+57=102
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[23, 4, 12], Operations: ['57-45=12']
Exploring Operation: 23-4=19, Resulting Numbers: [12, 19]
Generated Node #0,1,0: 95:[12, 19] Operation: 23-4=19
Exploring Operation: 12/4=3, Resulting Numbers: [23, 3]
Generated Node #0,1,1: 95:[23, 3] Operation: 12/4=3
Exploring Operation: 23-12=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 95:[4, 11] Operation: 23-12=11
Exploring Operation: 4+12=16, Resulting Numbers: [23, 16]
Generated Node #0,1,3: 95:[23, 16] Operation: 4+12=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[23, 3], Operations: ['57-45=12', '12/4=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[12, 19], Operations: ['57-45=12', '23-4=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[4, 11], Operations: ['57-45=12', '23-12=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[23, 16], Operations: ['57-45=12', '4+12=16']
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,95 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[23, 4, 102], Operations: ['45+57=102']
Exploring Operation: 23-4=19, Resulting Numbers: [102, 19]
Generated Node #0,3,0: 95:[102, 19] Operation: 23-4=19
Exploring Operation: 23*4=92, Resulting Numbers: [102, 92]
Generated Node #0,3,1: 95:[102, 92] Operation: 23*4=92
Exploring Operation: 23+4=27, Resulting Numbers: [102, 27]
Generated Node #0,3,2: 95:[102, 27] Operation: 23+4=27
Exploring Operation: 102-4=98, Resulting Numbers: [23, 98]
Generated Node #0,3,3: 95:[23, 98] Operation: 102-4=98
Moving to Node #0,3,0
Current State: 95:[102, 19], Operations: ['45+57=102', '23-4=19']
Exploring Operation: 102*19=1938, Resulting Numbers: [1938]
1938,95 unequal: No Solution
Exploring Operation: 102-19=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 102+19=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[23, 98], Operations: ['45+57=102', '102-4=98']
Exploring Operation: 23*98=2254, Resulting Numbers: [2254]
2254,95 unequal: No Solution
Exploring Operation: 23+98=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[102, 92], Operations: ['45+57=102', '23*4=92']
Exploring Operation: 102*92=9384, Resulting Numbers: [9384]
9384,95 unequal: No Solution
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 102+92=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[102, 27], Operations: ['45+57=102', '23+4=27']
Exploring Operation: 102+27=129, Resulting Numbers: [129]
129,95 unequal: No Solution
Exploring Operation: 102*27=2754, Resulting Numbers: [2754]
2754,95 unequal: No Solution
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[4, 57, 22], Operations: ['45-23=22']
Exploring Operation: 57-4=53, Resulting Numbers: [22, 53]
Generated Node #0,0,0: 95:[22, 53] Operation: 57-4=53
Exploring Operation: 57-22=35, Resulting Numbers: [4, 35]
Generated Node #0,0,1: 95:[4, 35] Operation: 57-22=35
Exploring Operation: 4+57=61, Resulting Numbers: [22, 61]
Generated Node #0,0,2: 95:[22, 61] Operation: 4+57=61
Exploring Operation: 57+22=79, Resulting Numbers: [4, 79]
Generated Node #0,0,3: 95:[4, 79] Operation: 57+22=79
Moving to Node #0,0,1
Current State: 95:[4, 35], Operations: ['45-23=22', '57-22=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[4, 79], Operations: ['45-23=22', '57+22=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,95 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[22, 61], Operations: ['45-23=22', '4+57=61']
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[22, 53], Operations: ['45-23=22', '57-4=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[45, 4, 80], Operations: ['23+57=80']
Exploring Operation: 45-4=41, Resulting Numbers: [80, 41]
Generated Node #0,2,0: 95:[80, 41] Operation: 45-4=41
Exploring Operation: 80/4=20, Resulting Numbers: [45, 20]
Generated Node #0,2,1: 95:[45, 20] Operation: 80/4=20
Exploring Operation: 45+80=125, Resulting Numbers: [4, 125]
Generated Node #0,2,2: 95:[4, 125] Operation: 45+80=125
Exploring Operation: 80-45=35, Resulting Numbers: [4, 35]
Generated Node #0,2,3: 95:[4, 35] Operation: 80-45=35
Moving to Node #0,2,3
Current State: 95:[4, 35], Operations: ['23+57=80', '80-45=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[45, 20], Operations: ['23+57=80', '80/4=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[4, 125], Operations: ['23+57=80', '45+80=125']
Exploring Operation: 4+125=129, Resulting Numbers: [129]
129,95 unequal: No Solution
Exploring Operation: 125-4=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 4*125=500, Resulting Numbers: [500]
500,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[80, 41], Operations: ['23+57=80', '45-4=41']
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,95 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
34,
81,
20
] | 33 | [
"22*81=1782",
"34+20=54",
"1782/54=33"
] | Current State: 33:[22, 34, 81, 20], Operations: []
Exploring Operation: 22*81=1782, Resulting Numbers: [34, 20, 1782]
Generated Node #2: [34, 20, 1782] from Operation: 22*81=1782
Current State: 33:[34, 20, 1782], Operations: ['22*81=1782']
Exploring Operation: 34+20=54, Resulting Numbers: [1782, 54]
Generated Node #3: [1782, 54] from Operation: 34+20=54
Current State: 33:[1782, 54], Operations: ['22*81=1782', '34+20=54']
Exploring Operation: 1782/54=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[22, 34, 81, 20], Operations: []
Exploring Operation: 81-22=59, Resulting Numbers: [34, 20, 59]
Generated Node #0,0: 33:[34, 20, 59] Operation: 81-22=59
Exploring Operation: 81-34=47, Resulting Numbers: [22, 20, 47]
Generated Node #0,1: 33:[22, 20, 47] Operation: 81-34=47
Moving to Node #0,1
Current State: 33:[22, 20, 47], Operations: ['81-34=47']
Exploring Operation: 22-20=2, Resulting Numbers: [47, 2]
Generated Node #0,1,0: 33:[47, 2] Operation: 22-20=2
Exploring Operation: 47-22=25, Resulting Numbers: [20, 25]
Generated Node #0,1,1: 33:[20, 25] Operation: 47-22=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[47, 2], Operations: ['81-34=47', '22-20=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[20, 25], Operations: ['81-34=47', '47-22=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,33 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: 33:[34, 20, 59], Operations: ['81-22=59']
Exploring Operation: 59-34=25, Resulting Numbers: [20, 25]
Generated Node #0,0,0: 33:[20, 25] Operation: 59-34=25
Exploring Operation: 59-20=39, Resulting Numbers: [34, 39]
Generated Node #0,0,1: 33:[34, 39] Operation: 59-20=39
Moving to Node #0,0,1
Current State: 33:[34, 39], Operations: ['81-22=59', '59-20=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[20, 25], Operations: ['81-22=59', '59-34=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
94,
46,
11
] | 31 | [
"94-87=7",
"11*7=77",
"77-46=31"
] | Current State: 31:[87, 94, 46, 11], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [46, 11, 7]
Generated Node #2: [46, 11, 7] from Operation: 94-87=7
Current State: 31:[46, 11, 7], Operations: ['94-87=7']
Exploring Operation: 11*7=77, Resulting Numbers: [46, 77]
Generated Node #3: [46, 77] from Operation: 11*7=77
Current State: 31:[46, 77], Operations: ['94-87=7', '11*7=77']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[87, 94, 46, 11], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [87, 11, 48]
Generated Node #0,0: 31:[87, 11, 48] Operation: 94-46=48
Exploring Operation: 87-46=41, Resulting Numbers: [94, 11, 41]
Generated Node #0,1: 31:[94, 11, 41] Operation: 87-46=41
Exploring Operation: 94-11=83, Resulting Numbers: [87, 46, 83]
Generated Node #0,2: 31:[87, 46, 83] Operation: 94-11=83
Exploring Operation: 87-11=76, Resulting Numbers: [94, 46, 76]
Generated Node #0,3: 31:[94, 46, 76] Operation: 87-11=76
Exploring Operation: 94-87=7, Resulting Numbers: [46, 11, 7]
Generated Node #0,4: 31:[46, 11, 7] Operation: 94-87=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[46, 11, 7], Operations: ['94-87=7']
Exploring Operation: 11-7=4, Resulting Numbers: [46, 4]
Generated Node #0,4,0: 31:[46, 4] Operation: 11-7=4
Exploring Operation: 46-7=39, Resulting Numbers: [11, 39]
Generated Node #0,4,1: 31:[11, 39] Operation: 46-7=39
Exploring Operation: 46+7=53, Resulting Numbers: [11, 53]
Generated Node #0,4,2: 31:[11, 53] Operation: 46+7=53
Exploring Operation: 46-11=35, Resulting Numbers: [7, 35]
Generated Node #0,4,3: 31:[7, 35] Operation: 46-11=35
Exploring Operation: 11+7=18, Resulting Numbers: [46, 18]
Generated Node #0,4,4: 31:[46, 18] Operation: 11+7=18
Moving to Node #0,4,1
Current State: 31:[11, 39], Operations: ['94-87=7', '46-7=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[46, 18], Operations: ['94-87=7', '11+7=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[7, 35], Operations: ['94-87=7', '46-11=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,31 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[46, 4], Operations: ['94-87=7', '11-7=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,31 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[11, 53], Operations: ['94-87=7', '46+7=53']
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,31 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[87, 11, 48], Operations: ['94-46=48']
Exploring Operation: 48-11=37, Resulting Numbers: [87, 37]
Generated Node #0,0,0: 31:[87, 37] Operation: 48-11=37
Exploring Operation: 87-48=39, Resulting Numbers: [11, 39]
Generated Node #0,0,1: 31:[11, 39] Operation: 87-48=39
Exploring Operation: 87+11=98, Resulting Numbers: [48, 98]
Generated Node #0,0,2: 31:[48, 98] Operation: 87+11=98
Exploring Operation: 87-11=76, Resulting Numbers: [48, 76]
Generated Node #0,0,3: 31:[48, 76] Operation: 87-11=76
Exploring Operation: 11+48=59, Resulting Numbers: [87, 59]
Generated Node #0,0,4: 31:[87, 59] Operation: 11+48=59
Moving to Node #0,0,1
Current State: 31:[11, 39], Operations: ['94-46=48', '87-48=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,31 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[48, 76], Operations: ['94-46=48', '87-11=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[87, 37], Operations: ['94-46=48', '48-11=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[48, 98], Operations: ['94-46=48', '87+11=98']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,31 unequal: No Solution
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[87, 59], Operations: ['94-46=48', '11+48=59']
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 87+59=146, Resulting Numbers: [146]
146,31 unequal: No Solution
Exploring Operation: 87*59=5133, Resulting Numbers: [5133]
5133,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[94, 11, 41], Operations: ['87-46=41']
Exploring Operation: 94-41=53, Resulting Numbers: [11, 53]
Generated Node #0,1,0: 31:[11, 53] Operation: 94-41=53
Exploring Operation: 94-11=83, Resulting Numbers: [41, 83]
Generated Node #0,1,1: 31:[41, 83] Operation: 94-11=83
Exploring Operation: 11+41=52, Resulting Numbers: [94, 52]
Generated Node #0,1,2: 31:[94, 52] Operation: 11+41=52
Exploring Operation: 41-11=30, Resulting Numbers: [94, 30]
Generated Node #0,1,3: 31:[94, 30] Operation: 41-11=30
Exploring Operation: 94+11=105, Resulting Numbers: [41, 105]
Generated Node #0,1,4: 31:[41, 105] Operation: 94+11=105
Moving to Node #0,1,0
Current State: 31:[11, 53], Operations: ['87-46=41', '94-41=53']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[41, 83], Operations: ['87-46=41', '94-11=83']
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,31 unequal: No Solution
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[94, 30], Operations: ['87-46=41', '41-11=30']
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,31 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[94, 52], Operations: ['87-46=41', '11+41=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,31 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[41, 105], Operations: ['87-46=41', '94+11=105']
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,31 unequal: No Solution
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[87, 46, 83], Operations: ['94-11=83']
Exploring Operation: 87-46=41, Resulting Numbers: [83, 41]
Generated Node #0,2,0: 31:[83, 41] Operation: 87-46=41
Exploring Operation: 83-46=37, Resulting Numbers: [87, 37]
Generated Node #0,2,1: 31:[87, 37] Operation: 83-46=37
Exploring Operation: 87-83=4, Resulting Numbers: [46, 4]
Generated Node #0,2,2: 31:[46, 4] Operation: 87-83=4
Exploring Operation: 87+46=133, Resulting Numbers: [83, 133]
Generated Node #0,2,3: 31:[83, 133] Operation: 87+46=133
Exploring Operation: 87+83=170, Resulting Numbers: [46, 170]
Generated Node #0,2,4: 31:[46, 170] Operation: 87+83=170
Moving to Node #0,2,2
Current State: 31:[46, 4], Operations: ['94-11=83', '87-83=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[87, 37], Operations: ['94-11=83', '83-46=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[83, 41], Operations: ['94-11=83', '87-46=41']
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,31 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[83, 133], Operations: ['94-11=83', '87+46=133']
Exploring Operation: 133-83=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 83*133=11039, Resulting Numbers: [11039]
11039,31 unequal: No Solution
Exploring Operation: 83+133=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[46, 170], Operations: ['94-11=83', '87+83=170']
Exploring Operation: 46*170=7820, Resulting Numbers: [7820]
7820,31 unequal: No Solution
Exploring Operation: 46+170=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Exploring Operation: 170-46=124, Resulting Numbers: [124]
124,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[94, 46, 76], Operations: ['87-11=76']
Exploring Operation: 94-76=18, Resulting Numbers: [46, 18]
Generated Node #0,3,0: 31:[46, 18] Operation: 94-76=18
Exploring Operation: 94-46=48, Resulting Numbers: [76, 48]
Generated Node #0,3,1: 31:[76, 48] Operation: 94-46=48
Exploring Operation: 76-46=30, Resulting Numbers: [94, 30]
Generated Node #0,3,2: 31:[94, 30] Operation: 76-46=30
Exploring Operation: 94+46=140, Resulting Numbers: [76, 140]
Generated Node #0,3,3: 31:[76, 140] Operation: 94+46=140
Exploring Operation: 94+76=170, Resulting Numbers: [46, 170]
Generated Node #0,3,4: 31:[46, 170] Operation: 94+76=170
Moving to Node #0,3,0
Current State: 31:[46, 18], Operations: ['87-11=76', '94-76=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,31 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[76, 48], Operations: ['87-11=76', '94-46=48']
Exploring Operation: 76+48=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 76*48=3648, Resulting Numbers: [3648]
3648,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[94, 30], Operations: ['87-11=76', '76-46=30']
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[76, 140], Operations: ['87-11=76', '94+46=140']
Exploring Operation: 140-76=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 76+140=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Exploring Operation: 76*140=10640, Resulting Numbers: [10640]
10640,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[46, 170], Operations: ['87-11=76', '94+76=170']
Exploring Operation: 46*170=7820, Resulting Numbers: [7820]
7820,31 unequal: No Solution
Exploring Operation: 46+170=216, Resulting Numbers: [216]
216,31 unequal: No Solution
Exploring Operation: 170-46=124, Resulting Numbers: [124]
124,31 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 |
[
70,
18,
69,
68
] | 36 | [
"70+68=138",
"18*138=2484",
"2484/69=36"
] | Current State: 36:[70, 18, 69, 68], Operations: []
Exploring Operation: 70+68=138, Resulting Numbers: [18, 69, 138]
Generated Node #2: [18, 69, 138] from Operation: 70+68=138
Current State: 36:[18, 69, 138], Operations: ['70+68=138']
Exploring Operation: 18*138=2484, Resulting Numbers: [69, 2484]
Generated Node #3: [69, 2484] from Operation: 18*138=2484
Current State: 36:[69, 2484], Operations: ['70+68=138', '18*138=2484']
Exploring Operation: 2484/69=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[70, 18, 69, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [18, 69, 2]
Generated Node #0,0: 36:[18, 69, 2] Operation: 70-68=2
Exploring Operation: 69-68=1, Resulting Numbers: [70, 18, 1]
Generated Node #0,1: 36:[70, 18, 1] Operation: 69-68=1
Exploring Operation: 70-69=1, Resulting Numbers: [18, 68, 1]
Generated Node #0,2: 36:[18, 68, 1] Operation: 70-69=1
Moving to Node #0,0
Current State: 36:[18, 69, 2], Operations: ['70-68=2']
Exploring Operation: 18*2=36, Resulting Numbers: [69, 36]
Generated Node #0,0,0: 36:[69, 36] Operation: 18*2=36
Exploring Operation: 69-18=51, Resulting Numbers: [2, 51]
Generated Node #0,0,1: 36:[2, 51] Operation: 69-18=51
Exploring Operation: 69-2=67, Resulting Numbers: [18, 67]
Generated Node #0,0,2: 36:[18, 67] Operation: 69-2=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[2, 51], Operations: ['70-68=2', '69-18=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 51-2=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,2
Current State: 36:[18, 67], Operations: ['70-68=2', '69-2=67']
Exploring Operation: 18*67=1206, Resulting Numbers: [1206]
1206,36 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 18+67=85, Resulting Numbers: [85]
85,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[69, 36], Operations: ['70-68=2', '18*2=36']
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,36 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[18, 68, 1], Operations: ['70-69=1']
Exploring Operation: 68-1=67, Resulting Numbers: [18, 67]
Generated Node #0,2,0: 36:[18, 67] Operation: 68-1=67
Exploring Operation: 18*1=18, Resulting Numbers: [68, 18]
Generated Node #0,2,1: 36:[68, 18] Operation: 18*1=18
Exploring Operation: 68-18=50, Resulting Numbers: [1, 50]
Generated Node #0,2,2: 36:[1, 50] Operation: 68-18=50
Moving to Node #0,1
Current State: 36:[70, 18, 1], Operations: ['69-68=1']
Exploring Operation: 70*1=70, Resulting Numbers: [18, 70]
Generated Node #0,1,0: 36:[18, 70] Operation: 70*1=70
Exploring Operation: 70-1=69, Resulting Numbers: [18, 69]
Generated Node #0,1,1: 36:[18, 69] Operation: 70-1=69
Exploring Operation: 70-18=52, Resulting Numbers: [1, 52]
Generated Node #0,1,2: 36:[1, 52] Operation: 70-18=52
Moving to Node #0,2,2
Current State: 36:[1, 50], Operations: ['70-69=1', '68-18=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[1, 52], Operations: ['69-68=1', '70-18=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[18, 67], Operations: ['70-69=1', '68-1=67']
Exploring Operation: 18*67=1206, Resulting Numbers: [1206]
1206,36 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 18+67=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[68, 18], Operations: ['70-69=1', '18*1=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,36 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[18, 69], Operations: ['69-68=1', '70-1=69']
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,36 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[18, 70], Operations: ['69-68=1', '70*1=70']
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
94,
53,
2,
49
] | 61 | [
"94-49=45",
"53*2=106",
"106-45=61"
] | Current State: 61:[94, 53, 2, 49], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [53, 2, 45]
Generated Node #2: [53, 2, 45] from Operation: 94-49=45
Current State: 61:[53, 2, 45], Operations: ['94-49=45']
Exploring Operation: 53*2=106, Resulting Numbers: [45, 106]
Generated Node #3: [45, 106] from Operation: 53*2=106
Current State: 61:[45, 106], Operations: ['94-49=45', '53*2=106']
Exploring Operation: 106-45=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[94, 53, 2, 49], Operations: []
Exploring Operation: 53+2=55, Resulting Numbers: [94, 49, 55]
Generated Node #0,0: 61:[94, 49, 55] Operation: 53+2=55
Exploring Operation: 2+49=51, Resulting Numbers: [94, 53, 51]
Generated Node #0,1: 61:[94, 53, 51] Operation: 2+49=51
Exploring Operation: 94-2=92, Resulting Numbers: [53, 49, 92]
Generated Node #0,2: 61:[53, 49, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [53, 49, 47]
Generated Node #0,3: 61:[53, 49, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[53, 49, 47], Operations: ['94/2=47']
Exploring Operation: 49+47=96, Resulting Numbers: [53, 96]
Generated Node #0,3,0: 61:[53, 96] Operation: 49+47=96
Exploring Operation: 53+49=102, Resulting Numbers: [47, 102]
Generated Node #0,3,1: 61:[47, 102] Operation: 53+49=102
Exploring Operation: 53+47=100, Resulting Numbers: [49, 100]
Generated Node #0,3,2: 61:[49, 100] Operation: 53+47=100
Exploring Operation: 53-47=6, Resulting Numbers: [49, 6]
Generated Node #0,3,3: 61:[49, 6] Operation: 53-47=6
Moving to Node #0,3,0
Current State: 61:[53, 96], Operations: ['94/2=47', '49+47=96']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,61 unequal: No Solution
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[49, 100], Operations: ['94/2=47', '53+47=100']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 49*100=4900, Resulting Numbers: [4900]
4900,61 unequal: No Solution
Exploring Operation: 49+100=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[47, 102], Operations: ['94/2=47', '53+49=102']
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[49, 6], Operations: ['94/2=47', '53-47=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,61 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,61 unequal: No Solution
No 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: 61:[94, 49, 55], Operations: ['53+2=55']
Exploring Operation: 94+49=143, Resulting Numbers: [55, 143]
Generated Node #0,0,0: 61:[55, 143] Operation: 94+49=143
Exploring Operation: 49+55=104, Resulting Numbers: [94, 104]
Generated Node #0,0,1: 61:[94, 104] Operation: 49+55=104
Exploring Operation: 94-55=39, Resulting Numbers: [49, 39]
Generated Node #0,0,2: 61:[49, 39] Operation: 94-55=39
Exploring Operation: 94-49=45, Resulting Numbers: [55, 45]
Generated Node #0,0,3: 61:[55, 45] Operation: 94-49=45
Moving to Node #0,0,3
Current State: 61:[55, 45], Operations: ['53+2=55', '94-49=45']
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[49, 39], Operations: ['53+2=55', '94-55=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,61 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[94, 104], Operations: ['53+2=55', '49+55=104']
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,61 unequal: No Solution
Exploring Operation: 94*104=9776, Resulting Numbers: [9776]
9776,61 unequal: No Solution
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[55, 143], Operations: ['53+2=55', '94+49=143']
Exploring Operation: 55*143=7865, Resulting Numbers: [7865]
7865,61 unequal: No Solution
Exploring Operation: 143-55=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 55+143=198, Resulting Numbers: [198]
198,61 unequal: No Solution
No 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: 61:[94, 53, 51], Operations: ['2+49=51']
Exploring Operation: 53+51=104, Resulting Numbers: [94, 104]
Generated Node #0,1,0: 61:[94, 104] Operation: 53+51=104
Exploring Operation: 94-53=41, Resulting Numbers: [51, 41]
Generated Node #0,1,1: 61:[51, 41] Operation: 94-53=41
Exploring Operation: 94+51=145, Resulting Numbers: [53, 145]
Generated Node #0,1,2: 61:[53, 145] Operation: 94+51=145
Exploring Operation: 94-51=43, Resulting Numbers: [53, 43]
Generated Node #0,1,3: 61:[53, 43] Operation: 94-51=43
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[53, 43], Operations: ['2+49=51', '94-51=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,61 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,61 unequal: No Solution
No 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: 61:[51, 41], Operations: ['2+49=51', '94-53=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,61 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No 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: 61:[94, 104], Operations: ['2+49=51', '53+51=104']
Exploring Operation: 94*104=9776, Resulting Numbers: [9776]
9776,61 unequal: No Solution
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,61 unequal: No Solution
No 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: 61:[53, 145], Operations: ['2+49=51', '94+51=145']
Exploring Operation: 53+145=198, Resulting Numbers: [198]
198,61 unequal: No Solution
Exploring Operation: 53*145=7685, Resulting Numbers: [7685]
7685,61 unequal: No Solution
Exploring Operation: 145-53=92, Resulting Numbers: [92]
92,61 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: 61:[53, 49, 92], Operations: ['94-2=92']
Exploring Operation: 53-49=4, Resulting Numbers: [92, 4]
Generated Node #0,2,0: 61:[92, 4] Operation: 53-49=4
Exploring Operation: 53+49=102, Resulting Numbers: [92, 102]
Generated Node #0,2,1: 61:[92, 102] Operation: 53+49=102
Exploring Operation: 92-49=43, Resulting Numbers: [53, 43]
Generated Node #0,2,2: 61:[53, 43] Operation: 92-49=43
Exploring Operation: 92-53=39, Resulting Numbers: [49, 39]
Generated Node #0,2,3: 61:[49, 39] Operation: 92-53=39
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[53, 43], Operations: ['94-2=92', '92-49=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,61 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,61 unequal: No Solution
No 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: 61:[49, 39], Operations: ['94-2=92', '92-53=39']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,61 unequal: No Solution
No 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: 61:[92, 102], Operations: ['94-2=92', '53+49=102']
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 92*102=9384, Resulting Numbers: [9384]
9384,61 unequal: No Solution
Exploring Operation: 92+102=194, Resulting Numbers: [194]
194,61 unequal: No Solution
No 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: 61:[92, 4], Operations: ['94-2=92', '53-49=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,61 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
2,
5,
4
] | 60 | [
"20*2=40",
"5*4=20",
"40+20=60"
] | Current State: 60:[20, 2, 5, 4], Operations: []
Exploring Operation: 20*2=40, Resulting Numbers: [5, 4, 40]
Generated Node #2: [5, 4, 40] from Operation: 20*2=40
Current State: 60:[5, 4, 40], Operations: ['20*2=40']
Exploring Operation: 5*4=20, Resulting Numbers: [40, 20]
Generated Node #3: [40, 20] from Operation: 5*4=20
Current State: 60:[40, 20], Operations: ['20*2=40', '5*4=20']
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[20, 2, 5, 4], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [2, 5, 5]
Generated Node #0,0: 60:[2, 5, 5] Operation: 20/4=5
Exploring Operation: 20/2=10, Resulting Numbers: [5, 4, 10]
Generated Node #0,1: 60:[5, 4, 10] Operation: 20/2=10
Exploring Operation: 20-5=15, Resulting Numbers: [2, 4, 15]
Generated Node #0,2: 60:[2, 4, 15] Operation: 20-5=15
Exploring Operation: 2*5=10, Resulting Numbers: [20, 4, 10]
Generated Node #0,3: 60:[20, 4, 10] Operation: 2*5=10
Exploring Operation: 20/5=4, Resulting Numbers: [2, 4, 4]
Generated Node #0,4: 60:[2, 4, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 5, 5], Operations: ['20/4=5']
Exploring Operation: 2*5=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 60:[5, 10] Operation: 2*5=10
Exploring Operation: 5-2=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 60:[5, 3] Operation: 5-2=3
Exploring Operation: 5+5=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 60:[2, 10] Operation: 5+5=10
Exploring Operation: 2*5=10, Resulting Numbers: [5, 10]
Generated Node #0,0,3: 60:[5, 10] Operation: 2*5=10
Exploring Operation: 5-2=3, Resulting Numbers: [5, 3]
Generated Node #0,0,4: 60:[5, 3] Operation: 5-2=3
Moving to Node #0,0,0
Current State: 60:[5, 10], Operations: ['20/4=5', '2*5=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[2, 10], Operations: ['20/4=5', '5+5=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[5, 3], Operations: ['20/4=5', '5-2=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[5, 3], Operations: ['20/4=5', '5-2=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[5, 10], Operations: ['20/4=5', '2*5=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[5, 4, 10], Operations: ['20/2=10']
Exploring Operation: 10/5=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 60:[4, 2] Operation: 10/5=2
Exploring Operation: 5*4=20, Resulting Numbers: [10, 20]
Generated Node #0,1,1: 60:[10, 20] Operation: 5*4=20
Exploring Operation: 5+10=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 60:[4, 15] Operation: 5+10=15
Exploring Operation: 10-4=6, Resulting Numbers: [5, 6]
Generated Node #0,1,3: 60:[5, 6] Operation: 10-4=6
Exploring Operation: 10-5=5, Resulting Numbers: [4, 5]
Generated Node #0,1,4: 60:[4, 5] Operation: 10-5=5
Moving to Node #0,1,0
Current State: 60:[4, 2], Operations: ['20/2=10', '10/5=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[4, 15], Operations: ['20/2=10', '5+10=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[20, 2, 5, 4], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [5, 4, 10]
Generated Node #0,1: 60:[5, 4, 10] Operation: 20/2=10
Moving to Node #0,1
Current State: 60:[5, 4, 10], Operations: ['20/2=10']
Exploring Operation: 5+10=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 60:[4, 15] Operation: 5+10=15
Moving to Node #0,1,2
Current State: 60:[4, 15], Operations: ['20/2=10', '5+10=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
23,
18,
97,
57
] | 52 | [
"18+97=115",
"115/23=5",
"57-5=52"
] | Current State: 52:[23, 18, 97, 57], Operations: []
Exploring Operation: 18+97=115, Resulting Numbers: [23, 57, 115]
Generated Node #2: [23, 57, 115] from Operation: 18+97=115
Current State: 52:[23, 57, 115], Operations: ['18+97=115']
Exploring Operation: 115/23=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 115/23=5
Current State: 52:[57, 5], Operations: ['18+97=115', '115/23=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[23, 18, 97, 57], Operations: []
Exploring Operation: 97-18=79, Resulting Numbers: [23, 57, 79]
Generated Node #0,0: 52:[23, 57, 79] Operation: 97-18=79
Exploring Operation: 23-18=5, Resulting Numbers: [97, 57, 5]
Generated Node #0,1: 52:[97, 57, 5] Operation: 23-18=5
Exploring Operation: 97-57=40, Resulting Numbers: [23, 18, 40]
Generated Node #0,2: 52:[23, 18, 40] Operation: 97-57=40
Exploring Operation: 57-23=34, Resulting Numbers: [18, 97, 34]
Generated Node #0,3: 52:[18, 97, 34] Operation: 57-23=34
Exploring Operation: 97-23=74, Resulting Numbers: [18, 57, 74]
Generated Node #0,4: 52:[18, 57, 74] Operation: 97-23=74
Moving to Node #0,2
Current State: 52:[23, 18, 40], Operations: ['97-57=40']
Exploring Operation: 18+40=58, Resulting Numbers: [23, 58]
Generated Node #0,2,0: 52:[23, 58] Operation: 18+40=58
Exploring Operation: 40-18=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 52:[23, 22] Operation: 40-18=22
Exploring Operation: 40-23=17, Resulting Numbers: [18, 17]
Generated Node #0,2,2: 52:[18, 17] Operation: 40-23=17
Exploring Operation: 23+40=63, Resulting Numbers: [18, 63]
Generated Node #0,2,3: 52:[18, 63] Operation: 23+40=63
Exploring Operation: 23-18=5, Resulting Numbers: [40, 5]
Generated Node #0,2,4: 52:[40, 5] Operation: 23-18=5
Moving to Node #0,4
Current State: 52:[18, 57, 74], Operations: ['97-23=74']
Exploring Operation: 74-57=17, Resulting Numbers: [18, 17]
Generated Node #0,4,0: 52:[18, 17] Operation: 74-57=17
Exploring Operation: 18+57=75, Resulting Numbers: [74, 75]
Generated Node #0,4,1: 52:[74, 75] Operation: 18+57=75
Exploring Operation: 57-18=39, Resulting Numbers: [74, 39]
Generated Node #0,4,2: 52:[74, 39] Operation: 57-18=39
Exploring Operation: 74-18=56, Resulting Numbers: [57, 56]
Generated Node #0,4,3: 52:[57, 56] Operation: 74-18=56
Exploring Operation: 18+74=92, Resulting Numbers: [57, 92]
Generated Node #0,4,4: 52:[57, 92] Operation: 18+74=92
Moving to Node #0,0
Current State: 52:[23, 57, 79], Operations: ['97-18=79']
Exploring Operation: 57-23=34, Resulting Numbers: [79, 34]
Generated Node #0,0,0: 52:[79, 34] Operation: 57-23=34
Exploring Operation: 79-23=56, Resulting Numbers: [57, 56]
Generated Node #0,0,1: 52:[57, 56] Operation: 79-23=56
Exploring Operation: 23+57=80, Resulting Numbers: [79, 80]
Generated Node #0,0,2: 52:[79, 80] Operation: 23+57=80
Exploring Operation: 23+79=102, Resulting Numbers: [57, 102]
Generated Node #0,0,3: 52:[57, 102] Operation: 23+79=102
Exploring Operation: 79-57=22, Resulting Numbers: [23, 22]
Generated Node #0,0,4: 52:[23, 22] Operation: 79-57=22
Moving to Node #0,1
Current State: 52:[97, 57, 5], Operations: ['23-18=5']
Exploring Operation: 57+5=62, Resulting Numbers: [97, 62]
Generated Node #0,1,0: 52:[97, 62] Operation: 57+5=62
Exploring Operation: 57-5=52, Resulting Numbers: [97, 52]
Generated Node #0,1,1: 52:[97, 52] Operation: 57-5=52
Exploring Operation: 97+5=102, Resulting Numbers: [57, 102]
Generated Node #0,1,2: 52:[57, 102] Operation: 97+5=102
Exploring Operation: 97-5=92, Resulting Numbers: [57, 92]
Generated Node #0,1,3: 52:[57, 92] Operation: 97-5=92
Exploring Operation: 97-57=40, Resulting Numbers: [5, 40]
Generated Node #0,1,4: 52:[5, 40] Operation: 97-57=40
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[5, 40], Operations: ['23-18=5', '97-57=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[97, 52], Operations: ['23-18=5', '57-5=52']
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,52 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[57, 92], Operations: ['23-18=5', '97-5=92']
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,52 unequal: No Solution
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[97, 62], Operations: ['23-18=5', '57+5=62']
Exploring Operation: 97+62=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Exploring Operation: 97*62=6014, Resulting Numbers: [6014]
6014,52 unequal: No Solution
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[57, 102], Operations: ['23-18=5', '97+5=102']
Exploring Operation: 102-57=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 57+102=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Exploring Operation: 57*102=5814, Resulting Numbers: [5814]
5814,52 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: 52:[18, 97, 34], Operations: ['57-23=34']
Exploring Operation: 18+34=52, Resulting Numbers: [97, 52]
Generated Node #0,3,0: 52:[97, 52] Operation: 18+34=52
Exploring Operation: 18+97=115, Resulting Numbers: [34, 115]
Generated Node #0,3,1: 52:[34, 115] Operation: 18+97=115
Exploring Operation: 34-18=16, Resulting Numbers: [97, 16]
Generated Node #0,3,2: 52:[97, 16] Operation: 34-18=16
Exploring Operation: 97-34=63, Resulting Numbers: [18, 63]
Generated Node #0,3,3: 52:[18, 63] Operation: 97-34=63
Exploring Operation: 97-18=79, Resulting Numbers: [34, 79]
Generated Node #0,3,4: 52:[34, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[18, 63], Operations: ['57-23=34', '97-34=63']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[34, 79], Operations: ['57-23=34', '97-18=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,52 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[97, 52], Operations: ['57-23=34', '18+34=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,52 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,52 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[97, 16], Operations: ['57-23=34', '34-18=16']
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,52 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[34, 115], Operations: ['57-23=34', '18+97=115']
Exploring Operation: 115-34=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 34+115=149, Resulting Numbers: [149]
149,52 unequal: No Solution
Exploring Operation: 34*115=3910, Resulting Numbers: [3910]
3910,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 52:[23, 22], Operations: ['97-57=40', '40-18=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,52 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[23, 22], Operations: ['97-18=79', '79-57=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,52 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[18, 17], Operations: ['97-57=40', '40-23=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[57, 56], Operations: ['97-23=74', '74-18=56']
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[18, 17], Operations: ['97-23=74', '74-57=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[57, 56], Operations: ['97-18=79', '79-23=56']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[23, 58], Operations: ['97-57=40', '18+40=58']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[40, 5], Operations: ['97-57=40', '23-18=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,52 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[18, 63], Operations: ['97-57=40', '23+40=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,52 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[79, 34], Operations: ['97-18=79', '57-23=34']
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 79*34=2686, Resulting Numbers: [2686]
2686,52 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[74, 39], Operations: ['97-23=74', '57-18=39']
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,52 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[74, 75], Operations: ['97-23=74', '18+57=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,52 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,52 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[57, 92], Operations: ['97-23=74', '18+74=92']
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,52 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,52 unequal: No Solution
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[79, 80], Operations: ['97-18=79', '23+57=80']
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,52 unequal: No Solution
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[57, 102], Operations: ['97-18=79', '23+79=102']
Exploring Operation: 57+102=159, Resulting Numbers: [159]
159,52 unequal: No Solution
Exploring Operation: 102-57=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 57*102=5814, Resulting Numbers: [5814]
5814,52 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
68,
63,
59,
33
] | 40 | [
"68-59=9",
"63/9=7",
"33+7=40"
] | Current State: 40:[68, 63, 59, 33], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [63, 33, 9]
Generated Node #2: [63, 33, 9] from Operation: 68-59=9
Current State: 40:[63, 33, 9], Operations: ['68-59=9']
Exploring Operation: 63/9=7, Resulting Numbers: [33, 7]
Generated Node #3: [33, 7] from Operation: 63/9=7
Current State: 40:[33, 7], Operations: ['68-59=9', '63/9=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 63, 59, 33], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [59, 33, 5]
Generated Node #0,0: 40:[59, 33, 5] Operation: 68-63=5
Exploring Operation: 63-59=4, Resulting Numbers: [68, 33, 4]
Generated Node #0,1: 40:[68, 33, 4] Operation: 63-59=4
Exploring Operation: 68-59=9, Resulting Numbers: [63, 33, 9]
Generated Node #0,2: 40:[63, 33, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 40:[59, 33, 5], Operations: ['68-63=5']
Exploring Operation: 59-33=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 40:[5, 26] Operation: 59-33=26
Exploring Operation: 33+5=38, Resulting Numbers: [59, 38]
Generated Node #0,0,1: 40:[59, 38] Operation: 33+5=38
Exploring Operation: 59-5=54, Resulting Numbers: [33, 54]
Generated Node #0,0,2: 40:[33, 54] Operation: 59-5=54
Moving to Node #0,2
Current State: 40:[63, 33, 9], Operations: ['68-59=9']
Exploring Operation: 63/9=7, Resulting Numbers: [33, 7]
Generated Node #0,2,0: 40:[33, 7] Operation: 63/9=7
Exploring Operation: 63-33=30, Resulting Numbers: [9, 30]
Generated Node #0,2,1: 40:[9, 30] Operation: 63-33=30
Exploring Operation: 63-9=54, Resulting Numbers: [33, 54]
Generated Node #0,2,2: 40:[33, 54] Operation: 63-9=54
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[33, 7], Operations: ['68-59=9', '63/9=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,40 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[68, 63, 59, 33], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [63, 33, 9]
Generated Node #0,2: 40:[63, 33, 9] Operation: 68-59=9
Moving to Node #0,2
Current State: 40:[63, 33, 9], Operations: ['68-59=9']
Exploring Operation: 63/9=7, Resulting Numbers: [33, 7]
Generated Node #0,2,0: 40:[33, 7] Operation: 63/9=7
Moving to Node #0,2,0
Current State: 40:[33, 7], Operations: ['68-59=9', '63/9=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
2,
81,
98,
36
] | 70 | [
"98-81=17",
"2*17=34",
"36+34=70"
] | Current State: 70:[2, 81, 98, 36], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [2, 36, 17]
Generated Node #2: [2, 36, 17] from Operation: 98-81=17
Current State: 70:[2, 36, 17], Operations: ['98-81=17']
Exploring Operation: 2*17=34, Resulting Numbers: [36, 34]
Generated Node #3: [36, 34] from Operation: 2*17=34
Current State: 70:[36, 34], Operations: ['98-81=17', '2*17=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[2, 81, 98, 36], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [2, 36, 17]
Generated Node #0,0: 70:[2, 36, 17] Operation: 98-81=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[2, 36, 17], Operations: ['98-81=17']
Exploring Operation: 2*17=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 2*17=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['98-81=17', '2*17=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[2, 81, 98, 36], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [2, 36, 17]
Generated Node #0,0: 70:[2, 36, 17] Operation: 98-81=17
Moving to Node #0,0
Current State: 70:[2, 36, 17], Operations: ['98-81=17']
Exploring Operation: 2*17=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 2*17=34
Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['98-81=17', '2*17=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
26,
18,
22,
37
] | 78 | [
"18+22=40",
"40-37=3",
"26*3=78"
] | Current State: 78:[26, 18, 22, 37], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [26, 37, 40]
Generated Node #2: [26, 37, 40] from Operation: 18+22=40
Current State: 78:[26, 37, 40], Operations: ['18+22=40']
Exploring Operation: 40-37=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 40-37=3
Current State: 78:[26, 3], Operations: ['18+22=40', '40-37=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[26, 18, 22, 37], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [26, 37, 40]
Generated Node #0,0: 78:[26, 37, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [26, 37, 4]
Generated Node #0,1: 78:[26, 37, 4] Operation: 22-18=4
Exploring Operation: 37-22=15, Resulting Numbers: [26, 18, 15]
Generated Node #0,2: 78:[26, 18, 15] Operation: 37-22=15
Exploring Operation: 26-18=8, Resulting Numbers: [22, 37, 8]
Generated Node #0,3: 78:[22, 37, 8] Operation: 26-18=8
Moving to Node #0,0
Current State: 78:[26, 37, 40], Operations: ['18+22=40']
Exploring Operation: 37+40=77, Resulting Numbers: [26, 77]
Generated Node #0,0,0: 78:[26, 77] Operation: 37+40=77
Exploring Operation: 37-26=11, Resulting Numbers: [40, 11]
Generated Node #0,0,1: 78:[40, 11] Operation: 37-26=11
Exploring Operation: 40-37=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 78:[26, 3] Operation: 40-37=3
Exploring Operation: 40-26=14, Resulting Numbers: [37, 14]
Generated Node #0,0,3: 78:[37, 14] Operation: 40-26=14
Moving to Node #0,1
Current State: 78:[26, 37, 4], Operations: ['22-18=4']
Exploring Operation: 26-4=22, Resulting Numbers: [37, 22]
Generated Node #0,1,0: 78:[37, 22] Operation: 26-4=22
Exploring Operation: 37+4=41, Resulting Numbers: [26, 41]
Generated Node #0,1,1: 78:[26, 41] Operation: 37+4=41
Exploring Operation: 37-26=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 78:[4, 11] Operation: 37-26=11
Exploring Operation: 26+4=30, Resulting Numbers: [37, 30]
Generated Node #0,1,3: 78:[37, 30] Operation: 26+4=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[26, 41], Operations: ['22-18=4', '37+4=41']
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,78 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,78 unequal: No Solution
No 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: 78:[4, 11], Operations: ['22-18=4', '37-26=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No 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: 78:[37, 22], Operations: ['22-18=4', '26-4=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,78 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,78 unequal: No Solution
No 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: 78:[37, 30], Operations: ['22-18=4', '26+4=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,78 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,78 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,78 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: 78:[26, 18, 15], Operations: ['37-22=15']
Exploring Operation: 26+18=44, Resulting Numbers: [15, 44]
Generated Node #0,2,0: 78:[15, 44] Operation: 26+18=44
Exploring Operation: 18-15=3, Resulting Numbers: [26, 3]
Generated Node #0,2,1: 78:[26, 3] Operation: 18-15=3
Exploring Operation: 18+15=33, Resulting Numbers: [26, 33]
Generated Node #0,2,2: 78:[26, 33] Operation: 18+15=33
Exploring Operation: 26-18=8, Resulting Numbers: [15, 8]
Generated Node #0,2,3: 78:[15, 8] Operation: 26-18=8
Moving to Node #0,3
Current State: 78:[22, 37, 8], Operations: ['26-18=8']
Exploring Operation: 37-8=29, Resulting Numbers: [22, 29]
Generated Node #0,3,0: 78:[22, 29] Operation: 37-8=29
Exploring Operation: 22+8=30, Resulting Numbers: [37, 30]
Generated Node #0,3,1: 78:[37, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [37, 14]
Generated Node #0,3,2: 78:[37, 14] Operation: 22-8=14
Exploring Operation: 37-22=15, Resulting Numbers: [8, 15]
Generated Node #0,3,3: 78:[8, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[37, 14], Operations: ['26-18=8', '22-8=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,78 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No 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: 78:[8, 15], Operations: ['26-18=8', '37-22=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,78 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No 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: 78:[37, 30], Operations: ['26-18=8', '22+8=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,78 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,78 unequal: No Solution
No 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: 78:[22, 29], Operations: ['26-18=8', '37-8=29']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,78 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,78 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: 78:[26, 3], Operations: ['18+22=40', '40-37=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[26, 18, 22, 37], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [26, 37, 40]
Generated Node #0,0: 78:[26, 37, 40] Operation: 18+22=40
Moving to Node #0,0
Current State: 78:[26, 37, 40], Operations: ['18+22=40']
Exploring Operation: 40-37=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 78:[26, 3] Operation: 40-37=3
Moving to Node #0,0,2
Current State: 78:[26, 3], Operations: ['18+22=40', '40-37=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
84,
69,
24,
27
] | 88 | [
"69+27=96",
"96/24=4",
"84+4=88"
] | Current State: 88:[84, 69, 24, 27], Operations: []
Exploring Operation: 69+27=96, Resulting Numbers: [84, 24, 96]
Generated Node #2: [84, 24, 96] from Operation: 69+27=96
Current State: 88:[84, 24, 96], Operations: ['69+27=96']
Exploring Operation: 96/24=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 96/24=4
Current State: 88:[84, 4], Operations: ['69+27=96', '96/24=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[84, 69, 24, 27], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [84, 24, 42]
Generated Node #0,0: 88:[84, 24, 42] Operation: 69-27=42
Exploring Operation: 69-24=45, Resulting Numbers: [84, 27, 45]
Generated Node #0,1: 88:[84, 27, 45] Operation: 69-24=45
Moving to Node #0,0
Current State: 88:[84, 24, 42], Operations: ['69-27=42']
Exploring Operation: 84-42=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 88:[24, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 88:[24, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[24, 2], Operations: ['69-27=42', '84/42=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[24, 42], Operations: ['69-27=42', '84-42=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[84, 27, 45], Operations: ['69-24=45']
Exploring Operation: 45-27=18, Resulting Numbers: [84, 18]
Generated Node #0,1,0: 88:[84, 18] Operation: 45-27=18
Exploring Operation: 84-45=39, Resulting Numbers: [27, 39]
Generated Node #0,1,1: 88:[27, 39] Operation: 84-45=39
Moving to Node #0,1,0
Current State: 88:[84, 18], Operations: ['69-24=45', '45-27=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[27, 39], Operations: ['69-24=45', '84-45=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
12,
34,
82
] | 74 | [
"14+12=26",
"82-34=48",
"26+48=74"
] | Current State: 74:[14, 12, 34, 82], Operations: []
Exploring Operation: 14+12=26, Resulting Numbers: [34, 82, 26]
Generated Node #2: [34, 82, 26] from Operation: 14+12=26
Current State: 74:[34, 82, 26], Operations: ['14+12=26']
Exploring Operation: 82-34=48, Resulting Numbers: [26, 48]
Generated Node #3: [26, 48] from Operation: 82-34=48
Current State: 74:[26, 48], Operations: ['14+12=26', '82-34=48']
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[14, 12, 34, 82], Operations: []
Exploring Operation: 14+12=26, Resulting Numbers: [34, 82, 26]
Generated Node #0,0: 74:[34, 82, 26] Operation: 14+12=26
Exploring Operation: 14+34=48, Resulting Numbers: [12, 82, 48]
Generated Node #0,1: 74:[12, 82, 48] Operation: 14+34=48
Exploring Operation: 82-12=70, Resulting Numbers: [14, 34, 70]
Generated Node #0,2: 74:[14, 34, 70] Operation: 82-12=70
Exploring Operation: 14-12=2, Resulting Numbers: [34, 82, 2]
Generated Node #0,3: 74:[34, 82, 2] Operation: 14-12=2
Exploring Operation: 82-14=68, Resulting Numbers: [12, 34, 68]
Generated Node #0,4: 74:[12, 34, 68] Operation: 82-14=68
Moving to Node #0,3
Current State: 74:[34, 82, 2], Operations: ['14-12=2']
Exploring Operation: 82-34=48, Resulting Numbers: [2, 48]
Generated Node #0,3,0: 74:[2, 48] Operation: 82-34=48
Exploring Operation: 34-2=32, Resulting Numbers: [82, 32]
Generated Node #0,3,1: 74:[82, 32] Operation: 34-2=32
Exploring Operation: 82-2=80, Resulting Numbers: [34, 80]
Generated Node #0,3,2: 74:[34, 80] Operation: 82-2=80
Exploring Operation: 34+2=36, Resulting Numbers: [82, 36]
Generated Node #0,3,3: 74:[82, 36] Operation: 34+2=36
Exploring Operation: 82/2=41, Resulting Numbers: [34, 41]
Generated Node #0,3,4: 74:[34, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[34, 41], Operations: ['14-12=2', '82/2=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,74 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[34, 80], Operations: ['14-12=2', '82-2=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[82, 36], Operations: ['14-12=2', '34+2=36']
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,74 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[2, 48], Operations: ['14-12=2', '82-34=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[82, 32], Operations: ['14-12=2', '34-2=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,74 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: 74:[12, 34, 68], Operations: ['82-14=68']
Exploring Operation: 68/34=2, Resulting Numbers: [12, 2]
Generated Node #0,4,0: 74:[12, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [12, 34]
Generated Node #0,4,1: 74:[12, 34] Operation: 68-34=34
Exploring Operation: 12+68=80, Resulting Numbers: [34, 80]
Generated Node #0,4,2: 74:[34, 80] Operation: 12+68=80
Exploring Operation: 34-12=22, Resulting Numbers: [68, 22]
Generated Node #0,4,3: 74:[68, 22] Operation: 34-12=22
Exploring Operation: 12+34=46, Resulting Numbers: [68, 46]
Generated Node #0,4,4: 74:[68, 46] Operation: 12+34=46
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[34, 80], Operations: ['82-14=68', '12+68=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 74:[12, 2], Operations: ['82-14=68', '68/34=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[12, 34], Operations: ['82-14=68', '68-34=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,74 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[68, 46], Operations: ['82-14=68', '12+34=46']
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,74 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[68, 22], Operations: ['82-14=68', '34-12=22']
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,74 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,74 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: 74:[14, 34, 70], Operations: ['82-12=70']
Exploring Operation: 14+34=48, Resulting Numbers: [70, 48]
Generated Node #0,2,0: 74:[70, 48] Operation: 14+34=48
Exploring Operation: 70/14=5, Resulting Numbers: [34, 5]
Generated Node #0,2,1: 74:[34, 5] Operation: 70/14=5
Exploring Operation: 70-34=36, Resulting Numbers: [14, 36]
Generated Node #0,2,2: 74:[14, 36] Operation: 70-34=36
Exploring Operation: 14+70=84, Resulting Numbers: [34, 84]
Generated Node #0,2,3: 74:[34, 84] Operation: 14+70=84
Exploring Operation: 34-14=20, Resulting Numbers: [70, 20]
Generated Node #0,2,4: 74:[70, 20] Operation: 34-14=20
Moving to Node #0,0
Current State: 74:[34, 82, 26], Operations: ['14+12=26']
Exploring Operation: 34+26=60, Resulting Numbers: [82, 60]
Generated Node #0,0,0: 74:[82, 60] Operation: 34+26=60
Exploring Operation: 34-26=8, Resulting Numbers: [82, 8]
Generated Node #0,0,1: 74:[82, 8] Operation: 34-26=8
Exploring Operation: 82+26=108, Resulting Numbers: [34, 108]
Generated Node #0,0,2: 74:[34, 108] Operation: 82+26=108
Exploring Operation: 82-34=48, Resulting Numbers: [26, 48]
Generated Node #0,0,3: 74:[26, 48] Operation: 82-34=48
Exploring Operation: 82-26=56, Resulting Numbers: [34, 56]
Generated Node #0,0,4: 74:[34, 56] Operation: 82-26=56
Moving to Node #0,1
Current State: 74:[12, 82, 48], Operations: ['14+34=48']
Exploring Operation: 82-48=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 74:[12, 34] Operation: 82-48=34
Exploring Operation: 82-12=70, Resulting Numbers: [48, 70]
Generated Node #0,1,1: 74:[48, 70] Operation: 82-12=70
Exploring Operation: 48/12=4, Resulting Numbers: [82, 4]
Generated Node #0,1,2: 74:[82, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [82, 36]
Generated Node #0,1,3: 74:[82, 36] Operation: 48-12=36
Exploring Operation: 12+48=60, Resulting Numbers: [82, 60]
Generated Node #0,1,4: 74:[82, 60] Operation: 12+48=60
Moving to Node #0,2,1
Current State: 74:[34, 5], Operations: ['82-12=70', '70/14=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[82, 36], Operations: ['14+34=48', '48-12=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[82, 4], Operations: ['14+34=48', '48/12=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[34, 84], Operations: ['82-12=70', '14+70=84']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[12, 34], Operations: ['14+34=48', '82-48=34']
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,74 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[14, 36], Operations: ['82-12=70', '70-34=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,74 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[82, 8], Operations: ['14+12=26', '34-26=8']
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,74 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[14, 12, 34, 82], Operations: []
Exploring Operation: 14+12=26, Resulting Numbers: [34, 82, 26]
Generated Node #0,0: 74:[34, 82, 26] Operation: 14+12=26
Moving to Node #0,0
Current State: 74:[34, 82, 26], Operations: ['14+12=26']
Exploring Operation: 34-26=8, Resulting Numbers: [82, 8]
Generated Node #0,0,1: 74:[82, 8] Operation: 34-26=8
Moving to Node #0,0,1
Current State: 74:[82, 8], Operations: ['14+12=26', '34-26=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.925347 | hs_5 | mult_heuristic |
[
29,
13,
82,
6
] | 25 | [
"82-29=53",
"13*6=78",
"78-53=25"
] | Current State: 25:[29, 13, 82, 6], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [13, 6, 53]
Generated Node #2: [13, 6, 53] from Operation: 82-29=53
Current State: 25:[13, 6, 53], Operations: ['82-29=53']
Exploring Operation: 13*6=78, Resulting Numbers: [53, 78]
Generated Node #3: [53, 78] from Operation: 13*6=78
Current State: 25:[53, 78], Operations: ['82-29=53', '13*6=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[29, 13, 82, 6], Operations: []
Exploring Operation: 82-6=76, Resulting Numbers: [29, 13, 76]
Generated Node #0,0: 25:[29, 13, 76] Operation: 82-6=76
Exploring Operation: 82-29=53, Resulting Numbers: [13, 6, 53]
Generated Node #0,1: 25:[13, 6, 53] Operation: 82-29=53
Exploring Operation: 82-13=69, Resulting Numbers: [29, 6, 69]
Generated Node #0,2: 25:[29, 6, 69] Operation: 82-13=69
Exploring Operation: 13-6=7, Resulting Numbers: [29, 82, 7]
Generated Node #0,3: 25:[29, 82, 7] Operation: 13-6=7
Moving to Node #0,1
Current State: 25:[13, 6, 53], Operations: ['82-29=53']
Exploring Operation: 13-6=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 25:[53, 7] Operation: 13-6=7
Exploring Operation: 53-13=40, Resulting Numbers: [6, 40]
Generated Node #0,1,1: 25:[6, 40] Operation: 53-13=40
Exploring Operation: 13+6=19, Resulting Numbers: [53, 19]
Generated Node #0,1,2: 25:[53, 19] Operation: 13+6=19
Exploring Operation: 53-6=47, Resulting Numbers: [13, 47]
Generated Node #0,1,3: 25:[13, 47] Operation: 53-6=47
Moving to Node #0,2
Current State: 25:[29, 6, 69], Operations: ['82-13=69']
Exploring Operation: 29+6=35, Resulting Numbers: [69, 35]
Generated Node #0,2,0: 25:[69, 35] Operation: 29+6=35
Exploring Operation: 69-29=40, Resulting Numbers: [6, 40]
Generated Node #0,2,1: 25:[6, 40] Operation: 69-29=40
Exploring Operation: 29-6=23, Resulting Numbers: [69, 23]
Generated Node #0,2,2: 25:[69, 23] Operation: 29-6=23
Exploring Operation: 69-6=63, Resulting Numbers: [29, 63]
Generated Node #0,2,3: 25:[29, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[6, 40], Operations: ['82-13=69', '69-29=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,25 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[29, 63], Operations: ['82-13=69', '69-6=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,25 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[69, 23], Operations: ['82-13=69', '29-6=23']
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[69, 35], Operations: ['82-13=69', '29+6=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,25 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,25 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: 25:[29, 82, 7], Operations: ['13-6=7']
Exploring Operation: 82-29=53, Resulting Numbers: [7, 53]
Generated Node #0,3,0: 25:[7, 53] Operation: 82-29=53
Exploring Operation: 29+7=36, Resulting Numbers: [82, 36]
Generated Node #0,3,1: 25:[82, 36] Operation: 29+7=36
Exploring Operation: 29-7=22, Resulting Numbers: [82, 22]
Generated Node #0,3,2: 25:[82, 22] Operation: 29-7=22
Exploring Operation: 82-7=75, Resulting Numbers: [29, 75]
Generated Node #0,3,3: 25:[29, 75] Operation: 82-7=75
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[7, 53], Operations: ['13-6=7', '82-29=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,25 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[29, 75], Operations: ['13-6=7', '82-7=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[82, 22], Operations: ['13-6=7', '29-7=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,25 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[82, 36], Operations: ['13-6=7', '29+7=36']
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,25 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,25 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: 25:[29, 13, 76], Operations: ['82-6=76']
Exploring Operation: 76-29=47, Resulting Numbers: [13, 47]
Generated Node #0,0,0: 25:[13, 47] Operation: 76-29=47
Exploring Operation: 29+13=42, Resulting Numbers: [76, 42]
Generated Node #0,0,1: 25:[76, 42] Operation: 29+13=42
Exploring Operation: 76-13=63, Resulting Numbers: [29, 63]
Generated Node #0,0,2: 25:[29, 63] Operation: 76-13=63
Exploring Operation: 29-13=16, Resulting Numbers: [76, 16]
Generated Node #0,0,3: 25:[76, 16] Operation: 29-13=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[13, 47], Operations: ['82-6=76', '76-29=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[29, 63], Operations: ['82-6=76', '76-13=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[76, 16], Operations: ['82-6=76', '29-13=16']
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,25 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[76, 42], Operations: ['82-6=76', '29+13=42']
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,25 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 25:[6, 40], Operations: ['82-29=53', '53-13=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,25 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[13, 47], Operations: ['82-29=53', '53-6=47']
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,25 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[53, 7], Operations: ['82-29=53', '13-6=7']
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,25 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[53, 19], Operations: ['82-29=53', '13+6=19']
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,25 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,25 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
17,
27,
51
] | 62 | [
"86-27=59",
"51/17=3",
"59+3=62"
] | Current State: 62:[86, 17, 27, 51], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [17, 51, 59]
Generated Node #2: [17, 51, 59] from Operation: 86-27=59
Current State: 62:[17, 51, 59], Operations: ['86-27=59']
Exploring Operation: 51/17=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 51/17=3
Current State: 62:[59, 3], Operations: ['86-27=59', '51/17=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[86, 17, 27, 51], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [27, 51, 69]
Generated Node #0,0: 62:[27, 51, 69] Operation: 86-17=69
Moving to Node #0,0
Current State: 62:[27, 51, 69], Operations: ['86-17=69']
Exploring Operation: 51-27=24, Resulting Numbers: [69, 24]
Generated Node #0,0,0: 62:[69, 24] Operation: 51-27=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[69, 24], Operations: ['86-17=69', '51-27=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,62 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 |
[
89,
56,
7,
29
] | 58 | [
"89+56=145",
"7*29=203",
"203-145=58"
] | Current State: 58:[89, 56, 7, 29], Operations: []
Exploring Operation: 89+56=145, Resulting Numbers: [7, 29, 145]
Generated Node #2: [7, 29, 145] from Operation: 89+56=145
Current State: 58:[7, 29, 145], Operations: ['89+56=145']
Exploring Operation: 7*29=203, Resulting Numbers: [145, 203]
Generated Node #3: [145, 203] from Operation: 7*29=203
Current State: 58:[145, 203], Operations: ['89+56=145', '7*29=203']
Exploring Operation: 203-145=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[89, 56, 7, 29], Operations: []
Exploring Operation: 89-29=60, Resulting Numbers: [56, 7, 60]
Generated Node #0,0: 58:[56, 7, 60] Operation: 89-29=60
Exploring Operation: 89-56=33, Resulting Numbers: [7, 29, 33]
Generated Node #0,1: 58:[7, 29, 33] Operation: 89-56=33
Exploring Operation: 89-7=82, Resulting Numbers: [56, 29, 82]
Generated Node #0,2: 58:[56, 29, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[56, 7, 60], Operations: ['89-29=60']
Exploring Operation: 56+7=63, Resulting Numbers: [60, 63]
Generated Node #0,0,0: 58:[60, 63] Operation: 56+7=63
Exploring Operation: 60-56=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 58:[7, 4] Operation: 60-56=4
Exploring Operation: 60-7=53, Resulting Numbers: [56, 53]
Generated Node #0,0,2: 58:[56, 53] Operation: 60-7=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[60, 63], Operations: ['89-29=60', '56+7=63']
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 60*63=3780, Resulting Numbers: [3780]
3780,58 unequal: No Solution
Exploring Operation: 60+63=123, Resulting Numbers: [123]
123,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:[7, 4], Operations: ['89-29=60', '60-56=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 7*4=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,0,2
Current State: 58:[56, 53], Operations: ['89-29=60', '60-7=53']
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,58 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,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:[7, 29, 33], Operations: ['89-56=33']
Exploring Operation: 33-7=26, Resulting Numbers: [29, 26]
Generated Node #0,1,0: 58:[29, 26] Operation: 33-7=26
Exploring Operation: 33-29=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 58:[7, 4] Operation: 33-29=4
Exploring Operation: 29+33=62, Resulting Numbers: [7, 62]
Generated Node #0,1,2: 58:[7, 62] Operation: 29+33=62
Moving to Node #0,1,0
Current State: 58:[29, 26], Operations: ['89-56=33', '33-7=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[7, 4], Operations: ['89-56=33', '33-29=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[7, 62], Operations: ['89-56=33', '29+33=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[56, 29, 82], Operations: ['89-7=82']
Exploring Operation: 82-29=53, Resulting Numbers: [56, 53]
Generated Node #0,2,0: 58:[56, 53] Operation: 82-29=53
Exploring Operation: 56-29=27, Resulting Numbers: [82, 27]
Generated Node #0,2,1: 58:[82, 27] Operation: 56-29=27
Exploring Operation: 82-56=26, Resulting Numbers: [29, 26]
Generated Node #0,2,2: 58:[29, 26] Operation: 82-56=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[29, 26], Operations: ['89-7=82', '82-56=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,58 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[56, 53], Operations: ['89-7=82', '82-29=53']
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,58 unequal: No Solution
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,58 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[82, 27], Operations: ['89-7=82', '56-29=27']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,58 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,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_3 | mult_heuristic |
[
54,
92,
81,
27
] | 41 | [
"92-54=38",
"81/27=3",
"38+3=41"
] | Current State: 41:[54, 92, 81, 27], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [81, 27, 38]
Generated Node #2: [81, 27, 38] from Operation: 92-54=38
Current State: 41:[81, 27, 38], Operations: ['92-54=38']
Exploring Operation: 81/27=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 81/27=3
Current State: 41:[38, 3], Operations: ['92-54=38', '81/27=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[54, 92, 81, 27], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [81, 27, 38]
Generated Node #0,0: 41:[81, 27, 38] Operation: 92-54=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[81, 27, 38], Operations: ['92-54=38']
Exploring Operation: 81-27=54, Resulting Numbers: [38, 54]
Generated Node #0,0,0: 41:[38, 54] Operation: 81-27=54
Moving to Node #0,0,0
Current State: 41:[38, 54], Operations: ['92-54=38', '81-27=54']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
34,
64,
82
] | 67 | [
"27*82=2214",
"64+2214=2278",
"2278/34=67"
] | Current State: 67:[27, 34, 64, 82], Operations: []
Exploring Operation: 27*82=2214, Resulting Numbers: [34, 64, 2214]
Generated Node #2: [34, 64, 2214] from Operation: 27*82=2214
Current State: 67:[34, 64, 2214], Operations: ['27*82=2214']
Exploring Operation: 64+2214=2278, Resulting Numbers: [34, 2278]
Generated Node #3: [34, 2278] from Operation: 64+2214=2278
Current State: 67:[34, 2278], Operations: ['27*82=2214', '64+2214=2278']
Exploring Operation: 2278/34=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[27, 34, 64, 82], Operations: []
Exploring Operation: 82-34=48, Resulting Numbers: [27, 64, 48]
Generated Node #0,0: 67:[27, 64, 48] Operation: 82-34=48
Exploring Operation: 34-27=7, Resulting Numbers: [64, 82, 7]
Generated Node #0,1: 67:[64, 82, 7] Operation: 34-27=7
Exploring Operation: 27+34=61, Resulting Numbers: [64, 82, 61]
Generated Node #0,2: 67:[64, 82, 61] Operation: 27+34=61
Exploring Operation: 82-27=55, Resulting Numbers: [34, 64, 55]
Generated Node #0,3: 67:[34, 64, 55] Operation: 82-27=55
Exploring Operation: 27+64=91, Resulting Numbers: [34, 82, 91]
Generated Node #0,4: 67:[34, 82, 91] Operation: 27+64=91
Moving to Node #0,2
Current State: 67:[64, 82, 61], Operations: ['27+34=61']
Exploring Operation: 82-61=21, Resulting Numbers: [64, 21]
Generated Node #0,2,0: 67:[64, 21] Operation: 82-61=21
Exploring Operation: 64-61=3, Resulting Numbers: [82, 3]
Generated Node #0,2,1: 67:[82, 3] Operation: 64-61=3
Exploring Operation: 82-64=18, Resulting Numbers: [61, 18]
Generated Node #0,2,2: 67:[61, 18] Operation: 82-64=18
Exploring Operation: 64+61=125, Resulting Numbers: [82, 125]
Generated Node #0,2,3: 67:[82, 125] Operation: 64+61=125
Exploring Operation: 82+61=143, Resulting Numbers: [64, 143]
Generated Node #0,2,4: 67:[64, 143] Operation: 82+61=143
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[64, 21], Operations: ['27+34=61', '82-61=21']
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[61, 18], Operations: ['27+34=61', '82-64=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[82, 125], Operations: ['27+34=61', '64+61=125']
Exploring Operation: 82*125=10250, Resulting Numbers: [10250]
10250,67 unequal: No Solution
Exploring Operation: 82+125=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 125-82=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[82, 3], Operations: ['27+34=61', '64-61=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[64, 143], Operations: ['27+34=61', '82+61=143']
Exploring Operation: 143-64=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 64+143=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 64*143=9152, Resulting Numbers: [9152]
9152,67 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: 67:[34, 64, 55], Operations: ['82-27=55']
Exploring Operation: 34+64=98, Resulting Numbers: [55, 98]
Generated Node #0,3,0: 67:[55, 98] Operation: 34+64=98
Exploring Operation: 64-34=30, Resulting Numbers: [55, 30]
Generated Node #0,3,1: 67:[55, 30] Operation: 64-34=30
Exploring Operation: 55-34=21, Resulting Numbers: [64, 21]
Generated Node #0,3,2: 67:[64, 21] Operation: 55-34=21
Exploring Operation: 34+55=89, Resulting Numbers: [64, 89]
Generated Node #0,3,3: 67:[64, 89] Operation: 34+55=89
Exploring Operation: 64+55=119, Resulting Numbers: [34, 119]
Generated Node #0,3,4: 67:[34, 119] Operation: 64+55=119
Moving to Node #0,0
Current State: 67:[27, 64, 48], Operations: ['82-34=48']
Exploring Operation: 27+64=91, Resulting Numbers: [48, 91]
Generated Node #0,0,0: 67:[48, 91] Operation: 27+64=91
Exploring Operation: 64+48=112, Resulting Numbers: [27, 112]
Generated Node #0,0,1: 67:[27, 112] Operation: 64+48=112
Exploring Operation: 27+48=75, Resulting Numbers: [64, 75]
Generated Node #0,0,2: 67:[64, 75] Operation: 27+48=75
Exploring Operation: 48-27=21, Resulting Numbers: [64, 21]
Generated Node #0,0,3: 67:[64, 21] Operation: 48-27=21
Exploring Operation: 64-27=37, Resulting Numbers: [48, 37]
Generated Node #0,0,4: 67:[48, 37] Operation: 64-27=37
Moving to Node #0,4
Current State: 67:[34, 82, 91], Operations: ['27+64=91']
Exploring Operation: 34+91=125, Resulting Numbers: [82, 125]
Generated Node #0,4,0: 67:[82, 125] Operation: 34+91=125
Exploring Operation: 91-82=9, Resulting Numbers: [34, 9]
Generated Node #0,4,1: 67:[34, 9] Operation: 91-82=9
Exploring Operation: 34+82=116, Resulting Numbers: [91, 116]
Generated Node #0,4,2: 67:[91, 116] Operation: 34+82=116
Exploring Operation: 91-34=57, Resulting Numbers: [82, 57]
Generated Node #0,4,3: 67:[82, 57] Operation: 91-34=57
Exploring Operation: 82-34=48, Resulting Numbers: [91, 48]
Generated Node #0,4,4: 67:[91, 48] Operation: 82-34=48
Moving to Node #0,1
Current State: 67:[64, 82, 7], Operations: ['34-27=7']
Exploring Operation: 82-7=75, Resulting Numbers: [64, 75]
Generated Node #0,1,0: 67:[64, 75] Operation: 82-7=75
Exploring Operation: 64+7=71, Resulting Numbers: [82, 71]
Generated Node #0,1,1: 67:[82, 71] Operation: 64+7=71
Exploring Operation: 64-7=57, Resulting Numbers: [82, 57]
Generated Node #0,1,2: 67:[82, 57] Operation: 64-7=57
Exploring Operation: 82+7=89, Resulting Numbers: [64, 89]
Generated Node #0,1,3: 67:[64, 89] Operation: 82+7=89
Exploring Operation: 82-64=18, Resulting Numbers: [7, 18]
Generated Node #0,1,4: 67:[7, 18] Operation: 82-64=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[64, 75], Operations: ['34-27=7', '82-7=75']
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,67 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[82, 71], Operations: ['34-27=7', '64+7=71']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,67 unequal: No Solution
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[82, 57], Operations: ['34-27=7', '64-7=57']
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,67 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[64, 89], Operations: ['34-27=7', '82+7=89']
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,67 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,67 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[7, 18], Operations: ['34-27=7', '82-64=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,67 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: 67:[64, 75], Operations: ['82-34=48', '27+48=75']
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[64, 89], Operations: ['82-27=55', '34+55=89']
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,67 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[82, 57], Operations: ['27+64=91', '91-34=57']
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,67 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[48, 91], Operations: ['82-34=48', '27+64=91']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[91, 48], Operations: ['27+64=91', '82-34=48']
Exploring Operation: 91+48=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 91*48=4368, Resulting Numbers: [4368]
4368,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[55, 98], Operations: ['82-27=55', '34+64=98']
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,67 unequal: No Solution
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,67 unequal: No Solution
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[55, 30], Operations: ['82-27=55', '64-34=30']
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,67 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[64, 21], Operations: ['82-27=55', '55-34=21']
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[48, 37], Operations: ['82-34=48', '64-27=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,67 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[64, 21], Operations: ['82-34=48', '48-27=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[91, 116], Operations: ['27+64=91', '34+82=116']
Exploring Operation: 91*116=10556, Resulting Numbers: [10556]
10556,67 unequal: No Solution
Exploring Operation: 116-91=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 91+116=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[82, 125], Operations: ['27+64=91', '34+91=125']
Exploring Operation: 82*125=10250, Resulting Numbers: [10250]
10250,67 unequal: No Solution
Exploring Operation: 125-82=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 82+125=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[27, 112], Operations: ['82-34=48', '64+48=112']
Exploring Operation: 27+112=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 27*112=3024, Resulting Numbers: [3024]
3024,67 unequal: No Solution
Exploring Operation: 112-27=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[34, 119], Operations: ['82-27=55', '64+55=119']
Exploring Operation: 119-34=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 34+119=153, Resulting Numbers: [153]
153,67 unequal: No Solution
Exploring Operation: 34*119=4046, Resulting Numbers: [4046]
4046,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[34, 9], Operations: ['27+64=91', '91-82=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
4,
25,
7,
85
] | 99 | [
"25-4=21",
"85-7=78",
"21+78=99"
] | Current State: 99:[4, 25, 7, 85], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [7, 85, 21]
Generated Node #2: [7, 85, 21] from Operation: 25-4=21
Current State: 99:[7, 85, 21], Operations: ['25-4=21']
Exploring Operation: 85-7=78, Resulting Numbers: [21, 78]
Generated Node #3: [21, 78] from Operation: 85-7=78
Current State: 99:[21, 78], Operations: ['25-4=21', '85-7=78']
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[4, 25, 7, 85], Operations: []
Exploring Operation: 7+85=92, Resulting Numbers: [4, 25, 92]
Generated Node #0,0: 99:[4, 25, 92] Operation: 7+85=92
Exploring Operation: 25+7=32, Resulting Numbers: [4, 85, 32]
Generated Node #0,1: 99:[4, 85, 32] Operation: 25+7=32
Exploring Operation: 25+85=110, Resulting Numbers: [4, 7, 110]
Generated Node #0,2: 99:[4, 7, 110] Operation: 25+85=110
Moving to Node #0,2
Current State: 99:[4, 7, 110], Operations: ['25+85=110']
Exploring Operation: 4+7=11, Resulting Numbers: [110, 11]
Generated Node #0,2,0: 99:[110, 11] Operation: 4+7=11
Exploring Operation: 110-7=103, Resulting Numbers: [4, 103]
Generated Node #0,2,1: 99:[4, 103] Operation: 110-7=103
Exploring Operation: 110-4=106, Resulting Numbers: [7, 106]
Generated Node #0,2,2: 99:[7, 106] Operation: 110-4=106
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[4, 103], Operations: ['25+85=110', '110-7=103']
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[4, 25, 7, 85], Operations: []
Exploring Operation: 25+85=110, Resulting Numbers: [4, 7, 110]
Generated Node #0,2: 99:[4, 7, 110] Operation: 25+85=110
Moving to Node #0,2
Current State: 99:[4, 7, 110], Operations: ['25+85=110']
Exploring Operation: 110-7=103, Resulting Numbers: [4, 103]
Generated Node #0,2,1: 99:[4, 103] Operation: 110-7=103
Moving to Node #0,2,1
Current State: 99:[4, 103], Operations: ['25+85=110', '110-7=103']
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
42,
61,
93,
8
] | 18 | [
"42+61=103",
"93-8=85",
"103-85=18"
] | Current State: 18:[42, 61, 93, 8], Operations: []
Exploring Operation: 42+61=103, Resulting Numbers: [93, 8, 103]
Generated Node #2: [93, 8, 103] from Operation: 42+61=103
Current State: 18:[93, 8, 103], Operations: ['42+61=103']
Exploring Operation: 93-8=85, Resulting Numbers: [103, 85]
Generated Node #3: [103, 85] from Operation: 93-8=85
Current State: 18:[103, 85], Operations: ['42+61=103', '93-8=85']
Exploring Operation: 103-85=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[42, 61, 93, 8], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [61, 8, 51]
Generated Node #0,0: 18:[61, 8, 51] Operation: 93-42=51
Exploring Operation: 93-61=32, Resulting Numbers: [42, 8, 32]
Generated Node #0,1: 18:[42, 8, 32] Operation: 93-61=32
Exploring Operation: 61-42=19, Resulting Numbers: [93, 8, 19]
Generated Node #0,2: 18:[93, 8, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[42, 8, 32], Operations: ['93-61=32']
Exploring Operation: 42-32=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 18:[8, 10] Operation: 42-32=10
Exploring Operation: 32/8=4, Resulting Numbers: [42, 4]
Generated Node #0,1,1: 18:[42, 4] Operation: 32/8=4
Exploring Operation: 42-8=34, Resulting Numbers: [32, 34]
Generated Node #0,1,2: 18:[32, 34] Operation: 42-8=34
Moving to Node #0,1,0
Current State: 18:[8, 10], Operations: ['93-61=32', '42-32=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[42, 61, 93, 8], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [42, 8, 32]
Generated Node #0,1: 18:[42, 8, 32] Operation: 93-61=32
Moving to Node #0,1
Current State: 18:[42, 8, 32], Operations: ['93-61=32']
Exploring Operation: 42-32=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 18:[8, 10] Operation: 42-32=10
Moving to Node #0,1,0
Current State: 18:[8, 10], Operations: ['93-61=32', '42-32=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
78,
96,
31,
32
] | 45 | [
"96-78=18",
"31+32=63",
"63-18=45"
] | Current State: 45:[78, 96, 31, 32], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [31, 32, 18]
Generated Node #2: [31, 32, 18] from Operation: 96-78=18
Current State: 45:[31, 32, 18], Operations: ['96-78=18']
Exploring Operation: 31+32=63, Resulting Numbers: [18, 63]
Generated Node #3: [18, 63] from Operation: 31+32=63
Current State: 45:[18, 63], Operations: ['96-78=18', '31+32=63']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[78, 96, 31, 32], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [31, 32, 18]
Generated Node #0,0: 45:[31, 32, 18] Operation: 96-78=18
Moving to Node #0,0
Current State: 45:[31, 32, 18], Operations: ['96-78=18']
Exploring Operation: 32-31=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 45:[18, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[18, 1], Operations: ['96-78=18', '32-31=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,45 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 |
[
20,
83,
8,
95
] | 80 | [
"83+8=91",
"95-91=4",
"20*4=80"
] | Current State: 80:[20, 83, 8, 95], Operations: []
Exploring Operation: 83+8=91, Resulting Numbers: [20, 95, 91]
Generated Node #2: [20, 95, 91] from Operation: 83+8=91
Current State: 80:[20, 95, 91], Operations: ['83+8=91']
Exploring Operation: 95-91=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 95-91=4
Current State: 80:[20, 4], Operations: ['83+8=91', '95-91=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[20, 83, 8, 95], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [20, 8, 12]
Generated Node #0,0: 80:[20, 8, 12] Operation: 95-83=12
Exploring Operation: 95-20=75, Resulting Numbers: [83, 8, 75]
Generated Node #0,1: 80:[83, 8, 75] Operation: 95-20=75
Exploring Operation: 20-8=12, Resulting Numbers: [83, 95, 12]
Generated Node #0,2: 80:[83, 95, 12] Operation: 20-8=12
Exploring Operation: 83-8=75, Resulting Numbers: [20, 95, 75]
Generated Node #0,3: 80:[20, 95, 75] Operation: 83-8=75
Exploring Operation: 95-8=87, Resulting Numbers: [20, 83, 87]
Generated Node #0,4: 80:[20, 83, 87] Operation: 95-8=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[20, 8, 12], Operations: ['95-83=12']
Exploring Operation: 20+12=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 80:[8, 32] Operation: 20+12=32
Exploring Operation: 8+12=20, Resulting Numbers: [20, 20]
Generated Node #0,0,1: 80:[20, 20] Operation: 8+12=20
Exploring Operation: 20-8=12, Resulting Numbers: [12, 12]
Generated Node #0,0,2: 80:[12, 12] Operation: 20-8=12
Exploring Operation: 20-12=8, Resulting Numbers: [8, 8]
Generated Node #0,0,3: 80:[8, 8] Operation: 20-12=8
Exploring Operation: 12-8=4, Resulting Numbers: [20, 4]
Generated Node #0,0,4: 80:[20, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[20, 20], Operations: ['95-83=12', '8+12=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,80 unequal: No Solution
No 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: 80:[8, 8], Operations: ['95-83=12', '20-12=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No 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: 80:[20, 4], Operations: ['95-83=12', '12-8=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[20, 83, 8, 95], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [20, 8, 12]
Generated Node #0,0: 80:[20, 8, 12] Operation: 95-83=12
Moving to Node #0,0
Current State: 80:[20, 8, 12], Operations: ['95-83=12']
Exploring Operation: 12-8=4, Resulting Numbers: [20, 4]
Generated Node #0,0,4: 80:[20, 4] Operation: 12-8=4
Moving to Node #0,0,4
Current State: 80:[20, 4], Operations: ['95-83=12', '12-8=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
1,
97,
3,
9
] | 73 | [
"9-1=8",
"3*8=24",
"97-24=73"
] | Current State: 73:[1, 97, 3, 9], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [97, 3, 8]
Generated Node #2: [97, 3, 8] from Operation: 9-1=8
Current State: 73:[97, 3, 8], Operations: ['9-1=8']
Exploring Operation: 3*8=24, Resulting Numbers: [97, 24]
Generated Node #3: [97, 24] from Operation: 3*8=24
Current State: 73:[97, 24], Operations: ['9-1=8', '3*8=24']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[1, 97, 3, 9], Operations: []
Exploring Operation: 1+3=4, Resulting Numbers: [97, 9, 4]
Generated Node #0,0: 73:[97, 9, 4] Operation: 1+3=4
Exploring Operation: 97-1=96, Resulting Numbers: [3, 9, 96]
Generated Node #0,1: 73:[3, 9, 96] Operation: 97-1=96
Exploring Operation: 1+9=10, Resulting Numbers: [97, 3, 10]
Generated Node #0,2: 73:[97, 3, 10] Operation: 1+9=10
Exploring Operation: 97-3=94, Resulting Numbers: [1, 9, 94]
Generated Node #0,3: 73:[1, 9, 94] Operation: 97-3=94
Exploring Operation: 3*9=27, Resulting Numbers: [1, 97, 27]
Generated Node #0,4: 73:[1, 97, 27] Operation: 3*9=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[1, 97, 27], Operations: ['3*9=27']
Exploring Operation: 1*97=97, Resulting Numbers: [27, 97]
Generated Node #0,4,0: 73:[27, 97] Operation: 1*97=97
Exploring Operation: 1*27=27, Resulting Numbers: [97, 27]
Generated Node #0,4,1: 73:[97, 27] Operation: 1*27=27
Exploring Operation: 97-1=96, Resulting Numbers: [27, 96]
Generated Node #0,4,2: 73:[27, 96] Operation: 97-1=96
Exploring Operation: 97/1=97, Resulting Numbers: [27, 97]
Generated Node #0,4,3: 73:[27, 97] Operation: 97/1=97
Exploring Operation: 1+27=28, Resulting Numbers: [97, 28]
Generated Node #0,4,4: 73:[97, 28] Operation: 1+27=28
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 73:[27, 96], Operations: ['3*9=27', '97-1=96']
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 73:[97, 28], Operations: ['3*9=27', '1+27=28']
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,73 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 73:[27, 97], Operations: ['3*9=27', '1*97=97']
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 27*97=2619, Resulting Numbers: [2619]
2619,73 unequal: No Solution
Exploring Operation: 27+97=124, Resulting Numbers: [124]
124,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 73:[97, 27], Operations: ['3*9=27', '1*27=27']
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,73 unequal: No Solution
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 73:[27, 97], Operations: ['3*9=27', '97/1=97']
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 27+97=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 27*97=2619, Resulting Numbers: [2619]
2619,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[97, 9, 4], Operations: ['1+3=4']
Exploring Operation: 97+4=101, Resulting Numbers: [9, 101]
Generated Node #0,0,0: 73:[9, 101] Operation: 97+4=101
Exploring Operation: 9*4=36, Resulting Numbers: [97, 36]
Generated Node #0,0,1: 73:[97, 36] Operation: 9*4=36
Exploring Operation: 97-9=88, Resulting Numbers: [4, 88]
Generated Node #0,0,2: 73:[4, 88] Operation: 97-9=88
Exploring Operation: 9+4=13, Resulting Numbers: [97, 13]
Generated Node #0,0,3: 73:[97, 13] Operation: 9+4=13
Exploring Operation: 97-4=93, Resulting Numbers: [9, 93]
Generated Node #0,0,4: 73:[9, 93] Operation: 97-4=93
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[97, 36], Operations: ['1+3=4', '9*4=36']
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 97*36=3492, Resulting Numbers: [3492]
3492,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[4, 88], Operations: ['1+3=4', '97-9=88']
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,73 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[97, 13], Operations: ['1+3=4', '9+4=13']
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,73 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[9, 93], Operations: ['1+3=4', '97-4=93']
Exploring Operation: 9+93=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 9*93=837, Resulting Numbers: [837]
837,73 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[9, 101], Operations: ['1+3=4', '97+4=101']
Exploring Operation: 9+101=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 9*101=909, Resulting Numbers: [909]
909,73 unequal: No Solution
Exploring Operation: 101-9=92, Resulting Numbers: [92]
92,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[3, 9, 96], Operations: ['97-1=96']
Exploring Operation: 3+9=12, Resulting Numbers: [96, 12]
Generated Node #0,1,0: 73:[96, 12] Operation: 3+9=12
Exploring Operation: 9-3=6, Resulting Numbers: [96, 6]
Generated Node #0,1,1: 73:[96, 6] Operation: 9-3=6
Exploring Operation: 3*9=27, Resulting Numbers: [96, 27]
Generated Node #0,1,2: 73:[96, 27] Operation: 3*9=27
Exploring Operation: 96-3=93, Resulting Numbers: [9, 93]
Generated Node #0,1,3: 73:[9, 93] Operation: 96-3=93
Exploring Operation: 96-9=87, Resulting Numbers: [3, 87]
Generated Node #0,1,4: 73:[3, 87] Operation: 96-9=87
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[96, 27], Operations: ['97-1=96', '3*9=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,73 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[96, 12], Operations: ['97-1=96', '3+9=12']
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[9, 93], Operations: ['97-1=96', '96-3=93']
Exploring Operation: 9*93=837, Resulting Numbers: [837]
837,73 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 9+93=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[3, 87], Operations: ['97-1=96', '96-9=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[96, 6], Operations: ['97-1=96', '9-3=6']
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[97, 3, 10], Operations: ['1+9=10']
Exploring Operation: 3+10=13, Resulting Numbers: [97, 13]
Generated Node #0,2,0: 73:[97, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [97, 30]
Generated Node #0,2,1: 73:[97, 30] Operation: 3*10=30
Exploring Operation: 97-10=87, Resulting Numbers: [3, 87]
Generated Node #0,2,2: 73:[3, 87] Operation: 97-10=87
Exploring Operation: 97+3=100, Resulting Numbers: [10, 100]
Generated Node #0,2,3: 73:[10, 100] Operation: 97+3=100
Exploring Operation: 97-3=94, Resulting Numbers: [10, 94]
Generated Node #0,2,4: 73:[10, 94] Operation: 97-3=94
Moving to Node #0,2,1
Current State: 73:[97, 30], Operations: ['1+9=10', '3*10=30']
Exploring Operation: 97*30=2910, Resulting Numbers: [2910]
2910,73 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 97+30=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[3, 87], Operations: ['1+9=10', '97-10=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[97, 13], Operations: ['1+9=10', '3+10=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,73 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[10, 94], Operations: ['1+9=10', '97-3=94']
Exploring Operation: 10*94=940, Resulting Numbers: [940]
940,73 unequal: No Solution
Exploring Operation: 10+94=104, Resulting Numbers: [104]
104,73 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[10, 100], Operations: ['1+9=10', '97+3=100']
Exploring Operation: 10+100=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 10*100=1000, Resulting Numbers: [1000]
1000,73 unequal: No Solution
Exploring Operation: 100-10=90, Resulting Numbers: [90]
90,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[1, 9, 94], Operations: ['97-3=94']
Exploring Operation: 9/1=9, Resulting Numbers: [94, 9]
Generated Node #0,3,0: 73:[94, 9] Operation: 9/1=9
Exploring Operation: 94-1=93, Resulting Numbers: [9, 93]
Generated Node #0,3,1: 73:[9, 93] Operation: 94-1=93
Exploring Operation: 1*9=9, Resulting Numbers: [94, 9]
Generated Node #0,3,2: 73:[94, 9] Operation: 1*9=9
Exploring Operation: 1+9=10, Resulting Numbers: [94, 10]
Generated Node #0,3,3: 73:[94, 10] Operation: 1+9=10
Exploring Operation: 94-9=85, Resulting Numbers: [1, 85]
Generated Node #0,3,4: 73:[1, 85] Operation: 94-9=85
Moving to Node #0,3,1
Current State: 73:[9, 93], Operations: ['97-3=94', '94-1=93']
Exploring Operation: 9+93=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 9*93=837, Resulting Numbers: [837]
837,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[1, 85], Operations: ['97-3=94', '94-9=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,73 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[94, 10], Operations: ['97-3=94', '1+9=10']
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,73 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[94, 9], Operations: ['97-3=94', '9/1=9']
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,73 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[94, 9], Operations: ['97-3=94', '1*9=9']
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,73 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,73 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 |
[
90,
35,
2,
18
] | 92 | [
"90-35=55",
"2*55=110",
"110-18=92"
] | Current State: 92:[90, 35, 2, 18], Operations: []
Exploring Operation: 90-35=55, Resulting Numbers: [2, 18, 55]
Generated Node #2: [2, 18, 55] from Operation: 90-35=55
Current State: 92:[2, 18, 55], Operations: ['90-35=55']
Exploring Operation: 2*55=110, Resulting Numbers: [18, 110]
Generated Node #3: [18, 110] from Operation: 2*55=110
Current State: 92:[18, 110], Operations: ['90-35=55', '2*55=110']
Exploring Operation: 110-18=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[90, 35, 2, 18], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [35, 2, 5]
Generated Node #0,0: 92:[35, 2, 5] Operation: 90/18=5
Exploring Operation: 35-18=17, Resulting Numbers: [90, 2, 17]
Generated Node #0,1: 92:[90, 2, 17] Operation: 35-18=17
Exploring Operation: 35+18=53, Resulting Numbers: [90, 2, 53]
Generated Node #0,2: 92:[90, 2, 53] Operation: 35+18=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[90, 2, 17], Operations: ['35-18=17']
Exploring Operation: 90+2=92, Resulting Numbers: [17, 92]
Generated Node #0,1,0: 92:[17, 92] Operation: 90+2=92
Exploring Operation: 2+17=19, Resulting Numbers: [90, 19]
Generated Node #0,1,1: 92:[90, 19] Operation: 2+17=19
Exploring Operation: 90/2=45, Resulting Numbers: [17, 45]
Generated Node #0,1,2: 92:[17, 45] Operation: 90/2=45
Moving to Node #0,1,0
Current State: 92:[17, 92], Operations: ['35-18=17', '90+2=92']
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,92 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,92 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[90, 19], Operations: ['35-18=17', '2+17=19']
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,92 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[17, 45], Operations: ['35-18=17', '90/2=45']
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,92 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[90, 2, 53], Operations: ['35+18=53']
Exploring Operation: 90+2=92, Resulting Numbers: [53, 92]
Generated Node #0,2,0: 92:[53, 92] Operation: 90+2=92
Exploring Operation: 90/2=45, Resulting Numbers: [53, 45]
Generated Node #0,2,1: 92:[53, 45] Operation: 90/2=45
Exploring Operation: 53-2=51, Resulting Numbers: [90, 51]
Generated Node #0,2,2: 92:[90, 51] Operation: 53-2=51
Moving to Node #0,2,0
Current State: 92:[53, 92], Operations: ['35+18=53', '90+2=92']
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,92 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[90, 51], Operations: ['35+18=53', '53-2=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,92 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[53, 45], Operations: ['35+18=53', '90/2=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,92 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[35, 2, 5], Operations: ['90/18=5']
Exploring Operation: 35+5=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 92:[2, 40] Operation: 35+5=40
Exploring Operation: 35-5=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 92:[2, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 92:[2, 7] Operation: 35/5=7
Moving to Node #0,0,2
Current State: 92:[2, 7], Operations: ['90/18=5', '35/5=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[2, 40], Operations: ['90/18=5', '35+5=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[2, 30], Operations: ['90/18=5', '35-5=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,92 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 |
[
78,
20,
34,
26
] | 82 | [
"78*34=2652",
"2652/26=102",
"102-20=82"
] | Current State: 82:[78, 20, 34, 26], Operations: []
Exploring Operation: 78*34=2652, Resulting Numbers: [20, 26, 2652]
Generated Node #2: [20, 26, 2652] from Operation: 78*34=2652
Current State: 82:[20, 26, 2652], Operations: ['78*34=2652']
Exploring Operation: 2652/26=102, Resulting Numbers: [20, 102]
Generated Node #3: [20, 102] from Operation: 2652/26=102
Current State: 82:[20, 102], Operations: ['78*34=2652', '2652/26=102']
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[78, 20, 34, 26], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [78, 26, 14]
Generated Node #0,0: 82:[78, 26, 14] Operation: 34-20=14
Exploring Operation: 78/26=3, Resulting Numbers: [20, 34, 3]
Generated Node #0,1: 82:[20, 34, 3] Operation: 78/26=3
Exploring Operation: 26-20=6, Resulting Numbers: [78, 34, 6]
Generated Node #0,2: 82:[78, 34, 6] Operation: 26-20=6
Exploring Operation: 20+26=46, Resulting Numbers: [78, 34, 46]
Generated Node #0,3: 82:[78, 34, 46] Operation: 20+26=46
Exploring Operation: 34-26=8, Resulting Numbers: [78, 20, 8]
Generated Node #0,4: 82:[78, 20, 8] Operation: 34-26=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[78, 34, 6], Operations: ['26-20=6']
Exploring Operation: 34-6=28, Resulting Numbers: [78, 28]
Generated Node #0,2,0: 82:[78, 28] Operation: 34-6=28
Exploring Operation: 34+6=40, Resulting Numbers: [78, 40]
Generated Node #0,2,1: 82:[78, 40] Operation: 34+6=40
Exploring Operation: 78-6=72, Resulting Numbers: [34, 72]
Generated Node #0,2,2: 82:[34, 72] Operation: 78-6=72
Exploring Operation: 78+6=84, Resulting Numbers: [34, 84]
Generated Node #0,2,3: 82:[34, 84] Operation: 78+6=84
Exploring Operation: 78-34=44, Resulting Numbers: [6, 44]
Generated Node #0,2,4: 82:[6, 44] Operation: 78-34=44
Moving to Node #0,2,1
Current State: 82:[78, 40], Operations: ['26-20=6', '34+6=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,82 unequal: No Solution
Moving to Node #0,2,4
Current State: 82:[6, 44], Operations: ['26-20=6', '78-34=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,82 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[34, 84], Operations: ['26-20=6', '78+6=84']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[78, 28], Operations: ['26-20=6', '34-6=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,82 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[34, 72], Operations: ['26-20=6', '78-6=72']
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,82 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[78, 34, 46], Operations: ['20+26=46']
Exploring Operation: 34+46=80, Resulting Numbers: [78, 80]
Generated Node #0,3,0: 82:[78, 80] Operation: 34+46=80
Exploring Operation: 78-34=44, Resulting Numbers: [46, 44]
Generated Node #0,3,1: 82:[46, 44] Operation: 78-34=44
Exploring Operation: 78-46=32, Resulting Numbers: [34, 32]
Generated Node #0,3,2: 82:[34, 32] Operation: 78-46=32
Exploring Operation: 78+34=112, Resulting Numbers: [46, 112]
Generated Node #0,3,3: 82:[46, 112] Operation: 78+34=112
Exploring Operation: 46-34=12, Resulting Numbers: [78, 12]
Generated Node #0,3,4: 82:[78, 12] Operation: 46-34=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[78, 80], Operations: ['20+26=46', '34+46=80']
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,82 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[46, 44], Operations: ['20+26=46', '78-34=44']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 82:[78, 12], Operations: ['20+26=46', '46-34=12']
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,82 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[34, 32], Operations: ['20+26=46', '78-46=32']
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,82 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[46, 112], Operations: ['20+26=46', '78+34=112']
Exploring Operation: 112-46=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 46*112=5152, Resulting Numbers: [5152]
5152,82 unequal: No Solution
Exploring Operation: 46+112=158, Resulting Numbers: [158]
158,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[20, 34, 3], Operations: ['78/26=3']
Exploring Operation: 34+3=37, Resulting Numbers: [20, 37]
Generated Node #0,1,0: 82:[20, 37] Operation: 34+3=37
Exploring Operation: 34-20=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 82:[3, 14] Operation: 34-20=14
Exploring Operation: 20+3=23, Resulting Numbers: [34, 23]
Generated Node #0,1,2: 82:[34, 23] Operation: 20+3=23
Exploring Operation: 20+34=54, Resulting Numbers: [3, 54]
Generated Node #0,1,3: 82:[3, 54] Operation: 20+34=54
Exploring Operation: 20-3=17, Resulting Numbers: [34, 17]
Generated Node #0,1,4: 82:[34, 17] Operation: 20-3=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[3, 14], Operations: ['78/26=3', '34-20=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[3, 54], Operations: ['78/26=3', '20+34=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,82 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[20, 37], Operations: ['78/26=3', '34+3=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,82 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[34, 17], Operations: ['78/26=3', '20-3=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,82 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[34, 23], Operations: ['78/26=3', '20+3=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,82 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[78, 20, 8], Operations: ['34-26=8']
Exploring Operation: 20-8=12, Resulting Numbers: [78, 12]
Generated Node #0,4,0: 82:[78, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [78, 28]
Generated Node #0,4,1: 82:[78, 28] Operation: 20+8=28
Exploring Operation: 78-20=58, Resulting Numbers: [8, 58]
Generated Node #0,4,2: 82:[8, 58] Operation: 78-20=58
Exploring Operation: 78+20=98, Resulting Numbers: [8, 98]
Generated Node #0,4,3: 82:[8, 98] Operation: 78+20=98
Exploring Operation: 78+8=86, Resulting Numbers: [20, 86]
Generated Node #0,4,4: 82:[20, 86] Operation: 78+8=86
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[78, 12], Operations: ['34-26=8', '20-8=12']
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,82 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[78, 28], Operations: ['34-26=8', '20+8=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 82:[8, 98], Operations: ['34-26=8', '78+20=98']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,82 unequal: No Solution
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[20, 86], Operations: ['34-26=8', '78+8=86']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,82 unequal: No Solution
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 82:[8, 58], Operations: ['34-26=8', '78-20=58']
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,82 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[78, 26, 14], Operations: ['34-20=14']
Exploring Operation: 26+14=40, Resulting Numbers: [78, 40]
Generated Node #0,0,0: 82:[78, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [78, 12]
Generated Node #0,0,1: 82:[78, 12] Operation: 26-14=12
Exploring Operation: 78-26=52, Resulting Numbers: [14, 52]
Generated Node #0,0,2: 82:[14, 52] Operation: 78-26=52
Exploring Operation: 78+14=92, Resulting Numbers: [26, 92]
Generated Node #0,0,3: 82:[26, 92] Operation: 78+14=92
Exploring Operation: 78/26=3, Resulting Numbers: [14, 3]
Generated Node #0,0,4: 82:[14, 3] Operation: 78/26=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[78, 40], Operations: ['34-20=14', '26+14=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,82 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[14, 3], Operations: ['34-20=14', '78/26=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[78, 12], Operations: ['34-20=14', '26-14=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,82 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[14, 52], Operations: ['34-20=14', '78-26=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,82 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[26, 92], Operations: ['34-20=14', '78+14=92']
Exploring Operation: 26*92=2392, Resulting Numbers: [2392]
2392,82 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 26+92=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
78,
93,
92,
88
] | 70 | [
"92-78=14",
"93-88=5",
"14*5=70"
] | Current State: 70:[78, 93, 92, 88], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [93, 88, 14]
Generated Node #2: [93, 88, 14] from Operation: 92-78=14
Current State: 70:[93, 88, 14], Operations: ['92-78=14']
Exploring Operation: 93-88=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 93-88=5
Current State: 70:[14, 5], Operations: ['92-78=14', '93-88=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[78, 93, 92, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [78, 93, 4]
Generated Node #0,0: 70:[78, 93, 4] Operation: 92-88=4
Exploring Operation: 93-92=1, Resulting Numbers: [78, 88, 1]
Generated Node #0,1: 70:[78, 88, 1] Operation: 93-92=1
Exploring Operation: 93-88=5, Resulting Numbers: [78, 92, 5]
Generated Node #0,2: 70:[78, 92, 5] Operation: 93-88=5
Moving to Node #0,1
Current State: 70:[78, 88, 1], Operations: ['93-92=1']
Exploring Operation: 88-1=87, Resulting Numbers: [78, 87]
Generated Node #0,1,0: 70:[78, 87] Operation: 88-1=87
Exploring Operation: 78-1=77, Resulting Numbers: [88, 77]
Generated Node #0,1,1: 70:[88, 77] Operation: 78-1=77
Exploring Operation: 88-78=10, Resulting Numbers: [1, 10]
Generated Node #0,1,2: 70:[1, 10] Operation: 88-78=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[1, 10], Operations: ['93-92=1', '88-78=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[78, 87], Operations: ['93-92=1', '88-1=87']
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,70 unequal: No Solution
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[88, 77], Operations: ['93-92=1', '78-1=77']
Exploring Operation: 88+77=165, Resulting Numbers: [165]
165,70 unequal: No Solution
Exploring Operation: 88*77=6776, Resulting Numbers: [6776]
6776,70 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,70 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: 70:[78, 92, 5], Operations: ['93-88=5']
Exploring Operation: 92-78=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 70:[5, 14] Operation: 92-78=14
Exploring Operation: 78-5=73, Resulting Numbers: [92, 73]
Generated Node #0,2,1: 70:[92, 73] Operation: 78-5=73
Exploring Operation: 92-5=87, Resulting Numbers: [78, 87]
Generated Node #0,2,2: 70:[78, 87] Operation: 92-5=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[5, 14], Operations: ['93-88=5', '92-78=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[78, 93, 92, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [78, 92, 5]
Generated Node #0,2: 70:[78, 92, 5] Operation: 93-88=5
Moving to Node #0,2
Current State: 70:[78, 92, 5], Operations: ['93-88=5']
Exploring Operation: 92-78=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 70:[5, 14] Operation: 92-78=14
Moving to Node #0,2,0
Current State: 70:[5, 14], Operations: ['93-88=5', '92-78=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
14,
46,
4,
27
] | 37 | [
"14+46=60",
"27-4=23",
"60-23=37"
] | Current State: 37:[14, 46, 4, 27], Operations: []
Exploring Operation: 14+46=60, Resulting Numbers: [4, 27, 60]
Generated Node #2: [4, 27, 60] from Operation: 14+46=60
Current State: 37:[4, 27, 60], Operations: ['14+46=60']
Exploring Operation: 27-4=23, Resulting Numbers: [60, 23]
Generated Node #3: [60, 23] from Operation: 27-4=23
Current State: 37:[60, 23], Operations: ['14+46=60', '27-4=23']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[14, 46, 4, 27], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [46, 27, 18]
Generated Node #0,0: 37:[46, 27, 18] Operation: 14+4=18
Exploring Operation: 4+27=31, Resulting Numbers: [14, 46, 31]
Generated Node #0,1: 37:[14, 46, 31] Operation: 4+27=31
Exploring Operation: 46-4=42, Resulting Numbers: [14, 27, 42]
Generated Node #0,2: 37:[14, 27, 42] Operation: 46-4=42
Exploring Operation: 14*4=56, Resulting Numbers: [46, 27, 56]
Generated Node #0,3: 37:[46, 27, 56] Operation: 14*4=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[46, 27, 18], Operations: ['14+4=18']
Exploring Operation: 27+18=45, Resulting Numbers: [46, 45]
Generated Node #0,0,0: 37:[46, 45] Operation: 27+18=45
Exploring Operation: 46+18=64, Resulting Numbers: [27, 64]
Generated Node #0,0,1: 37:[27, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [27, 28]
Generated Node #0,0,2: 37:[27, 28] Operation: 46-18=28
Exploring Operation: 46-27=19, Resulting Numbers: [18, 19]
Generated Node #0,0,3: 37:[18, 19] Operation: 46-27=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[46, 45], Operations: ['14+4=18', '27+18=45']
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,37 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[27, 28], Operations: ['14+4=18', '46-18=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[27, 64], Operations: ['14+4=18', '46+18=64']
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,37 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[14, 46, 4, 27], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [46, 27, 18]
Generated Node #0,0: 37:[46, 27, 18] Operation: 14+4=18
Moving to Node #0,0
Current State: 37:[46, 27, 18], Operations: ['14+4=18']
Exploring Operation: 46+18=64, Resulting Numbers: [27, 64]
Generated Node #0,0,1: 37:[27, 64] Operation: 46+18=64
Moving to Node #0,0,1
Current State: 37:[27, 64], Operations: ['14+4=18', '46+18=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
73,
88,
52,
59
] | 10 | [
"73-59=14",
"88+52=140",
"140/14=10"
] | Current State: 10:[73, 88, 52, 59], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [88, 52, 14]
Generated Node #2: [88, 52, 14] from Operation: 73-59=14
Current State: 10:[88, 52, 14], Operations: ['73-59=14']
Exploring Operation: 88+52=140, Resulting Numbers: [14, 140]
Generated Node #3: [14, 140] from Operation: 88+52=140
Current State: 10:[14, 140], Operations: ['73-59=14', '88+52=140']
Exploring Operation: 140/14=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[73, 88, 52, 59], Operations: []
Exploring Operation: 88-59=29, Resulting Numbers: [73, 52, 29]
Generated Node #0,0: 10:[73, 52, 29] Operation: 88-59=29
Exploring Operation: 73-59=14, Resulting Numbers: [88, 52, 14]
Generated Node #0,1: 10:[88, 52, 14] Operation: 73-59=14
Exploring Operation: 88-73=15, Resulting Numbers: [52, 59, 15]
Generated Node #0,2: 10:[52, 59, 15] Operation: 88-73=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[52, 59, 15], Operations: ['88-73=15']
Exploring Operation: 59-15=44, Resulting Numbers: [52, 44]
Generated Node #0,2,0: 10:[52, 44] Operation: 59-15=44
Exploring Operation: 52-15=37, Resulting Numbers: [59, 37]
Generated Node #0,2,1: 10:[59, 37] Operation: 52-15=37
Exploring Operation: 59-52=7, Resulting Numbers: [15, 7]
Generated Node #0,2,2: 10:[15, 7] Operation: 59-52=7
Moving to Node #0,2,2
Current State: 10:[15, 7], Operations: ['88-73=15', '59-52=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[52, 44], Operations: ['88-73=15', '59-15=44']
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,10 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[59, 37], Operations: ['88-73=15', '52-15=37']
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,10 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[73, 52, 29], Operations: ['88-59=29']
Exploring Operation: 73-52=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 10:[29, 21] Operation: 73-52=21
Exploring Operation: 52-29=23, Resulting Numbers: [73, 23]
Generated Node #0,0,1: 10:[73, 23] Operation: 52-29=23
Exploring Operation: 73-29=44, Resulting Numbers: [52, 44]
Generated Node #0,0,2: 10:[52, 44] Operation: 73-29=44
Moving to Node #0,0,0
Current State: 10:[29, 21], Operations: ['88-59=29', '73-52=21']
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,10 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[73, 23], Operations: ['88-59=29', '52-29=23']
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[52, 44], Operations: ['88-59=29', '73-29=44']
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,10 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No 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: 10:[88, 52, 14], Operations: ['73-59=14']
Exploring Operation: 88-14=74, Resulting Numbers: [52, 74]
Generated Node #0,1,0: 10:[52, 74] Operation: 88-14=74
Exploring Operation: 88-52=36, Resulting Numbers: [14, 36]
Generated Node #0,1,1: 10:[14, 36] Operation: 88-52=36
Exploring Operation: 52-14=38, Resulting Numbers: [88, 38]
Generated Node #0,1,2: 10:[88, 38] Operation: 52-14=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[14, 36], Operations: ['73-59=14', '88-52=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,10 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[52, 74], Operations: ['73-59=14', '88-14=74']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[88, 38], Operations: ['73-59=14', '52-14=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,10 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
79,
84,
19
] | 58 | [
"79-72=7",
"84-19=65",
"65-7=58"
] | Current State: 58:[72, 79, 84, 19], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [84, 19, 7]
Generated Node #2: [84, 19, 7] from Operation: 79-72=7
Current State: 58:[84, 19, 7], Operations: ['79-72=7']
Exploring Operation: 84-19=65, Resulting Numbers: [7, 65]
Generated Node #3: [7, 65] from Operation: 84-19=65
Current State: 58:[7, 65], Operations: ['79-72=7', '84-19=65']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[72, 79, 84, 19], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [72, 19, 5]
Generated Node #0,0: 58:[72, 19, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[72, 19, 5], Operations: ['84-79=5']
Exploring Operation: 72-19=53, Resulting Numbers: [5, 53]
Generated Node #0,0,0: 58:[5, 53] Operation: 72-19=53
Moving to Node #0,0,0
Current State: 58:[5, 53], Operations: ['84-79=5', '72-19=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[72, 79, 84, 19], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [72, 19, 5]
Generated Node #0,0: 58:[72, 19, 5] Operation: 84-79=5
Moving to Node #0,0
Current State: 58:[72, 19, 5], Operations: ['84-79=5']
Exploring Operation: 72-19=53, Resulting Numbers: [5, 53]
Generated Node #0,0,0: 58:[5, 53] Operation: 72-19=53
Moving to Node #0,0,0
Current State: 58:[5, 53], Operations: ['84-79=5', '72-19=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
42,
49,
4,
66
] | 60 | [
"4+66=70",
"42*70=2940",
"2940/49=60"
] | Current State: 60:[42, 49, 4, 66], Operations: []
Exploring Operation: 4+66=70, Resulting Numbers: [42, 49, 70]
Generated Node #2: [42, 49, 70] from Operation: 4+66=70
Current State: 60:[42, 49, 70], Operations: ['4+66=70']
Exploring Operation: 42*70=2940, Resulting Numbers: [49, 2940]
Generated Node #3: [49, 2940] from Operation: 42*70=2940
Current State: 60:[49, 2940], Operations: ['4+66=70', '42*70=2940']
Exploring Operation: 2940/49=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[42, 49, 4, 66], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [49, 4, 24]
Generated Node #0,0: 60:[49, 4, 24] Operation: 66-42=24
Exploring Operation: 66-49=17, Resulting Numbers: [42, 4, 17]
Generated Node #0,1: 60:[42, 4, 17] Operation: 66-49=17
Exploring Operation: 42-4=38, Resulting Numbers: [49, 66, 38]
Generated Node #0,2: 60:[49, 66, 38] Operation: 42-4=38
Exploring Operation: 49+4=53, Resulting Numbers: [42, 66, 53]
Generated Node #0,3: 60:[42, 66, 53] Operation: 49+4=53
Exploring Operation: 49-42=7, Resulting Numbers: [4, 66, 7]
Generated Node #0,4: 60:[4, 66, 7] Operation: 49-42=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[4, 66, 7], Operations: ['49-42=7']
Exploring Operation: 66-4=62, Resulting Numbers: [7, 62]
Generated Node #0,4,0: 60:[7, 62] Operation: 66-4=62
Exploring Operation: 7-4=3, Resulting Numbers: [66, 3]
Generated Node #0,4,1: 60:[66, 3] Operation: 7-4=3
Exploring Operation: 66-7=59, Resulting Numbers: [4, 59]
Generated Node #0,4,2: 60:[4, 59] Operation: 66-7=59
Exploring Operation: 4*7=28, Resulting Numbers: [66, 28]
Generated Node #0,4,3: 60:[66, 28] Operation: 4*7=28
Exploring Operation: 4+7=11, Resulting Numbers: [66, 11]
Generated Node #0,4,4: 60:[66, 11] Operation: 4+7=11
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[4, 59], Operations: ['49-42=7', '66-7=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,60 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[7, 62], Operations: ['49-42=7', '66-4=62']
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,60 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[66, 3], Operations: ['49-42=7', '7-4=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[66, 11], Operations: ['49-42=7', '4+7=11']
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,60 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[66, 28], Operations: ['49-42=7', '4*7=28']
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,60 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[42, 4, 17], Operations: ['66-49=17']
Exploring Operation: 42-17=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 60:[4, 25] Operation: 42-17=25
Exploring Operation: 4+17=21, Resulting Numbers: [42, 21]
Generated Node #0,1,1: 60:[42, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [42, 13]
Generated Node #0,1,2: 60:[42, 13] Operation: 17-4=13
Exploring Operation: 42-4=38, Resulting Numbers: [17, 38]
Generated Node #0,1,3: 60:[17, 38] Operation: 42-4=38
Exploring Operation: 42+17=59, Resulting Numbers: [4, 59]
Generated Node #0,1,4: 60:[4, 59] Operation: 42+17=59
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[4, 59], Operations: ['66-49=17', '42+17=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[4, 25], Operations: ['66-49=17', '42-17=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[17, 38], Operations: ['66-49=17', '42-4=38']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,60 unequal: No Solution
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[42, 21], Operations: ['66-49=17', '4+17=21']
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,60 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[42, 13], Operations: ['66-49=17', '17-4=13']
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,60 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[49, 4, 24], Operations: ['66-42=24']
Exploring Operation: 49-24=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 60:[4, 25] Operation: 49-24=25
Exploring Operation: 49+24=73, Resulting Numbers: [4, 73]
Generated Node #0,0,1: 60:[4, 73] Operation: 49+24=73
Exploring Operation: 24-4=20, Resulting Numbers: [49, 20]
Generated Node #0,0,2: 60:[49, 20] Operation: 24-4=20
Exploring Operation: 49+4=53, Resulting Numbers: [24, 53]
Generated Node #0,0,3: 60:[24, 53] Operation: 49+4=53
Exploring Operation: 24/4=6, Resulting Numbers: [49, 6]
Generated Node #0,0,4: 60:[49, 6] Operation: 24/4=6
Moving to Node #0,0,0
Current State: 60:[4, 25], Operations: ['66-42=24', '49-24=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,60 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[24, 53], Operations: ['66-42=24', '49+4=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,60 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[49, 20], Operations: ['66-42=24', '24-4=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,60 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[49, 6], Operations: ['66-42=24', '24/4=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,60 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[4, 73], Operations: ['66-42=24', '49+24=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[49, 66, 38], Operations: ['42-4=38']
Exploring Operation: 66-49=17, Resulting Numbers: [38, 17]
Generated Node #0,2,0: 60:[38, 17] Operation: 66-49=17
Exploring Operation: 66+38=104, Resulting Numbers: [49, 104]
Generated Node #0,2,1: 60:[49, 104] Operation: 66+38=104
Exploring Operation: 49+38=87, Resulting Numbers: [66, 87]
Generated Node #0,2,2: 60:[66, 87] Operation: 49+38=87
Exploring Operation: 66-38=28, Resulting Numbers: [49, 28]
Generated Node #0,2,3: 60:[49, 28] Operation: 66-38=28
Exploring Operation: 49-38=11, Resulting Numbers: [66, 11]
Generated Node #0,2,4: 60:[66, 11] Operation: 49-38=11
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 60:[66, 11], Operations: ['42-4=38', '49-38=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,60 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[38, 17], Operations: ['42-4=38', '66-49=17']
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,60 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[49, 28], Operations: ['42-4=38', '66-38=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[66, 87], Operations: ['42-4=38', '49+38=87']
Exploring Operation: 66+87=153, Resulting Numbers: [153]
153,60 unequal: No Solution
Exploring Operation: 66*87=5742, Resulting Numbers: [5742]
5742,60 unequal: No Solution
Exploring Operation: 87-66=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[49, 104], Operations: ['42-4=38', '66+38=104']
Exploring Operation: 49+104=153, Resulting Numbers: [153]
153,60 unequal: No Solution
Exploring Operation: 104-49=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 49*104=5096, Resulting Numbers: [5096]
5096,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[42, 66, 53], Operations: ['49+4=53']
Exploring Operation: 53-42=11, Resulting Numbers: [66, 11]
Generated Node #0,3,0: 60:[66, 11] Operation: 53-42=11
Exploring Operation: 66-53=13, Resulting Numbers: [42, 13]
Generated Node #0,3,1: 60:[42, 13] Operation: 66-53=13
Exploring Operation: 66-42=24, Resulting Numbers: [53, 24]
Generated Node #0,3,2: 60:[53, 24] Operation: 66-42=24
Exploring Operation: 42+53=95, Resulting Numbers: [66, 95]
Generated Node #0,3,3: 60:[66, 95] Operation: 42+53=95
Exploring Operation: 42+66=108, Resulting Numbers: [53, 108]
Generated Node #0,3,4: 60:[53, 108] Operation: 42+66=108
Moving to Node #0,3,0
Current State: 60:[66, 11], Operations: ['49+4=53', '53-42=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[53, 24], Operations: ['49+4=53', '66-42=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[42, 13], Operations: ['49+4=53', '66-53=13']
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,60 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[66, 95], Operations: ['49+4=53', '42+53=95']
Exploring Operation: 66+95=161, Resulting Numbers: [161]
161,60 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 66*95=6270, Resulting Numbers: [6270]
6270,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[53, 108], Operations: ['49+4=53', '42+66=108']
Exploring Operation: 53+108=161, Resulting Numbers: [161]
161,60 unequal: No Solution
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 53*108=5724, Resulting Numbers: [5724]
5724,60 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 |
[
18,
52,
34,
64
] | 56 | [
"34-18=16",
"64/16=4",
"52+4=56"
] | Current State: 56:[18, 52, 34, 64], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [52, 64, 16]
Generated Node #2: [52, 64, 16] from Operation: 34-18=16
Current State: 56:[52, 64, 16], Operations: ['34-18=16']
Exploring Operation: 64/16=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 64/16=4
Current State: 56:[52, 4], Operations: ['34-18=16', '64/16=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[18, 52, 34, 64], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [18, 34, 12]
Generated Node #0,0: 56:[18, 34, 12] Operation: 64-52=12
Exploring Operation: 64-34=30, Resulting Numbers: [18, 52, 30]
Generated Node #0,1: 56:[18, 52, 30] Operation: 64-34=30
Exploring Operation: 34-18=16, Resulting Numbers: [52, 64, 16]
Generated Node #0,2: 56:[52, 64, 16] Operation: 34-18=16
Exploring Operation: 18+34=52, Resulting Numbers: [52, 64, 52]
Generated Node #0,3: 56:[52, 64, 52] Operation: 18+34=52
Moving to Node #0,1
Current State: 56:[18, 52, 30], Operations: ['64-34=30']
Exploring Operation: 18+30=48, Resulting Numbers: [52, 48]
Generated Node #0,1,0: 56:[52, 48] Operation: 18+30=48
Exploring Operation: 30-18=12, Resulting Numbers: [52, 12]
Generated Node #0,1,1: 56:[52, 12] Operation: 30-18=12
Exploring Operation: 52-18=34, Resulting Numbers: [30, 34]
Generated Node #0,1,2: 56:[30, 34] Operation: 52-18=34
Exploring Operation: 52-30=22, Resulting Numbers: [18, 22]
Generated Node #0,1,3: 56:[18, 22] Operation: 52-30=22
Moving to Node #0,0
Current State: 56:[18, 34, 12], Operations: ['64-52=12']
Exploring Operation: 34-18=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 56:[12, 16] Operation: 34-18=16
Exploring Operation: 18-12=6, Resulting Numbers: [34, 6]
Generated Node #0,0,1: 56:[34, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [34, 30]
Generated Node #0,0,2: 56:[34, 30] Operation: 18+12=30
Exploring Operation: 18+34=52, Resulting Numbers: [12, 52]
Generated Node #0,0,3: 56:[12, 52] Operation: 18+34=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[12, 16], Operations: ['64-52=12', '34-18=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,56 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,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,3
Current State: 56:[12, 52], Operations: ['64-52=12', '18+34=52']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,56 unequal: No Solution
Exploring Operation: 12+52=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,1
Current State: 56:[34, 6], Operations: ['64-52=12', '18-12=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,56 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,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,2
Current State: 56:[34, 30], Operations: ['64-52=12', '18+12=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,56 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: 56:[52, 64, 16], Operations: ['34-18=16']
Exploring Operation: 64-52=12, Resulting Numbers: [16, 12]
Generated Node #0,2,0: 56:[16, 12] Operation: 64-52=12
Exploring Operation: 64-16=48, Resulting Numbers: [52, 48]
Generated Node #0,2,1: 56:[52, 48] Operation: 64-16=48
Exploring Operation: 52-16=36, Resulting Numbers: [64, 36]
Generated Node #0,2,2: 56:[64, 36] Operation: 52-16=36
Exploring Operation: 64/16=4, Resulting Numbers: [52, 4]
Generated Node #0,2,3: 56:[52, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[16, 12], Operations: ['34-18=16', '64-52=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,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,2,3
Current State: 56:[52, 4], Operations: ['34-18=16', '64/16=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[18, 52, 34, 64], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [52, 64, 16]
Generated Node #0,2: 56:[52, 64, 16] Operation: 34-18=16
Moving to Node #0,2
Current State: 56:[52, 64, 16], Operations: ['34-18=16']
Exploring Operation: 64/16=4, Resulting Numbers: [52, 4]
Generated Node #0,2,3: 56:[52, 4] Operation: 64/16=4
Moving to Node #0,2,3
Current State: 56:[52, 4], Operations: ['34-18=16', '64/16=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
82,
29,
41,
54
] | 98 | [
"82+29=111",
"54-41=13",
"111-13=98"
] | Current State: 98:[82, 29, 41, 54], Operations: []
Exploring Operation: 82+29=111, Resulting Numbers: [41, 54, 111]
Generated Node #2: [41, 54, 111] from Operation: 82+29=111
Current State: 98:[41, 54, 111], Operations: ['82+29=111']
Exploring Operation: 54-41=13, Resulting Numbers: [111, 13]
Generated Node #3: [111, 13] from Operation: 54-41=13
Current State: 98:[111, 13], Operations: ['82+29=111', '54-41=13']
Exploring Operation: 111-13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[82, 29, 41, 54], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [41, 54, 53]
Generated Node #0,0: 98:[41, 54, 53] Operation: 82-29=53
Exploring Operation: 82/41=2, Resulting Numbers: [29, 54, 2]
Generated Node #0,1: 98:[29, 54, 2] Operation: 82/41=2
Moving to Node #0,0
Current State: 98:[41, 54, 53], Operations: ['82-29=53']
Exploring Operation: 41+54=95, Resulting Numbers: [53, 95]
Generated Node #0,0,0: 98:[53, 95] Operation: 41+54=95
Exploring Operation: 54-41=13, Resulting Numbers: [53, 13]
Generated Node #0,0,1: 98:[53, 13] Operation: 54-41=13
Moving to Node #0,1
Current State: 98:[29, 54, 2], Operations: ['82/41=2']
Exploring Operation: 54-29=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 98:[2, 25] Operation: 54-29=25
Exploring Operation: 29*2=58, Resulting Numbers: [54, 58]
Generated Node #0,1,1: 98:[54, 58] Operation: 29*2=58
Moving to Node #0,0,1
Current State: 98:[53, 13], Operations: ['82-29=53', '54-41=13']
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[53, 95], Operations: ['82-29=53', '41+54=95']
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[2, 25], Operations: ['82/41=2', '54-29=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[54, 58], Operations: ['82/41=2', '29*2=58']
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,98 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
35,
90,
5
] | 24 | [
"74+35=109",
"90-5=85",
"109-85=24"
] | Current State: 24:[74, 35, 90, 5], Operations: []
Exploring Operation: 74+35=109, Resulting Numbers: [90, 5, 109]
Generated Node #2: [90, 5, 109] from Operation: 74+35=109
Current State: 24:[90, 5, 109], Operations: ['74+35=109']
Exploring Operation: 90-5=85, Resulting Numbers: [109, 85]
Generated Node #3: [109, 85] from Operation: 90-5=85
Current State: 24:[109, 85], Operations: ['74+35=109', '90-5=85']
Exploring Operation: 109-85=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[74, 35, 90, 5], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [35, 5, 16]
Generated Node #0,0: 24:[35, 5, 16] Operation: 90-74=16
Moving to Node #0,0
Current State: 24:[35, 5, 16], Operations: ['90-74=16']
Exploring Operation: 35/5=7, Resulting Numbers: [16, 7]
Generated Node #0,0,0: 24:[16, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[16, 7], Operations: ['90-74=16', '35/5=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,24 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 |
[
3,
96,
3,
65
] | 31 | [
"3+96=99",
"3+65=68",
"99-68=31"
] | Current State: 31:[3, 96, 3, 65], Operations: []
Exploring Operation: 3+96=99, Resulting Numbers: [65, 99]
Generated Node #2: [65, 99] from Operation: 3+96=99
Current State: 31:[65, 99], Operations: ['3+96=99']
Exploring Operation: 3+65=68, Resulting Numbers: [99, 68]
Generated Node #3: [99, 68] from Operation: 3+65=68
Current State: 31:[99, 68], Operations: ['3+96=99', '3+65=68']
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[3, 96, 3, 65], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [3, 65, 32]
Generated Node #0,0: 31:[3, 65, 32] Operation: 96/3=32
Exploring Operation: 3*3=9, Resulting Numbers: [96, 65, 9]
Generated Node #0,1: 31:[96, 65, 9] Operation: 3*3=9
Exploring Operation: 96-3=93, Resulting Numbers: [3, 65, 93]
Generated Node #0,2: 31:[3, 65, 93] Operation: 96-3=93
Exploring Operation: 96-65=31, Resulting Numbers: [3, 3, 31]
Generated Node #0,3: 31:[3, 3, 31] Operation: 96-65=31
Exploring Operation: 96/3=32, Resulting Numbers: [3, 65, 32]
Generated Node #0,4: 31:[3, 65, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[3, 3, 31], Operations: ['96-65=31']
Exploring Operation: 3+3=6, Resulting Numbers: [31, 6]
Generated Node #0,3,0: 31:[31, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [31, 1]
Generated Node #0,3,1: 31:[31, 1] Operation: 3/3=1
Exploring Operation: 3*3=9, Resulting Numbers: [31, 9]
Generated Node #0,3,2: 31:[31, 9] Operation: 3*3=9
Exploring Operation: 3+31=34, Resulting Numbers: [3, 34]
Generated Node #0,3,3: 31:[3, 34] Operation: 3+31=34
Exploring Operation: 3-3=0, Resulting Numbers: [31, 0]
Generated Node #0,3,4: 31:[31, 0] Operation: 3-3=0
Moving to Node #0,3,2
Current State: 31:[31, 9], Operations: ['96-65=31', '3*3=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[31, 6], Operations: ['96-65=31', '3+3=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[31, 1], Operations: ['96-65=31', '3/3=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[3, 96, 3, 65], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [3, 3, 31]
Generated Node #0,3: 31:[3, 3, 31] Operation: 96-65=31
Moving to Node #0,3
Current State: 31:[3, 3, 31], Operations: ['96-65=31']
Exploring Operation: 3/3=1, Resulting Numbers: [31, 1]
Generated Node #0,3,1: 31:[31, 1] Operation: 3/3=1
Moving to Node #0,3,1
Current State: 31:[31, 1], Operations: ['96-65=31', '3/3=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
43,
40,
87,
13
] | 71 | [
"43-40=3",
"87-13=74",
"74-3=71"
] | Current State: 71:[43, 40, 87, 13], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [87, 13, 3]
Generated Node #2: [87, 13, 3] from Operation: 43-40=3
Current State: 71:[87, 13, 3], Operations: ['43-40=3']
Exploring Operation: 87-13=74, Resulting Numbers: [3, 74]
Generated Node #3: [3, 74] from Operation: 87-13=74
Current State: 71:[3, 74], Operations: ['43-40=3', '87-13=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[43, 40, 87, 13], Operations: []
Exploring Operation: 40+13=53, Resulting Numbers: [43, 87, 53]
Generated Node #0,0: 71:[43, 87, 53] Operation: 40+13=53
Exploring Operation: 43+40=83, Resulting Numbers: [87, 13, 83]
Generated Node #0,1: 71:[87, 13, 83] Operation: 43+40=83
Exploring Operation: 43+13=56, Resulting Numbers: [40, 87, 56]
Generated Node #0,2: 71:[40, 87, 56] Operation: 43+13=56
Exploring Operation: 87-13=74, Resulting Numbers: [43, 40, 74]
Generated Node #0,3: 71:[43, 40, 74] Operation: 87-13=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[43, 87, 53], Operations: ['40+13=53']
Exploring Operation: 87-53=34, Resulting Numbers: [43, 34]
Generated Node #0,0,0: 71:[43, 34] Operation: 87-53=34
Exploring Operation: 43+53=96, Resulting Numbers: [87, 96]
Generated Node #0,0,1: 71:[87, 96] Operation: 43+53=96
Exploring Operation: 43+87=130, Resulting Numbers: [53, 130]
Generated Node #0,0,2: 71:[53, 130] Operation: 43+87=130
Exploring Operation: 87-43=44, Resulting Numbers: [53, 44]
Generated Node #0,0,3: 71:[53, 44] Operation: 87-43=44
Moving to Node #0,0,1
Current State: 71:[87, 96], Operations: ['40+13=53', '43+53=96']
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,71 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[53, 44], Operations: ['40+13=53', '87-43=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[43, 34], Operations: ['40+13=53', '87-53=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[53, 130], Operations: ['40+13=53', '43+87=130']
Exploring Operation: 130-53=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 53*130=6890, Resulting Numbers: [6890]
6890,71 unequal: No Solution
Exploring Operation: 53+130=183, Resulting Numbers: [183]
183,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[40, 87, 56], Operations: ['43+13=56']
Exploring Operation: 40+56=96, Resulting Numbers: [87, 96]
Generated Node #0,2,0: 71:[87, 96] Operation: 40+56=96
Exploring Operation: 40+87=127, Resulting Numbers: [56, 127]
Generated Node #0,2,1: 71:[56, 127] Operation: 40+87=127
Exploring Operation: 56-40=16, Resulting Numbers: [87, 16]
Generated Node #0,2,2: 71:[87, 16] Operation: 56-40=16
Exploring Operation: 87-40=47, Resulting Numbers: [56, 47]
Generated Node #0,2,3: 71:[56, 47] Operation: 87-40=47
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[56, 47], Operations: ['43+13=56', '87-40=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,71 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[87, 96], Operations: ['43+13=56', '40+56=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,71 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[56, 127], Operations: ['43+13=56', '40+87=127']
Exploring Operation: 56*127=7112, Resulting Numbers: [7112]
7112,71 unequal: No Solution
Exploring Operation: 56+127=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 127-56=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[43, 40, 87, 13], Operations: []
Exploring Operation: 43+13=56, Resulting Numbers: [40, 87, 56]
Generated Node #0,2: 71:[40, 87, 56] Operation: 43+13=56
Moving to Node #0,2
Current State: 71:[40, 87, 56], Operations: ['43+13=56']
Exploring Operation: 40+87=127, Resulting Numbers: [56, 127]
Generated Node #0,2,1: 71:[56, 127] Operation: 40+87=127
Moving to Node #0,2,1
Current State: 71:[56, 127], Operations: ['43+13=56', '40+87=127']
Exploring Operation: 127-56=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
36,
8,
62,
63
] | 76 | [
"8*63=504",
"504/36=14",
"62+14=76"
] | Current State: 76:[36, 8, 62, 63], Operations: []
Exploring Operation: 8*63=504, Resulting Numbers: [36, 62, 504]
Generated Node #2: [36, 62, 504] from Operation: 8*63=504
Current State: 76:[36, 62, 504], Operations: ['8*63=504']
Exploring Operation: 504/36=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 504/36=14
Current State: 76:[62, 14], Operations: ['8*63=504', '504/36=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 8, 62, 63], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [36, 8, 1]
Generated Node #0,0: 76:[36, 8, 1] Operation: 63-62=1
Exploring Operation: 8+62=70, Resulting Numbers: [36, 63, 70]
Generated Node #0,1: 76:[36, 63, 70] Operation: 8+62=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[36, 8, 1], Operations: ['63-62=1']
Exploring Operation: 8-1=7, Resulting Numbers: [36, 7]
Generated Node #0,0,0: 76:[36, 7] Operation: 8-1=7
Exploring Operation: 36+1=37, Resulting Numbers: [8, 37]
Generated Node #0,0,1: 76:[8, 37] Operation: 36+1=37
Moving to Node #0,0,0
Current State: 76:[36, 7], Operations: ['63-62=1', '8-1=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[8, 37], Operations: ['63-62=1', '36+1=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,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
Current State: 76:[36, 63, 70], Operations: ['8+62=70']
Exploring Operation: 63-36=27, Resulting Numbers: [70, 27]
Generated Node #0,1,0: 76:[70, 27] Operation: 63-36=27
Exploring Operation: 70-63=7, Resulting Numbers: [36, 7]
Generated Node #0,1,1: 76:[36, 7] Operation: 70-63=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[36, 7], Operations: ['8+62=70', '70-63=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,76 unequal: No Solution
No 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: 76:[70, 27], Operations: ['8+62=70', '63-36=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,76 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 |
[
81,
21,
23,
26
] | 53 | [
"81+21=102",
"23+26=49",
"102-49=53"
] | Current State: 53:[81, 21, 23, 26], Operations: []
Exploring Operation: 81+21=102, Resulting Numbers: [23, 26, 102]
Generated Node #2: [23, 26, 102] from Operation: 81+21=102
Current State: 53:[23, 26, 102], Operations: ['81+21=102']
Exploring Operation: 23+26=49, Resulting Numbers: [102, 49]
Generated Node #3: [102, 49] from Operation: 23+26=49
Current State: 53:[102, 49], Operations: ['81+21=102', '23+26=49']
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[81, 21, 23, 26], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [23, 26, 60]
Generated Node #0,0: 53:[23, 26, 60] Operation: 81-21=60
Exploring Operation: 21+23=44, Resulting Numbers: [81, 26, 44]
Generated Node #0,1: 53:[81, 26, 44] Operation: 21+23=44
Exploring Operation: 21+26=47, Resulting Numbers: [81, 23, 47]
Generated Node #0,2: 53:[81, 23, 47] Operation: 21+26=47
Exploring Operation: 81-26=55, Resulting Numbers: [21, 23, 55]
Generated Node #0,3: 53:[21, 23, 55] Operation: 81-26=55
Exploring Operation: 81-23=58, Resulting Numbers: [21, 26, 58]
Generated Node #0,4: 53:[21, 26, 58] Operation: 81-23=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[23, 26, 60], Operations: ['81-21=60']
Exploring Operation: 60-26=34, Resulting Numbers: [23, 34]
Generated Node #0,0,0: 53:[23, 34] Operation: 60-26=34
Exploring Operation: 23+26=49, Resulting Numbers: [60, 49]
Generated Node #0,0,1: 53:[60, 49] Operation: 23+26=49
Exploring Operation: 26-23=3, Resulting Numbers: [60, 3]
Generated Node #0,0,2: 53:[60, 3] Operation: 26-23=3
Exploring Operation: 23+60=83, Resulting Numbers: [26, 83]
Generated Node #0,0,3: 53:[26, 83] Operation: 23+60=83
Exploring Operation: 60-23=37, Resulting Numbers: [26, 37]
Generated Node #0,0,4: 53:[26, 37] Operation: 60-23=37
Moving to Node #0,0,1
Current State: 53:[60, 49], Operations: ['81-21=60', '23+26=49']
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[26, 37], Operations: ['81-21=60', '60-23=37']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,53 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[23, 34], Operations: ['81-21=60', '60-26=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[60, 3], Operations: ['81-21=60', '26-23=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[26, 83], Operations: ['81-21=60', '23+60=83']
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,53 unequal: No Solution
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[81, 26, 44], Operations: ['21+23=44']
Exploring Operation: 44-26=18, Resulting Numbers: [81, 18]
Generated Node #0,1,0: 53:[81, 18] Operation: 44-26=18
Exploring Operation: 26+44=70, Resulting Numbers: [81, 70]
Generated Node #0,1,1: 53:[81, 70] Operation: 26+44=70
Exploring Operation: 81-26=55, Resulting Numbers: [44, 55]
Generated Node #0,1,2: 53:[44, 55] Operation: 81-26=55
Exploring Operation: 81+26=107, Resulting Numbers: [44, 107]
Generated Node #0,1,3: 53:[44, 107] Operation: 81+26=107
Exploring Operation: 81-44=37, Resulting Numbers: [26, 37]
Generated Node #0,1,4: 53:[26, 37] Operation: 81-44=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[44, 55], Operations: ['21+23=44', '81-26=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,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,1,4
Current State: 53:[26, 37], Operations: ['21+23=44', '81-44=37']
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,53 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,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,1,1
Current State: 53:[81, 70], Operations: ['21+23=44', '26+44=70']
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,53 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,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,1,0
Current State: 53:[81, 18], Operations: ['21+23=44', '44-26=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,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,1,3
Current State: 53:[44, 107], Operations: ['21+23=44', '81+26=107']
Exploring Operation: 107-44=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 44+107=151, Resulting Numbers: [151]
151,53 unequal: No Solution
Exploring Operation: 44*107=4708, Resulting Numbers: [4708]
4708,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,2
Current State: 53:[81, 23, 47], Operations: ['21+26=47']
Exploring Operation: 81-47=34, Resulting Numbers: [23, 34]
Generated Node #0,2,0: 53:[23, 34] Operation: 81-47=34
Exploring Operation: 23+47=70, Resulting Numbers: [81, 70]
Generated Node #0,2,1: 53:[81, 70] Operation: 23+47=70
Exploring Operation: 81-23=58, Resulting Numbers: [47, 58]
Generated Node #0,2,2: 53:[47, 58] Operation: 81-23=58
Exploring Operation: 47-23=24, Resulting Numbers: [81, 24]
Generated Node #0,2,3: 53:[81, 24] Operation: 47-23=24
Exploring Operation: 81+23=104, Resulting Numbers: [47, 104]
Generated Node #0,2,4: 53:[47, 104] Operation: 81+23=104
Moving to Node #0,2,2
Current State: 53:[47, 58], Operations: ['21+26=47', '81-23=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,53 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[81, 70], Operations: ['21+26=47', '23+47=70']
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,53 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[23, 34], Operations: ['21+26=47', '81-47=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[81, 24], Operations: ['21+26=47', '47-23=24']
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,53 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,53 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[47, 104], Operations: ['21+26=47', '81+23=104']
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,53 unequal: No Solution
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,53 unequal: No Solution
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[21, 23, 55], Operations: ['81-26=55']
Exploring Operation: 55-21=34, Resulting Numbers: [23, 34]
Generated Node #0,3,0: 53:[23, 34] Operation: 55-21=34
Exploring Operation: 55-23=32, Resulting Numbers: [21, 32]
Generated Node #0,3,1: 53:[21, 32] Operation: 55-23=32
Exploring Operation: 23-21=2, Resulting Numbers: [55, 2]
Generated Node #0,3,2: 53:[55, 2] Operation: 23-21=2
Exploring Operation: 21+55=76, Resulting Numbers: [23, 76]
Generated Node #0,3,3: 53:[23, 76] Operation: 21+55=76
Exploring Operation: 21+23=44, Resulting Numbers: [55, 44]
Generated Node #0,3,4: 53:[55, 44] Operation: 21+23=44
Moving to Node #0,3,4
Current State: 53:[55, 44], Operations: ['81-26=55', '21+23=44']
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,53 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[23, 34], Operations: ['81-26=55', '55-21=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[21, 32], Operations: ['81-26=55', '55-23=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[81, 21, 23, 26], Operations: []
Exploring Operation: 81-26=55, Resulting Numbers: [21, 23, 55]
Generated Node #0,3: 53:[21, 23, 55] Operation: 81-26=55
Moving to Node #0,3
Current State: 53:[21, 23, 55], Operations: ['81-26=55']
Exploring Operation: 55-23=32, Resulting Numbers: [21, 32]
Generated Node #0,3,1: 53:[21, 32] Operation: 55-23=32
Moving to Node #0,3,1
Current State: 53:[21, 32], Operations: ['81-26=55', '55-23=32']
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.927951 | hs_5 | mult_heuristic |
[
72,
72,
9,
90
] | 64 | [
"72*72=5184",
"90-9=81",
"5184/81=64"
] | Current State: 64:[72, 72, 9, 90], Operations: []
Exploring Operation: 72*72=5184, Resulting Numbers: [9, 90, 5184]
Generated Node #2: [9, 90, 5184] from Operation: 72*72=5184
Current State: 64:[9, 90, 5184], Operations: ['72*72=5184']
Exploring Operation: 90-9=81, Resulting Numbers: [5184, 81]
Generated Node #3: [5184, 81] from Operation: 90-9=81
Current State: 64:[5184, 81], Operations: ['72*72=5184', '90-9=81']
Exploring Operation: 5184/81=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[72, 72, 9, 90], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [72, 9, 18]
Generated Node #0,0: 64:[72, 9, 18] Operation: 90-72=18
Exploring Operation: 90/9=10, Resulting Numbers: [72, 72, 10]
Generated Node #0,1: 64:[72, 72, 10] Operation: 90/9=10
Exploring Operation: 90-72=18, Resulting Numbers: [72, 9, 18]
Generated Node #0,2: 64:[72, 9, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[72, 9, 18], Operations: ['90-72=18']
Exploring Operation: 72-9=63, Resulting Numbers: [18, 63]
Generated Node #0,0,0: 64:[18, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [18, 8]
Generated Node #0,0,1: 64:[18, 8] Operation: 72/9=8
Exploring Operation: 72/18=4, Resulting Numbers: [9, 4]
Generated Node #0,0,2: 64:[9, 4] Operation: 72/18=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[9, 4], Operations: ['90-72=18', '72/18=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No 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: 64:[18, 8], Operations: ['90-72=18', '72/9=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,64 unequal: No Solution
No 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: 64:[18, 63], Operations: ['90-72=18', '72-9=63']
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,64 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,64 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: 64:[72, 9, 18], Operations: ['90-72=18']
Exploring Operation: 72-9=63, Resulting Numbers: [18, 63]
Generated Node #0,2,0: 64:[18, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [18, 8]
Generated Node #0,2,1: 64:[18, 8] Operation: 72/9=8
Exploring Operation: 72/18=4, Resulting Numbers: [9, 4]
Generated Node #0,2,2: 64:[9, 4] Operation: 72/18=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[9, 4], Operations: ['90-72=18', '72/18=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No 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: 64:[18, 8], Operations: ['90-72=18', '72/9=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,64 unequal: No Solution
No 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: 64:[18, 63], Operations: ['90-72=18', '72-9=63']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,64 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: 64:[72, 72, 10], Operations: ['90/9=10']
Exploring Operation: 72/72=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 64:[10, 1] Operation: 72/72=1
Exploring Operation: 72-72=0, Resulting Numbers: [10, 0]
Generated Node #0,1,1: 64:[10, 0] Operation: 72-72=0
Exploring Operation: 72-10=62, Resulting Numbers: [72, 62]
Generated Node #0,1,2: 64:[72, 62] Operation: 72-10=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[10, 1], Operations: ['90/9=10', '72/72=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,64 unequal: No Solution
No 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: 64:[10, 0], Operations: ['90/9=10', '72-72=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,64 unequal: No Solution
No 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: 64:[72, 62], Operations: ['90/9=10', '72-10=62']
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,64 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
16,
29,
43
] | 28 | [
"28+16=44",
"29+43=72",
"72-44=28"
] | Current State: 28:[28, 16, 29, 43], Operations: []
Exploring Operation: 28+16=44, Resulting Numbers: [29, 43, 44]
Generated Node #2: [29, 43, 44] from Operation: 28+16=44
Current State: 28:[29, 43, 44], Operations: ['28+16=44']
Exploring Operation: 29+43=72, Resulting Numbers: [44, 72]
Generated Node #3: [44, 72] from Operation: 29+43=72
Current State: 28:[44, 72], Operations: ['28+16=44', '29+43=72']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 16, 29, 43], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [28, 29, 27]
Generated Node #0,0: 28:[28, 29, 27] Operation: 43-16=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 29, 27], Operations: ['43-16=27']
Exploring Operation: 29-27=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 28:[28, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 28:[28, 2], Operations: ['43-16=27', '29-27=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
11,
36,
86
] | 72 | [
"86-64=22",
"22/11=2",
"36*2=72"
] | Current State: 72:[64, 11, 36, 86], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [11, 36, 22]
Generated Node #2: [11, 36, 22] from Operation: 86-64=22
Current State: 72:[11, 36, 22], Operations: ['86-64=22']
Exploring Operation: 22/11=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 22/11=2
Current State: 72:[36, 2], Operations: ['86-64=22', '22/11=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 11, 36, 86], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [64, 36, 75]
Generated Node #0,0: 72:[64, 36, 75] Operation: 86-11=75
Exploring Operation: 36-11=25, Resulting Numbers: [64, 86, 25]
Generated Node #0,1: 72:[64, 86, 25] Operation: 36-11=25
Exploring Operation: 64-36=28, Resulting Numbers: [11, 86, 28]
Generated Node #0,2: 72:[11, 86, 28] Operation: 64-36=28
Exploring Operation: 86-64=22, Resulting Numbers: [11, 36, 22]
Generated Node #0,3: 72:[11, 36, 22] Operation: 86-64=22
Exploring Operation: 64+11=75, Resulting Numbers: [36, 86, 75]
Generated Node #0,4: 72:[36, 86, 75] Operation: 64+11=75
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[11, 36, 22], Operations: ['86-64=22']
Exploring Operation: 36-11=25, Resulting Numbers: [22, 25]
Generated Node #0,3,0: 72:[22, 25] Operation: 36-11=25
Exploring Operation: 22-11=11, Resulting Numbers: [36, 11]
Generated Node #0,3,1: 72:[36, 11] Operation: 22-11=11
Exploring Operation: 36-22=14, Resulting Numbers: [11, 14]
Generated Node #0,3,2: 72:[11, 14] Operation: 36-22=14
Exploring Operation: 11+22=33, Resulting Numbers: [36, 33]
Generated Node #0,3,3: 72:[36, 33] Operation: 11+22=33
Exploring Operation: 22/11=2, Resulting Numbers: [36, 2]
Generated Node #0,3,4: 72:[36, 2] Operation: 22/11=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 72:[36, 2], Operations: ['86-64=22', '22/11=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[64, 11, 36, 86], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [11, 36, 22]
Generated Node #0,3: 72:[11, 36, 22] Operation: 86-64=22
Moving to Node #0,3
Current State: 72:[11, 36, 22], Operations: ['86-64=22']
Exploring Operation: 22/11=2, Resulting Numbers: [36, 2]
Generated Node #0,3,4: 72:[36, 2] Operation: 22/11=2
Moving to Node #0,3,4
Current State: 72:[36, 2], Operations: ['86-64=22', '22/11=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
35,
59,
43,
5
] | 62 | [
"59-35=24",
"43-5=38",
"24+38=62"
] | Current State: 62:[35, 59, 43, 5], Operations: []
Exploring Operation: 59-35=24, Resulting Numbers: [43, 5, 24]
Generated Node #2: [43, 5, 24] from Operation: 59-35=24
Current State: 62:[43, 5, 24], Operations: ['59-35=24']
Exploring Operation: 43-5=38, Resulting Numbers: [24, 38]
Generated Node #3: [24, 38] from Operation: 43-5=38
Current State: 62:[24, 38], Operations: ['59-35=24', '43-5=38']
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[35, 59, 43, 5], Operations: []
Exploring Operation: 43-5=38, Resulting Numbers: [35, 59, 38]
Generated Node #0,0: 62:[35, 59, 38] Operation: 43-5=38
Exploring Operation: 43-35=8, Resulting Numbers: [59, 5, 8]
Generated Node #0,1: 62:[59, 5, 8] Operation: 43-35=8
Moving to Node #0,1
Current State: 62:[59, 5, 8], Operations: ['43-35=8']
Exploring Operation: 59+5=64, Resulting Numbers: [8, 64]
Generated Node #0,1,0: 62:[8, 64] Operation: 59+5=64
Exploring Operation: 8-5=3, Resulting Numbers: [59, 3]
Generated Node #0,1,1: 62:[59, 3] Operation: 8-5=3
Moving to Node #0,0
Current State: 62:[35, 59, 38], Operations: ['43-5=38']
Exploring Operation: 59-35=24, Resulting Numbers: [38, 24]
Generated Node #0,0,0: 62:[38, 24] Operation: 59-35=24
Exploring Operation: 38-35=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 62:[59, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[59, 3], Operations: ['43-5=38', '38-35=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[35, 59, 43, 5], Operations: []
Exploring Operation: 43-5=38, Resulting Numbers: [35, 59, 38]
Generated Node #0,0: 62:[35, 59, 38] Operation: 43-5=38
Moving to Node #0,0
Current State: 62:[35, 59, 38], Operations: ['43-5=38']
Exploring Operation: 38-35=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 62:[59, 3] Operation: 38-35=3
Moving to Node #0,0,1
Current State: 62:[59, 3], Operations: ['43-5=38', '38-35=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
70,
25,
44,
98
] | 97 | [
"70-25=45",
"44+98=142",
"142-45=97"
] | Current State: 97:[70, 25, 44, 98], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [44, 98, 45]
Generated Node #2: [44, 98, 45] from Operation: 70-25=45
Current State: 97:[44, 98, 45], Operations: ['70-25=45']
Exploring Operation: 44+98=142, Resulting Numbers: [45, 142]
Generated Node #3: [45, 142] from Operation: 44+98=142
Current State: 97:[45, 142], Operations: ['70-25=45', '44+98=142']
Exploring Operation: 142-45=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[70, 25, 44, 98], Operations: []
Exploring Operation: 70+25=95, Resulting Numbers: [44, 98, 95]
Generated Node #0,0: 97:[44, 98, 95] Operation: 70+25=95
Exploring Operation: 25+44=69, Resulting Numbers: [70, 98, 69]
Generated Node #0,1: 97:[70, 98, 69] Operation: 25+44=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[44, 98, 95], Operations: ['70+25=95']
Exploring Operation: 98-44=54, Resulting Numbers: [95, 54]
Generated Node #0,0,0: 97:[95, 54] Operation: 98-44=54
Exploring Operation: 44+95=139, Resulting Numbers: [98, 139]
Generated Node #0,0,1: 97:[98, 139] Operation: 44+95=139
Moving to Node #0,0,1
Current State: 97:[98, 139], Operations: ['70+25=95', '44+95=139']
Exploring Operation: 98+139=237, Resulting Numbers: [237]
237,97 unequal: No Solution
Exploring Operation: 139-98=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[95, 54], Operations: ['70+25=95', '98-44=54']
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,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:[70, 98, 69], Operations: ['25+44=69']
Exploring Operation: 70+69=139, Resulting Numbers: [98, 139]
Generated Node #0,1,0: 97:[98, 139] Operation: 70+69=139
Exploring Operation: 98-69=29, Resulting Numbers: [70, 29]
Generated Node #0,1,1: 97:[70, 29] Operation: 98-69=29
Moving to Node #0,1,0
Current State: 97:[98, 139], Operations: ['25+44=69', '70+69=139']
Exploring Operation: 98+139=237, Resulting Numbers: [237]
237,97 unequal: No Solution
Exploring Operation: 139-98=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[70, 29], Operations: ['25+44=69', '98-69=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
88,
3,
46
] | 78 | [
"33+88=121",
"46-3=43",
"121-43=78"
] | Current State: 78:[33, 88, 3, 46], Operations: []
Exploring Operation: 33+88=121, Resulting Numbers: [3, 46, 121]
Generated Node #2: [3, 46, 121] from Operation: 33+88=121
Current State: 78:[3, 46, 121], Operations: ['33+88=121']
Exploring Operation: 46-3=43, Resulting Numbers: [121, 43]
Generated Node #3: [121, 43] from Operation: 46-3=43
Current State: 78:[121, 43], Operations: ['33+88=121', '46-3=43']
Exploring Operation: 121-43=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[33, 88, 3, 46], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [88, 3, 13]
Generated Node #0,0: 78:[88, 3, 13] Operation: 46-33=13
Exploring Operation: 33+46=79, Resulting Numbers: [88, 3, 79]
Generated Node #0,1: 78:[88, 3, 79] Operation: 33+46=79
Exploring Operation: 33/3=11, Resulting Numbers: [88, 46, 11]
Generated Node #0,2: 78:[88, 46, 11] Operation: 33/3=11
Exploring Operation: 88-46=42, Resulting Numbers: [33, 3, 42]
Generated Node #0,3: 78:[33, 3, 42] Operation: 88-46=42
Moving to Node #0,3
Current State: 78:[33, 3, 42], Operations: ['88-46=42']
Exploring Operation: 33+42=75, Resulting Numbers: [3, 75]
Generated Node #0,3,0: 78:[3, 75] Operation: 33+42=75
Exploring Operation: 42-33=9, Resulting Numbers: [3, 9]
Generated Node #0,3,1: 78:[3, 9] Operation: 42-33=9
Exploring Operation: 33+3=36, Resulting Numbers: [42, 36]
Generated Node #0,3,2: 78:[42, 36] Operation: 33+3=36
Exploring Operation: 33/3=11, Resulting Numbers: [42, 11]
Generated Node #0,3,3: 78:[42, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[3, 75], Operations: ['88-46=42', '33+42=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[33, 88, 3, 46], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [33, 3, 42]
Generated Node #0,3: 78:[33, 3, 42] Operation: 88-46=42
Moving to Node #0,3
Current State: 78:[33, 3, 42], Operations: ['88-46=42']
Exploring Operation: 33+42=75, Resulting Numbers: [3, 75]
Generated Node #0,3,0: 78:[3, 75] Operation: 33+42=75
Moving to Node #0,3,0
Current State: 78:[3, 75], Operations: ['88-46=42', '33+42=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
69,
65,
46,
99
] | 51 | [
"99-65=34",
"69*34=2346",
"2346/46=51"
] | Current State: 51:[69, 65, 46, 99], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [69, 46, 34]
Generated Node #2: [69, 46, 34] from Operation: 99-65=34
Current State: 51:[69, 46, 34], Operations: ['99-65=34']
Exploring Operation: 69*34=2346, Resulting Numbers: [46, 2346]
Generated Node #3: [46, 2346] from Operation: 69*34=2346
Current State: 51:[46, 2346], Operations: ['99-65=34', '69*34=2346']
Exploring Operation: 2346/46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[69, 65, 46, 99], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [69, 65, 53]
Generated Node #0,0: 51:[69, 65, 53] Operation: 99-46=53
Exploring Operation: 99-65=34, Resulting Numbers: [69, 46, 34]
Generated Node #0,1: 51:[69, 46, 34] Operation: 99-65=34
Exploring Operation: 99-69=30, Resulting Numbers: [65, 46, 30]
Generated Node #0,2: 51:[65, 46, 30] Operation: 99-69=30
Exploring Operation: 69-65=4, Resulting Numbers: [46, 99, 4]
Generated Node #0,3: 51:[46, 99, 4] Operation: 69-65=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[65, 46, 30], Operations: ['99-69=30']
Exploring Operation: 65-30=35, Resulting Numbers: [46, 35]
Generated Node #0,2,0: 51:[46, 35] Operation: 65-30=35
Exploring Operation: 46+30=76, Resulting Numbers: [65, 76]
Generated Node #0,2,1: 51:[65, 76] Operation: 46+30=76
Exploring Operation: 65-46=19, Resulting Numbers: [30, 19]
Generated Node #0,2,2: 51:[30, 19] Operation: 65-46=19
Exploring Operation: 46-30=16, Resulting Numbers: [65, 16]
Generated Node #0,2,3: 51:[65, 16] Operation: 46-30=16
Moving to Node #0,2,2
Current State: 51:[30, 19], Operations: ['99-69=30', '65-46=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,51 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[65, 16], Operations: ['99-69=30', '46-30=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[46, 35], Operations: ['99-69=30', '65-30=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,51 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[65, 76], Operations: ['99-69=30', '46+30=76']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 65*76=4940, Resulting Numbers: [4940]
4940,51 unequal: No Solution
Exploring Operation: 65+76=141, Resulting Numbers: [141]
141,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[69, 65, 53], Operations: ['99-46=53']
Exploring Operation: 65-53=12, Resulting Numbers: [69, 12]
Generated Node #0,0,0: 51:[69, 12] Operation: 65-53=12
Exploring Operation: 69+65=134, Resulting Numbers: [53, 134]
Generated Node #0,0,1: 51:[53, 134] Operation: 69+65=134
Exploring Operation: 69-65=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 51:[53, 4] Operation: 69-65=4
Exploring Operation: 69-53=16, Resulting Numbers: [65, 16]
Generated Node #0,0,3: 51:[65, 16] Operation: 69-53=16
Moving to Node #0,0,2
Current State: 51:[53, 4], Operations: ['99-46=53', '69-65=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[65, 16], Operations: ['99-46=53', '69-53=16']
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,51 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[69, 12], Operations: ['99-46=53', '65-53=12']
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,51 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[53, 134], Operations: ['99-46=53', '69+65=134']
Exploring Operation: 53*134=7102, Resulting Numbers: [7102]
7102,51 unequal: No Solution
Exploring Operation: 53+134=187, Resulting Numbers: [187]
187,51 unequal: No Solution
Exploring Operation: 134-53=81, Resulting Numbers: [81]
81,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:[69, 46, 34], Operations: ['99-65=34']
Exploring Operation: 46-34=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 51:[69, 12] Operation: 46-34=12
Exploring Operation: 69-46=23, Resulting Numbers: [34, 23]
Generated Node #0,1,1: 51:[34, 23] Operation: 69-46=23
Exploring Operation: 46+34=80, Resulting Numbers: [69, 80]
Generated Node #0,1,2: 51:[69, 80] Operation: 46+34=80
Exploring Operation: 69-34=35, Resulting Numbers: [46, 35]
Generated Node #0,1,3: 51:[46, 35] Operation: 69-34=35
Moving to Node #0,1,3
Current State: 51:[46, 35], Operations: ['99-65=34', '69-34=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,51 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[34, 23], Operations: ['99-65=34', '69-46=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,51 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[69, 12], Operations: ['99-65=34', '46-34=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[69, 80], Operations: ['99-65=34', '46+34=80']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 69+80=149, Resulting Numbers: [149]
149,51 unequal: No Solution
Exploring Operation: 69*80=5520, Resulting Numbers: [5520]
5520,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,3
Current State: 51:[46, 99, 4], Operations: ['69-65=4']
Exploring Operation: 99-46=53, Resulting Numbers: [4, 53]
Generated Node #0,3,0: 51:[4, 53] Operation: 99-46=53
Exploring Operation: 99-4=95, Resulting Numbers: [46, 95]
Generated Node #0,3,1: 51:[46, 95] Operation: 99-4=95
Exploring Operation: 46+4=50, Resulting Numbers: [99, 50]
Generated Node #0,3,2: 51:[99, 50] Operation: 46+4=50
Exploring Operation: 46-4=42, Resulting Numbers: [99, 42]
Generated Node #0,3,3: 51:[99, 42] Operation: 46-4=42
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[4, 53], Operations: ['69-65=4', '99-46=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[46, 95], Operations: ['69-65=4', '99-4=95']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[99, 50], Operations: ['69-65=4', '46+4=50']
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,51 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,51 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[99, 42], Operations: ['69-65=4', '46-4=42']
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
2,
57,
83
] | 13 | [
"5+83=88",
"88/2=44",
"57-44=13"
] | Current State: 13:[5, 2, 57, 83], Operations: []
Exploring Operation: 5+83=88, Resulting Numbers: [2, 57, 88]
Generated Node #2: [2, 57, 88] from Operation: 5+83=88
Current State: 13:[2, 57, 88], Operations: ['5+83=88']
Exploring Operation: 88/2=44, Resulting Numbers: [57, 44]
Generated Node #3: [57, 44] from Operation: 88/2=44
Current State: 13:[57, 44], Operations: ['5+83=88', '88/2=44']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 2, 57, 83], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [57, 83, 10]
Generated Node #0,0: 13:[57, 83, 10] Operation: 5*2=10
Exploring Operation: 57-5=52, Resulting Numbers: [2, 83, 52]
Generated Node #0,1: 13:[2, 83, 52] Operation: 57-5=52
Exploring Operation: 5+2=7, Resulting Numbers: [57, 83, 7]
Generated Node #0,2: 13:[57, 83, 7] Operation: 5+2=7
Exploring Operation: 83-57=26, Resulting Numbers: [5, 2, 26]
Generated Node #0,3: 13:[5, 2, 26] Operation: 83-57=26
Exploring Operation: 83-5=78, Resulting Numbers: [2, 57, 78]
Generated Node #0,4: 13:[2, 57, 78] Operation: 83-5=78
Moving to Node #0,3
Current State: 13:[5, 2, 26], Operations: ['83-57=26']
Exploring Operation: 26/2=13, Resulting Numbers: [5, 13]
Generated Node #0,3,0: 13:[5, 13] Operation: 26/2=13
Exploring Operation: 5*2=10, Resulting Numbers: [26, 10]
Generated Node #0,3,1: 13:[26, 10] Operation: 5*2=10
Exploring Operation: 26-2=24, Resulting Numbers: [5, 24]
Generated Node #0,3,2: 13:[5, 24] Operation: 26-2=24
Exploring Operation: 26-5=21, Resulting Numbers: [2, 21]
Generated Node #0,3,3: 13:[2, 21] Operation: 26-5=21
Exploring Operation: 5+2=7, Resulting Numbers: [26, 7]
Generated Node #0,3,4: 13:[26, 7] Operation: 5+2=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[5, 13], Operations: ['83-57=26', '26/2=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[26, 10], Operations: ['83-57=26', '5*2=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,13 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[5, 24], Operations: ['83-57=26', '26-2=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[2, 21], Operations: ['83-57=26', '26-5=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 13:[26, 7], Operations: ['83-57=26', '5+2=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,13 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,13 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: 13:[57, 83, 10], Operations: ['5*2=10']
Exploring Operation: 83+10=93, Resulting Numbers: [57, 93]
Generated Node #0,0,0: 13:[57, 93] Operation: 83+10=93
Exploring Operation: 57+10=67, Resulting Numbers: [83, 67]
Generated Node #0,0,1: 13:[83, 67] Operation: 57+10=67
Exploring Operation: 83-57=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 13:[10, 26] Operation: 83-57=26
Exploring Operation: 83-10=73, Resulting Numbers: [57, 73]
Generated Node #0,0,3: 13:[57, 73] Operation: 83-10=73
Exploring Operation: 57-10=47, Resulting Numbers: [83, 47]
Generated Node #0,0,4: 13:[83, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[10, 26], Operations: ['5*2=10', '83-57=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[57, 73], Operations: ['5*2=10', '83-10=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,13 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 13:[83, 47], Operations: ['5*2=10', '57-10=47']
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,13 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,13 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[57, 93], Operations: ['5*2=10', '83+10=93']
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,13 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[83, 67], Operations: ['5*2=10', '57+10=67']
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,13 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 13:[2, 83, 52], Operations: ['57-5=52']
Exploring Operation: 52/2=26, Resulting Numbers: [83, 26]
Generated Node #0,1,0: 13:[83, 26] Operation: 52/2=26
Exploring Operation: 2+83=85, Resulting Numbers: [52, 85]
Generated Node #0,1,1: 13:[52, 85] Operation: 2+83=85
Exploring Operation: 52-2=50, Resulting Numbers: [83, 50]
Generated Node #0,1,2: 13:[83, 50] Operation: 52-2=50
Exploring Operation: 83-52=31, Resulting Numbers: [2, 31]
Generated Node #0,1,3: 13:[2, 31] Operation: 83-52=31
Exploring Operation: 83-2=81, Resulting Numbers: [52, 81]
Generated Node #0,1,4: 13:[52, 81] Operation: 83-2=81
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[2, 31], Operations: ['57-5=52', '83-52=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[83, 26], Operations: ['57-5=52', '52/2=26']
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[83, 50], Operations: ['57-5=52', '52-2=50']
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,13 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[52, 81], Operations: ['57-5=52', '83-2=81']
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,13 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[52, 85], Operations: ['57-5=52', '2+83=85']
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,13 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,13 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: 13:[57, 83, 7], Operations: ['5+2=7']
Exploring Operation: 83-57=26, Resulting Numbers: [7, 26]
Generated Node #0,2,0: 13:[7, 26] Operation: 83-57=26
Exploring Operation: 83+7=90, Resulting Numbers: [57, 90]
Generated Node #0,2,1: 13:[57, 90] Operation: 83+7=90
Exploring Operation: 57+7=64, Resulting Numbers: [83, 64]
Generated Node #0,2,2: 13:[83, 64] Operation: 57+7=64
Exploring Operation: 83-7=76, Resulting Numbers: [57, 76]
Generated Node #0,2,3: 13:[57, 76] Operation: 83-7=76
Exploring Operation: 57-7=50, Resulting Numbers: [83, 50]
Generated Node #0,2,4: 13:[83, 50] Operation: 57-7=50
Moving to Node #0,4
Current State: 13:[2, 57, 78], Operations: ['83-5=78']
Exploring Operation: 78-2=76, Resulting Numbers: [57, 76]
Generated Node #0,4,0: 13:[57, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [57, 39]
Generated Node #0,4,1: 13:[57, 39] Operation: 78/2=39
Exploring Operation: 78-57=21, Resulting Numbers: [2, 21]
Generated Node #0,4,2: 13:[2, 21] Operation: 78-57=21
Exploring Operation: 2+57=59, Resulting Numbers: [78, 59]
Generated Node #0,4,3: 13:[78, 59] Operation: 2+57=59
Exploring Operation: 57-2=55, Resulting Numbers: [78, 55]
Generated Node #0,4,4: 13:[78, 55] Operation: 57-2=55
Moving to Node #0,2,0
Current State: 13:[7, 26], Operations: ['5+2=7', '83-57=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,13 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[2, 21], Operations: ['83-5=78', '78-57=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[57, 39], Operations: ['83-5=78', '78/2=39']
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,13 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[83, 50], Operations: ['5+2=7', '57-7=50']
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,13 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[78, 55], Operations: ['83-5=78', '57-2=55']
Exploring Operation: 78*55=4290, Resulting Numbers: [4290]
4290,13 unequal: No Solution
Exploring Operation: 78-55=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 78+55=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[57, 76], Operations: ['5+2=7', '83-7=76']
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,13 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[57, 76], Operations: ['83-5=78', '78-2=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,13 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[78, 59], Operations: ['83-5=78', '2+57=59']
Exploring Operation: 78*59=4602, Resulting Numbers: [4602]
4602,13 unequal: No Solution
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 78+59=137, Resulting Numbers: [137]
137,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[83, 64], Operations: ['5+2=7', '57+7=64']
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,13 unequal: No Solution
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[57, 90], Operations: ['5+2=7', '83+7=90']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 57*90=5130, Resulting Numbers: [5130]
5130,13 unequal: No Solution
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,13 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
28,
56,
35
] | 13 | [
"56-28=28",
"35-28=7",
"91/7=13"
] | Current State: 13:[91, 28, 56, 35], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [91, 35, 28]
Generated Node #2: [91, 35, 28] from Operation: 56-28=28
Current State: 13:[91, 35, 28], Operations: ['56-28=28']
Exploring Operation: 35-28=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 35-28=7
Current State: 13:[91, 7], Operations: ['56-28=28', '35-28=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[91, 28, 56, 35], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [91, 28, 21]
Generated Node #0,0: 13:[91, 28, 21] Operation: 56-35=21
Exploring Operation: 91-35=56, Resulting Numbers: [28, 56, 56]
Generated Node #0,1: 13:[28, 56, 56] Operation: 91-35=56
Exploring Operation: 91-56=35, Resulting Numbers: [28, 35, 35]
Generated Node #0,2: 13:[28, 35, 35] Operation: 91-56=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[28, 35, 35], Operations: ['91-56=35']
Exploring Operation: 35/35=1, Resulting Numbers: [28, 1]
Generated Node #0,2,0: 13:[28, 1] Operation: 35/35=1
Exploring Operation: 35-28=7, Resulting Numbers: [35, 7]
Generated Node #0,2,1: 13:[35, 7] Operation: 35-28=7
Exploring Operation: 35-28=7, Resulting Numbers: [35, 7]
Generated Node #0,2,2: 13:[35, 7] Operation: 35-28=7
Moving to Node #0,2,0
Current State: 13:[28, 1], Operations: ['91-56=35', '35/35=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[35, 7], Operations: ['91-56=35', '35-28=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[35, 7], Operations: ['91-56=35', '35-28=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[91, 28, 21], Operations: ['56-35=21']
Exploring Operation: 28-21=7, Resulting Numbers: [91, 7]
Generated Node #0,0,0: 13:[91, 7] Operation: 28-21=7
Exploring Operation: 91-28=63, Resulting Numbers: [21, 63]
Generated Node #0,0,1: 13:[21, 63] Operation: 91-28=63
Exploring Operation: 91-21=70, Resulting Numbers: [28, 70]
Generated Node #0,0,2: 13:[28, 70] Operation: 91-21=70
Moving to Node #0,0,1
Current State: 13:[21, 63], Operations: ['56-35=21', '91-28=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[28, 70], Operations: ['56-35=21', '91-21=70']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,13 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[91, 7], Operations: ['56-35=21', '28-21=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[91, 28, 56, 35], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [91, 28, 21]
Generated Node #0,0: 13:[91, 28, 21] Operation: 56-35=21
Moving to Node #0,0
Current State: 13:[91, 28, 21], Operations: ['56-35=21']
Exploring Operation: 28-21=7, Resulting Numbers: [91, 7]
Generated Node #0,0,0: 13:[91, 7] Operation: 28-21=7
Moving to Node #0,0,0
Current State: 13:[91, 7], Operations: ['56-35=21', '28-21=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
24,
34,
20,
16
] | 40 | [
"24*34=816",
"816-16=800",
"800/20=40"
] | Current State: 40:[24, 34, 20, 16], Operations: []
Exploring Operation: 24*34=816, Resulting Numbers: [20, 16, 816]
Generated Node #2: [20, 16, 816] from Operation: 24*34=816
Current State: 40:[20, 16, 816], Operations: ['24*34=816']
Exploring Operation: 816-16=800, Resulting Numbers: [20, 800]
Generated Node #3: [20, 800] from Operation: 816-16=800
Current State: 40:[20, 800], Operations: ['24*34=816', '816-16=800']
Exploring Operation: 800/20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[24, 34, 20, 16], Operations: []
Exploring Operation: 24+16=40, Resulting Numbers: [34, 20, 40]
Generated Node #0,0: 40:[34, 20, 40] Operation: 24+16=40
Exploring Operation: 34-24=10, Resulting Numbers: [20, 16, 10]
Generated Node #0,1: 40:[20, 16, 10] Operation: 34-24=10
Moving to Node #0,1
Current State: 40:[20, 16, 10], Operations: ['34-24=10']
Exploring Operation: 16-10=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 40:[20, 6] Operation: 16-10=6
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 40:[10, 4] Operation: 20-16=4
Moving to Node #0,0
Current State: 40:[34, 20, 40], Operations: ['24+16=40']
Exploring Operation: 34-20=14, Resulting Numbers: [40, 14]
Generated Node #0,0,0: 40:[40, 14] Operation: 34-20=14
Exploring Operation: 40-34=6, Resulting Numbers: [20, 6]
Generated Node #0,0,1: 40:[20, 6] Operation: 40-34=6
Moving to Node #0,1,1
Current State: 40:[10, 4], Operations: ['34-24=10', '20-16=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[24, 34, 20, 16], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [20, 16, 10]
Generated Node #0,1: 40:[20, 16, 10] Operation: 34-24=10
Moving to Node #0,1
Current State: 40:[20, 16, 10], Operations: ['34-24=10']
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 40:[10, 4] Operation: 20-16=4
Moving to Node #0,1,1
Current State: 40:[10, 4], Operations: ['34-24=10', '20-16=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
99,
81,
44,
1
] | 25 | [
"99-81=18",
"44-1=43",
"43-18=25"
] | Current State: 25:[99, 81, 44, 1], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [44, 1, 18]
Generated Node #2: [44, 1, 18] from Operation: 99-81=18
Current State: 25:[44, 1, 18], Operations: ['99-81=18']
Exploring Operation: 44-1=43, Resulting Numbers: [18, 43]
Generated Node #3: [18, 43] from Operation: 44-1=43
Current State: 25:[18, 43], Operations: ['99-81=18', '44-1=43']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[99, 81, 44, 1], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [44, 1, 18]
Generated Node #0,0: 25:[44, 1, 18] Operation: 99-81=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[44, 1, 18], Operations: ['99-81=18']
Exploring Operation: 44-18=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 25:[1, 26] Operation: 44-18=26
Moving to Node #0,0,0
Current State: 25:[1, 26], Operations: ['99-81=18', '44-18=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[99, 81, 44, 1], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [44, 1, 18]
Generated Node #0,0: 25:[44, 1, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 25:[44, 1, 18], Operations: ['99-81=18']
Exploring Operation: 44-18=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 25:[1, 26] Operation: 44-18=26
Moving to Node #0,0,0
Current State: 25:[1, 26], Operations: ['99-81=18', '44-18=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
2,
14,
63,
34
] | 21 | [
"34/2=17",
"17-14=3",
"63/3=21"
] | Current State: 21:[2, 14, 63, 34], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [14, 63, 17]
Generated Node #2: [14, 63, 17] from Operation: 34/2=17
Current State: 21:[14, 63, 17], Operations: ['34/2=17']
Exploring Operation: 17-14=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 17-14=3
Current State: 21:[63, 3], Operations: ['34/2=17', '17-14=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[2, 14, 63, 34], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [2, 63, 20]
Generated Node #0,0: 21:[2, 63, 20] Operation: 34-14=20
Exploring Operation: 63-14=49, Resulting Numbers: [2, 34, 49]
Generated Node #0,1: 21:[2, 34, 49] Operation: 63-14=49
Exploring Operation: 34/2=17, Resulting Numbers: [14, 63, 17]
Generated Node #0,2: 21:[14, 63, 17] Operation: 34/2=17
Exploring Operation: 63-34=29, Resulting Numbers: [2, 14, 29]
Generated Node #0,3: 21:[2, 14, 29] Operation: 63-34=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[2, 14, 29], Operations: ['63-34=29']
Exploring Operation: 29-14=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 21:[2, 15] Operation: 29-14=15
Exploring Operation: 2+14=16, Resulting Numbers: [29, 16]
Generated Node #0,3,1: 21:[29, 16] Operation: 2+14=16
Exploring Operation: 14/2=7, Resulting Numbers: [29, 7]
Generated Node #0,3,2: 21:[29, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [29, 12]
Generated Node #0,3,3: 21:[29, 12] Operation: 14-2=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[2, 15], Operations: ['63-34=29', '29-14=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[29, 7], Operations: ['63-34=29', '14/2=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,21 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[29, 16], Operations: ['63-34=29', '2+14=16']
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,21 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[29, 12], Operations: ['63-34=29', '14-2=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,21 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[2, 34, 49], Operations: ['63-14=49']
Exploring Operation: 34/2=17, Resulting Numbers: [49, 17]
Generated Node #0,1,0: 21:[49, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [49, 32]
Generated Node #0,1,1: 21:[49, 32] Operation: 34-2=32
Exploring Operation: 49-2=47, Resulting Numbers: [34, 47]
Generated Node #0,1,2: 21:[34, 47] Operation: 49-2=47
Exploring Operation: 49-34=15, Resulting Numbers: [2, 15]
Generated Node #0,1,3: 21:[2, 15] Operation: 49-34=15
Moving to Node #0,1,3
Current State: 21:[2, 15], Operations: ['63-14=49', '49-34=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[49, 17], Operations: ['63-14=49', '34/2=17']
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[34, 47], Operations: ['63-14=49', '49-2=47']
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,21 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[49, 32], Operations: ['63-14=49', '34-2=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,21 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[2, 63, 20], Operations: ['34-14=20']
Exploring Operation: 2+63=65, Resulting Numbers: [20, 65]
Generated Node #0,0,0: 21:[20, 65] Operation: 2+63=65
Exploring Operation: 2+20=22, Resulting Numbers: [63, 22]
Generated Node #0,0,1: 21:[63, 22] Operation: 2+20=22
Exploring Operation: 63-20=43, Resulting Numbers: [2, 43]
Generated Node #0,0,2: 21:[2, 43] Operation: 63-20=43
Exploring Operation: 63-2=61, Resulting Numbers: [20, 61]
Generated Node #0,0,3: 21:[20, 61] Operation: 63-2=61
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[2, 43], Operations: ['34-14=20', '63-20=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,21 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[20, 61], Operations: ['34-14=20', '63-2=61']
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[63, 22], Operations: ['34-14=20', '2+20=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,21 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[20, 65], Operations: ['34-14=20', '2+63=65']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[14, 63, 17], Operations: ['34/2=17']
Exploring Operation: 63-14=49, Resulting Numbers: [17, 49]
Generated Node #0,2,0: 21:[17, 49] Operation: 63-14=49
Exploring Operation: 14+17=31, Resulting Numbers: [63, 31]
Generated Node #0,2,1: 21:[63, 31] Operation: 14+17=31
Exploring Operation: 63-17=46, Resulting Numbers: [14, 46]
Generated Node #0,2,2: 21:[14, 46] Operation: 63-17=46
Exploring Operation: 17-14=3, Resulting Numbers: [63, 3]
Generated Node #0,2,3: 21:[63, 3] Operation: 17-14=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[17, 49], Operations: ['34/2=17', '63-14=49']
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,21 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[14, 46], Operations: ['34/2=17', '63-17=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,21 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[63, 3], Operations: ['34/2=17', '17-14=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,21 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[2, 14, 63, 34], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [14, 63, 17]
Generated Node #0,2: 21:[14, 63, 17] Operation: 34/2=17
Moving to Node #0,2
Current State: 21:[14, 63, 17], Operations: ['34/2=17']
Exploring Operation: 17-14=3, Resulting Numbers: [63, 3]
Generated Node #0,2,3: 21:[63, 3] Operation: 17-14=3
Moving to Node #0,2,3
Current State: 21:[63, 3], Operations: ['34/2=17', '17-14=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.939236 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.