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 |
|---|---|---|---|---|---|---|---|---|
[
35,
98,
94,
2
] | 70 | [
"98-94=4",
"35*4=140",
"140/2=70"
] | Current State: 70:[35, 98, 94, 2], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [35, 2, 4]
Generated Node #2: [35, 2, 4] from Operation: 98-94=4
Current State: 70:[35, 2, 4], Operations: ['98-94=4']
Exploring Operation: 35*4=140, Resulting Numbers: [2, 140]
Generated Node #3: [2, 140] from Operation: 35*4=140
Current State: 70:[2, 140], Operations: ['98-94=4', '35*4=140']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[35, 98, 94, 2], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [94, 2, 63]
Generated Node #0,0: 70:[94, 2, 63] Operation: 98-35=63
Exploring Operation: 98-94=4, Resulting Numbers: [35, 2, 4]
Generated Node #0,1: 70:[35, 2, 4] Operation: 98-94=4
Exploring Operation: 98/2=49, Resulting Numbers: [35, 94, 49]
Generated Node #0,2: 70:[35, 94, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[35, 2, 4], Operations: ['98-94=4']
Exploring Operation: 35*2=70, Resulting Numbers: [4, 70]
Generated Node #0,1,0: 70:[4, 70] Operation: 35*2=70
Exploring Operation: 4-2=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 4-2=2
Exploring Operation: 4/2=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 70:[35, 2] Operation: 4/2=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['98-94=4', '4-2=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[35, 98, 94, 2], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [35, 2, 4]
Generated Node #0,1: 70:[35, 2, 4] Operation: 98-94=4
Moving to Node #0,1
Current State: 70:[35, 2, 4], Operations: ['98-94=4']
Exploring Operation: 4-2=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 4-2=2
Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['98-94=4', '4-2=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
79,
50,
5,
20
] | 29 | [
"79+50=129",
"5*20=100",
"129-100=29"
] | Current State: 29:[79, 50, 5, 20], Operations: []
Exploring Operation: 79+50=129, Resulting Numbers: [5, 20, 129]
Generated Node #2: [5, 20, 129] from Operation: 79+50=129
Current State: 29:[5, 20, 129], Operations: ['79+50=129']
Exploring Operation: 5*20=100, Resulting Numbers: [129, 100]
Generated Node #3: [129, 100] from Operation: 5*20=100
Current State: 29:[129, 100], Operations: ['79+50=129', '5*20=100']
Exploring Operation: 129-100=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[79, 50, 5, 20], Operations: []
Exploring Operation: 79-5=74, Resulting Numbers: [50, 20, 74]
Generated Node #0,0: 29:[50, 20, 74] Operation: 79-5=74
Exploring Operation: 79-20=59, Resulting Numbers: [50, 5, 59]
Generated Node #0,1: 29:[50, 5, 59] Operation: 79-20=59
Exploring Operation: 79-50=29, Resulting Numbers: [5, 20, 29]
Generated Node #0,2: 29:[5, 20, 29] Operation: 79-50=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[5, 20, 29], Operations: ['79-50=29']
Exploring Operation: 5+29=34, Resulting Numbers: [20, 34]
Generated Node #0,2,0: 29:[20, 34] Operation: 5+29=34
Exploring Operation: 20-5=15, Resulting Numbers: [29, 15]
Generated Node #0,2,1: 29:[29, 15] Operation: 20-5=15
Exploring Operation: 5+20=25, Resulting Numbers: [29, 25]
Generated Node #0,2,2: 29:[29, 25] Operation: 5+20=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[29, 25], Operations: ['79-50=29', '5+20=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,29 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[20, 34], Operations: ['79-50=29', '5+29=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,29 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[29, 15], Operations: ['79-50=29', '20-5=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[50, 20, 74], Operations: ['79-5=74']
Exploring Operation: 74-50=24, Resulting Numbers: [20, 24]
Generated Node #0,0,0: 29:[20, 24] Operation: 74-50=24
Exploring Operation: 50-20=30, Resulting Numbers: [74, 30]
Generated Node #0,0,1: 29:[74, 30] Operation: 50-20=30
Exploring Operation: 74-20=54, Resulting Numbers: [50, 54]
Generated Node #0,0,2: 29:[50, 54] Operation: 74-20=54
Moving to Node #0,0,0
Current State: 29:[20, 24], Operations: ['79-5=74', '74-50=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[74, 30], Operations: ['79-5=74', '50-20=30']
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[50, 54], Operations: ['79-5=74', '74-20=54']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,29 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[50, 5, 59], Operations: ['79-20=59']
Exploring Operation: 59-50=9, Resulting Numbers: [5, 9]
Generated Node #0,1,0: 29:[5, 9] Operation: 59-50=9
Exploring Operation: 59-5=54, Resulting Numbers: [50, 54]
Generated Node #0,1,1: 29:[50, 54] Operation: 59-5=54
Exploring Operation: 50-5=45, Resulting Numbers: [59, 45]
Generated Node #0,1,2: 29:[59, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[5, 9], Operations: ['79-20=59', '59-50=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[50, 54], Operations: ['79-20=59', '59-5=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,29 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[59, 45], Operations: ['79-20=59', '50-5=45']
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,29 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
88,
77,
98,
11
] | 97 | [
"88-77=11",
"11/11=1",
"98-1=97"
] | Current State: 97:[88, 77, 98, 11], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [98, 11, 11]
Generated Node #2: [98, 11, 11] from Operation: 88-77=11
Current State: 97:[98, 11, 11], Operations: ['88-77=11']
Exploring Operation: 11/11=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 11/11=1
Current State: 97:[98, 1], Operations: ['88-77=11', '11/11=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[88, 77, 98, 11], Operations: []
Exploring Operation: 77+11=88, Resulting Numbers: [88, 98, 88]
Generated Node #0,0: 97:[88, 98, 88] Operation: 77+11=88
Exploring Operation: 88+11=99, Resulting Numbers: [77, 98, 99]
Generated Node #0,1: 97:[77, 98, 99] Operation: 88+11=99
Exploring Operation: 98-11=87, Resulting Numbers: [88, 77, 87]
Generated Node #0,2: 97:[88, 77, 87] Operation: 98-11=87
Exploring Operation: 88-11=77, Resulting Numbers: [77, 98, 77]
Generated Node #0,3: 97:[77, 98, 77] Operation: 88-11=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[88, 98, 88], Operations: ['77+11=88']
Exploring Operation: 88/88=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 97:[98, 1] Operation: 88/88=1
Exploring Operation: 88+88=176, Resulting Numbers: [98, 176]
Generated Node #0,0,1: 97:[98, 176] Operation: 88+88=176
Exploring Operation: 98-88=10, Resulting Numbers: [88, 10]
Generated Node #0,0,2: 97:[88, 10] Operation: 98-88=10
Exploring Operation: 98-88=10, Resulting Numbers: [88, 10]
Generated Node #0,0,3: 97:[88, 10] Operation: 98-88=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[98, 176], Operations: ['77+11=88', '88+88=176']
Exploring Operation: 98+176=274, Resulting Numbers: [274]
274,97 unequal: No Solution
Exploring Operation: 176-98=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 98*176=17248, Resulting Numbers: [17248]
17248,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[88, 10], Operations: ['77+11=88', '98-88=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,97 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[88, 10], Operations: ['77+11=88', '98-88=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,97 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[98, 1], Operations: ['77+11=88', '88/88=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[88, 77, 98, 11], Operations: []
Exploring Operation: 77+11=88, Resulting Numbers: [88, 98, 88]
Generated Node #0,0: 97:[88, 98, 88] Operation: 77+11=88
Moving to Node #0,0
Current State: 97:[88, 98, 88], Operations: ['77+11=88']
Exploring Operation: 88/88=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 97:[98, 1] Operation: 88/88=1
Moving to Node #0,0,0
Current State: 97:[98, 1], Operations: ['77+11=88', '88/88=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
72,
41,
92,
90
] | 69 | [
"72+41=113",
"92+90=182",
"182-113=69"
] | Current State: 69:[72, 41, 92, 90], Operations: []
Exploring Operation: 72+41=113, Resulting Numbers: [92, 90, 113]
Generated Node #2: [92, 90, 113] from Operation: 72+41=113
Current State: 69:[92, 90, 113], Operations: ['72+41=113']
Exploring Operation: 92+90=182, Resulting Numbers: [113, 182]
Generated Node #3: [113, 182] from Operation: 92+90=182
Current State: 69:[113, 182], Operations: ['72+41=113', '92+90=182']
Exploring Operation: 182-113=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 41, 92, 90], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [41, 92, 18]
Generated Node #0,0: 69:[41, 92, 18] Operation: 90-72=18
Exploring Operation: 92-41=51, Resulting Numbers: [72, 90, 51]
Generated Node #0,1: 69:[72, 90, 51] Operation: 92-41=51
Exploring Operation: 92-72=20, Resulting Numbers: [41, 90, 20]
Generated Node #0,2: 69:[41, 90, 20] Operation: 92-72=20
Exploring Operation: 90-41=49, Resulting Numbers: [72, 92, 49]
Generated Node #0,3: 69:[72, 92, 49] Operation: 90-41=49
Exploring Operation: 92-90=2, Resulting Numbers: [72, 41, 2]
Generated Node #0,4: 69:[72, 41, 2] Operation: 92-90=2
Moving to Node #0,4
Current State: 69:[72, 41, 2], Operations: ['92-90=2']
Exploring Operation: 72+2=74, Resulting Numbers: [41, 74]
Generated Node #0,4,0: 69:[41, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [41, 70]
Generated Node #0,4,1: 69:[41, 70] Operation: 72-2=70
Exploring Operation: 41-2=39, Resulting Numbers: [72, 39]
Generated Node #0,4,2: 69:[72, 39] Operation: 41-2=39
Exploring Operation: 41*2=82, Resulting Numbers: [72, 82]
Generated Node #0,4,3: 69:[72, 82] Operation: 41*2=82
Exploring Operation: 72-41=31, Resulting Numbers: [2, 31]
Generated Node #0,4,4: 69:[2, 31] Operation: 72-41=31
Moving to Node #0,2
Current State: 69:[41, 90, 20], Operations: ['92-72=20']
Exploring Operation: 41-20=21, Resulting Numbers: [90, 21]
Generated Node #0,2,0: 69:[90, 21] Operation: 41-20=21
Exploring Operation: 90-20=70, Resulting Numbers: [41, 70]
Generated Node #0,2,1: 69:[41, 70] Operation: 90-20=70
Exploring Operation: 41+20=61, Resulting Numbers: [90, 61]
Generated Node #0,2,2: 69:[90, 61] Operation: 41+20=61
Exploring Operation: 90+20=110, Resulting Numbers: [41, 110]
Generated Node #0,2,3: 69:[41, 110] Operation: 90+20=110
Exploring Operation: 90-41=49, Resulting Numbers: [20, 49]
Generated Node #0,2,4: 69:[20, 49] Operation: 90-41=49
Moving to Node #0,1
Current State: 69:[72, 90, 51], Operations: ['92-41=51']
Exploring Operation: 90+51=141, Resulting Numbers: [72, 141]
Generated Node #0,1,0: 69:[72, 141] Operation: 90+51=141
Exploring Operation: 72-51=21, Resulting Numbers: [90, 21]
Generated Node #0,1,1: 69:[90, 21] Operation: 72-51=21
Exploring Operation: 90-51=39, Resulting Numbers: [72, 39]
Generated Node #0,1,2: 69:[72, 39] Operation: 90-51=39
Exploring Operation: 72+51=123, Resulting Numbers: [90, 123]
Generated Node #0,1,3: 69:[90, 123] Operation: 72+51=123
Exploring Operation: 90-72=18, Resulting Numbers: [51, 18]
Generated Node #0,1,4: 69:[51, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 69:[41, 92, 18], Operations: ['90-72=18']
Exploring Operation: 92-41=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 69:[18, 51] Operation: 92-41=51
Exploring Operation: 41-18=23, Resulting Numbers: [92, 23]
Generated Node #0,0,1: 69:[92, 23] Operation: 41-18=23
Exploring Operation: 41+18=59, Resulting Numbers: [92, 59]
Generated Node #0,0,2: 69:[92, 59] Operation: 41+18=59
Exploring Operation: 92-18=74, Resulting Numbers: [41, 74]
Generated Node #0,0,3: 69:[41, 74] Operation: 92-18=74
Exploring Operation: 92+18=110, Resulting Numbers: [41, 110]
Generated Node #0,0,4: 69:[41, 110] Operation: 92+18=110
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[18, 51], Operations: ['90-72=18', '92-41=51']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[72, 41, 92, 90], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [41, 92, 18]
Generated Node #0,0: 69:[41, 92, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 69:[41, 92, 18], Operations: ['90-72=18']
Exploring Operation: 92-41=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 69:[18, 51] Operation: 92-41=51
Moving to Node #0,0,0
Current State: 69:[18, 51], Operations: ['90-72=18', '92-41=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | sum_heuristic |
[
2,
80,
75,
69
] | 43 | [
"80+75=155",
"155-69=86",
"86/2=43"
] | Current State: 43:[2, 80, 75, 69], Operations: []
Exploring Operation: 80+75=155, Resulting Numbers: [2, 69, 155]
Generated Node #2: [2, 69, 155] from Operation: 80+75=155
Current State: 43:[2, 69, 155], Operations: ['80+75=155']
Exploring Operation: 155-69=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 155-69=86
Current State: 43:[2, 86], Operations: ['80+75=155', '155-69=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 80, 75, 69], Operations: []
Exploring Operation: 80-2=78, Resulting Numbers: [75, 69, 78]
Generated Node #0,0: 43:[75, 69, 78] Operation: 80-2=78
Exploring Operation: 69-2=67, Resulting Numbers: [80, 75, 67]
Generated Node #0,1: 43:[80, 75, 67] Operation: 69-2=67
Exploring Operation: 80/2=40, Resulting Numbers: [75, 69, 40]
Generated Node #0,2: 43:[75, 69, 40] Operation: 80/2=40
Exploring Operation: 75-2=73, Resulting Numbers: [80, 69, 73]
Generated Node #0,3: 43:[80, 69, 73] Operation: 75-2=73
Moving to Node #0,2
Current State: 43:[75, 69, 40], Operations: ['80/2=40']
Exploring Operation: 75-40=35, Resulting Numbers: [69, 35]
Generated Node #0,2,0: 43:[69, 35] Operation: 75-40=35
Exploring Operation: 69-40=29, Resulting Numbers: [75, 29]
Generated Node #0,2,1: 43:[75, 29] Operation: 69-40=29
Exploring Operation: 75-69=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 43:[40, 6] Operation: 75-69=6
Exploring Operation: 75+40=115, Resulting Numbers: [69, 115]
Generated Node #0,2,3: 43:[69, 115] Operation: 75+40=115
Moving to Node #0,1
Current State: 43:[80, 75, 67], Operations: ['69-2=67']
Exploring Operation: 75-67=8, Resulting Numbers: [80, 8]
Generated Node #0,1,0: 43:[80, 8] Operation: 75-67=8
Exploring Operation: 80-75=5, Resulting Numbers: [67, 5]
Generated Node #0,1,1: 43:[67, 5] Operation: 80-75=5
Exploring Operation: 80+75=155, Resulting Numbers: [67, 155]
Generated Node #0,1,2: 43:[67, 155] Operation: 80+75=155
Exploring Operation: 80-67=13, Resulting Numbers: [75, 13]
Generated Node #0,1,3: 43:[75, 13] Operation: 80-67=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[67, 5], Operations: ['69-2=67', '80-75=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,43 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[75, 13], Operations: ['69-2=67', '80-67=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[80, 8], Operations: ['69-2=67', '75-67=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,43 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[67, 155], Operations: ['69-2=67', '80+75=155']
Exploring Operation: 155-67=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 67+155=222, Resulting Numbers: [222]
222,43 unequal: No Solution
Exploring Operation: 67*155=10385, Resulting Numbers: [10385]
10385,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 43:[75, 69, 78], Operations: ['80-2=78']
Exploring Operation: 78-75=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 43:[69, 3] Operation: 78-75=3
Exploring Operation: 75-69=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 43:[78, 6] Operation: 75-69=6
Exploring Operation: 78-69=9, Resulting Numbers: [75, 9]
Generated Node #0,0,2: 43:[75, 9] Operation: 78-69=9
Exploring Operation: 75+69=144, Resulting Numbers: [78, 144]
Generated Node #0,0,3: 43:[78, 144] Operation: 75+69=144
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[69, 3], Operations: ['80-2=78', '78-75=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,43 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[75, 9], Operations: ['80-2=78', '78-69=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,43 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[78, 6], Operations: ['80-2=78', '75-69=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[78, 144], Operations: ['80-2=78', '75+69=144']
Exploring Operation: 78*144=11232, Resulting Numbers: [11232]
11232,43 unequal: No Solution
Exploring Operation: 78+144=222, Resulting Numbers: [222]
222,43 unequal: No Solution
Exploring Operation: 144-78=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 43:[80, 69, 73], Operations: ['75-2=73']
Exploring Operation: 80-69=11, Resulting Numbers: [73, 11]
Generated Node #0,3,0: 43:[73, 11] Operation: 80-69=11
Exploring Operation: 80+69=149, Resulting Numbers: [73, 149]
Generated Node #0,3,1: 43:[73, 149] Operation: 80+69=149
Exploring Operation: 73-69=4, Resulting Numbers: [80, 4]
Generated Node #0,3,2: 43:[80, 4] Operation: 73-69=4
Exploring Operation: 80-73=7, Resulting Numbers: [69, 7]
Generated Node #0,3,3: 43:[69, 7] Operation: 80-73=7
Moving to Node #0,2,0
Current State: 43:[69, 35], Operations: ['80/2=40', '75-40=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[40, 6], Operations: ['80/2=40', '75-69=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,43 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[75, 29], Operations: ['80/2=40', '69-40=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[69, 7], Operations: ['75-2=73', '80-73=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[73, 11], Operations: ['75-2=73', '80-69=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[80, 4], Operations: ['75-2=73', '73-69=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[69, 115], Operations: ['80/2=40', '75+40=115']
Exploring Operation: 69*115=7935, Resulting Numbers: [7935]
7935,43 unequal: No Solution
Exploring Operation: 69+115=184, Resulting Numbers: [184]
184,43 unequal: No Solution
Exploring Operation: 115-69=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[73, 149], Operations: ['75-2=73', '80+69=149']
Exploring Operation: 73+149=222, Resulting Numbers: [222]
222,43 unequal: No Solution
Exploring Operation: 149-73=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 73*149=10877, Resulting Numbers: [10877]
10877,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
4,
25,
1
] | 56 | [
"25-1=24",
"24/4=6",
"50+6=56"
] | Current State: 56:[50, 4, 25, 1], Operations: []
Exploring Operation: 25-1=24, Resulting Numbers: [50, 4, 24]
Generated Node #2: [50, 4, 24] from Operation: 25-1=24
Current State: 56:[50, 4, 24], Operations: ['25-1=24']
Exploring Operation: 24/4=6, Resulting Numbers: [50, 6]
Generated Node #3: [50, 6] from Operation: 24/4=6
Current State: 56:[50, 6], Operations: ['25-1=24', '24/4=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 4, 25, 1], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [4, 1, 2]
Generated Node #0,0: 56:[4, 1, 2] Operation: 50/25=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[4, 1, 2], Operations: ['50/25=2']
Exploring Operation: 4*1=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 56:[2, 4] Operation: 4*1=4
Moving to Node #0,0,0
Current State: 56:[2, 4], Operations: ['50/25=2', '4*1=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
8,
80,
98
] | 95 | [
"22+98=120",
"120/8=15",
"80+15=95"
] | Current State: 95:[22, 8, 80, 98], Operations: []
Exploring Operation: 22+98=120, Resulting Numbers: [8, 80, 120]
Generated Node #2: [8, 80, 120] from Operation: 22+98=120
Current State: 95:[8, 80, 120], Operations: ['22+98=120']
Exploring Operation: 120/8=15, Resulting Numbers: [80, 15]
Generated Node #3: [80, 15] from Operation: 120/8=15
Current State: 95:[80, 15], Operations: ['22+98=120', '120/8=15']
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[22, 8, 80, 98], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [22, 98, 10]
Generated Node #0,0: 95:[22, 98, 10] Operation: 80/8=10
Exploring Operation: 98-80=18, Resulting Numbers: [22, 8, 18]
Generated Node #0,1: 95:[22, 8, 18] Operation: 98-80=18
Moving to Node #0,1
Current State: 95:[22, 8, 18], Operations: ['98-80=18']
Exploring Operation: 22-18=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 95:[8, 4] Operation: 22-18=4
Exploring Operation: 22-8=14, Resulting Numbers: [18, 14]
Generated Node #0,1,1: 95:[18, 14] Operation: 22-8=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[8, 4], Operations: ['98-80=18', '22-18=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[18, 14], Operations: ['98-80=18', '22-8=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 95:[22, 98, 10], Operations: ['80/8=10']
Exploring Operation: 98-10=88, Resulting Numbers: [22, 88]
Generated Node #0,0,0: 95:[22, 88] Operation: 98-10=88
Exploring Operation: 22-10=12, Resulting Numbers: [98, 12]
Generated Node #0,0,1: 95:[98, 12] Operation: 22-10=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[22, 88], Operations: ['80/8=10', '98-10=88']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 22+88=110, Resulting Numbers: [110]
110,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[98, 12], Operations: ['80/8=10', '22-10=12']
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,95 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 |
[
41,
54,
2,
78
] | 52 | [
"54-41=13",
"78/2=39",
"13+39=52"
] | Current State: 52:[41, 54, 2, 78], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [2, 78, 13]
Generated Node #2: [2, 78, 13] from Operation: 54-41=13
Current State: 52:[2, 78, 13], Operations: ['54-41=13']
Exploring Operation: 78/2=39, Resulting Numbers: [13, 39]
Generated Node #3: [13, 39] from Operation: 78/2=39
Current State: 52:[13, 39], Operations: ['54-41=13', '78/2=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[41, 54, 2, 78], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [41, 2, 24]
Generated Node #0,0: 52:[41, 2, 24] Operation: 78-54=24
Exploring Operation: 41+2=43, Resulting Numbers: [54, 78, 43]
Generated Node #0,1: 52:[54, 78, 43] Operation: 41+2=43
Exploring Operation: 78-41=37, Resulting Numbers: [54, 2, 37]
Generated Node #0,2: 52:[54, 2, 37] Operation: 78-41=37
Exploring Operation: 54-41=13, Resulting Numbers: [2, 78, 13]
Generated Node #0,3: 52:[2, 78, 13] Operation: 54-41=13
Exploring Operation: 78/2=39, Resulting Numbers: [41, 54, 39]
Generated Node #0,4: 52:[41, 54, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[41, 2, 24], Operations: ['78-54=24']
Exploring Operation: 24/2=12, Resulting Numbers: [41, 12]
Generated Node #0,0,0: 52:[41, 12] Operation: 24/2=12
Exploring Operation: 41-24=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 52:[2, 17] Operation: 41-24=17
Exploring Operation: 41+2=43, Resulting Numbers: [24, 43]
Generated Node #0,0,2: 52:[24, 43] Operation: 41+2=43
Exploring Operation: 41+24=65, Resulting Numbers: [2, 65]
Generated Node #0,0,3: 52:[2, 65] Operation: 41+24=65
Exploring Operation: 2+24=26, Resulting Numbers: [41, 26]
Generated Node #0,0,4: 52:[41, 26] Operation: 2+24=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[2, 17], Operations: ['78-54=24', '41-24=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[24, 43], Operations: ['78-54=24', '41+2=43']
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,52 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 52:[41, 26], Operations: ['78-54=24', '2+24=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,52 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[41, 12], Operations: ['78-54=24', '24/2=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,52 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[2, 65], Operations: ['78-54=24', '41+24=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[54, 2, 37], Operations: ['78-41=37']
Exploring Operation: 37-2=35, Resulting Numbers: [54, 35]
Generated Node #0,2,0: 52:[54, 35] Operation: 37-2=35
Exploring Operation: 54/2=27, Resulting Numbers: [37, 27]
Generated Node #0,2,1: 52:[37, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [37, 52]
Generated Node #0,2,2: 52:[37, 52] Operation: 54-2=52
Exploring Operation: 54-37=17, Resulting Numbers: [2, 17]
Generated Node #0,2,3: 52:[2, 17] Operation: 54-37=17
Exploring Operation: 54+2=56, Resulting Numbers: [37, 56]
Generated Node #0,2,4: 52:[37, 56] Operation: 54+2=56
Moving to Node #0,2,3
Current State: 52:[2, 17], Operations: ['78-41=37', '54-37=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[37, 52], Operations: ['78-41=37', '54-2=52']
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,52 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[54, 35], Operations: ['78-41=37', '37-2=35']
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,52 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[37, 27], Operations: ['78-41=37', '54/2=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,52 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[37, 56], Operations: ['78-41=37', '54+2=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,52 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,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
Current State: 52:[2, 78, 13], Operations: ['54-41=13']
Exploring Operation: 78/13=6, Resulting Numbers: [2, 6]
Generated Node #0,3,0: 52:[2, 6] Operation: 78/13=6
Exploring Operation: 2*13=26, Resulting Numbers: [78, 26]
Generated Node #0,3,1: 52:[78, 26] Operation: 2*13=26
Exploring Operation: 78-2=76, Resulting Numbers: [13, 76]
Generated Node #0,3,2: 52:[13, 76] Operation: 78-2=76
Exploring Operation: 78-13=65, Resulting Numbers: [2, 65]
Generated Node #0,3,3: 52:[2, 65] Operation: 78-13=65
Exploring Operation: 78/2=39, Resulting Numbers: [13, 39]
Generated Node #0,3,4: 52:[13, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[2, 6], Operations: ['54-41=13', '78/13=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[2, 65], Operations: ['54-41=13', '78-13=65']
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 52:[13, 39], Operations: ['54-41=13', '78/2=39']
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,52 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[41, 54, 2, 78], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [2, 78, 13]
Generated Node #0,3: 52:[2, 78, 13] Operation: 54-41=13
Moving to Node #0,3
Current State: 52:[2, 78, 13], Operations: ['54-41=13']
Exploring Operation: 78/2=39, Resulting Numbers: [13, 39]
Generated Node #0,3,4: 52:[13, 39] Operation: 78/2=39
Moving to Node #0,3,4
Current State: 52:[13, 39], Operations: ['54-41=13', '78/2=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
34,
37,
30,
51
] | 92 | [
"34+37=71",
"51-30=21",
"71+21=92"
] | Current State: 92:[34, 37, 30, 51], Operations: []
Exploring Operation: 34+37=71, Resulting Numbers: [30, 51, 71]
Generated Node #2: [30, 51, 71] from Operation: 34+37=71
Current State: 92:[30, 51, 71], Operations: ['34+37=71']
Exploring Operation: 51-30=21, Resulting Numbers: [71, 21]
Generated Node #3: [71, 21] from Operation: 51-30=21
Current State: 92:[71, 21], Operations: ['34+37=71', '51-30=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[34, 37, 30, 51], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [37, 51, 4]
Generated Node #0,0: 92:[37, 51, 4] Operation: 34-30=4
Exploring Operation: 37-34=3, Resulting Numbers: [30, 51, 3]
Generated Node #0,1: 92:[30, 51, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[30, 51, 3], Operations: ['37-34=3']
Exploring Operation: 51-30=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 92:[3, 21] Operation: 51-30=21
Exploring Operation: 30*3=90, Resulting Numbers: [51, 90]
Generated Node #0,1,1: 92:[51, 90] Operation: 30*3=90
Moving to Node #0,1,0
Current State: 92:[3, 21], Operations: ['37-34=3', '51-30=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[51, 90], Operations: ['37-34=3', '30*3=90']
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,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:[37, 51, 4], Operations: ['34-30=4']
Exploring Operation: 37+51=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 92:[4, 88] Operation: 37+51=88
Exploring Operation: 51-37=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 92:[4, 14] Operation: 51-37=14
Moving to Node #0,0,0
Current State: 92:[4, 88], Operations: ['34-30=4', '37+51=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[34, 37, 30, 51], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [37, 51, 4]
Generated Node #0,0: 92:[37, 51, 4] Operation: 34-30=4
Moving to Node #0,0
Current State: 92:[37, 51, 4], Operations: ['34-30=4']
Exploring Operation: 37+51=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 92:[4, 88] Operation: 37+51=88
Moving to Node #0,0,0
Current State: 92:[4, 88], Operations: ['34-30=4', '37+51=88']
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
68,
8,
7,
57
] | 11 | [
"68-57=11",
"8-7=1",
"11*1=11"
] | Current State: 11:[68, 8, 7, 57], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [8, 7, 11]
Generated Node #2: [8, 7, 11] from Operation: 68-57=11
Current State: 11:[8, 7, 11], Operations: ['68-57=11']
Exploring Operation: 8-7=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 8-7=1
Current State: 11:[11, 1], Operations: ['68-57=11', '8-7=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[68, 8, 7, 57], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [8, 7, 11]
Generated Node #0,0: 11:[8, 7, 11] Operation: 68-57=11
Moving to Node #0,0
Current State: 11:[8, 7, 11], Operations: ['68-57=11']
Exploring Operation: 8+7=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 11:[11, 15] Operation: 8+7=15
Moving to Node #0,0,0
Current State: 11:[11, 15], Operations: ['68-57=11', '8+7=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
57,
2,
37
] | 38 | [
"57-37=20",
"20/2=10",
"48-10=38"
] | Current State: 38:[48, 57, 2, 37], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [48, 2, 20]
Generated Node #2: [48, 2, 20] from Operation: 57-37=20
Current State: 38:[48, 2, 20], Operations: ['57-37=20']
Exploring Operation: 20/2=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 20/2=10
Current State: 38:[48, 10], Operations: ['57-37=20', '20/2=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[48, 57, 2, 37], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [2, 37, 9]
Generated Node #0,0: 38:[2, 37, 9] Operation: 57-48=9
Exploring Operation: 57-37=20, Resulting Numbers: [48, 2, 20]
Generated Node #0,1: 38:[48, 2, 20] Operation: 57-37=20
Moving to Node #0,0
Current State: 38:[2, 37, 9], Operations: ['57-48=9']
Exploring Operation: 9-2=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 38:[37, 7] Operation: 9-2=7
Exploring Operation: 2*9=18, Resulting Numbers: [37, 18]
Generated Node #0,0,1: 38:[37, 18] Operation: 2*9=18
Moving to Node #0,1
Current State: 38:[48, 2, 20], Operations: ['57-37=20']
Exploring Operation: 48-2=46, Resulting Numbers: [20, 46]
Generated Node #0,1,0: 38:[20, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [20, 24]
Generated Node #0,1,1: 38:[20, 24] Operation: 48/2=24
Moving to Node #0,0,1
Current State: 38:[37, 18], Operations: ['57-48=9', '2*9=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[20, 24], Operations: ['57-37=20', '48/2=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[37, 7], Operations: ['57-48=9', '9-2=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[20, 46], Operations: ['57-37=20', '48-2=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,38 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
9,
79,
81
] | 88 | [
"79-16=63",
"63/9=7",
"81+7=88"
] | Current State: 88:[16, 9, 79, 81], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [9, 81, 63]
Generated Node #2: [9, 81, 63] from Operation: 79-16=63
Current State: 88:[9, 81, 63], Operations: ['79-16=63']
Exploring Operation: 63/9=7, Resulting Numbers: [81, 7]
Generated Node #3: [81, 7] from Operation: 63/9=7
Current State: 88:[81, 7], Operations: ['79-16=63', '63/9=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[16, 9, 79, 81], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [16, 9, 2]
Generated Node #0,0: 88:[16, 9, 2] Operation: 81-79=2
Exploring Operation: 16+79=95, Resulting Numbers: [9, 81, 95]
Generated Node #0,1: 88:[9, 81, 95] Operation: 16+79=95
Exploring Operation: 9+79=88, Resulting Numbers: [16, 81, 88]
Generated Node #0,2: 88:[16, 81, 88] Operation: 9+79=88
Moving to Node #0,0
Current State: 88:[16, 9, 2], Operations: ['81-79=2']
Exploring Operation: 16/2=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 88:[9, 8] Operation: 16/2=8
Exploring Operation: 16-9=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 88:[2, 7] Operation: 16-9=7
Exploring Operation: 16+9=25, Resulting Numbers: [2, 25]
Generated Node #0,0,2: 88:[2, 25] Operation: 16+9=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[9, 8], Operations: ['81-79=2', '16/2=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,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,1
Current State: 88:[2, 7], Operations: ['81-79=2', '16-9=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[2, 25], Operations: ['81-79=2', '16+9=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[16, 81, 88], Operations: ['9+79=88']
Exploring Operation: 81-16=65, Resulting Numbers: [88, 65]
Generated Node #0,2,0: 88:[88, 65] Operation: 81-16=65
Exploring Operation: 16+81=97, Resulting Numbers: [88, 97]
Generated Node #0,2,1: 88:[88, 97] Operation: 16+81=97
Exploring Operation: 88-81=7, Resulting Numbers: [16, 7]
Generated Node #0,2,2: 88:[16, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[16, 7], Operations: ['9+79=88', '88-81=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,88 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[88, 97], Operations: ['9+79=88', '16+81=97']
Exploring Operation: 88*97=8536, Resulting Numbers: [8536]
8536,88 unequal: No Solution
Exploring Operation: 88+97=185, Resulting Numbers: [185]
185,88 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[88, 65], Operations: ['9+79=88', '81-16=65']
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 88*65=5720, Resulting Numbers: [5720]
5720,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:[9, 81, 95], Operations: ['16+79=95']
Exploring Operation: 9+81=90, Resulting Numbers: [95, 90]
Generated Node #0,1,0: 88:[95, 90] Operation: 9+81=90
Exploring Operation: 81/9=9, Resulting Numbers: [95, 9]
Generated Node #0,1,1: 88:[95, 9] Operation: 81/9=9
Exploring Operation: 95-81=14, Resulting Numbers: [9, 14]
Generated Node #0,1,2: 88:[9, 14] Operation: 95-81=14
Moving to Node #0,1,2
Current State: 88:[9, 14], Operations: ['16+79=95', '95-81=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[95, 9], Operations: ['16+79=95', '81/9=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,88 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[95, 90], Operations: ['16+79=95', '9+81=90']
Exploring Operation: 95*90=8550, Resulting Numbers: [8550]
8550,88 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
37,
61,
62
] | 18 | [
"37-20=17",
"62-61=1",
"17+1=18"
] | Current State: 18:[20, 37, 61, 62], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [61, 62, 17]
Generated Node #2: [61, 62, 17] from Operation: 37-20=17
Current State: 18:[61, 62, 17], Operations: ['37-20=17']
Exploring Operation: 62-61=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 62-61=1
Current State: 18:[17, 1], Operations: ['37-20=17', '62-61=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[20, 37, 61, 62], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [20, 62, 24]
Generated Node #0,0: 18:[20, 62, 24] Operation: 61-37=24
Exploring Operation: 62-20=42, Resulting Numbers: [37, 61, 42]
Generated Node #0,1: 18:[37, 61, 42] Operation: 62-20=42
Exploring Operation: 62-61=1, Resulting Numbers: [20, 37, 1]
Generated Node #0,2: 18:[20, 37, 1] Operation: 62-61=1
Exploring Operation: 62-37=25, Resulting Numbers: [20, 61, 25]
Generated Node #0,3: 18:[20, 61, 25] Operation: 62-37=25
Exploring Operation: 61-20=41, Resulting Numbers: [37, 62, 41]
Generated Node #0,4: 18:[37, 62, 41] Operation: 61-20=41
Moving to Node #0,2
Current State: 18:[20, 37, 1], Operations: ['62-61=1']
Exploring Operation: 37-20=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 18:[1, 17] Operation: 37-20=17
Exploring Operation: 20*1=20, Resulting Numbers: [37, 20]
Generated Node #0,2,1: 18:[37, 20] Operation: 20*1=20
Exploring Operation: 37-1=36, Resulting Numbers: [20, 36]
Generated Node #0,2,2: 18:[20, 36] Operation: 37-1=36
Exploring Operation: 20/1=20, Resulting Numbers: [37, 20]
Generated Node #0,2,3: 18:[37, 20] Operation: 20/1=20
Exploring Operation: 20-1=19, Resulting Numbers: [37, 19]
Generated Node #0,2,4: 18:[37, 19] Operation: 20-1=19
Moving to Node #0,3
Current State: 18:[20, 61, 25], Operations: ['62-37=25']
Exploring Operation: 20+25=45, Resulting Numbers: [61, 45]
Generated Node #0,3,0: 18:[61, 45] Operation: 20+25=45
Exploring Operation: 20+61=81, Resulting Numbers: [25, 81]
Generated Node #0,3,1: 18:[25, 81] Operation: 20+61=81
Exploring Operation: 61-25=36, Resulting Numbers: [20, 36]
Generated Node #0,3,2: 18:[20, 36] Operation: 61-25=36
Exploring Operation: 25-20=5, Resulting Numbers: [61, 5]
Generated Node #0,3,3: 18:[61, 5] Operation: 25-20=5
Exploring Operation: 61-20=41, Resulting Numbers: [25, 41]
Generated Node #0,3,4: 18:[25, 41] Operation: 61-20=41
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[20, 36], Operations: ['62-37=25', '61-25=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,18 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[25, 41], Operations: ['62-37=25', '61-20=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,18 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[61, 5], Operations: ['62-37=25', '25-20=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,18 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[61, 45], Operations: ['62-37=25', '20+25=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[25, 81], Operations: ['62-37=25', '20+61=81']
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 25*81=2025, Resulting Numbers: [2025]
2025,18 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[20, 62, 24], Operations: ['61-37=24']
Exploring Operation: 24-20=4, Resulting Numbers: [62, 4]
Generated Node #0,0,0: 18:[62, 4] Operation: 24-20=4
Exploring Operation: 20+62=82, Resulting Numbers: [24, 82]
Generated Node #0,0,1: 18:[24, 82] Operation: 20+62=82
Exploring Operation: 20+24=44, Resulting Numbers: [62, 44]
Generated Node #0,0,2: 18:[62, 44] Operation: 20+24=44
Exploring Operation: 62-20=42, Resulting Numbers: [24, 42]
Generated Node #0,0,3: 18:[24, 42] Operation: 62-20=42
Exploring Operation: 62-24=38, Resulting Numbers: [20, 38]
Generated Node #0,0,4: 18:[20, 38] Operation: 62-24=38
Moving to Node #0,1
Current State: 18:[37, 61, 42], Operations: ['62-20=42']
Exploring Operation: 37+42=79, Resulting Numbers: [61, 79]
Generated Node #0,1,0: 18:[61, 79] Operation: 37+42=79
Exploring Operation: 61-42=19, Resulting Numbers: [37, 19]
Generated Node #0,1,1: 18:[37, 19] Operation: 61-42=19
Exploring Operation: 37+61=98, Resulting Numbers: [42, 98]
Generated Node #0,1,2: 18:[42, 98] Operation: 37+61=98
Exploring Operation: 42-37=5, Resulting Numbers: [61, 5]
Generated Node #0,1,3: 18:[61, 5] Operation: 42-37=5
Exploring Operation: 61-37=24, Resulting Numbers: [42, 24]
Generated Node #0,1,4: 18:[42, 24] Operation: 61-37=24
Moving to Node #0,4
Current State: 18:[37, 62, 41], Operations: ['61-20=41']
Exploring Operation: 37+41=78, Resulting Numbers: [62, 78]
Generated Node #0,4,0: 18:[62, 78] Operation: 37+41=78
Exploring Operation: 37+62=99, Resulting Numbers: [41, 99]
Generated Node #0,4,1: 18:[41, 99] Operation: 37+62=99
Exploring Operation: 62-41=21, Resulting Numbers: [37, 21]
Generated Node #0,4,2: 18:[37, 21] Operation: 62-41=21
Exploring Operation: 62-37=25, Resulting Numbers: [41, 25]
Generated Node #0,4,3: 18:[41, 25] Operation: 62-37=25
Exploring Operation: 41-37=4, Resulting Numbers: [62, 4]
Generated Node #0,4,4: 18:[62, 4] Operation: 41-37=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[37, 21], Operations: ['61-20=41', '62-41=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,18 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[41, 25], Operations: ['61-20=41', '62-37=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[62, 4], Operations: ['61-20=41', '41-37=4']
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,18 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[62, 78], Operations: ['61-20=41', '37+41=78']
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[41, 99], Operations: ['61-20=41', '37+62=99']
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,18 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,18 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: 18:[1, 17], Operations: ['62-61=1', '37-20=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[20, 37, 61, 62], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [20, 37, 1]
Generated Node #0,2: 18:[20, 37, 1] Operation: 62-61=1
Moving to Node #0,2
Current State: 18:[20, 37, 1], Operations: ['62-61=1']
Exploring Operation: 37-20=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 18:[1, 17] Operation: 37-20=17
Moving to Node #0,2,0
Current State: 18:[1, 17], Operations: ['62-61=1', '37-20=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
99,
40,
89,
56
] | 86 | [
"99-40=59",
"89+56=145",
"145-59=86"
] | Current State: 86:[99, 40, 89, 56], Operations: []
Exploring Operation: 99-40=59, Resulting Numbers: [89, 56, 59]
Generated Node #2: [89, 56, 59] from Operation: 99-40=59
Current State: 86:[89, 56, 59], Operations: ['99-40=59']
Exploring Operation: 89+56=145, Resulting Numbers: [59, 145]
Generated Node #3: [59, 145] from Operation: 89+56=145
Current State: 86:[59, 145], Operations: ['99-40=59', '89+56=145']
Exploring Operation: 145-59=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[99, 40, 89, 56], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [40, 89, 43]
Generated Node #0,0: 86:[40, 89, 43] Operation: 99-56=43
Exploring Operation: 99-89=10, Resulting Numbers: [40, 56, 10]
Generated Node #0,1: 86:[40, 56, 10] Operation: 99-89=10
Moving to Node #0,0
Current State: 86:[40, 89, 43], Operations: ['99-56=43']
Exploring Operation: 89-40=49, Resulting Numbers: [43, 49]
Generated Node #0,0,0: 86:[43, 49] Operation: 89-40=49
Exploring Operation: 43-40=3, Resulting Numbers: [89, 3]
Generated Node #0,0,1: 86:[89, 3] Operation: 43-40=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[89, 3], Operations: ['99-56=43', '43-40=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[99, 40, 89, 56], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [40, 89, 43]
Generated Node #0,0: 86:[40, 89, 43] Operation: 99-56=43
Moving to Node #0,0
Current State: 86:[40, 89, 43], Operations: ['99-56=43']
Exploring Operation: 43-40=3, Resulting Numbers: [89, 3]
Generated Node #0,0,1: 86:[89, 3] Operation: 43-40=3
Moving to Node #0,0,1
Current State: 86:[89, 3], Operations: ['99-56=43', '43-40=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
26,
13,
60,
97
] | 76 | [
"26+13=39",
"97-60=37",
"39+37=76"
] | Current State: 76:[26, 13, 60, 97], Operations: []
Exploring Operation: 26+13=39, Resulting Numbers: [60, 97, 39]
Generated Node #2: [60, 97, 39] from Operation: 26+13=39
Current State: 76:[60, 97, 39], Operations: ['26+13=39']
Exploring Operation: 97-60=37, Resulting Numbers: [39, 37]
Generated Node #3: [39, 37] from Operation: 97-60=37
Current State: 76:[39, 37], Operations: ['26+13=39', '97-60=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[26, 13, 60, 97], Operations: []
Exploring Operation: 97-26=71, Resulting Numbers: [13, 60, 71]
Generated Node #0,0: 76:[13, 60, 71] Operation: 97-26=71
Exploring Operation: 97-60=37, Resulting Numbers: [26, 13, 37]
Generated Node #0,1: 76:[26, 13, 37] Operation: 97-60=37
Moving to Node #0,1
Current State: 76:[26, 13, 37], Operations: ['97-60=37']
Exploring Operation: 26+13=39, Resulting Numbers: [37, 39]
Generated Node #0,1,0: 76:[37, 39] Operation: 26+13=39
Exploring Operation: 26/13=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 76:[37, 2] Operation: 26/13=2
Moving to Node #0,0
Current State: 76:[13, 60, 71], Operations: ['97-26=71']
Exploring Operation: 13+60=73, Resulting Numbers: [71, 73]
Generated Node #0,0,0: 76:[71, 73] Operation: 13+60=73
Exploring Operation: 71-60=11, Resulting Numbers: [13, 11]
Generated Node #0,0,1: 76:[13, 11] Operation: 71-60=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[71, 73], Operations: ['97-26=71', '13+60=73']
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 71+73=144, Resulting Numbers: [144]
144,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[13, 11], Operations: ['97-26=71', '71-60=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,76 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: 76:[37, 2], Operations: ['97-60=37', '26/13=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[37, 39], Operations: ['97-60=37', '26+13=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[26, 13, 60, 97], Operations: []
Exploring Operation: 97-60=37, Resulting Numbers: [26, 13, 37]
Generated Node #0,1: 76:[26, 13, 37] Operation: 97-60=37
Moving to Node #0,1
Current State: 76:[26, 13, 37], Operations: ['97-60=37']
Exploring Operation: 26+13=39, Resulting Numbers: [37, 39]
Generated Node #0,1,0: 76:[37, 39] Operation: 26+13=39
Moving to Node #0,1,0
Current State: 76:[37, 39], Operations: ['97-60=37', '26+13=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
32,
41,
30,
40
] | 88 | [
"40-32=8",
"41-30=11",
"8*11=88"
] | Current State: 88:[32, 41, 30, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [41, 30, 8]
Generated Node #2: [41, 30, 8] from Operation: 40-32=8
Current State: 88:[41, 30, 8], Operations: ['40-32=8']
Exploring Operation: 41-30=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 41-30=11
Current State: 88:[8, 11], Operations: ['40-32=8', '41-30=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[32, 41, 30, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [41, 30, 8]
Generated Node #0,0: 88:[41, 30, 8] Operation: 40-32=8
Exploring Operation: 32-30=2, Resulting Numbers: [41, 40, 2]
Generated Node #0,1: 88:[41, 40, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[41, 40, 2], Operations: ['32-30=2']
Exploring Operation: 41+2=43, Resulting Numbers: [40, 43]
Generated Node #0,1,0: 88:[40, 43] Operation: 41+2=43
Exploring Operation: 41-40=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 88:[2, 1] Operation: 41-40=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[2, 1], Operations: ['32-30=2', '41-40=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[40, 43], Operations: ['32-30=2', '41+2=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[41, 30, 8], Operations: ['40-32=8']
Exploring Operation: 41-30=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 41-30=11
Exploring Operation: 30-8=22, Resulting Numbers: [41, 22]
Generated Node #0,0,1: 88:[41, 22] Operation: 30-8=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['40-32=8', '41-30=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[32, 41, 30, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [41, 30, 8]
Generated Node #0,0: 88:[41, 30, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 88:[41, 30, 8], Operations: ['40-32=8']
Exploring Operation: 41-30=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 41-30=11
Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['40-32=8', '41-30=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
86,
68,
3,
86
] | 17 | [
"86/86=1",
"3+1=4",
"68/4=17"
] | Current State: 17:[86, 68, 3, 86], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [68, 3, 1]
Generated Node #2: [68, 3, 1] from Operation: 86/86=1
Current State: 17:[68, 3, 1], Operations: ['86/86=1']
Exploring Operation: 3+1=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 3+1=4
Current State: 17:[68, 4], Operations: ['86/86=1', '3+1=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[86, 68, 3, 86], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [68, 3, 1]
Generated Node #0,0: 17:[68, 3, 1] Operation: 86/86=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[68, 3, 1], Operations: ['86/86=1']
Exploring Operation: 68-3=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 17:[1, 65] Operation: 68-3=65
Moving to Node #0,0,0
Current State: 17:[1, 65], Operations: ['86/86=1', '68-3=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
47,
56,
31
] | 53 | [
"56-31=25",
"4*25=100",
"100-47=53"
] | Current State: 53:[4, 47, 56, 31], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [4, 47, 25]
Generated Node #2: [4, 47, 25] from Operation: 56-31=25
Current State: 53:[4, 47, 25], Operations: ['56-31=25']
Exploring Operation: 4*25=100, Resulting Numbers: [47, 100]
Generated Node #3: [47, 100] from Operation: 4*25=100
Current State: 53:[47, 100], Operations: ['56-31=25', '4*25=100']
Exploring Operation: 100-47=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[4, 47, 56, 31], Operations: []
Exploring Operation: 4+31=35, Resulting Numbers: [47, 56, 35]
Generated Node #0,0: 53:[47, 56, 35] Operation: 4+31=35
Exploring Operation: 4+47=51, Resulting Numbers: [56, 31, 51]
Generated Node #0,1: 53:[56, 31, 51] Operation: 4+47=51
Moving to Node #0,0
Current State: 53:[47, 56, 35], Operations: ['4+31=35']
Exploring Operation: 56-35=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 53:[47, 21] Operation: 56-35=21
Exploring Operation: 47+35=82, Resulting Numbers: [56, 82]
Generated Node #0,0,1: 53:[56, 82] Operation: 47+35=82
Moving to Node #0,1
Current State: 53:[56, 31, 51], Operations: ['4+47=51']
Exploring Operation: 56-31=25, Resulting Numbers: [51, 25]
Generated Node #0,1,0: 53:[51, 25] Operation: 56-31=25
Exploring Operation: 31+51=82, Resulting Numbers: [56, 82]
Generated Node #0,1,1: 53:[56, 82] Operation: 31+51=82
Moving to Node #0,1,0
Current State: 53:[51, 25], Operations: ['4+47=51', '56-31=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[56, 82], Operations: ['4+31=35', '47+35=82']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[56, 82], Operations: ['4+47=51', '31+51=82']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[47, 21], Operations: ['4+31=35', '56-35=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
69,
84,
27
] | 41 | [
"1+69=70",
"84+27=111",
"111-70=41"
] | Current State: 41:[1, 69, 84, 27], Operations: []
Exploring Operation: 1+69=70, Resulting Numbers: [84, 27, 70]
Generated Node #2: [84, 27, 70] from Operation: 1+69=70
Current State: 41:[84, 27, 70], Operations: ['1+69=70']
Exploring Operation: 84+27=111, Resulting Numbers: [70, 111]
Generated Node #3: [70, 111] from Operation: 84+27=111
Current State: 41:[70, 111], Operations: ['1+69=70', '84+27=111']
Exploring Operation: 111-70=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[1, 69, 84, 27], Operations: []
Exploring Operation: 69-1=68, Resulting Numbers: [84, 27, 68]
Generated Node #0,0: 41:[84, 27, 68] Operation: 69-1=68
Exploring Operation: 84-69=15, Resulting Numbers: [1, 27, 15]
Generated Node #0,1: 41:[1, 27, 15] Operation: 84-69=15
Exploring Operation: 84-1=83, Resulting Numbers: [69, 27, 83]
Generated Node #0,2: 41:[69, 27, 83] Operation: 84-1=83
Moving to Node #0,1
Current State: 41:[1, 27, 15], Operations: ['84-69=15']
Exploring Operation: 1+27=28, Resulting Numbers: [15, 28]
Generated Node #0,1,0: 41:[15, 28] Operation: 1+27=28
Exploring Operation: 1*27=27, Resulting Numbers: [15, 27]
Generated Node #0,1,1: 41:[15, 27] Operation: 1*27=27
Exploring Operation: 1+15=16, Resulting Numbers: [27, 16]
Generated Node #0,1,2: 41:[27, 16] Operation: 1+15=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[15, 28], Operations: ['84-69=15', '1+27=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,41 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[27, 16], Operations: ['84-69=15', '1+15=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,41 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[15, 27], Operations: ['84-69=15', '1*27=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,41 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,41 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: 41:[84, 27, 68], Operations: ['69-1=68']
Exploring Operation: 84-27=57, Resulting Numbers: [68, 57]
Generated Node #0,0,0: 41:[68, 57] Operation: 84-27=57
Exploring Operation: 68-27=41, Resulting Numbers: [84, 41]
Generated Node #0,0,1: 41:[84, 41] Operation: 68-27=41
Exploring Operation: 84-68=16, Resulting Numbers: [27, 16]
Generated Node #0,0,2: 41:[27, 16] Operation: 84-68=16
Moving to Node #0,2
Current State: 41:[69, 27, 83], Operations: ['84-1=83']
Exploring Operation: 83-27=56, Resulting Numbers: [69, 56]
Generated Node #0,2,0: 41:[69, 56] Operation: 83-27=56
Exploring Operation: 69-27=42, Resulting Numbers: [83, 42]
Generated Node #0,2,1: 41:[83, 42] Operation: 69-27=42
Exploring Operation: 83-69=14, Resulting Numbers: [27, 14]
Generated Node #0,2,2: 41:[27, 14] Operation: 83-69=14
Moving to Node #0,0,2
Current State: 41:[27, 16], Operations: ['69-1=68', '84-68=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,41 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[27, 14], Operations: ['84-1=83', '83-69=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[1, 69, 84, 27], Operations: []
Exploring Operation: 84-1=83, Resulting Numbers: [69, 27, 83]
Generated Node #0,2: 41:[69, 27, 83] Operation: 84-1=83
Moving to Node #0,2
Current State: 41:[69, 27, 83], Operations: ['84-1=83']
Exploring Operation: 83-69=14, Resulting Numbers: [27, 14]
Generated Node #0,2,2: 41:[27, 14] Operation: 83-69=14
Moving to Node #0,2,2
Current State: 41:[27, 14], Operations: ['84-1=83', '83-69=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
52,
57,
77,
28
] | 19 | [
"77-52=25",
"28-25=3",
"57/3=19"
] | Current State: 19:[52, 57, 77, 28], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [57, 28, 25]
Generated Node #2: [57, 28, 25] from Operation: 77-52=25
Current State: 19:[57, 28, 25], Operations: ['77-52=25']
Exploring Operation: 28-25=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 28-25=3
Current State: 19:[57, 3], Operations: ['77-52=25', '28-25=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[52, 57, 77, 28], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [52, 28, 20]
Generated Node #0,0: 19:[52, 28, 20] Operation: 77-57=20
Exploring Operation: 57-52=5, Resulting Numbers: [77, 28, 5]
Generated Node #0,1: 19:[77, 28, 5] Operation: 57-52=5
Exploring Operation: 57-28=29, Resulting Numbers: [52, 77, 29]
Generated Node #0,2: 19:[52, 77, 29] Operation: 57-28=29
Exploring Operation: 52-28=24, Resulting Numbers: [57, 77, 24]
Generated Node #0,3: 19:[57, 77, 24] Operation: 52-28=24
Exploring Operation: 77-52=25, Resulting Numbers: [57, 28, 25]
Generated Node #0,4: 19:[57, 28, 25] Operation: 77-52=25
Moving to Node #0,0
Current State: 19:[52, 28, 20], Operations: ['77-57=20']
Exploring Operation: 52+28=80, Resulting Numbers: [20, 80]
Generated Node #0,0,0: 19:[20, 80] Operation: 52+28=80
Exploring Operation: 28-20=8, Resulting Numbers: [52, 8]
Generated Node #0,0,1: 19:[52, 8] Operation: 28-20=8
Exploring Operation: 52+20=72, Resulting Numbers: [28, 72]
Generated Node #0,0,2: 19:[28, 72] Operation: 52+20=72
Exploring Operation: 52-20=32, Resulting Numbers: [28, 32]
Generated Node #0,0,3: 19:[28, 32] Operation: 52-20=32
Exploring Operation: 52-28=24, Resulting Numbers: [20, 24]
Generated Node #0,0,4: 19:[20, 24] Operation: 52-28=24
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[20, 24], Operations: ['77-57=20', '52-28=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[28, 32], Operations: ['77-57=20', '52-20=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[52, 8], Operations: ['77-57=20', '28-20=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,19 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[20, 80], Operations: ['77-57=20', '52+28=80']
Exploring Operation: 20*80=1600, Resulting Numbers: [1600]
1600,19 unequal: No Solution
Exploring Operation: 20+80=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[28, 72], Operations: ['77-57=20', '52+20=72']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 28*72=2016, Resulting Numbers: [2016]
2016,19 unequal: No Solution
Exploring Operation: 28+72=100, Resulting Numbers: [100]
100,19 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: 19:[57, 28, 25], Operations: ['77-52=25']
Exploring Operation: 57+25=82, Resulting Numbers: [28, 82]
Generated Node #0,4,0: 19:[28, 82] Operation: 57+25=82
Exploring Operation: 57-25=32, Resulting Numbers: [28, 32]
Generated Node #0,4,1: 19:[28, 32] Operation: 57-25=32
Exploring Operation: 57-28=29, Resulting Numbers: [25, 29]
Generated Node #0,4,2: 19:[25, 29] Operation: 57-28=29
Exploring Operation: 28-25=3, Resulting Numbers: [57, 3]
Generated Node #0,4,3: 19:[57, 3] Operation: 28-25=3
Exploring Operation: 57+28=85, Resulting Numbers: [25, 85]
Generated Node #0,4,4: 19:[25, 85] Operation: 57+28=85
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 19:[25, 29], Operations: ['77-52=25', '57-28=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,19 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 19:[28, 32], Operations: ['77-52=25', '57-25=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 19:[57, 3], Operations: ['77-52=25', '28-25=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[52, 57, 77, 28], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [57, 28, 25]
Generated Node #0,4: 19:[57, 28, 25] Operation: 77-52=25
Moving to Node #0,4
Current State: 19:[57, 28, 25], Operations: ['77-52=25']
Exploring Operation: 28-25=3, Resulting Numbers: [57, 3]
Generated Node #0,4,3: 19:[57, 3] Operation: 28-25=3
Moving to Node #0,4,3
Current State: 19:[57, 3], Operations: ['77-52=25', '28-25=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
98,
92,
86,
95
] | 97 | [
"98+86=184",
"184/92=2",
"95+2=97"
] | Current State: 97:[98, 92, 86, 95], Operations: []
Exploring Operation: 98+86=184, Resulting Numbers: [92, 95, 184]
Generated Node #2: [92, 95, 184] from Operation: 98+86=184
Current State: 97:[92, 95, 184], Operations: ['98+86=184']
Exploring Operation: 184/92=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 184/92=2
Current State: 97:[95, 2], Operations: ['98+86=184', '184/92=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[98, 92, 86, 95], Operations: []
Exploring Operation: 92+86=178, Resulting Numbers: [98, 95, 178]
Generated Node #0,0: 97:[98, 95, 178] Operation: 92+86=178
Exploring Operation: 86+95=181, Resulting Numbers: [98, 92, 181]
Generated Node #0,1: 97:[98, 92, 181] Operation: 86+95=181
Moving to Node #0,0
Current State: 97:[98, 95, 178], Operations: ['92+86=178']
Exploring Operation: 178-95=83, Resulting Numbers: [98, 83]
Generated Node #0,0,0: 97:[98, 83] Operation: 178-95=83
Exploring Operation: 178-98=80, Resulting Numbers: [95, 80]
Generated Node #0,0,1: 97:[95, 80] Operation: 178-98=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[98, 83], Operations: ['92+86=178', '178-95=83']
Exploring Operation: 98+83=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,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,0,1
Current State: 97:[95, 80], Operations: ['92+86=178', '178-98=80']
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 95+80=175, Resulting Numbers: [175]
175,97 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: 97:[98, 92, 181], Operations: ['86+95=181']
Exploring Operation: 181-92=89, Resulting Numbers: [98, 89]
Generated Node #0,1,0: 97:[98, 89] Operation: 181-92=89
Exploring Operation: 181-98=83, Resulting Numbers: [92, 83]
Generated Node #0,1,1: 97:[92, 83] Operation: 181-98=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[98, 89], Operations: ['86+95=181', '181-92=89']
Exploring Operation: 98+89=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Exploring Operation: 98-89=9, Resulting Numbers: [9]
9,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,1
Current State: 97:[92, 83], Operations: ['86+95=181', '181-98=83']
Exploring Operation: 92+83=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 92-83=9, Resulting Numbers: [9]
9,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 |
[
53,
47,
82,
88
] | 36 | [
"53-47=6",
"88-82=6",
"6*6=36"
] | Current State: 36:[53, 47, 82, 88], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [82, 88, 6]
Generated Node #2: [82, 88, 6] from Operation: 53-47=6
Current State: 36:[82, 88, 6], Operations: ['53-47=6']
Exploring Operation: 88-82=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 88-82=6
Current State: 36:[6, 6], Operations: ['53-47=6', '88-82=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[53, 47, 82, 88], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [53, 47, 6]
Generated Node #0,0: 36:[53, 47, 6] Operation: 88-82=6
Exploring Operation: 88-53=35, Resulting Numbers: [47, 82, 35]
Generated Node #0,1: 36:[47, 82, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[53, 47, 6], Operations: ['88-82=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 36:[47, 47] Operation: 53-6=47
Exploring Operation: 53-47=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 36:[6, 6] Operation: 53-47=6
Moving to Node #0,0,1
Current State: 36:[6, 6], Operations: ['88-82=6', '53-47=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[53, 47, 82, 88], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [53, 47, 6]
Generated Node #0,0: 36:[53, 47, 6] Operation: 88-82=6
Moving to Node #0,0
Current State: 36:[53, 47, 6], Operations: ['88-82=6']
Exploring Operation: 53-47=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 36:[6, 6] Operation: 53-47=6
Moving to Node #0,0,1
Current State: 36:[6, 6], Operations: ['88-82=6', '53-47=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
8,
15,
2,
41
] | 87 | [
"8+15=23",
"2*23=46",
"41+46=87"
] | Current State: 87:[8, 15, 2, 41], Operations: []
Exploring Operation: 8+15=23, Resulting Numbers: [2, 41, 23]
Generated Node #2: [2, 41, 23] from Operation: 8+15=23
Current State: 87:[2, 41, 23], Operations: ['8+15=23']
Exploring Operation: 2*23=46, Resulting Numbers: [41, 46]
Generated Node #3: [41, 46] from Operation: 2*23=46
Current State: 87:[41, 46], Operations: ['8+15=23', '2*23=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[8, 15, 2, 41], Operations: []
Exploring Operation: 8+15=23, Resulting Numbers: [2, 41, 23]
Generated Node #0,0: 87:[2, 41, 23] Operation: 8+15=23
Exploring Operation: 15*2=30, Resulting Numbers: [8, 41, 30]
Generated Node #0,1: 87:[8, 41, 30] Operation: 15*2=30
Exploring Operation: 15-8=7, Resulting Numbers: [2, 41, 7]
Generated Node #0,2: 87:[2, 41, 7] Operation: 15-8=7
Exploring Operation: 41-15=26, Resulting Numbers: [8, 2, 26]
Generated Node #0,3: 87:[8, 2, 26] Operation: 41-15=26
Exploring Operation: 41-8=33, Resulting Numbers: [15, 2, 33]
Generated Node #0,4: 87:[15, 2, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[8, 2, 26], Operations: ['41-15=26']
Exploring Operation: 8/2=4, Resulting Numbers: [26, 4]
Generated Node #0,3,0: 87:[26, 4] Operation: 8/2=4
Exploring Operation: 8+26=34, Resulting Numbers: [2, 34]
Generated Node #0,3,1: 87:[2, 34] Operation: 8+26=34
Exploring Operation: 8+2=10, Resulting Numbers: [26, 10]
Generated Node #0,3,2: 87:[26, 10] Operation: 8+2=10
Exploring Operation: 8-2=6, Resulting Numbers: [26, 6]
Generated Node #0,3,3: 87:[26, 6] Operation: 8-2=6
Exploring Operation: 2+26=28, Resulting Numbers: [8, 28]
Generated Node #0,3,4: 87:[8, 28] Operation: 2+26=28
Moving to Node #0,3,0
Current State: 87:[26, 4], Operations: ['41-15=26', '8/2=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[26, 6], Operations: ['41-15=26', '8-2=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[2, 34], Operations: ['41-15=26', '8+26=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[8, 28], Operations: ['41-15=26', '2+26=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,87 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[26, 10], Operations: ['41-15=26', '8+2=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,87 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[2, 41, 7], Operations: ['15-8=7']
Exploring Operation: 2+41=43, Resulting Numbers: [7, 43]
Generated Node #0,2,0: 87:[7, 43] Operation: 2+41=43
Exploring Operation: 7-2=5, Resulting Numbers: [41, 5]
Generated Node #0,2,1: 87:[41, 5] Operation: 7-2=5
Exploring Operation: 41-7=34, Resulting Numbers: [2, 34]
Generated Node #0,2,2: 87:[2, 34] Operation: 41-7=34
Exploring Operation: 2*41=82, Resulting Numbers: [7, 82]
Generated Node #0,2,3: 87:[7, 82] Operation: 2*41=82
Exploring Operation: 41-2=39, Resulting Numbers: [7, 39]
Generated Node #0,2,4: 87:[7, 39] Operation: 41-2=39
Moving to Node #0,2,2
Current State: 87:[2, 34], Operations: ['15-8=7', '41-7=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[7, 82], Operations: ['15-8=7', '2*41=82']
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,87 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[41, 5], Operations: ['15-8=7', '7-2=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,87 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[7, 39], Operations: ['15-8=7', '41-2=39']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[7, 43], Operations: ['15-8=7', '2+41=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,87 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[15, 2, 33], Operations: ['41-8=33']
Exploring Operation: 33-15=18, Resulting Numbers: [2, 18]
Generated Node #0,4,0: 87:[2, 18] Operation: 33-15=18
Exploring Operation: 15-2=13, Resulting Numbers: [33, 13]
Generated Node #0,4,1: 87:[33, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [33, 17]
Generated Node #0,4,2: 87:[33, 17] Operation: 15+2=17
Exploring Operation: 15*2=30, Resulting Numbers: [33, 30]
Generated Node #0,4,3: 87:[33, 30] Operation: 15*2=30
Exploring Operation: 33-2=31, Resulting Numbers: [15, 31]
Generated Node #0,4,4: 87:[15, 31] Operation: 33-2=31
Moving to Node #0,4,3
Current State: 87:[33, 30], Operations: ['41-8=33', '15*2=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[2, 18], Operations: ['41-8=33', '33-15=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[33, 13], Operations: ['41-8=33', '15-2=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,87 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[15, 31], Operations: ['41-8=33', '33-2=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,87 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[33, 17], Operations: ['41-8=33', '15+2=17']
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,87 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[8, 41, 30], Operations: ['15*2=30']
Exploring Operation: 8+41=49, Resulting Numbers: [30, 49]
Generated Node #0,1,0: 87:[30, 49] Operation: 8+41=49
Exploring Operation: 41-30=11, Resulting Numbers: [8, 11]
Generated Node #0,1,1: 87:[8, 11] Operation: 41-30=11
Exploring Operation: 30-8=22, Resulting Numbers: [41, 22]
Generated Node #0,1,2: 87:[41, 22] Operation: 30-8=22
Exploring Operation: 8+30=38, Resulting Numbers: [41, 38]
Generated Node #0,1,3: 87:[41, 38] Operation: 8+30=38
Exploring Operation: 41-8=33, Resulting Numbers: [30, 33]
Generated Node #0,1,4: 87:[30, 33] Operation: 41-8=33
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 87:[30, 33], Operations: ['15*2=30', '41-8=33']
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,87 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No 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: 87:[8, 11], Operations: ['15*2=30', '41-30=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No 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: 87:[41, 22], Operations: ['15*2=30', '30-8=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,87 unequal: No Solution
No 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: 87:[30, 49], Operations: ['15*2=30', '8+41=49']
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,87 unequal: No Solution
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No 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: 87:[41, 38], Operations: ['15*2=30', '8+30=38']
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,87 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: 87:[2, 41, 23], Operations: ['8+15=23']
Exploring Operation: 41-2=39, Resulting Numbers: [23, 39]
Generated Node #0,0,0: 87:[23, 39] Operation: 41-2=39
Exploring Operation: 2+23=25, Resulting Numbers: [41, 25]
Generated Node #0,0,1: 87:[41, 25] Operation: 2+23=25
Exploring Operation: 2*41=82, Resulting Numbers: [23, 82]
Generated Node #0,0,2: 87:[23, 82] Operation: 2*41=82
Exploring Operation: 2+41=43, Resulting Numbers: [23, 43]
Generated Node #0,0,3: 87:[23, 43] Operation: 2+41=43
Exploring Operation: 41-23=18, Resulting Numbers: [2, 18]
Generated Node #0,0,4: 87:[2, 18] Operation: 41-23=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[23, 82], Operations: ['8+15=23', '2*41=82']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 23+82=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Exploring Operation: 23*82=1886, Resulting Numbers: [1886]
1886,87 unequal: No Solution
No 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: 87:[2, 18], Operations: ['8+15=23', '41-23=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No 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: 87:[23, 39], Operations: ['8+15=23', '41-2=39']
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,87 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,87 unequal: No Solution
No 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: 87:[41, 25], Operations: ['8+15=23', '2+23=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,87 unequal: No Solution
No 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: 87:[23, 43], Operations: ['8+15=23', '2+41=43']
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,87 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
58,
29,
8,
41
] | 66 | [
"58/29=2",
"41-8=33",
"2*33=66"
] | Current State: 66:[58, 29, 8, 41], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [8, 41, 2]
Generated Node #2: [8, 41, 2] from Operation: 58/29=2
Current State: 66:[8, 41, 2], Operations: ['58/29=2']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 41-8=33
Current State: 66:[2, 33], Operations: ['58/29=2', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[58, 29, 8, 41], Operations: []
Exploring Operation: 58+8=66, Resulting Numbers: [29, 41, 66]
Generated Node #0,0: 66:[29, 41, 66] Operation: 58+8=66
Exploring Operation: 41-29=12, Resulting Numbers: [58, 8, 12]
Generated Node #0,1: 66:[58, 8, 12] Operation: 41-29=12
Exploring Operation: 58-41=17, Resulting Numbers: [29, 8, 17]
Generated Node #0,2: 66:[29, 8, 17] Operation: 58-41=17
Exploring Operation: 58/29=2, Resulting Numbers: [8, 41, 2]
Generated Node #0,3: 66:[8, 41, 2] Operation: 58/29=2
Moving to Node #0,3
Current State: 66:[8, 41, 2], Operations: ['58/29=2']
Exploring Operation: 8+2=10, Resulting Numbers: [41, 10]
Generated Node #0,3,0: 66:[41, 10] Operation: 8+2=10
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 66:[2, 33] Operation: 41-8=33
Exploring Operation: 8-2=6, Resulting Numbers: [41, 6]
Generated Node #0,3,2: 66:[41, 6] Operation: 8-2=6
Exploring Operation: 41-2=39, Resulting Numbers: [8, 39]
Generated Node #0,3,3: 66:[8, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[2, 33], Operations: ['58/29=2', '41-8=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[58, 29, 8, 41], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [8, 41, 2]
Generated Node #0,3: 66:[8, 41, 2] Operation: 58/29=2
Moving to Node #0,3
Current State: 66:[8, 41, 2], Operations: ['58/29=2']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 66:[2, 33] Operation: 41-8=33
Moving to Node #0,3,1
Current State: 66:[2, 33], Operations: ['58/29=2', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
55,
59,
35,
70
] | 70 | [
"59-55=4",
"35*4=140",
"140-70=70"
] | Current State: 70:[55, 59, 35, 70], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [35, 70, 4]
Generated Node #2: [35, 70, 4] from Operation: 59-55=4
Current State: 70:[35, 70, 4], Operations: ['59-55=4']
Exploring Operation: 35*4=140, Resulting Numbers: [70, 140]
Generated Node #3: [70, 140] from Operation: 35*4=140
Current State: 70:[70, 140], Operations: ['59-55=4', '35*4=140']
Exploring Operation: 140-70=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[55, 59, 35, 70], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [35, 70, 4]
Generated Node #0,0: 70:[35, 70, 4] Operation: 59-55=4
Exploring Operation: 55-35=20, Resulting Numbers: [59, 70, 20]
Generated Node #0,1: 70:[59, 70, 20] Operation: 55-35=20
Exploring Operation: 70-59=11, Resulting Numbers: [55, 35, 11]
Generated Node #0,2: 70:[55, 35, 11] Operation: 70-59=11
Exploring Operation: 70-55=15, Resulting Numbers: [59, 35, 15]
Generated Node #0,3: 70:[59, 35, 15] Operation: 70-55=15
Moving to Node #0,0
Current State: 70:[35, 70, 4], Operations: ['59-55=4']
Exploring Operation: 35+4=39, Resulting Numbers: [70, 39]
Generated Node #0,0,0: 70:[70, 39] Operation: 35+4=39
Exploring Operation: 35-4=31, Resulting Numbers: [70, 31]
Generated Node #0,0,1: 70:[70, 31] Operation: 35-4=31
Exploring Operation: 70/35=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 70:[4, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [4, 35]
Generated Node #0,0,3: 70:[4, 35] Operation: 70-35=35
Moving to Node #0,3
Current State: 70:[59, 35, 15], Operations: ['70-55=15']
Exploring Operation: 59-15=44, Resulting Numbers: [35, 44]
Generated Node #0,3,0: 70:[35, 44] Operation: 59-15=44
Exploring Operation: 59-35=24, Resulting Numbers: [15, 24]
Generated Node #0,3,1: 70:[15, 24] Operation: 59-35=24
Exploring Operation: 59+15=74, Resulting Numbers: [35, 74]
Generated Node #0,3,2: 70:[35, 74] Operation: 59+15=74
Exploring Operation: 35-15=20, Resulting Numbers: [59, 20]
Generated Node #0,3,3: 70:[59, 20] Operation: 35-15=20
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[35, 74], Operations: ['70-55=15', '59+15=74']
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,70 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[35, 44], Operations: ['70-55=15', '59-15=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,70 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[15, 24], Operations: ['70-55=15', '59-35=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,70 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[59, 20], Operations: ['70-55=15', '35-15=20']
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,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:[55, 35, 11], Operations: ['70-59=11']
Exploring Operation: 55/11=5, Resulting Numbers: [35, 5]
Generated Node #0,2,0: 70:[35, 5] Operation: 55/11=5
Exploring Operation: 55-35=20, Resulting Numbers: [11, 20]
Generated Node #0,2,1: 70:[11, 20] Operation: 55-35=20
Exploring Operation: 55+11=66, Resulting Numbers: [35, 66]
Generated Node #0,2,2: 70:[35, 66] Operation: 55+11=66
Exploring Operation: 55-11=44, Resulting Numbers: [35, 44]
Generated Node #0,2,3: 70:[35, 44] Operation: 55-11=44
Moving to Node #0,1
Current State: 70:[59, 70, 20], Operations: ['55-35=20']
Exploring Operation: 70-59=11, Resulting Numbers: [20, 11]
Generated Node #0,1,0: 70:[20, 11] Operation: 70-59=11
Exploring Operation: 70-20=50, Resulting Numbers: [59, 50]
Generated Node #0,1,1: 70:[59, 50] Operation: 70-20=50
Exploring Operation: 59+20=79, Resulting Numbers: [70, 79]
Generated Node #0,1,2: 70:[70, 79] Operation: 59+20=79
Exploring Operation: 59-20=39, Resulting Numbers: [70, 39]
Generated Node #0,1,3: 70:[70, 39] Operation: 59-20=39
Moving to Node #0,2,0
Current State: 70:[35, 5], Operations: ['70-59=11', '55/11=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[4, 2], Operations: ['59-55=4', '70/35=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[4, 35], Operations: ['59-55=4', '70-35=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[70, 39], Operations: ['59-55=4', '35+4=39']
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[35, 66], Operations: ['70-59=11', '55+11=66']
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,70 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[70, 31], Operations: ['59-55=4', '35-4=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[70, 39], Operations: ['55-35=20', '59-20=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[11, 20], Operations: ['70-59=11', '55-35=20']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[20, 11], Operations: ['55-35=20', '70-59=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,70 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[35, 44], Operations: ['70-59=11', '55-11=44']
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,70 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[70, 79], Operations: ['55-35=20', '59+20=79']
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,70 unequal: No Solution
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,70 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[59, 50], Operations: ['55-35=20', '70-20=50']
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,70 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,70 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
81,
61,
41
] | 50 | [
"61-52=9",
"81/9=9",
"41+9=50"
] | Current State: 50:[52, 81, 61, 41], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [81, 41, 9]
Generated Node #2: [81, 41, 9] from Operation: 61-52=9
Current State: 50:[81, 41, 9], Operations: ['61-52=9']
Exploring Operation: 81/9=9, Resulting Numbers: [41, 9]
Generated Node #3: [41, 9] from Operation: 81/9=9
Current State: 50:[41, 9], Operations: ['61-52=9', '81/9=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[52, 81, 61, 41], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [52, 41, 20]
Generated Node #0,0: 50:[52, 41, 20] Operation: 81-61=20
Moving to Node #0,0
Current State: 50:[52, 41, 20], Operations: ['81-61=20']
Exploring Operation: 52-41=11, Resulting Numbers: [20, 11]
Generated Node #0,0,0: 50:[20, 11] Operation: 52-41=11
Moving to Node #0,0,0
Current State: 50:[20, 11], Operations: ['81-61=20', '52-41=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
83,
57,
6
] | 18 | [
"83-29=54",
"57-54=3",
"6*3=18"
] | Current State: 18:[29, 83, 57, 6], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [57, 6, 54]
Generated Node #2: [57, 6, 54] from Operation: 83-29=54
Current State: 18:[57, 6, 54], Operations: ['83-29=54']
Exploring Operation: 57-54=3, Resulting Numbers: [6, 3]
Generated Node #3: [6, 3] from Operation: 57-54=3
Current State: 18:[6, 3], Operations: ['83-29=54', '57-54=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[29, 83, 57, 6], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [57, 6, 54]
Generated Node #0,0: 18:[57, 6, 54] Operation: 83-29=54
Exploring Operation: 57-29=28, Resulting Numbers: [83, 6, 28]
Generated Node #0,1: 18:[83, 6, 28] Operation: 57-29=28
Exploring Operation: 83-57=26, Resulting Numbers: [29, 6, 26]
Generated Node #0,2: 18:[29, 6, 26] Operation: 83-57=26
Moving to Node #0,2
Current State: 18:[29, 6, 26], Operations: ['83-57=26']
Exploring Operation: 29-6=23, Resulting Numbers: [26, 23]
Generated Node #0,2,0: 18:[26, 23] Operation: 29-6=23
Exploring Operation: 26-6=20, Resulting Numbers: [29, 20]
Generated Node #0,2,1: 18:[29, 20] Operation: 26-6=20
Exploring Operation: 29-26=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 18:[6, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 18:[57, 6, 54], Operations: ['83-29=54']
Exploring Operation: 57-6=51, Resulting Numbers: [54, 51]
Generated Node #0,0,0: 18:[54, 51] Operation: 57-6=51
Exploring Operation: 57-54=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 18:[6, 3] Operation: 57-54=3
Exploring Operation: 54/6=9, Resulting Numbers: [57, 9]
Generated Node #0,0,2: 18:[57, 9] Operation: 54/6=9
Moving to Node #0,1
Current State: 18:[83, 6, 28], Operations: ['57-29=28']
Exploring Operation: 28-6=22, Resulting Numbers: [83, 22]
Generated Node #0,1,0: 18:[83, 22] Operation: 28-6=22
Exploring Operation: 83-28=55, Resulting Numbers: [6, 55]
Generated Node #0,1,1: 18:[6, 55] Operation: 83-28=55
Exploring Operation: 83-6=77, Resulting Numbers: [28, 77]
Generated Node #0,1,2: 18:[28, 77] Operation: 83-6=77
Moving to Node #0,2,2
Current State: 18:[6, 3], Operations: ['83-57=26', '29-26=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[29, 83, 57, 6], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [29, 6, 26]
Generated Node #0,2: 18:[29, 6, 26] Operation: 83-57=26
Moving to Node #0,2
Current State: 18:[29, 6, 26], Operations: ['83-57=26']
Exploring Operation: 29-26=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 18:[6, 3] Operation: 29-26=3
Moving to Node #0,2,2
Current State: 18:[6, 3], Operations: ['83-57=26', '29-26=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
82,
67,
78,
16
] | 71 | [
"82-78=4",
"16/4=4",
"67+4=71"
] | Current State: 71:[82, 67, 78, 16], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [67, 16, 4]
Generated Node #2: [67, 16, 4] from Operation: 82-78=4
Current State: 71:[67, 16, 4], Operations: ['82-78=4']
Exploring Operation: 16/4=4, Resulting Numbers: [67, 4]
Generated Node #3: [67, 4] from Operation: 16/4=4
Current State: 71:[67, 4], Operations: ['82-78=4', '16/4=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[82, 67, 78, 16], Operations: []
Exploring Operation: 82+16=98, Resulting Numbers: [67, 78, 98]
Generated Node #0,0: 71:[67, 78, 98] Operation: 82+16=98
Exploring Operation: 67-16=51, Resulting Numbers: [82, 78, 51]
Generated Node #0,1: 71:[82, 78, 51] Operation: 67-16=51
Exploring Operation: 82-16=66, Resulting Numbers: [67, 78, 66]
Generated Node #0,2: 71:[67, 78, 66] Operation: 82-16=66
Exploring Operation: 78-16=62, Resulting Numbers: [82, 67, 62]
Generated Node #0,3: 71:[82, 67, 62] Operation: 78-16=62
Exploring Operation: 67+16=83, Resulting Numbers: [82, 78, 83]
Generated Node #0,4: 71:[82, 78, 83] Operation: 67+16=83
Moving to Node #0,2
Current State: 71:[67, 78, 66], Operations: ['82-16=66']
Exploring Operation: 78+66=144, Resulting Numbers: [67, 144]
Generated Node #0,2,0: 71:[67, 144] Operation: 78+66=144
Exploring Operation: 67-66=1, Resulting Numbers: [78, 1]
Generated Node #0,2,1: 71:[78, 1] Operation: 67-66=1
Exploring Operation: 67+66=133, Resulting Numbers: [78, 133]
Generated Node #0,2,2: 71:[78, 133] Operation: 67+66=133
Exploring Operation: 78-66=12, Resulting Numbers: [67, 12]
Generated Node #0,2,3: 71:[67, 12] Operation: 78-66=12
Exploring Operation: 78-67=11, Resulting Numbers: [66, 11]
Generated Node #0,2,4: 71:[66, 11] Operation: 78-67=11
Moving to Node #0,3
Current State: 71:[82, 67, 62], Operations: ['78-16=62']
Exploring Operation: 67-62=5, Resulting Numbers: [82, 5]
Generated Node #0,3,0: 71:[82, 5] Operation: 67-62=5
Exploring Operation: 82+62=144, Resulting Numbers: [67, 144]
Generated Node #0,3,1: 71:[67, 144] Operation: 82+62=144
Exploring Operation: 82-67=15, Resulting Numbers: [62, 15]
Generated Node #0,3,2: 71:[62, 15] Operation: 82-67=15
Exploring Operation: 82-62=20, Resulting Numbers: [67, 20]
Generated Node #0,3,3: 71:[67, 20] Operation: 82-62=20
Exploring Operation: 67+62=129, Resulting Numbers: [82, 129]
Generated Node #0,3,4: 71:[82, 129] Operation: 67+62=129
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[67, 20], Operations: ['78-16=62', '82-62=20']
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,71 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[62, 15], Operations: ['78-16=62', '82-67=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,71 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[82, 129], Operations: ['78-16=62', '67+62=129']
Exploring Operation: 82+129=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 82*129=10578, Resulting Numbers: [10578]
10578,71 unequal: No Solution
Exploring Operation: 129-82=47, Resulting Numbers: [47]
47,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[82, 5], Operations: ['78-16=62', '67-62=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[67, 144], Operations: ['78-16=62', '82+62=144']
Exploring Operation: 144-67=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 67+144=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 67*144=9648, Resulting Numbers: [9648]
9648,71 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: 71:[82, 78, 83], Operations: ['67+16=83']
Exploring Operation: 82-78=4, Resulting Numbers: [83, 4]
Generated Node #0,4,0: 71:[83, 4] Operation: 82-78=4
Exploring Operation: 82+83=165, Resulting Numbers: [78, 165]
Generated Node #0,4,1: 71:[78, 165] Operation: 82+83=165
Exploring Operation: 83-78=5, Resulting Numbers: [82, 5]
Generated Node #0,4,2: 71:[82, 5] Operation: 83-78=5
Exploring Operation: 82+78=160, Resulting Numbers: [83, 160]
Generated Node #0,4,3: 71:[83, 160] Operation: 82+78=160
Exploring Operation: 83-82=1, Resulting Numbers: [78, 1]
Generated Node #0,4,4: 71:[78, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[82, 5], Operations: ['67+16=83', '83-78=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,71 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,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,4,4
Current State: 71:[78, 1], Operations: ['67+16=83', '83-82=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,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,4,0
Current State: 71:[83, 4], Operations: ['67+16=83', '82-78=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,71 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,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,4,1
Current State: 71:[78, 165], Operations: ['67+16=83', '82+83=165']
Exploring Operation: 78*165=12870, Resulting Numbers: [12870]
12870,71 unequal: No Solution
Exploring Operation: 78+165=243, Resulting Numbers: [243]
243,71 unequal: No Solution
Exploring Operation: 165-78=87, Resulting Numbers: [87]
87,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,4,3
Current State: 71:[83, 160], Operations: ['67+16=83', '82+78=160']
Exploring Operation: 83*160=13280, Resulting Numbers: [13280]
13280,71 unequal: No Solution
Exploring Operation: 83+160=243, Resulting Numbers: [243]
243,71 unequal: No Solution
Exploring Operation: 160-83=77, Resulting Numbers: [77]
77,71 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: 71:[67, 78, 98], Operations: ['82+16=98']
Exploring Operation: 98-78=20, Resulting Numbers: [67, 20]
Generated Node #0,0,0: 71:[67, 20] Operation: 98-78=20
Exploring Operation: 67+78=145, Resulting Numbers: [98, 145]
Generated Node #0,0,1: 71:[98, 145] Operation: 67+78=145
Exploring Operation: 98-67=31, Resulting Numbers: [78, 31]
Generated Node #0,0,2: 71:[78, 31] Operation: 98-67=31
Exploring Operation: 67+98=165, Resulting Numbers: [78, 165]
Generated Node #0,0,3: 71:[78, 165] Operation: 67+98=165
Exploring Operation: 78-67=11, Resulting Numbers: [98, 11]
Generated Node #0,0,4: 71:[98, 11] Operation: 78-67=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[78, 31], Operations: ['82+16=98', '98-67=31']
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,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,0,0
Current State: 71:[67, 20], Operations: ['82+16=98', '98-78=20']
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,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,0,4
Current State: 71:[98, 11], Operations: ['82+16=98', '78-67=11']
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,71 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,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,0,1
Current State: 71:[98, 145], Operations: ['82+16=98', '67+78=145']
Exploring Operation: 145-98=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 98*145=14210, Resulting Numbers: [14210]
14210,71 unequal: No Solution
Exploring Operation: 98+145=243, Resulting Numbers: [243]
243,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,0,3
Current State: 71:[78, 165], Operations: ['82+16=98', '67+98=165']
Exploring Operation: 78*165=12870, Resulting Numbers: [12870]
12870,71 unequal: No Solution
Exploring Operation: 165-78=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 78+165=243, Resulting Numbers: [243]
243,71 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: 71:[82, 78, 51], Operations: ['67-16=51']
Exploring Operation: 78+51=129, Resulting Numbers: [82, 129]
Generated Node #0,1,0: 71:[82, 129] Operation: 78+51=129
Exploring Operation: 82+51=133, Resulting Numbers: [78, 133]
Generated Node #0,1,1: 71:[78, 133] Operation: 82+51=133
Exploring Operation: 78-51=27, Resulting Numbers: [82, 27]
Generated Node #0,1,2: 71:[82, 27] Operation: 78-51=27
Exploring Operation: 82-51=31, Resulting Numbers: [78, 31]
Generated Node #0,1,3: 71:[78, 31] Operation: 82-51=31
Exploring Operation: 82-78=4, Resulting Numbers: [51, 4]
Generated Node #0,1,4: 71:[51, 4] Operation: 82-78=4
Moving to Node #0,1,3
Current State: 71:[78, 31], Operations: ['67-16=51', '82-51=31']
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[82, 27], Operations: ['67-16=51', '78-51=27']
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,71 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[67, 12], Operations: ['82-16=66', '78-66=12']
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,71 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[66, 11], Operations: ['82-16=66', '78-67=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[78, 133], Operations: ['82-16=66', '67+66=133']
Exploring Operation: 78+133=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 133-78=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 78*133=10374, Resulting Numbers: [10374]
10374,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[78, 133], Operations: ['67-16=51', '82+51=133']
Exploring Operation: 133-78=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 78+133=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 78*133=10374, Resulting Numbers: [10374]
10374,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[82, 129], Operations: ['67-16=51', '78+51=129']
Exploring Operation: 82*129=10578, Resulting Numbers: [10578]
10578,71 unequal: No Solution
Exploring Operation: 129-82=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 82+129=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[67, 144], Operations: ['82-16=66', '78+66=144']
Exploring Operation: 144-67=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 67+144=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 67*144=9648, Resulting Numbers: [9648]
9648,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[78, 1], Operations: ['82-16=66', '67-66=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[51, 4], Operations: ['67-16=51', '82-78=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
75,
69,
25
] | 19 | [
"89+25=114",
"75-69=6",
"114/6=19"
] | Current State: 19:[89, 75, 69, 25], Operations: []
Exploring Operation: 89+25=114, Resulting Numbers: [75, 69, 114]
Generated Node #2: [75, 69, 114] from Operation: 89+25=114
Current State: 19:[75, 69, 114], Operations: ['89+25=114']
Exploring Operation: 75-69=6, Resulting Numbers: [114, 6]
Generated Node #3: [114, 6] from Operation: 75-69=6
Current State: 19:[114, 6], Operations: ['89+25=114', '75-69=6']
Exploring Operation: 114/6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[89, 75, 69, 25], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [75, 25, 20]
Generated Node #0,0: 19:[75, 25, 20] Operation: 89-69=20
Exploring Operation: 75-69=6, Resulting Numbers: [89, 25, 6]
Generated Node #0,1: 19:[89, 25, 6] Operation: 75-69=6
Exploring Operation: 89-75=14, Resulting Numbers: [69, 25, 14]
Generated Node #0,2: 19:[69, 25, 14] Operation: 89-75=14
Moving to Node #0,2
Current State: 19:[69, 25, 14], Operations: ['89-75=14']
Exploring Operation: 25-14=11, Resulting Numbers: [69, 11]
Generated Node #0,2,0: 19:[69, 11] Operation: 25-14=11
Exploring Operation: 69-14=55, Resulting Numbers: [25, 55]
Generated Node #0,2,1: 19:[25, 55] Operation: 69-14=55
Exploring Operation: 69-25=44, Resulting Numbers: [14, 44]
Generated Node #0,2,2: 19:[14, 44] Operation: 69-25=44
Moving to Node #0,0
Current State: 19:[75, 25, 20], Operations: ['89-69=20']
Exploring Operation: 75-25=50, Resulting Numbers: [20, 50]
Generated Node #0,0,0: 19:[20, 50] Operation: 75-25=50
Exploring Operation: 75-20=55, Resulting Numbers: [25, 55]
Generated Node #0,0,1: 19:[25, 55] Operation: 75-20=55
Exploring Operation: 75/25=3, Resulting Numbers: [20, 3]
Generated Node #0,0,2: 19:[20, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[20, 3], Operations: ['89-69=20', '75/25=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[20, 50], Operations: ['89-69=20', '75-25=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,19 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[25, 55], Operations: ['89-69=20', '75-20=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,19 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[89, 25, 6], Operations: ['75-69=6']
Exploring Operation: 89-25=64, Resulting Numbers: [6, 64]
Generated Node #0,1,0: 19:[6, 64] Operation: 89-25=64
Exploring Operation: 89-6=83, Resulting Numbers: [25, 83]
Generated Node #0,1,1: 19:[25, 83] Operation: 89-6=83
Exploring Operation: 25-6=19, Resulting Numbers: [89, 19]
Generated Node #0,1,2: 19:[89, 19] Operation: 25-6=19
Moving to Node #0,2,2
Current State: 19:[14, 44], Operations: ['89-75=14', '69-25=44']
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,19 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[25, 55], Operations: ['89-75=14', '69-14=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[69, 11], Operations: ['89-75=14', '25-14=11']
Exploring Operation: 69*11=759, Resulting Numbers: [759]
759,19 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 69+11=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[6, 64], Operations: ['75-69=6', '89-25=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[89, 19], Operations: ['75-69=6', '25-6=19']
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,19 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[25, 83], Operations: ['75-69=6', '89-6=83']
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
85,
32,
6,
94
] | 13 | [
"85*6=510",
"510-94=416",
"416/32=13"
] | Current State: 13:[85, 32, 6, 94], Operations: []
Exploring Operation: 85*6=510, Resulting Numbers: [32, 94, 510]
Generated Node #2: [32, 94, 510] from Operation: 85*6=510
Current State: 13:[32, 94, 510], Operations: ['85*6=510']
Exploring Operation: 510-94=416, Resulting Numbers: [32, 416]
Generated Node #3: [32, 416] from Operation: 510-94=416
Current State: 13:[32, 416], Operations: ['85*6=510', '510-94=416']
Exploring Operation: 416/32=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[85, 32, 6, 94], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [32, 6, 9]
Generated Node #0,0: 13:[32, 6, 9] Operation: 94-85=9
Moving to Node #0,0
Current State: 13:[32, 6, 9], Operations: ['94-85=9']
Exploring Operation: 32-6=26, Resulting Numbers: [9, 26]
Generated Node #0,0,0: 13:[9, 26] Operation: 32-6=26
Moving to Node #0,0,0
Current State: 13:[9, 26], Operations: ['94-85=9', '32-6=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,13 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
76,
24,
7,
39
] | 91 | [
"76-24=52",
"52-39=13",
"7*13=91"
] | Current State: 91:[76, 24, 7, 39], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [7, 39, 52]
Generated Node #2: [7, 39, 52] from Operation: 76-24=52
Current State: 91:[7, 39, 52], Operations: ['76-24=52']
Exploring Operation: 52-39=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 52-39=13
Current State: 91:[7, 13], Operations: ['76-24=52', '52-39=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[76, 24, 7, 39], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [76, 7, 15]
Generated Node #0,0: 91:[76, 7, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[76, 7, 15], Operations: ['39-24=15']
Exploring Operation: 76+15=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 91:[7, 91] Operation: 76+15=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[7, 91], Operations: ['39-24=15', '76+15=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
91,
95,
48
] | 48 | [
"5+91=96",
"96-95=1",
"48*1=48"
] | Current State: 48:[5, 91, 95, 48], Operations: []
Exploring Operation: 5+91=96, Resulting Numbers: [95, 48, 96]
Generated Node #2: [95, 48, 96] from Operation: 5+91=96
Current State: 48:[95, 48, 96], Operations: ['5+91=96']
Exploring Operation: 96-95=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 96-95=1
Current State: 48:[48, 1], Operations: ['5+91=96', '96-95=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[5, 91, 95, 48], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [5, 48, 4]
Generated Node #0,0: 48:[5, 48, 4] Operation: 95-91=4
Moving to Node #0,0
Current State: 48:[5, 48, 4], Operations: ['95-91=4']
Exploring Operation: 5+4=9, Resulting Numbers: [48, 9]
Generated Node #0,0,0: 48:[48, 9] Operation: 5+4=9
Moving to Node #0,0,0
Current State: 48:[48, 9], Operations: ['95-91=4', '5+4=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
19,
44,
83
] | 67 | [
"44-19=25",
"6*25=150",
"150-83=67"
] | Current State: 67:[6, 19, 44, 83], Operations: []
Exploring Operation: 44-19=25, Resulting Numbers: [6, 83, 25]
Generated Node #2: [6, 83, 25] from Operation: 44-19=25
Current State: 67:[6, 83, 25], Operations: ['44-19=25']
Exploring Operation: 6*25=150, Resulting Numbers: [83, 150]
Generated Node #3: [83, 150] from Operation: 6*25=150
Current State: 67:[83, 150], Operations: ['44-19=25', '6*25=150']
Exploring Operation: 150-83=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 19, 44, 83], Operations: []
Exploring Operation: 6+19=25, Resulting Numbers: [44, 83, 25]
Generated Node #0,0: 67:[44, 83, 25] Operation: 6+19=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[44, 83, 25], Operations: ['6+19=25']
Exploring Operation: 44+25=69, Resulting Numbers: [83, 69]
Generated Node #0,0,0: 67:[83, 69] Operation: 44+25=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[83, 69], Operations: ['6+19=25', '44+25=69']
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
36,
12,
21
] | 16 | [
"96-36=60",
"60/12=5",
"21-5=16"
] | Current State: 16:[96, 36, 12, 21], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [12, 21, 60]
Generated Node #2: [12, 21, 60] from Operation: 96-36=60
Current State: 16:[12, 21, 60], Operations: ['96-36=60']
Exploring Operation: 60/12=5, Resulting Numbers: [21, 5]
Generated Node #3: [21, 5] from Operation: 60/12=5
Current State: 16:[21, 5], Operations: ['96-36=60', '60/12=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 36, 12, 21], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [12, 21, 60]
Generated Node #0,0: 16:[12, 21, 60] Operation: 96-36=60
Exploring Operation: 96/12=8, Resulting Numbers: [36, 21, 8]
Generated Node #0,1: 16:[36, 21, 8] Operation: 96/12=8
Exploring Operation: 96-21=75, Resulting Numbers: [36, 12, 75]
Generated Node #0,2: 16:[36, 12, 75] Operation: 96-21=75
Moving to Node #0,1
Current State: 16:[36, 21, 8], Operations: ['96/12=8']
Exploring Operation: 36-8=28, Resulting Numbers: [21, 28]
Generated Node #0,1,0: 16:[21, 28] Operation: 36-8=28
Exploring Operation: 36-21=15, Resulting Numbers: [8, 15]
Generated Node #0,1,1: 16:[8, 15] Operation: 36-21=15
Exploring Operation: 21-8=13, Resulting Numbers: [36, 13]
Generated Node #0,1,2: 16:[36, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[8, 15], Operations: ['96/12=8', '36-21=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,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,0
Current State: 16:[21, 28], Operations: ['96/12=8', '36-8=28']
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,16 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,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,2
Current State: 16:[36, 13], Operations: ['96/12=8', '21-8=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,16 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[12, 21, 60], Operations: ['96-36=60']
Exploring Operation: 60-21=39, Resulting Numbers: [12, 39]
Generated Node #0,0,0: 16:[12, 39] Operation: 60-21=39
Exploring Operation: 60/12=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 16:[21, 5] Operation: 60/12=5
Exploring Operation: 60-12=48, Resulting Numbers: [21, 48]
Generated Node #0,0,2: 16:[21, 48] Operation: 60-12=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[21, 5], Operations: ['96-36=60', '60/12=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[96, 36, 12, 21], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [12, 21, 60]
Generated Node #0,0: 16:[12, 21, 60] Operation: 96-36=60
Moving to Node #0,0
Current State: 16:[12, 21, 60], Operations: ['96-36=60']
Exploring Operation: 60/12=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 16:[21, 5] Operation: 60/12=5
Moving to Node #0,0,1
Current State: 16:[21, 5], Operations: ['96-36=60', '60/12=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
35,
28,
74,
22
] | 65 | [
"74-22=52",
"35*52=1820",
"1820/28=65"
] | Current State: 65:[35, 28, 74, 22], Operations: []
Exploring Operation: 74-22=52, Resulting Numbers: [35, 28, 52]
Generated Node #2: [35, 28, 52] from Operation: 74-22=52
Current State: 65:[35, 28, 52], Operations: ['74-22=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [28, 1820]
Generated Node #3: [28, 1820] from Operation: 35*52=1820
Current State: 65:[28, 1820], Operations: ['74-22=52', '35*52=1820']
Exploring Operation: 1820/28=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[35, 28, 74, 22], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [74, 22, 7]
Generated Node #0,0: 65:[74, 22, 7] Operation: 35-28=7
Exploring Operation: 35-22=13, Resulting Numbers: [28, 74, 13]
Generated Node #0,1: 65:[28, 74, 13] Operation: 35-22=13
Exploring Operation: 35+28=63, Resulting Numbers: [74, 22, 63]
Generated Node #0,2: 65:[74, 22, 63] Operation: 35+28=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[74, 22, 7], Operations: ['35-28=7']
Exploring Operation: 74-7=67, Resulting Numbers: [22, 67]
Generated Node #0,0,0: 65:[22, 67] Operation: 74-7=67
Exploring Operation: 22-7=15, Resulting Numbers: [74, 15]
Generated Node #0,0,1: 65:[74, 15] Operation: 22-7=15
Exploring Operation: 74-22=52, Resulting Numbers: [7, 52]
Generated Node #0,0,2: 65:[7, 52] Operation: 74-22=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[22, 67], Operations: ['35-28=7', '74-7=67']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 22+67=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 22*67=1474, Resulting Numbers: [1474]
1474,65 unequal: No Solution
No 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: 65:[74, 15], Operations: ['35-28=7', '22-7=15']
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,65 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,65 unequal: No Solution
No 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: 65:[7, 52], Operations: ['35-28=7', '74-22=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,65 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: 65:[74, 22, 63], Operations: ['35+28=63']
Exploring Operation: 74-22=52, Resulting Numbers: [63, 52]
Generated Node #0,2,0: 65:[63, 52] Operation: 74-22=52
Exploring Operation: 22+63=85, Resulting Numbers: [74, 85]
Generated Node #0,2,1: 65:[74, 85] Operation: 22+63=85
Exploring Operation: 74-63=11, Resulting Numbers: [22, 11]
Generated Node #0,2,2: 65:[22, 11] Operation: 74-63=11
Moving to Node #0,2,2
Current State: 65:[22, 11], Operations: ['35+28=63', '74-63=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[63, 52], Operations: ['35+28=63', '74-22=52']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,65 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[74, 85], Operations: ['35+28=63', '22+63=85']
Exploring Operation: 74+85=159, Resulting Numbers: [159]
159,65 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 74*85=6290, Resulting Numbers: [6290]
6290,65 unequal: No Solution
No 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: 65:[28, 74, 13], Operations: ['35-22=13']
Exploring Operation: 28-13=15, Resulting Numbers: [74, 15]
Generated Node #0,1,0: 65:[74, 15] Operation: 28-13=15
Exploring Operation: 74-28=46, Resulting Numbers: [13, 46]
Generated Node #0,1,1: 65:[13, 46] Operation: 74-28=46
Exploring Operation: 74-13=61, Resulting Numbers: [28, 61]
Generated Node #0,1,2: 65:[28, 61] Operation: 74-13=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[74, 15], Operations: ['35-22=13', '28-13=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,65 unequal: No Solution
No 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: 65:[13, 46], Operations: ['35-22=13', '74-28=46']
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,65 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,65 unequal: No Solution
No 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: 65:[28, 61], Operations: ['35-22=13', '74-13=61']
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,65 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,65 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 |
[
23,
55,
5,
2
] | 34 | [
"23+55=78",
"78/2=39",
"39-5=34"
] | Current State: 34:[23, 55, 5, 2], Operations: []
Exploring Operation: 23+55=78, Resulting Numbers: [5, 2, 78]
Generated Node #2: [5, 2, 78] from Operation: 23+55=78
Current State: 34:[5, 2, 78], Operations: ['23+55=78']
Exploring Operation: 78/2=39, Resulting Numbers: [5, 39]
Generated Node #3: [5, 39] from Operation: 78/2=39
Current State: 34:[5, 39], Operations: ['23+55=78', '78/2=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[23, 55, 5, 2], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [5, 2, 32]
Generated Node #0,0: 34:[5, 2, 32] Operation: 55-23=32
Exploring Operation: 55/5=11, Resulting Numbers: [23, 2, 11]
Generated Node #0,1: 34:[23, 2, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[5, 2, 32], Operations: ['55-23=32']
Exploring Operation: 5-2=3, Resulting Numbers: [32, 3]
Generated Node #0,0,0: 34:[32, 3] Operation: 5-2=3
Exploring Operation: 5+32=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 34:[2, 37] Operation: 5+32=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[32, 3], Operations: ['55-23=32', '5-2=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[2, 37], Operations: ['55-23=32', '5+32=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[23, 2, 11], Operations: ['55/5=11']
Exploring Operation: 23-11=12, Resulting Numbers: [2, 12]
Generated Node #0,1,0: 34:[2, 12] Operation: 23-11=12
Exploring Operation: 23+11=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 34:[2, 34] Operation: 23+11=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[2, 34], Operations: ['55/5=11', '23+11=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[2, 12], Operations: ['55/5=11', '23-11=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
49,
4,
47
] | 95 | [
"54+47=101",
"49*4=196",
"196-101=95"
] | Current State: 95:[54, 49, 4, 47], Operations: []
Exploring Operation: 54+47=101, Resulting Numbers: [49, 4, 101]
Generated Node #2: [49, 4, 101] from Operation: 54+47=101
Current State: 95:[49, 4, 101], Operations: ['54+47=101']
Exploring Operation: 49*4=196, Resulting Numbers: [101, 196]
Generated Node #3: [101, 196] from Operation: 49*4=196
Current State: 95:[101, 196], Operations: ['54+47=101', '49*4=196']
Exploring Operation: 196-101=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[54, 49, 4, 47], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [49, 4, 7]
Generated Node #0,0: 95:[49, 4, 7] Operation: 54-47=7
Exploring Operation: 54+49=103, Resulting Numbers: [4, 47, 103]
Generated Node #0,1: 95:[4, 47, 103] Operation: 54+49=103
Exploring Operation: 49+47=96, Resulting Numbers: [54, 4, 96]
Generated Node #0,2: 95:[54, 4, 96] Operation: 49+47=96
Exploring Operation: 54-49=5, Resulting Numbers: [4, 47, 5]
Generated Node #0,3: 95:[4, 47, 5] Operation: 54-49=5
Exploring Operation: 54+47=101, Resulting Numbers: [49, 4, 101]
Generated Node #0,4: 95:[49, 4, 101] Operation: 54+47=101
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[4, 47, 5], Operations: ['54-49=5']
Exploring Operation: 47-5=42, Resulting Numbers: [4, 42]
Generated Node #0,3,0: 95:[4, 42] Operation: 47-5=42
Exploring Operation: 4*5=20, Resulting Numbers: [47, 20]
Generated Node #0,3,1: 95:[47, 20] Operation: 4*5=20
Exploring Operation: 4+47=51, Resulting Numbers: [5, 51]
Generated Node #0,3,2: 95:[5, 51] Operation: 4+47=51
Exploring Operation: 47-4=43, Resulting Numbers: [5, 43]
Generated Node #0,3,3: 95:[5, 43] Operation: 47-4=43
Exploring Operation: 4+5=9, Resulting Numbers: [47, 9]
Generated Node #0,3,4: 95:[47, 9] Operation: 4+5=9
Moving to Node #0,3,0
Current State: 95:[4, 42], Operations: ['54-49=5', '47-5=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[5, 43], Operations: ['54-49=5', '47-4=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,95 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[47, 20], Operations: ['54-49=5', '4*5=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,95 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[5, 51], Operations: ['54-49=5', '4+47=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[47, 9], Operations: ['54-49=5', '4+5=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,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:[49, 4, 7], Operations: ['54-47=7']
Exploring Operation: 49+4=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 95:[7, 53] Operation: 49+4=53
Exploring Operation: 7-4=3, Resulting Numbers: [49, 3]
Generated Node #0,0,1: 95:[49, 3] Operation: 7-4=3
Exploring Operation: 49-4=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 95:[7, 45] Operation: 49-4=45
Exploring Operation: 49-7=42, Resulting Numbers: [4, 42]
Generated Node #0,0,3: 95:[4, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [4, 7]
Generated Node #0,0,4: 95:[4, 7] Operation: 49/7=7
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 95:[4, 7], Operations: ['54-47=7', '49/7=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[4, 42], Operations: ['54-47=7', '49-7=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[7, 45], Operations: ['54-47=7', '49-4=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[49, 3], Operations: ['54-47=7', '7-4=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[7, 53], Operations: ['54-47=7', '49+4=53']
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,95 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,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,1
Current State: 95:[4, 47, 103], Operations: ['54+49=103']
Exploring Operation: 103-4=99, Resulting Numbers: [47, 99]
Generated Node #0,1,0: 95:[47, 99] Operation: 103-4=99
Exploring Operation: 4+47=51, Resulting Numbers: [103, 51]
Generated Node #0,1,1: 95:[103, 51] Operation: 4+47=51
Exploring Operation: 4+103=107, Resulting Numbers: [47, 107]
Generated Node #0,1,2: 95:[47, 107] Operation: 4+103=107
Exploring Operation: 103-47=56, Resulting Numbers: [4, 56]
Generated Node #0,1,3: 95:[4, 56] Operation: 103-47=56
Exploring Operation: 47-4=43, Resulting Numbers: [103, 43]
Generated Node #0,1,4: 95:[103, 43] Operation: 47-4=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[47, 99], Operations: ['54+49=103', '103-4=99']
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,95 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,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,4
Current State: 95:[103, 43], Operations: ['54+49=103', '47-4=43']
Exploring Operation: 103+43=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 103-43=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 103*43=4429, Resulting Numbers: [4429]
4429,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:[4, 56], Operations: ['54+49=103', '103-47=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[103, 51], Operations: ['54+49=103', '4+47=51']
Exploring Operation: 103+51=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 103*51=5253, Resulting Numbers: [5253]
5253,95 unequal: No Solution
Exploring Operation: 103-51=52, Resulting Numbers: [52]
52,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:[47, 107], Operations: ['54+49=103', '4+103=107']
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,95 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[54, 4, 96], Operations: ['49+47=96']
Exploring Operation: 54-4=50, Resulting Numbers: [96, 50]
Generated Node #0,2,0: 95:[96, 50] Operation: 54-4=50
Exploring Operation: 96-4=92, Resulting Numbers: [54, 92]
Generated Node #0,2,1: 95:[54, 92] Operation: 96-4=92
Exploring Operation: 96-54=42, Resulting Numbers: [4, 42]
Generated Node #0,2,2: 95:[4, 42] Operation: 96-54=42
Exploring Operation: 4+96=100, Resulting Numbers: [54, 100]
Generated Node #0,2,3: 95:[54, 100] Operation: 4+96=100
Exploring Operation: 54+4=58, Resulting Numbers: [96, 58]
Generated Node #0,2,4: 95:[96, 58] Operation: 54+4=58
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[4, 42], Operations: ['49+47=96', '96-54=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[96, 50], Operations: ['49+47=96', '54-4=50']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,95 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[54, 92], Operations: ['49+47=96', '96-4=92']
Exploring Operation: 54*92=4968, Resulting Numbers: [4968]
4968,95 unequal: No Solution
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 54+92=146, Resulting Numbers: [146]
146,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 95:[96, 58], Operations: ['49+47=96', '54+4=58']
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,95 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[54, 100], Operations: ['49+47=96', '4+96=100']
Exploring Operation: 54+100=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 54*100=5400, Resulting Numbers: [5400]
5400,95 unequal: No Solution
Exploring Operation: 100-54=46, Resulting Numbers: [46]
46,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,4
Current State: 95:[49, 4, 101], Operations: ['54+47=101']
Exploring Operation: 4+101=105, Resulting Numbers: [49, 105]
Generated Node #0,4,0: 95:[49, 105] Operation: 4+101=105
Exploring Operation: 101-4=97, Resulting Numbers: [49, 97]
Generated Node #0,4,1: 95:[49, 97] Operation: 101-4=97
Exploring Operation: 49-4=45, Resulting Numbers: [101, 45]
Generated Node #0,4,2: 95:[101, 45] Operation: 49-4=45
Exploring Operation: 49+4=53, Resulting Numbers: [101, 53]
Generated Node #0,4,3: 95:[101, 53] Operation: 49+4=53
Exploring Operation: 101-49=52, Resulting Numbers: [4, 52]
Generated Node #0,4,4: 95:[4, 52] Operation: 101-49=52
Moving to Node #0,4,1
Current State: 95:[49, 97], Operations: ['54+47=101', '101-4=97']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,95 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[101, 45], Operations: ['54+47=101', '49-4=45']
Exploring Operation: 101*45=4545, Resulting Numbers: [4545]
4545,95 unequal: No Solution
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Exploring Operation: 101+45=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[4, 52], Operations: ['54+47=101', '101-49=52']
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,95 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[49, 105], Operations: ['54+47=101', '4+101=105']
Exploring Operation: 105-49=56, Resulting Numbers: [56]
56,95 unequal: No Solution
Exploring Operation: 49*105=5145, Resulting Numbers: [5145]
5145,95 unequal: No Solution
Exploring Operation: 49+105=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[101, 53], Operations: ['54+47=101', '49+4=53']
Exploring Operation: 101*53=5353, Resulting Numbers: [5353]
5353,95 unequal: No Solution
Exploring Operation: 101+53=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 101-53=48, Resulting Numbers: [48]
48,95 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 |
[
6,
35,
23,
25
] | 33 | [
"35+25=60",
"60/6=10",
"23+10=33"
] | Current State: 33:[6, 35, 23, 25], Operations: []
Exploring Operation: 35+25=60, Resulting Numbers: [6, 23, 60]
Generated Node #2: [6, 23, 60] from Operation: 35+25=60
Current State: 33:[6, 23, 60], Operations: ['35+25=60']
Exploring Operation: 60/6=10, Resulting Numbers: [23, 10]
Generated Node #3: [23, 10] from Operation: 60/6=10
Current State: 33:[23, 10], Operations: ['35+25=60', '60/6=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 35, 23, 25], Operations: []
Exploring Operation: 6+23=29, Resulting Numbers: [35, 25, 29]
Generated Node #0,0: 33:[35, 25, 29] Operation: 6+23=29
Exploring Operation: 35-25=10, Resulting Numbers: [6, 23, 10]
Generated Node #0,1: 33:[6, 23, 10] Operation: 35-25=10
Exploring Operation: 35-23=12, Resulting Numbers: [6, 25, 12]
Generated Node #0,2: 33:[6, 25, 12] Operation: 35-23=12
Exploring Operation: 6+25=31, Resulting Numbers: [35, 23, 31]
Generated Node #0,3: 33:[35, 23, 31] Operation: 6+25=31
Exploring Operation: 25-23=2, Resulting Numbers: [6, 35, 2]
Generated Node #0,4: 33:[6, 35, 2] Operation: 25-23=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[6, 35, 2], Operations: ['25-23=2']
Exploring Operation: 35-2=33, Resulting Numbers: [6, 33]
Generated Node #0,4,0: 33:[6, 33] Operation: 35-2=33
Exploring Operation: 6/2=3, Resulting Numbers: [35, 3]
Generated Node #0,4,1: 33:[35, 3] Operation: 6/2=3
Exploring Operation: 6*2=12, Resulting Numbers: [35, 12]
Generated Node #0,4,2: 33:[35, 12] Operation: 6*2=12
Exploring Operation: 35-6=29, Resulting Numbers: [2, 29]
Generated Node #0,4,3: 33:[2, 29] Operation: 35-6=29
Exploring Operation: 6-2=4, Resulting Numbers: [35, 4]
Generated Node #0,4,4: 33:[35, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 33:[35, 3], Operations: ['25-23=2', '6/2=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,33 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 33:[6, 33], Operations: ['25-23=2', '35-2=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 33:[35, 12], Operations: ['25-23=2', '6*2=12']
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,33 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 33:[35, 4], Operations: ['25-23=2', '6-2=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[2, 29], Operations: ['25-23=2', '35-6=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,33 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: 33:[6, 25, 12], Operations: ['35-23=12']
Exploring Operation: 12/6=2, Resulting Numbers: [25, 2]
Generated Node #0,2,0: 33:[25, 2] Operation: 12/6=2
Exploring Operation: 25+12=37, Resulting Numbers: [6, 37]
Generated Node #0,2,1: 33:[6, 37] Operation: 25+12=37
Exploring Operation: 25-6=19, Resulting Numbers: [12, 19]
Generated Node #0,2,2: 33:[12, 19] Operation: 25-6=19
Exploring Operation: 25-12=13, Resulting Numbers: [6, 13]
Generated Node #0,2,3: 33:[6, 13] Operation: 25-12=13
Exploring Operation: 6+25=31, Resulting Numbers: [12, 31]
Generated Node #0,2,4: 33:[12, 31] Operation: 6+25=31
Moving to Node #0,2,4
Current State: 33:[12, 31], Operations: ['35-23=12', '6+25=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,33 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[6, 13], Operations: ['35-23=12', '25-12=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[6, 37], Operations: ['35-23=12', '25+12=37']
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,33 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[25, 2], Operations: ['35-23=12', '12/6=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[12, 19], Operations: ['35-23=12', '25-6=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,33 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[35, 25, 29], Operations: ['6+23=29']
Exploring Operation: 25+29=54, Resulting Numbers: [35, 54]
Generated Node #0,0,0: 33:[35, 54] Operation: 25+29=54
Exploring Operation: 35+25=60, Resulting Numbers: [29, 60]
Generated Node #0,0,1: 33:[29, 60] Operation: 35+25=60
Exploring Operation: 35-29=6, Resulting Numbers: [25, 6]
Generated Node #0,0,2: 33:[25, 6] Operation: 35-29=6
Exploring Operation: 35-25=10, Resulting Numbers: [29, 10]
Generated Node #0,0,3: 33:[29, 10] Operation: 35-25=10
Exploring Operation: 29-25=4, Resulting Numbers: [35, 4]
Generated Node #0,0,4: 33:[35, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 33:[35, 4], Operations: ['6+23=29', '29-25=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[29, 10], Operations: ['6+23=29', '35-25=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[25, 6], Operations: ['6+23=29', '35-29=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[35, 54], Operations: ['6+23=29', '25+29=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[29, 60], Operations: ['6+23=29', '35+25=60']
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,33 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,33 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: 33:[6, 23, 10], Operations: ['35-25=10']
Exploring Operation: 23-6=17, Resulting Numbers: [10, 17]
Generated Node #0,1,0: 33:[10, 17] Operation: 23-6=17
Exploring Operation: 10-6=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 33:[23, 4] Operation: 10-6=4
Exploring Operation: 23+10=33, Resulting Numbers: [6, 33]
Generated Node #0,1,2: 33:[6, 33] Operation: 23+10=33
Exploring Operation: 6+23=29, Resulting Numbers: [10, 29]
Generated Node #0,1,3: 33:[10, 29] Operation: 6+23=29
Exploring Operation: 23-10=13, Resulting Numbers: [6, 13]
Generated Node #0,1,4: 33:[6, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[6, 33], Operations: ['35-25=10', '23+10=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,33 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[10, 29], Operations: ['35-25=10', '6+23=29']
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,33 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 33:[6, 13], Operations: ['35-25=10', '23-10=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[10, 17], Operations: ['35-25=10', '23-6=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,33 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[23, 4], Operations: ['35-25=10', '10-6=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,33 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,33 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: 33:[35, 23, 31], Operations: ['6+25=31']
Exploring Operation: 35-23=12, Resulting Numbers: [31, 12]
Generated Node #0,3,0: 33:[31, 12] Operation: 35-23=12
Exploring Operation: 23+31=54, Resulting Numbers: [35, 54]
Generated Node #0,3,1: 33:[35, 54] Operation: 23+31=54
Exploring Operation: 35-31=4, Resulting Numbers: [23, 4]
Generated Node #0,3,2: 33:[23, 4] Operation: 35-31=4
Exploring Operation: 31-23=8, Resulting Numbers: [35, 8]
Generated Node #0,3,3: 33:[35, 8] Operation: 31-23=8
Exploring Operation: 35+23=58, Resulting Numbers: [31, 58]
Generated Node #0,3,4: 33:[31, 58] Operation: 35+23=58
Moving to Node #0,3,0
Current State: 33:[31, 12], Operations: ['6+25=31', '35-23=12']
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,33 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[35, 8], Operations: ['6+25=31', '31-23=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[23, 4], Operations: ['6+25=31', '35-31=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,33 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[35, 54], Operations: ['6+25=31', '23+31=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,33 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[31, 58], Operations: ['6+25=31', '35+23=58']
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,33 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,33 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 |
[
40,
64,
47,
56
] | 50 | [
"64+56=120",
"120/40=3",
"47+3=50"
] | Current State: 50:[40, 64, 47, 56], Operations: []
Exploring Operation: 64+56=120, Resulting Numbers: [40, 47, 120]
Generated Node #2: [40, 47, 120] from Operation: 64+56=120
Current State: 50:[40, 47, 120], Operations: ['64+56=120']
Exploring Operation: 120/40=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 120/40=3
Current State: 50:[47, 3], Operations: ['64+56=120', '120/40=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[40, 64, 47, 56], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [47, 56, 24]
Generated Node #0,0: 50:[47, 56, 24] Operation: 64-40=24
Exploring Operation: 47-40=7, Resulting Numbers: [64, 56, 7]
Generated Node #0,1: 50:[64, 56, 7] Operation: 47-40=7
Exploring Operation: 64-56=8, Resulting Numbers: [40, 47, 8]
Generated Node #0,2: 50:[40, 47, 8] Operation: 64-56=8
Moving to Node #0,0
Current State: 50:[47, 56, 24], Operations: ['64-40=24']
Exploring Operation: 47-24=23, Resulting Numbers: [56, 23]
Generated Node #0,0,0: 50:[56, 23] Operation: 47-24=23
Exploring Operation: 56-24=32, Resulting Numbers: [47, 32]
Generated Node #0,0,1: 50:[47, 32] Operation: 56-24=32
Exploring Operation: 56-47=9, Resulting Numbers: [24, 9]
Generated Node #0,0,2: 50:[24, 9] Operation: 56-47=9
Moving to Node #0,2
Current State: 50:[40, 47, 8], Operations: ['64-56=8']
Exploring Operation: 47-40=7, Resulting Numbers: [8, 7]
Generated Node #0,2,0: 50:[8, 7] Operation: 47-40=7
Exploring Operation: 40/8=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 50:[47, 5] Operation: 40/8=5
Exploring Operation: 40+8=48, Resulting Numbers: [47, 48]
Generated Node #0,2,2: 50:[47, 48] Operation: 40+8=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[47, 5], Operations: ['64-56=8', '40/8=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,50 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No 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: 50:[8, 7], Operations: ['64-56=8', '47-40=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
No 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: 50:[47, 48], Operations: ['64-56=8', '40+8=48']
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,50 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,50 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: 50:[64, 56, 7], Operations: ['47-40=7']
Exploring Operation: 56-7=49, Resulting Numbers: [64, 49]
Generated Node #0,1,0: 50:[64, 49] Operation: 56-7=49
Exploring Operation: 64-56=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 50:[7, 8] Operation: 64-56=8
Exploring Operation: 64-7=57, Resulting Numbers: [56, 57]
Generated Node #0,1,2: 50:[56, 57] Operation: 64-7=57
Moving to Node #0,0,2
Current State: 50:[24, 9], Operations: ['64-40=24', '56-47=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,50 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[7, 8], Operations: ['47-40=7', '64-56=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[56, 23], Operations: ['64-40=24', '47-24=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[47, 32], Operations: ['64-40=24', '56-24=32']
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,50 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[56, 57], Operations: ['47-40=7', '64-7=57']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,50 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[64, 49], Operations: ['47-40=7', '56-7=49']
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,50 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,50 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
17,
51,
87
] | 66 | [
"47-17=30",
"87-51=36",
"30+36=66"
] | Current State: 66:[47, 17, 51, 87], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [51, 87, 30]
Generated Node #2: [51, 87, 30] from Operation: 47-17=30
Current State: 66:[51, 87, 30], Operations: ['47-17=30']
Exploring Operation: 87-51=36, Resulting Numbers: [30, 36]
Generated Node #3: [30, 36] from Operation: 87-51=36
Current State: 66:[30, 36], Operations: ['47-17=30', '87-51=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[47, 17, 51, 87], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [17, 87, 4]
Generated Node #0,0: 66:[17, 87, 4] Operation: 51-47=4
Exploring Operation: 87-51=36, Resulting Numbers: [47, 17, 36]
Generated Node #0,1: 66:[47, 17, 36] Operation: 87-51=36
Moving to Node #0,1
Current State: 66:[47, 17, 36], Operations: ['87-51=36']
Exploring Operation: 47+17=64, Resulting Numbers: [36, 64]
Generated Node #0,1,0: 66:[36, 64] Operation: 47+17=64
Exploring Operation: 47-36=11, Resulting Numbers: [17, 11]
Generated Node #0,1,1: 66:[17, 11] Operation: 47-36=11
Moving to Node #0,0
Current State: 66:[17, 87, 4], Operations: ['51-47=4']
Exploring Operation: 87-17=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 66:[4, 70] Operation: 87-17=70
Exploring Operation: 17+4=21, Resulting Numbers: [87, 21]
Generated Node #0,0,1: 66:[87, 21] Operation: 17+4=21
Moving to Node #0,1,0
Current State: 66:[36, 64], Operations: ['87-51=36', '47+17=64']
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[4, 70], Operations: ['51-47=4', '87-17=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[47, 17, 51, 87], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [17, 87, 4]
Generated Node #0,0: 66:[17, 87, 4] Operation: 51-47=4
Moving to Node #0,0
Current State: 66:[17, 87, 4], Operations: ['51-47=4']
Exploring Operation: 87-17=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 66:[4, 70] Operation: 87-17=70
Moving to Node #0,0,0
Current State: 66:[4, 70], Operations: ['51-47=4', '87-17=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
67,
78,
31,
10
] | 10 | [
"78-67=11",
"31-10=21",
"21-11=10"
] | Current State: 10:[67, 78, 31, 10], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [31, 10, 11]
Generated Node #2: [31, 10, 11] from Operation: 78-67=11
Current State: 10:[31, 10, 11], Operations: ['78-67=11']
Exploring Operation: 31-10=21, Resulting Numbers: [11, 21]
Generated Node #3: [11, 21] from Operation: 31-10=21
Current State: 10:[11, 21], Operations: ['78-67=11', '31-10=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[67, 78, 31, 10], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [31, 10, 11]
Generated Node #0,0: 10:[31, 10, 11] Operation: 78-67=11
Exploring Operation: 78-31=47, Resulting Numbers: [67, 10, 47]
Generated Node #0,1: 10:[67, 10, 47] Operation: 78-31=47
Exploring Operation: 78-10=68, Resulting Numbers: [67, 31, 68]
Generated Node #0,2: 10:[67, 31, 68] Operation: 78-10=68
Exploring Operation: 67-10=57, Resulting Numbers: [78, 31, 57]
Generated Node #0,3: 10:[78, 31, 57] Operation: 67-10=57
Exploring Operation: 67-31=36, Resulting Numbers: [78, 10, 36]
Generated Node #0,4: 10:[78, 10, 36] Operation: 67-31=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[31, 10, 11], Operations: ['78-67=11']
Exploring Operation: 11-10=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 10:[31, 1] Operation: 11-10=1
Exploring Operation: 31+11=42, Resulting Numbers: [10, 42]
Generated Node #0,0,1: 10:[10, 42] Operation: 31+11=42
Exploring Operation: 31+10=41, Resulting Numbers: [11, 41]
Generated Node #0,0,2: 10:[11, 41] Operation: 31+10=41
Exploring Operation: 31-10=21, Resulting Numbers: [11, 21]
Generated Node #0,0,3: 10:[11, 21] Operation: 31-10=21
Exploring Operation: 31-11=20, Resulting Numbers: [10, 20]
Generated Node #0,0,4: 10:[10, 20] Operation: 31-11=20
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 10:[10, 20], Operations: ['78-67=11', '31-11=20']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[67, 78, 31, 10], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [31, 10, 11]
Generated Node #0,0: 10:[31, 10, 11] Operation: 78-67=11
Moving to Node #0,0
Current State: 10:[31, 10, 11], Operations: ['78-67=11']
Exploring Operation: 31-11=20, Resulting Numbers: [10, 20]
Generated Node #0,0,4: 10:[10, 20] Operation: 31-11=20
Moving to Node #0,0,4
Current State: 10:[10, 20], Operations: ['78-67=11', '31-11=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
88,
45,
80,
7
] | 11 | [
"88-80=8",
"7*8=56",
"56-45=11"
] | Current State: 11:[88, 45, 80, 7], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [45, 7, 8]
Generated Node #2: [45, 7, 8] from Operation: 88-80=8
Current State: 11:[45, 7, 8], Operations: ['88-80=8']
Exploring Operation: 7*8=56, Resulting Numbers: [45, 56]
Generated Node #3: [45, 56] from Operation: 7*8=56
Current State: 11:[45, 56], Operations: ['88-80=8', '7*8=56']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[88, 45, 80, 7], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [45, 7, 8]
Generated Node #0,0: 11:[45, 7, 8] Operation: 88-80=8
Exploring Operation: 45-7=38, Resulting Numbers: [88, 80, 38]
Generated Node #0,1: 11:[88, 80, 38] Operation: 45-7=38
Exploring Operation: 88-45=43, Resulting Numbers: [80, 7, 43]
Generated Node #0,2: 11:[80, 7, 43] Operation: 88-45=43
Exploring Operation: 80-45=35, Resulting Numbers: [88, 7, 35]
Generated Node #0,3: 11:[88, 7, 35] Operation: 80-45=35
Exploring Operation: 88-7=81, Resulting Numbers: [45, 80, 81]
Generated Node #0,4: 11:[45, 80, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[45, 7, 8], Operations: ['88-80=8']
Exploring Operation: 45-7=38, Resulting Numbers: [8, 38]
Generated Node #0,0,0: 11:[8, 38] Operation: 45-7=38
Exploring Operation: 7+8=15, Resulting Numbers: [45, 15]
Generated Node #0,0,1: 11:[45, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [45, 1]
Generated Node #0,0,2: 11:[45, 1] Operation: 8-7=1
Exploring Operation: 45+7=52, Resulting Numbers: [8, 52]
Generated Node #0,0,3: 11:[8, 52] Operation: 45+7=52
Exploring Operation: 45-8=37, Resulting Numbers: [7, 37]
Generated Node #0,0,4: 11:[7, 37] Operation: 45-8=37
Moving to Node #0,0,0
Current State: 11:[8, 38], Operations: ['88-80=8', '45-7=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[7, 37], Operations: ['88-80=8', '45-8=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[45, 15], Operations: ['88-80=8', '7+8=15']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[45, 1], Operations: ['88-80=8', '8-7=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[8, 52], Operations: ['88-80=8', '45+7=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,11 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,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,2
Current State: 11:[80, 7, 43], Operations: ['88-45=43']
Exploring Operation: 80-43=37, Resulting Numbers: [7, 37]
Generated Node #0,2,0: 11:[7, 37] Operation: 80-43=37
Exploring Operation: 80-7=73, Resulting Numbers: [43, 73]
Generated Node #0,2,1: 11:[43, 73] Operation: 80-7=73
Exploring Operation: 80+7=87, Resulting Numbers: [43, 87]
Generated Node #0,2,2: 11:[43, 87] Operation: 80+7=87
Exploring Operation: 43-7=36, Resulting Numbers: [80, 36]
Generated Node #0,2,3: 11:[80, 36] Operation: 43-7=36
Exploring Operation: 7+43=50, Resulting Numbers: [80, 50]
Generated Node #0,2,4: 11:[80, 50] Operation: 7+43=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[7, 37], Operations: ['88-45=43', '80-43=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,11 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[43, 73], Operations: ['88-45=43', '80-7=73']
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,11 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[80, 36], Operations: ['88-45=43', '43-7=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,11 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[43, 87], Operations: ['88-45=43', '80+7=87']
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[80, 50], Operations: ['88-45=43', '7+43=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,11 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,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,3
Current State: 11:[88, 7, 35], Operations: ['80-45=35']
Exploring Operation: 88-35=53, Resulting Numbers: [7, 53]
Generated Node #0,3,0: 11:[7, 53] Operation: 88-35=53
Exploring Operation: 35/7=5, Resulting Numbers: [88, 5]
Generated Node #0,3,1: 11:[88, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [88, 28]
Generated Node #0,3,2: 11:[88, 28] Operation: 35-7=28
Exploring Operation: 88-7=81, Resulting Numbers: [35, 81]
Generated Node #0,3,3: 11:[35, 81] Operation: 88-7=81
Exploring Operation: 88+7=95, Resulting Numbers: [35, 95]
Generated Node #0,3,4: 11:[35, 95] Operation: 88+7=95
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 11:[7, 53], Operations: ['80-45=35', '88-35=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,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,3,1
Current State: 11:[88, 5], Operations: ['80-45=35', '35/7=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,11 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,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,3,2
Current State: 11:[88, 28], Operations: ['80-45=35', '35-7=28']
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,11 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,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,3,3
Current State: 11:[35, 81], Operations: ['80-45=35', '88-7=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,11 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,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,3,4
Current State: 11:[35, 95], Operations: ['80-45=35', '88+7=95']
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,11 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,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,1
Current State: 11:[88, 80, 38], Operations: ['45-7=38']
Exploring Operation: 88+80=168, Resulting Numbers: [38, 168]
Generated Node #0,1,0: 11:[38, 168] Operation: 88+80=168
Exploring Operation: 88-80=8, Resulting Numbers: [38, 8]
Generated Node #0,1,1: 11:[38, 8] Operation: 88-80=8
Exploring Operation: 80-38=42, Resulting Numbers: [88, 42]
Generated Node #0,1,2: 11:[88, 42] Operation: 80-38=42
Exploring Operation: 88+38=126, Resulting Numbers: [80, 126]
Generated Node #0,1,3: 11:[80, 126] Operation: 88+38=126
Exploring Operation: 88-38=50, Resulting Numbers: [80, 50]
Generated Node #0,1,4: 11:[80, 50] Operation: 88-38=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[38, 8], Operations: ['45-7=38', '88-80=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,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,2
Current State: 11:[88, 42], Operations: ['45-7=38', '80-38=42']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,11 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,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,4
Current State: 11:[80, 50], Operations: ['45-7=38', '88-38=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,11 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[38, 168], Operations: ['45-7=38', '88+80=168']
Exploring Operation: 38+168=206, Resulting Numbers: [206]
206,11 unequal: No Solution
Exploring Operation: 168-38=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 38*168=6384, Resulting Numbers: [6384]
6384,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[80, 126], Operations: ['45-7=38', '88+38=126']
Exploring Operation: 80*126=10080, Resulting Numbers: [10080]
10080,11 unequal: No Solution
Exploring Operation: 126-80=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 80+126=206, Resulting Numbers: [206]
206,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,4
Current State: 11:[45, 80, 81], Operations: ['88-7=81']
Exploring Operation: 45+81=126, Resulting Numbers: [80, 126]
Generated Node #0,4,0: 11:[80, 126] Operation: 45+81=126
Exploring Operation: 45+80=125, Resulting Numbers: [81, 125]
Generated Node #0,4,1: 11:[81, 125] Operation: 45+80=125
Exploring Operation: 80-45=35, Resulting Numbers: [81, 35]
Generated Node #0,4,2: 11:[81, 35] Operation: 80-45=35
Exploring Operation: 81-45=36, Resulting Numbers: [80, 36]
Generated Node #0,4,3: 11:[80, 36] Operation: 81-45=36
Exploring Operation: 81-80=1, Resulting Numbers: [45, 1]
Generated Node #0,4,4: 11:[45, 1] Operation: 81-80=1
Moving to Node #0,4,4
Current State: 11:[45, 1], Operations: ['88-7=81', '81-80=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[80, 36], Operations: ['88-7=81', '81-45=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[81, 35], Operations: ['88-7=81', '80-45=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[80, 126], Operations: ['88-7=81', '45+81=126']
Exploring Operation: 126-80=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 80*126=10080, Resulting Numbers: [10080]
10080,11 unequal: No Solution
Exploring Operation: 80+126=206, Resulting Numbers: [206]
206,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[81, 125], Operations: ['88-7=81', '45+80=125']
Exploring Operation: 81+125=206, Resulting Numbers: [206]
206,11 unequal: No Solution
Exploring Operation: 81*125=10125, Resulting Numbers: [10125]
10125,11 unequal: No Solution
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,11 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 |
[
42,
39,
35,
56
] | 47 | [
"42-35=7",
"56/7=8",
"39+8=47"
] | Current State: 47:[42, 39, 35, 56], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [39, 56, 7]
Generated Node #2: [39, 56, 7] from Operation: 42-35=7
Current State: 47:[39, 56, 7], Operations: ['42-35=7']
Exploring Operation: 56/7=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 56/7=8
Current State: 47:[39, 8], Operations: ['42-35=7', '56/7=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[42, 39, 35, 56], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [42, 39, 21]
Generated Node #0,0: 47:[42, 39, 21] Operation: 56-35=21
Moving to Node #0,0
Current State: 47:[42, 39, 21], Operations: ['56-35=21']
Exploring Operation: 39+21=60, Resulting Numbers: [42, 60]
Generated Node #0,0,0: 47:[42, 60] Operation: 39+21=60
Moving to Node #0,0,0
Current State: 47:[42, 60], Operations: ['56-35=21', '39+21=60']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
86,
78,
97
] | 20 | [
"63+97=160",
"86-78=8",
"160/8=20"
] | Current State: 20:[63, 86, 78, 97], Operations: []
Exploring Operation: 63+97=160, Resulting Numbers: [86, 78, 160]
Generated Node #2: [86, 78, 160] from Operation: 63+97=160
Current State: 20:[86, 78, 160], Operations: ['63+97=160']
Exploring Operation: 86-78=8, Resulting Numbers: [160, 8]
Generated Node #3: [160, 8] from Operation: 86-78=8
Current State: 20:[160, 8], Operations: ['63+97=160', '86-78=8']
Exploring Operation: 160/8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[63, 86, 78, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [63, 78, 11]
Generated Node #0,0: 20:[63, 78, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 20:[63, 78, 11], Operations: ['97-86=11']
Exploring Operation: 78-63=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 20:[11, 15] Operation: 78-63=15
Moving to Node #0,0,0
Current State: 20:[11, 15], Operations: ['97-86=11', '78-63=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
95,
1,
19
] | 82 | [
"95*19=1805",
"1805-1=1804",
"1804/22=82"
] | Current State: 82:[22, 95, 1, 19], Operations: []
Exploring Operation: 95*19=1805, Resulting Numbers: [22, 1, 1805]
Generated Node #2: [22, 1, 1805] from Operation: 95*19=1805
Current State: 82:[22, 1, 1805], Operations: ['95*19=1805']
Exploring Operation: 1805-1=1804, Resulting Numbers: [22, 1804]
Generated Node #3: [22, 1804] from Operation: 1805-1=1804
Current State: 82:[22, 1804], Operations: ['95*19=1805', '1805-1=1804']
Exploring Operation: 1804/22=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[22, 95, 1, 19], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [22, 1, 76]
Generated Node #0,0: 82:[22, 1, 76] Operation: 95-19=76
Exploring Operation: 22-19=3, Resulting Numbers: [95, 1, 3]
Generated Node #0,1: 82:[95, 1, 3] Operation: 22-19=3
Exploring Operation: 22+19=41, Resulting Numbers: [95, 1, 41]
Generated Node #0,2: 82:[95, 1, 41] Operation: 22+19=41
Exploring Operation: 95-22=73, Resulting Numbers: [1, 19, 73]
Generated Node #0,3: 82:[1, 19, 73] Operation: 95-22=73
Exploring Operation: 95/19=5, Resulting Numbers: [22, 1, 5]
Generated Node #0,4: 82:[22, 1, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[95, 1, 41], Operations: ['22+19=41']
Exploring Operation: 1*41=41, Resulting Numbers: [95, 41]
Generated Node #0,2,0: 82:[95, 41] Operation: 1*41=41
Exploring Operation: 95/1=95, Resulting Numbers: [41, 95]
Generated Node #0,2,1: 82:[41, 95] Operation: 95/1=95
Exploring Operation: 95*1=95, Resulting Numbers: [41, 95]
Generated Node #0,2,2: 82:[41, 95] Operation: 95*1=95
Exploring Operation: 95-1=94, Resulting Numbers: [41, 94]
Generated Node #0,2,3: 82:[41, 94] Operation: 95-1=94
Exploring Operation: 41/1=41, Resulting Numbers: [95, 41]
Generated Node #0,2,4: 82:[95, 41] Operation: 41/1=41
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[41, 94], Operations: ['22+19=41', '95-1=94']
Exploring Operation: 41+94=135, Resulting Numbers: [135]
135,82 unequal: No Solution
Exploring Operation: 41*94=3854, Resulting Numbers: [3854]
3854,82 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,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,2,0
Current State: 82:[95, 41], Operations: ['22+19=41', '1*41=41']
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,82 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,82 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,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,2,1
Current State: 82:[41, 95], Operations: ['22+19=41', '95/1=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,82 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,82 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,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,2,2
Current State: 82:[41, 95], Operations: ['22+19=41', '95*1=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,82 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,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,2,4
Current State: 82:[95, 41], Operations: ['22+19=41', '41/1=41']
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,82 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,82 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,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:[95, 1, 3], Operations: ['22-19=3']
Exploring Operation: 3-1=2, Resulting Numbers: [95, 2]
Generated Node #0,1,0: 82:[95, 2] Operation: 3-1=2
Exploring Operation: 95-3=92, Resulting Numbers: [1, 92]
Generated Node #0,1,1: 82:[1, 92] Operation: 95-3=92
Exploring Operation: 95*1=95, Resulting Numbers: [3, 95]
Generated Node #0,1,2: 82:[3, 95] Operation: 95*1=95
Exploring Operation: 95/1=95, Resulting Numbers: [3, 95]
Generated Node #0,1,3: 82:[3, 95] Operation: 95/1=95
Exploring Operation: 95-1=94, Resulting Numbers: [3, 94]
Generated Node #0,1,4: 82:[3, 94] Operation: 95-1=94
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[1, 92], Operations: ['22-19=3', '95-3=92']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,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:[95, 2], Operations: ['22-19=3', '3-1=2']
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,82 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,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:[3, 94], Operations: ['22-19=3', '95-1=94']
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 3*94=282, Resulting Numbers: [282]
282,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:[3, 95], Operations: ['22-19=3', '95*1=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,82 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,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, 95], Operations: ['22-19=3', '95/1=95']
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,82 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,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:[22, 1, 5], Operations: ['95/19=5']
Exploring Operation: 22-5=17, Resulting Numbers: [1, 17]
Generated Node #0,4,0: 82:[1, 17] Operation: 22-5=17
Exploring Operation: 22+5=27, Resulting Numbers: [1, 27]
Generated Node #0,4,1: 82:[1, 27] Operation: 22+5=27
Exploring Operation: 5-1=4, Resulting Numbers: [22, 4]
Generated Node #0,4,2: 82:[22, 4] Operation: 5-1=4
Exploring Operation: 22+1=23, Resulting Numbers: [5, 23]
Generated Node #0,4,3: 82:[5, 23] Operation: 22+1=23
Exploring Operation: 22*1=22, Resulting Numbers: [5, 22]
Generated Node #0,4,4: 82:[5, 22] Operation: 22*1=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[1, 27], Operations: ['95/19=5', '22+5=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,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,0
Current State: 82:[1, 17], Operations: ['95/19=5', '22-5=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,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:[22, 4], Operations: ['95/19=5', '5-1=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,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:[5, 23], Operations: ['95/19=5', '22+1=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,82 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,82 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,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:[5, 22], Operations: ['95/19=5', '22*1=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,82 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,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:[22, 1, 76], Operations: ['95-19=76']
Exploring Operation: 22*1=22, Resulting Numbers: [76, 22]
Generated Node #0,0,0: 82:[76, 22] Operation: 22*1=22
Exploring Operation: 22+76=98, Resulting Numbers: [1, 98]
Generated Node #0,0,1: 82:[1, 98] Operation: 22+76=98
Exploring Operation: 76-22=54, Resulting Numbers: [1, 54]
Generated Node #0,0,2: 82:[1, 54] Operation: 76-22=54
Exploring Operation: 22+1=23, Resulting Numbers: [76, 23]
Generated Node #0,0,3: 82:[76, 23] Operation: 22+1=23
Exploring Operation: 1+76=77, Resulting Numbers: [22, 77]
Generated Node #0,0,4: 82:[22, 77] Operation: 1+76=77
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[1, 54], Operations: ['95-19=76', '76-22=54']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,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:[1, 98], Operations: ['95-19=76', '22+76=98']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,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:[76, 23], Operations: ['95-19=76', '22+1=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,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:[22, 77], Operations: ['95-19=76', '1+76=77']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,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,0
Current State: 82:[76, 22], Operations: ['95-19=76', '22*1=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,82 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,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,3
Current State: 82:[1, 19, 73], Operations: ['95-22=73']
Exploring Operation: 19-1=18, Resulting Numbers: [73, 18]
Generated Node #0,3,0: 82:[73, 18] Operation: 19-1=18
Exploring Operation: 19+73=92, Resulting Numbers: [1, 92]
Generated Node #0,3,1: 82:[1, 92] Operation: 19+73=92
Exploring Operation: 1*19=19, Resulting Numbers: [73, 19]
Generated Node #0,3,2: 82:[73, 19] Operation: 1*19=19
Exploring Operation: 73-19=54, Resulting Numbers: [1, 54]
Generated Node #0,3,3: 82:[1, 54] Operation: 73-19=54
Exploring Operation: 1+73=74, Resulting Numbers: [19, 74]
Generated Node #0,3,4: 82:[19, 74] Operation: 1+73=74
Moving to Node #0,3,1
Current State: 82:[1, 92], Operations: ['95-22=73', '19+73=92']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[1, 54], Operations: ['95-22=73', '73-19=54']
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[73, 18], Operations: ['95-22=73', '19-1=18']
Exploring Operation: 73*18=1314, Resulting Numbers: [1314]
1314,82 unequal: No Solution
Exploring Operation: 73+18=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[19, 74], Operations: ['95-22=73', '1+73=74']
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,82 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[73, 19], Operations: ['95-22=73', '1*19=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,82 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,82 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 |
[
65,
44,
1,
26
] | 39 | [
"65+1=66",
"26*66=1716",
"1716/44=39"
] | Current State: 39:[65, 44, 1, 26], Operations: []
Exploring Operation: 65+1=66, Resulting Numbers: [44, 26, 66]
Generated Node #2: [44, 26, 66] from Operation: 65+1=66
Current State: 39:[44, 26, 66], Operations: ['65+1=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [44, 1716]
Generated Node #3: [44, 1716] from Operation: 26*66=1716
Current State: 39:[44, 1716], Operations: ['65+1=66', '26*66=1716']
Exploring Operation: 1716/44=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[65, 44, 1, 26], Operations: []
Exploring Operation: 65-1=64, Resulting Numbers: [44, 26, 64]
Generated Node #0,0: 39:[44, 26, 64] Operation: 65-1=64
Exploring Operation: 65-44=21, Resulting Numbers: [1, 26, 21]
Generated Node #0,1: 39:[1, 26, 21] Operation: 65-44=21
Exploring Operation: 65-26=39, Resulting Numbers: [44, 1, 39]
Generated Node #0,2: 39:[44, 1, 39] Operation: 65-26=39
Exploring Operation: 44-26=18, Resulting Numbers: [65, 1, 18]
Generated Node #0,3: 39:[65, 1, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 39:[44, 1, 39], Operations: ['65-26=39']
Exploring Operation: 44*1=44, Resulting Numbers: [39, 44]
Generated Node #0,2,0: 39:[39, 44] Operation: 44*1=44
Exploring Operation: 44-39=5, Resulting Numbers: [1, 5]
Generated Node #0,2,1: 39:[1, 5] Operation: 44-39=5
Exploring Operation: 44/1=44, Resulting Numbers: [39, 44]
Generated Node #0,2,2: 39:[39, 44] Operation: 44/1=44
Exploring Operation: 44-1=43, Resulting Numbers: [39, 43]
Generated Node #0,2,3: 39:[39, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[1, 5], Operations: ['65-26=39', '44-39=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[39, 43], Operations: ['65-26=39', '44-1=43']
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,39 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[39, 44], Operations: ['65-26=39', '44*1=44']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[39, 44], Operations: ['65-26=39', '44/1=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,39 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 39:[1, 26, 21], Operations: ['65-44=21']
Exploring Operation: 1+26=27, Resulting Numbers: [21, 27]
Generated Node #0,1,0: 39:[21, 27] Operation: 1+26=27
Exploring Operation: 26-21=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 39:[1, 5] Operation: 26-21=5
Exploring Operation: 26+21=47, Resulting Numbers: [1, 47]
Generated Node #0,1,2: 39:[1, 47] Operation: 26+21=47
Exploring Operation: 26-1=25, Resulting Numbers: [21, 25]
Generated Node #0,1,3: 39:[21, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[1, 5], Operations: ['65-44=21', '26-21=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[1, 47], Operations: ['65-44=21', '26+21=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[21, 27], Operations: ['65-44=21', '1+26=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,39 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[21, 25], Operations: ['65-44=21', '26-1=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,39 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,39 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: 39:[65, 1, 18], Operations: ['44-26=18']
Exploring Operation: 18-1=17, Resulting Numbers: [65, 17]
Generated Node #0,3,0: 39:[65, 17] Operation: 18-1=17
Exploring Operation: 65-18=47, Resulting Numbers: [1, 47]
Generated Node #0,3,1: 39:[1, 47] Operation: 65-18=47
Exploring Operation: 65-1=64, Resulting Numbers: [18, 64]
Generated Node #0,3,2: 39:[18, 64] Operation: 65-1=64
Exploring Operation: 65*1=65, Resulting Numbers: [18, 65]
Generated Node #0,3,3: 39:[18, 65] Operation: 65*1=65
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[1, 47], Operations: ['44-26=18', '65-18=47']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[65, 17], Operations: ['44-26=18', '18-1=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,39 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 39:[18, 64], Operations: ['44-26=18', '65-1=64']
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,39 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[18, 65], Operations: ['44-26=18', '65*1=65']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 18*65=1170, Resulting Numbers: [1170]
1170,39 unequal: No Solution
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,39 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: 39:[44, 26, 64], Operations: ['65-1=64']
Exploring Operation: 44+26=70, Resulting Numbers: [64, 70]
Generated Node #0,0,0: 39:[64, 70] Operation: 44+26=70
Exploring Operation: 44-26=18, Resulting Numbers: [64, 18]
Generated Node #0,0,1: 39:[64, 18] Operation: 44-26=18
Exploring Operation: 64-44=20, Resulting Numbers: [26, 20]
Generated Node #0,0,2: 39:[26, 20] Operation: 64-44=20
Exploring Operation: 64-26=38, Resulting Numbers: [44, 38]
Generated Node #0,0,3: 39:[44, 38] Operation: 64-26=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[44, 38], Operations: ['65-1=64', '64-26=38']
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,39 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[26, 20], Operations: ['65-1=64', '64-44=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[64, 18], Operations: ['65-1=64', '44-26=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[64, 70], Operations: ['65-1=64', '44+26=70']
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,39 unequal: No Solution
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,39 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,39 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 |
[
62,
73,
17,
57
] | 63 | [
"73-62=11",
"17+57=74",
"74-11=63"
] | Current State: 63:[62, 73, 17, 57], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [17, 57, 11]
Generated Node #2: [17, 57, 11] from Operation: 73-62=11
Current State: 63:[17, 57, 11], Operations: ['73-62=11']
Exploring Operation: 17+57=74, Resulting Numbers: [11, 74]
Generated Node #3: [11, 74] from Operation: 17+57=74
Current State: 63:[11, 74], Operations: ['73-62=11', '17+57=74']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[62, 73, 17, 57], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [62, 57, 56]
Generated Node #0,0: 63:[62, 57, 56] Operation: 73-17=56
Exploring Operation: 73-62=11, Resulting Numbers: [17, 57, 11]
Generated Node #0,1: 63:[17, 57, 11] Operation: 73-62=11
Exploring Operation: 73-57=16, Resulting Numbers: [62, 17, 16]
Generated Node #0,2: 63:[62, 17, 16] Operation: 73-57=16
Moving to Node #0,2
Current State: 63:[62, 17, 16], Operations: ['73-57=16']
Exploring Operation: 17+16=33, Resulting Numbers: [62, 33]
Generated Node #0,2,0: 63:[62, 33] Operation: 17+16=33
Exploring Operation: 62+16=78, Resulting Numbers: [17, 78]
Generated Node #0,2,1: 63:[17, 78] Operation: 62+16=78
Exploring Operation: 17-16=1, Resulting Numbers: [62, 1]
Generated Node #0,2,2: 63:[62, 1] Operation: 17-16=1
Moving to Node #0,1
Current State: 63:[17, 57, 11], Operations: ['73-62=11']
Exploring Operation: 17+57=74, Resulting Numbers: [11, 74]
Generated Node #0,1,0: 63:[11, 74] Operation: 17+57=74
Exploring Operation: 17-11=6, Resulting Numbers: [57, 6]
Generated Node #0,1,1: 63:[57, 6] Operation: 17-11=6
Exploring Operation: 57+11=68, Resulting Numbers: [17, 68]
Generated Node #0,1,2: 63:[17, 68] Operation: 57+11=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[57, 6], Operations: ['73-62=11', '17-11=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,63 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[62, 73, 17, 57], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [17, 57, 11]
Generated Node #0,1: 63:[17, 57, 11] Operation: 73-62=11
Moving to Node #0,1
Current State: 63:[17, 57, 11], Operations: ['73-62=11']
Exploring Operation: 17-11=6, Resulting Numbers: [57, 6]
Generated Node #0,1,1: 63:[57, 6] Operation: 17-11=6
Moving to Node #0,1,1
Current State: 63:[57, 6], Operations: ['73-62=11', '17-11=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
30,
52,
38,
37
] | 22 | [
"52-30=22",
"38-37=1",
"22*1=22"
] | Current State: 22:[30, 52, 38, 37], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [38, 37, 22]
Generated Node #2: [38, 37, 22] from Operation: 52-30=22
Current State: 22:[38, 37, 22], Operations: ['52-30=22']
Exploring Operation: 38-37=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 38-37=1
Current State: 22:[22, 1], Operations: ['52-30=22', '38-37=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[30, 52, 38, 37], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [30, 38, 15]
Generated Node #0,0: 22:[30, 38, 15] Operation: 52-37=15
Exploring Operation: 52-38=14, Resulting Numbers: [30, 37, 14]
Generated Node #0,1: 22:[30, 37, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[30, 37, 14], Operations: ['52-38=14']
Exploring Operation: 37-14=23, Resulting Numbers: [30, 23]
Generated Node #0,1,0: 22:[30, 23] Operation: 37-14=23
Exploring Operation: 37-30=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 22:[14, 7] Operation: 37-30=7
Moving to Node #0,1,1
Current State: 22:[14, 7], Operations: ['52-38=14', '37-30=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[30, 23], Operations: ['52-38=14', '37-14=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[30, 38, 15], Operations: ['52-37=15']
Exploring Operation: 38-15=23, Resulting Numbers: [30, 23]
Generated Node #0,0,0: 22:[30, 23] Operation: 38-15=23
Exploring Operation: 38-30=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 22:[15, 8] Operation: 38-30=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[15, 8], Operations: ['52-37=15', '38-30=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No 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: 22:[30, 23], Operations: ['52-37=15', '38-15=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,22 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 |
[
13,
90,
62,
47
] | 45 | [
"62-13=49",
"49-47=2",
"90/2=45"
] | Current State: 45:[13, 90, 62, 47], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [90, 47, 49]
Generated Node #2: [90, 47, 49] from Operation: 62-13=49
Current State: 45:[90, 47, 49], Operations: ['62-13=49']
Exploring Operation: 49-47=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 49-47=2
Current State: 45:[90, 2], Operations: ['62-13=49', '49-47=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[13, 90, 62, 47], Operations: []
Exploring Operation: 90-47=43, Resulting Numbers: [13, 62, 43]
Generated Node #0,0: 45:[13, 62, 43] Operation: 90-47=43
Exploring Operation: 90-62=28, Resulting Numbers: [13, 47, 28]
Generated Node #0,1: 45:[13, 47, 28] Operation: 90-62=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[13, 47, 28], Operations: ['90-62=28']
Exploring Operation: 28-13=15, Resulting Numbers: [47, 15]
Generated Node #0,1,0: 45:[47, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [47, 41]
Generated Node #0,1,1: 45:[47, 41] Operation: 13+28=41
Moving to Node #0,1,0
Current State: 45:[47, 15], Operations: ['90-62=28', '28-13=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[47, 41], Operations: ['90-62=28', '13+28=41']
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,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
Current State: 45:[13, 62, 43], Operations: ['90-47=43']
Exploring Operation: 62-43=19, Resulting Numbers: [13, 19]
Generated Node #0,0,0: 45:[13, 19] Operation: 62-43=19
Exploring Operation: 62-13=49, Resulting Numbers: [43, 49]
Generated Node #0,0,1: 45:[43, 49] Operation: 62-13=49
Moving to Node #0,0,0
Current State: 45:[13, 19], Operations: ['90-47=43', '62-43=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[43, 49], Operations: ['90-47=43', '62-13=49']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,45 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 |
[
61,
12,
70,
67
] | 35 | [
"67-61=6",
"12/6=2",
"70/2=35"
] | Current State: 35:[61, 12, 70, 67], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [12, 70, 6]
Generated Node #2: [12, 70, 6] from Operation: 67-61=6
Current State: 35:[12, 70, 6], Operations: ['67-61=6']
Exploring Operation: 12/6=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 12/6=2
Current State: 35:[70, 2], Operations: ['67-61=6', '12/6=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[61, 12, 70, 67], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [12, 70, 6]
Generated Node #0,0: 35:[12, 70, 6] Operation: 67-61=6
Exploring Operation: 70-67=3, Resulting Numbers: [61, 12, 3]
Generated Node #0,1: 35:[61, 12, 3] Operation: 70-67=3
Exploring Operation: 70-61=9, Resulting Numbers: [12, 67, 9]
Generated Node #0,2: 35:[12, 67, 9] Operation: 70-61=9
Moving to Node #0,1
Current State: 35:[61, 12, 3], Operations: ['70-67=3']
Exploring Operation: 61-12=49, Resulting Numbers: [3, 49]
Generated Node #0,1,0: 35:[3, 49] Operation: 61-12=49
Exploring Operation: 12*3=36, Resulting Numbers: [61, 36]
Generated Node #0,1,1: 35:[61, 36] Operation: 12*3=36
Exploring Operation: 12/3=4, Resulting Numbers: [61, 4]
Generated Node #0,1,2: 35:[61, 4] Operation: 12/3=4
Moving to Node #0,2
Current State: 35:[12, 67, 9], Operations: ['70-61=9']
Exploring Operation: 67-9=58, Resulting Numbers: [12, 58]
Generated Node #0,2,0: 35:[12, 58] Operation: 67-9=58
Exploring Operation: 12-9=3, Resulting Numbers: [67, 3]
Generated Node #0,2,1: 35:[67, 3] Operation: 12-9=3
Exploring Operation: 67-12=55, Resulting Numbers: [9, 55]
Generated Node #0,2,2: 35:[9, 55] Operation: 67-12=55
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[9, 55], Operations: ['70-61=9', '67-12=55']
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,35 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[12, 58], Operations: ['70-61=9', '67-9=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,35 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[67, 3], Operations: ['70-61=9', '12-9=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,35 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: 35:[12, 70, 6], Operations: ['67-61=6']
Exploring Operation: 70-6=64, Resulting Numbers: [12, 64]
Generated Node #0,0,0: 35:[12, 64] Operation: 70-6=64
Exploring Operation: 12-6=6, Resulting Numbers: [70, 6]
Generated Node #0,0,1: 35:[70, 6] Operation: 12-6=6
Exploring Operation: 70-12=58, Resulting Numbers: [6, 58]
Generated Node #0,0,2: 35:[6, 58] Operation: 70-12=58
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[6, 58], Operations: ['67-61=6', '70-12=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[12, 64], Operations: ['67-61=6', '70-6=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[70, 6], Operations: ['67-61=6', '12-6=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,35 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 35:[3, 49], Operations: ['70-67=3', '61-12=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,35 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[61, 36], Operations: ['70-67=3', '12*3=36']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,35 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[61, 4], Operations: ['70-67=3', '12/3=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
45,
28,
9
] | 52 | [
"45-12=33",
"28-9=19",
"33+19=52"
] | Current State: 52:[12, 45, 28, 9], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [28, 9, 33]
Generated Node #2: [28, 9, 33] from Operation: 45-12=33
Current State: 52:[28, 9, 33], Operations: ['45-12=33']
Exploring Operation: 28-9=19, Resulting Numbers: [33, 19]
Generated Node #3: [33, 19] from Operation: 28-9=19
Current State: 52:[33, 19], Operations: ['45-12=33', '28-9=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[12, 45, 28, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [12, 28, 5]
Generated Node #0,0: 52:[12, 28, 5] Operation: 45/9=5
Exploring Operation: 45-28=17, Resulting Numbers: [12, 9, 17]
Generated Node #0,1: 52:[12, 9, 17] Operation: 45-28=17
Exploring Operation: 45+9=54, Resulting Numbers: [12, 28, 54]
Generated Node #0,2: 52:[12, 28, 54] Operation: 45+9=54
Exploring Operation: 12+45=57, Resulting Numbers: [28, 9, 57]
Generated Node #0,3: 52:[28, 9, 57] Operation: 12+45=57
Exploring Operation: 12-9=3, Resulting Numbers: [45, 28, 3]
Generated Node #0,4: 52:[45, 28, 3] Operation: 12-9=3
Moving to Node #0,0
Current State: 52:[12, 28, 5], Operations: ['45/9=5']
Exploring Operation: 28-5=23, Resulting Numbers: [12, 23]
Generated Node #0,0,0: 52:[12, 23] Operation: 28-5=23
Exploring Operation: 12-5=7, Resulting Numbers: [28, 7]
Generated Node #0,0,1: 52:[28, 7] Operation: 12-5=7
Exploring Operation: 28-12=16, Resulting Numbers: [5, 16]
Generated Node #0,0,2: 52:[5, 16] Operation: 28-12=16
Exploring Operation: 28+5=33, Resulting Numbers: [12, 33]
Generated Node #0,0,3: 52:[12, 33] Operation: 28+5=33
Exploring Operation: 12+5=17, Resulting Numbers: [28, 17]
Generated Node #0,0,4: 52:[28, 17] Operation: 12+5=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[12, 23], Operations: ['45/9=5', '28-5=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,52 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 12+23=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,0,2
Current State: 52:[5, 16], Operations: ['45/9=5', '28-12=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[28, 7], Operations: ['45/9=5', '12-5=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[28, 17], Operations: ['45/9=5', '12+5=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[12, 33], Operations: ['45/9=5', '28+5=33']
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,52 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,52 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: 52:[12, 28, 54], Operations: ['45+9=54']
Exploring Operation: 28-12=16, Resulting Numbers: [54, 16]
Generated Node #0,2,0: 52:[54, 16] Operation: 28-12=16
Exploring Operation: 54-28=26, Resulting Numbers: [12, 26]
Generated Node #0,2,1: 52:[12, 26] Operation: 54-28=26
Exploring Operation: 12+54=66, Resulting Numbers: [28, 66]
Generated Node #0,2,2: 52:[28, 66] Operation: 12+54=66
Exploring Operation: 12+28=40, Resulting Numbers: [54, 40]
Generated Node #0,2,3: 52:[54, 40] Operation: 12+28=40
Exploring Operation: 54-12=42, Resulting Numbers: [28, 42]
Generated Node #0,2,4: 52:[28, 42] Operation: 54-12=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[12, 26], Operations: ['45+9=54', '54-28=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,52 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[54, 16], Operations: ['45+9=54', '28-12=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,52 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[28, 42], Operations: ['45+9=54', '54-12=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[54, 40], Operations: ['45+9=54', '12+28=40']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,52 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[28, 66], Operations: ['45+9=54', '12+54=66']
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,52 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,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:[12, 9, 17], Operations: ['45-28=17']
Exploring Operation: 17-9=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 52:[12, 8] Operation: 17-9=8
Exploring Operation: 9+17=26, Resulting Numbers: [12, 26]
Generated Node #0,1,1: 52:[12, 26] Operation: 9+17=26
Exploring Operation: 12+17=29, Resulting Numbers: [9, 29]
Generated Node #0,1,2: 52:[9, 29] Operation: 12+17=29
Exploring Operation: 12-9=3, Resulting Numbers: [17, 3]
Generated Node #0,1,3: 52:[17, 3] Operation: 12-9=3
Exploring Operation: 17-12=5, Resulting Numbers: [9, 5]
Generated Node #0,1,4: 52:[9, 5] Operation: 17-12=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[12, 26], Operations: ['45-28=17', '9+17=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,52 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,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:[12, 8], Operations: ['45-28=17', '17-9=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,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:[17, 3], Operations: ['45-28=17', '12-9=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,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,4
Current State: 52:[9, 5], Operations: ['45-28=17', '17-12=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,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:[9, 29], Operations: ['45-28=17', '12+17=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,52 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,52 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: 52:[45, 28, 3], Operations: ['12-9=3']
Exploring Operation: 28-3=25, Resulting Numbers: [45, 25]
Generated Node #0,4,0: 52:[45, 25] Operation: 28-3=25
Exploring Operation: 45/3=15, Resulting Numbers: [28, 15]
Generated Node #0,4,1: 52:[28, 15] Operation: 45/3=15
Exploring Operation: 45+3=48, Resulting Numbers: [28, 48]
Generated Node #0,4,2: 52:[28, 48] Operation: 45+3=48
Exploring Operation: 45-3=42, Resulting Numbers: [28, 42]
Generated Node #0,4,3: 52:[28, 42] Operation: 45-3=42
Exploring Operation: 45-28=17, Resulting Numbers: [3, 17]
Generated Node #0,4,4: 52:[3, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[28, 15], Operations: ['12-9=3', '45/3=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,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,4,4
Current State: 52:[3, 17], Operations: ['12-9=3', '45-28=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,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,4,2
Current State: 52:[28, 48], Operations: ['12-9=3', '45+3=48']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,52 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,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,4,0
Current State: 52:[45, 25], Operations: ['12-9=3', '28-3=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,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,4,3
Current State: 52:[28, 42], Operations: ['12-9=3', '45-3=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,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:[28, 9, 57], Operations: ['12+45=57']
Exploring Operation: 57-9=48, Resulting Numbers: [28, 48]
Generated Node #0,3,0: 52:[28, 48] Operation: 57-9=48
Exploring Operation: 28+9=37, Resulting Numbers: [57, 37]
Generated Node #0,3,1: 52:[57, 37] Operation: 28+9=37
Exploring Operation: 9+57=66, Resulting Numbers: [28, 66]
Generated Node #0,3,2: 52:[28, 66] Operation: 9+57=66
Exploring Operation: 57-28=29, Resulting Numbers: [9, 29]
Generated Node #0,3,3: 52:[9, 29] Operation: 57-28=29
Exploring Operation: 28-9=19, Resulting Numbers: [57, 19]
Generated Node #0,3,4: 52:[57, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[28, 48], Operations: ['12+45=57', '57-9=48']
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,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:[9, 29], Operations: ['12+45=57', '57-28=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,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:[57, 19], Operations: ['12+45=57', '28-9=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,52 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,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:[57, 37], Operations: ['12+45=57', '28+9=37']
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,52 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,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:[28, 66], Operations: ['12+45=57', '9+57=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,52 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,52 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 |
[
80,
27,
36,
90
] | 78 | [
"90-36=54",
"54/27=2",
"80-2=78"
] | Current State: 78:[80, 27, 36, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [80, 27, 54]
Generated Node #2: [80, 27, 54] from Operation: 90-36=54
Current State: 78:[80, 27, 54], Operations: ['90-36=54']
Exploring Operation: 54/27=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 54/27=2
Current State: 78:[80, 2], Operations: ['90-36=54', '54/27=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[80, 27, 36, 90], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [27, 90, 44]
Generated Node #0,0: 78:[27, 90, 44] Operation: 80-36=44
Exploring Operation: 36-27=9, Resulting Numbers: [80, 90, 9]
Generated Node #0,1: 78:[80, 90, 9] Operation: 36-27=9
Exploring Operation: 90-36=54, Resulting Numbers: [80, 27, 54]
Generated Node #0,2: 78:[80, 27, 54] Operation: 90-36=54
Exploring Operation: 90-27=63, Resulting Numbers: [80, 36, 63]
Generated Node #0,3: 78:[80, 36, 63] Operation: 90-27=63
Exploring Operation: 90-80=10, Resulting Numbers: [27, 36, 10]
Generated Node #0,4: 78:[27, 36, 10] Operation: 90-80=10
Moving to Node #0,4
Current State: 78:[27, 36, 10], Operations: ['90-80=10']
Exploring Operation: 27-10=17, Resulting Numbers: [36, 17]
Generated Node #0,4,0: 78:[36, 17] Operation: 27-10=17
Exploring Operation: 36+10=46, Resulting Numbers: [27, 46]
Generated Node #0,4,1: 78:[27, 46] Operation: 36+10=46
Exploring Operation: 27+10=37, Resulting Numbers: [36, 37]
Generated Node #0,4,2: 78:[36, 37] Operation: 27+10=37
Exploring Operation: 36-10=26, Resulting Numbers: [27, 26]
Generated Node #0,4,3: 78:[27, 26] Operation: 36-10=26
Exploring Operation: 36-27=9, Resulting Numbers: [10, 9]
Generated Node #0,4,4: 78:[10, 9] Operation: 36-27=9
Moving to Node #0,1
Current State: 78:[80, 90, 9], Operations: ['36-27=9']
Exploring Operation: 90-80=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 78:[9, 10] Operation: 90-80=10
Exploring Operation: 90-9=81, Resulting Numbers: [80, 81]
Generated Node #0,1,1: 78:[80, 81] Operation: 90-9=81
Exploring Operation: 80+9=89, Resulting Numbers: [90, 89]
Generated Node #0,1,2: 78:[90, 89] Operation: 80+9=89
Exploring Operation: 90/9=10, Resulting Numbers: [80, 10]
Generated Node #0,1,3: 78:[80, 10] Operation: 90/9=10
Exploring Operation: 80-9=71, Resulting Numbers: [90, 71]
Generated Node #0,1,4: 78:[90, 71] Operation: 80-9=71
Moving to Node #0,0
Current State: 78:[27, 90, 44], Operations: ['80-36=44']
Exploring Operation: 90-44=46, Resulting Numbers: [27, 46]
Generated Node #0,0,0: 78:[27, 46] Operation: 90-44=46
Exploring Operation: 27+90=117, Resulting Numbers: [44, 117]
Generated Node #0,0,1: 78:[44, 117] Operation: 27+90=117
Exploring Operation: 27+44=71, Resulting Numbers: [90, 71]
Generated Node #0,0,2: 78:[90, 71] Operation: 27+44=71
Exploring Operation: 90-27=63, Resulting Numbers: [44, 63]
Generated Node #0,0,3: 78:[44, 63] Operation: 90-27=63
Exploring Operation: 44-27=17, Resulting Numbers: [90, 17]
Generated Node #0,0,4: 78:[90, 17] Operation: 44-27=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[27, 46], Operations: ['80-36=44', '90-44=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,78 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,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,0,4
Current State: 78:[90, 17], Operations: ['80-36=44', '44-27=17']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,78 unequal: No Solution
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 90*17=1530, Resulting Numbers: [1530]
1530,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,0,2
Current State: 78:[90, 71], Operations: ['80-36=44', '27+44=71']
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,78 unequal: No Solution
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,78 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,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,0,3
Current State: 78:[44, 63], Operations: ['80-36=44', '90-27=63']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,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,0,1
Current State: 78:[44, 117], Operations: ['80-36=44', '27+90=117']
Exploring Operation: 44+117=161, Resulting Numbers: [161]
161,78 unequal: No Solution
Exploring Operation: 117-44=73, Resulting Numbers: [73]
73,78 unequal: No Solution
Exploring Operation: 44*117=5148, Resulting Numbers: [5148]
5148,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:[80, 27, 54], Operations: ['90-36=54']
Exploring Operation: 80-27=53, Resulting Numbers: [54, 53]
Generated Node #0,2,0: 78:[54, 53] Operation: 80-27=53
Exploring Operation: 54-27=27, Resulting Numbers: [80, 27]
Generated Node #0,2,1: 78:[80, 27] Operation: 54-27=27
Exploring Operation: 54/27=2, Resulting Numbers: [80, 2]
Generated Node #0,2,2: 78:[80, 2] Operation: 54/27=2
Exploring Operation: 27+54=81, Resulting Numbers: [80, 81]
Generated Node #0,2,3: 78:[80, 81] Operation: 27+54=81
Exploring Operation: 80-54=26, Resulting Numbers: [27, 26]
Generated Node #0,2,4: 78:[27, 26] Operation: 80-54=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[27, 26], Operations: ['90-36=54', '80-54=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,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,2,2
Current State: 78:[80, 2], Operations: ['90-36=54', '54/27=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,78 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[80, 27, 36, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [80, 27, 54]
Generated Node #0,2: 78:[80, 27, 54] Operation: 90-36=54
Moving to Node #0,2
Current State: 78:[80, 27, 54], Operations: ['90-36=54']
Exploring Operation: 54/27=2, Resulting Numbers: [80, 2]
Generated Node #0,2,2: 78:[80, 2] Operation: 54/27=2
Moving to Node #0,2,2
Current State: 78:[80, 2], Operations: ['90-36=54', '54/27=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_5 | sum_heuristic |
[
80,
93,
99,
95
] | 52 | [
"93-80=13",
"99-95=4",
"13*4=52"
] | Current State: 52:[80, 93, 99, 95], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [99, 95, 13]
Generated Node #2: [99, 95, 13] from Operation: 93-80=13
Current State: 52:[99, 95, 13], Operations: ['93-80=13']
Exploring Operation: 99-95=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 99-95=4
Current State: 52:[13, 4], Operations: ['93-80=13', '99-95=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[80, 93, 99, 95], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [80, 93, 4]
Generated Node #0,0: 52:[80, 93, 4] Operation: 99-95=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[80, 93, 4], Operations: ['99-95=4']
Exploring Operation: 93-80=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 93-80=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['99-95=4', '93-80=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[80, 93, 99, 95], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [80, 93, 4]
Generated Node #0,0: 52:[80, 93, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 52:[80, 93, 4], Operations: ['99-95=4']
Exploring Operation: 93-80=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 93-80=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['99-95=4', '93-80=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
91,
6,
41
] | 79 | [
"76+91=167",
"6*41=246",
"246-167=79"
] | Current State: 79:[76, 91, 6, 41], Operations: []
Exploring Operation: 76+91=167, Resulting Numbers: [6, 41, 167]
Generated Node #2: [6, 41, 167] from Operation: 76+91=167
Current State: 79:[6, 41, 167], Operations: ['76+91=167']
Exploring Operation: 6*41=246, Resulting Numbers: [167, 246]
Generated Node #3: [167, 246] from Operation: 6*41=246
Current State: 79:[167, 246], Operations: ['76+91=167', '6*41=246']
Exploring Operation: 246-167=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[76, 91, 6, 41], Operations: []
Exploring Operation: 6+41=47, Resulting Numbers: [76, 91, 47]
Generated Node #0,0: 79:[76, 91, 47] Operation: 6+41=47
Exploring Operation: 76-6=70, Resulting Numbers: [91, 41, 70]
Generated Node #0,1: 79:[91, 41, 70] Operation: 76-6=70
Exploring Operation: 76+6=82, Resulting Numbers: [91, 41, 82]
Generated Node #0,2: 79:[91, 41, 82] Operation: 76+6=82
Exploring Operation: 91+6=97, Resulting Numbers: [76, 41, 97]
Generated Node #0,3: 79:[76, 41, 97] Operation: 91+6=97
Exploring Operation: 91-6=85, Resulting Numbers: [76, 41, 85]
Generated Node #0,4: 79:[76, 41, 85] Operation: 91-6=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[76, 91, 47], Operations: ['6+41=47']
Exploring Operation: 91+47=138, Resulting Numbers: [76, 138]
Generated Node #0,0,0: 79:[76, 138] Operation: 91+47=138
Exploring Operation: 91-76=15, Resulting Numbers: [47, 15]
Generated Node #0,0,1: 79:[47, 15] Operation: 91-76=15
Exploring Operation: 76-47=29, Resulting Numbers: [91, 29]
Generated Node #0,0,2: 79:[91, 29] Operation: 76-47=29
Exploring Operation: 76+47=123, Resulting Numbers: [91, 123]
Generated Node #0,0,3: 79:[91, 123] Operation: 76+47=123
Exploring Operation: 91-47=44, Resulting Numbers: [76, 44]
Generated Node #0,0,4: 79:[76, 44] Operation: 91-47=44
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[76, 44], Operations: ['6+41=47', '91-47=44']
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,79 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[91, 123], Operations: ['6+41=47', '76+47=123']
Exploring Operation: 91+123=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Exploring Operation: 91*123=11193, Resulting Numbers: [11193]
11193,79 unequal: No Solution
Exploring Operation: 123-91=32, Resulting Numbers: [32]
32,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[76, 138], Operations: ['6+41=47', '91+47=138']
Exploring Operation: 76*138=10488, Resulting Numbers: [10488]
10488,79 unequal: No Solution
Exploring Operation: 76+138=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Exploring Operation: 138-76=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[91, 29], Operations: ['6+41=47', '76-47=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,79 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[47, 15], Operations: ['6+41=47', '91-76=15']
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 47*15=705, Resulting Numbers: [705]
705,79 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,79 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: 79:[76, 41, 85], Operations: ['91-6=85']
Exploring Operation: 85-76=9, Resulting Numbers: [41, 9]
Generated Node #0,4,0: 79:[41, 9] Operation: 85-76=9
Exploring Operation: 76+41=117, Resulting Numbers: [85, 117]
Generated Node #0,4,1: 79:[85, 117] Operation: 76+41=117
Exploring Operation: 76-41=35, Resulting Numbers: [85, 35]
Generated Node #0,4,2: 79:[85, 35] Operation: 76-41=35
Exploring Operation: 85-41=44, Resulting Numbers: [76, 44]
Generated Node #0,4,3: 79:[76, 44] Operation: 85-41=44
Exploring Operation: 41+85=126, Resulting Numbers: [76, 126]
Generated Node #0,4,4: 79:[76, 126] Operation: 41+85=126
Moving to Node #0,4,3
Current State: 79:[76, 44], Operations: ['91-6=85', '85-41=44']
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,79 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[85, 117], Operations: ['91-6=85', '76+41=117']
Exploring Operation: 85+117=202, Resulting Numbers: [202]
202,79 unequal: No Solution
Exploring Operation: 85*117=9945, Resulting Numbers: [9945]
9945,79 unequal: No Solution
Exploring Operation: 117-85=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[85, 35], Operations: ['91-6=85', '76-41=35']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[76, 126], Operations: ['91-6=85', '41+85=126']
Exploring Operation: 76*126=9576, Resulting Numbers: [9576]
9576,79 unequal: No Solution
Exploring Operation: 76+126=202, Resulting Numbers: [202]
202,79 unequal: No Solution
Exploring Operation: 126-76=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[41, 9], Operations: ['91-6=85', '85-76=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,79 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,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
Current State: 79:[91, 41, 82], Operations: ['76+6=82']
Exploring Operation: 82-41=41, Resulting Numbers: [91, 41]
Generated Node #0,2,0: 79:[91, 41] Operation: 82-41=41
Exploring Operation: 91+41=132, Resulting Numbers: [82, 132]
Generated Node #0,2,1: 79:[82, 132] Operation: 91+41=132
Exploring Operation: 41+82=123, Resulting Numbers: [91, 123]
Generated Node #0,2,2: 79:[91, 123] Operation: 41+82=123
Exploring Operation: 82/41=2, Resulting Numbers: [91, 2]
Generated Node #0,2,3: 79:[91, 2] Operation: 82/41=2
Exploring Operation: 91-41=50, Resulting Numbers: [82, 50]
Generated Node #0,2,4: 79:[82, 50] Operation: 91-41=50
Moving to Node #0,2,4
Current State: 79:[82, 50], Operations: ['76+6=82', '91-41=50']
Exploring Operation: 82+50=132, Resulting Numbers: [132]
132,79 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 82*50=4100, Resulting Numbers: [4100]
4100,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[91, 41], Operations: ['76+6=82', '82-41=41']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,79 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[82, 132], Operations: ['76+6=82', '91+41=132']
Exploring Operation: 132-82=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 82*132=10824, Resulting Numbers: [10824]
10824,79 unequal: No Solution
Exploring Operation: 82+132=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[91, 123], Operations: ['76+6=82', '41+82=123']
Exploring Operation: 91*123=11193, Resulting Numbers: [11193]
11193,79 unequal: No Solution
Exploring Operation: 91+123=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Exploring Operation: 123-91=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[91, 2], Operations: ['76+6=82', '82/41=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[91, 41, 70], Operations: ['76-6=70']
Exploring Operation: 41+70=111, Resulting Numbers: [91, 111]
Generated Node #0,1,0: 79:[91, 111] Operation: 41+70=111
Exploring Operation: 91-70=21, Resulting Numbers: [41, 21]
Generated Node #0,1,1: 79:[41, 21] Operation: 91-70=21
Exploring Operation: 91+41=132, Resulting Numbers: [70, 132]
Generated Node #0,1,2: 79:[70, 132] Operation: 91+41=132
Exploring Operation: 91-41=50, Resulting Numbers: [70, 50]
Generated Node #0,1,3: 79:[70, 50] Operation: 91-41=50
Exploring Operation: 70-41=29, Resulting Numbers: [91, 29]
Generated Node #0,1,4: 79:[91, 29] Operation: 70-41=29
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[70, 50], Operations: ['76-6=70', '91-41=50']
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[91, 111], Operations: ['76-6=70', '41+70=111']
Exploring Operation: 111-91=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 91+111=202, Resulting Numbers: [202]
202,79 unequal: No Solution
Exploring Operation: 91*111=10101, Resulting Numbers: [10101]
10101,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[70, 132], Operations: ['76-6=70', '91+41=132']
Exploring Operation: 70*132=9240, Resulting Numbers: [9240]
9240,79 unequal: No Solution
Exploring Operation: 132-70=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 70+132=202, Resulting Numbers: [202]
202,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[91, 29], Operations: ['76-6=70', '70-41=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[41, 21], Operations: ['76-6=70', '91-70=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,79 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: 79:[76, 41, 97], Operations: ['91+6=97']
Exploring Operation: 76-41=35, Resulting Numbers: [97, 35]
Generated Node #0,3,0: 79:[97, 35] Operation: 76-41=35
Exploring Operation: 97-41=56, Resulting Numbers: [76, 56]
Generated Node #0,3,1: 79:[76, 56] Operation: 97-41=56
Exploring Operation: 41+97=138, Resulting Numbers: [76, 138]
Generated Node #0,3,2: 79:[76, 138] Operation: 41+97=138
Exploring Operation: 97-76=21, Resulting Numbers: [41, 21]
Generated Node #0,3,3: 79:[41, 21] Operation: 97-76=21
Exploring Operation: 76+41=117, Resulting Numbers: [97, 117]
Generated Node #0,3,4: 79:[97, 117] Operation: 76+41=117
Moving to Node #0,3,1
Current State: 79:[76, 56], Operations: ['91+6=97', '97-41=56']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,79 unequal: No Solution
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[97, 117], Operations: ['91+6=97', '76+41=117']
Exploring Operation: 117-97=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 97*117=11349, Resulting Numbers: [11349]
11349,79 unequal: No Solution
Exploring Operation: 97+117=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[97, 35], Operations: ['91+6=97', '76-41=35']
Exploring Operation: 97-35=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 97+35=132, Resulting Numbers: [132]
132,79 unequal: No Solution
Exploring Operation: 97*35=3395, Resulting Numbers: [3395]
3395,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[76, 138], Operations: ['91+6=97', '41+97=138']
Exploring Operation: 138-76=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 76+138=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Exploring Operation: 76*138=10488, Resulting Numbers: [10488]
10488,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[41, 21], Operations: ['91+6=97', '97-76=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,79 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 |
[
81,
80,
72,
29
] | 61 | [
"81*80=6480",
"6480/72=90",
"90-29=61"
] | Current State: 61:[81, 80, 72, 29], Operations: []
Exploring Operation: 81*80=6480, Resulting Numbers: [72, 29, 6480]
Generated Node #2: [72, 29, 6480] from Operation: 81*80=6480
Current State: 61:[72, 29, 6480], Operations: ['81*80=6480']
Exploring Operation: 6480/72=90, Resulting Numbers: [29, 90]
Generated Node #3: [29, 90] from Operation: 6480/72=90
Current State: 61:[29, 90], Operations: ['81*80=6480', '6480/72=90']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[81, 80, 72, 29], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [80, 72, 52]
Generated Node #0,0: 61:[80, 72, 52] Operation: 81-29=52
Moving to Node #0,0
Current State: 61:[80, 72, 52], Operations: ['81-29=52']
Exploring Operation: 80-52=28, Resulting Numbers: [72, 28]
Generated Node #0,0,0: 61:[72, 28] Operation: 80-52=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[72, 28], Operations: ['81-29=52', '80-52=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
22,
39,
83
] | 43 | [
"23-22=1",
"83-39=44",
"44-1=43"
] | Current State: 43:[23, 22, 39, 83], Operations: []
Exploring Operation: 23-22=1, Resulting Numbers: [39, 83, 1]
Generated Node #2: [39, 83, 1] from Operation: 23-22=1
Current State: 43:[39, 83, 1], Operations: ['23-22=1']
Exploring Operation: 83-39=44, Resulting Numbers: [1, 44]
Generated Node #3: [1, 44] from Operation: 83-39=44
Current State: 43:[1, 44], Operations: ['23-22=1', '83-39=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[23, 22, 39, 83], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [23, 22, 44]
Generated Node #0,0: 43:[23, 22, 44] Operation: 83-39=44
Exploring Operation: 83-22=61, Resulting Numbers: [23, 39, 61]
Generated Node #0,1: 43:[23, 39, 61] Operation: 83-22=61
Exploring Operation: 83-23=60, Resulting Numbers: [22, 39, 60]
Generated Node #0,2: 43:[22, 39, 60] Operation: 83-23=60
Moving to Node #0,0
Current State: 43:[23, 22, 44], Operations: ['83-39=44']
Exploring Operation: 44-22=22, Resulting Numbers: [23, 22]
Generated Node #0,0,0: 43:[23, 22] Operation: 44-22=22
Exploring Operation: 23+22=45, Resulting Numbers: [44, 45]
Generated Node #0,0,1: 43:[44, 45] Operation: 23+22=45
Exploring Operation: 23-22=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 43:[44, 1] Operation: 23-22=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[44, 45], Operations: ['83-39=44', '23+22=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[23, 22], Operations: ['83-39=44', '44-22=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,43 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[44, 1], Operations: ['83-39=44', '23-22=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[23, 22, 39, 83], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [23, 22, 44]
Generated Node #0,0: 43:[23, 22, 44] Operation: 83-39=44
Moving to Node #0,0
Current State: 43:[23, 22, 44], Operations: ['83-39=44']
Exploring Operation: 23-22=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 43:[44, 1] Operation: 23-22=1
Moving to Node #0,0,2
Current State: 43:[44, 1], Operations: ['83-39=44', '23-22=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
42,
45,
47,
47
] | 68 | [
"47-45=2",
"42/2=21",
"47+21=68"
] | Current State: 68:[42, 45, 47, 47], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [42, 2]
Generated Node #2: [42, 2] from Operation: 47-45=2
Current State: 68:[42, 2], Operations: ['47-45=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,68 equal: Goal Reached
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[42, 45, 47, 47], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [42, 47, 2]
Generated Node #0,0: 68:[42, 47, 2] Operation: 47-45=2
Exploring Operation: 47/47=1, Resulting Numbers: [42, 45, 1]
Generated Node #0,1: 68:[42, 45, 1] Operation: 47/47=1
Exploring Operation: 47-42=5, Resulting Numbers: [45, 47, 5]
Generated Node #0,2: 68:[45, 47, 5] Operation: 47-42=5
Exploring Operation: 47-45=2, Resulting Numbers: [42, 47, 2]
Generated Node #0,3: 68:[42, 47, 2] Operation: 47-45=2
Exploring Operation: 47-47=0, Resulting Numbers: [42, 45, 0]
Generated Node #0,4: 68:[42, 45, 0] Operation: 47-47=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[42, 45, 1], Operations: ['47/47=1']
Exploring Operation: 45-42=3, Resulting Numbers: [1, 3]
Generated Node #0,1,0: 68:[1, 3] Operation: 45-42=3
Exploring Operation: 42-1=41, Resulting Numbers: [45, 41]
Generated Node #0,1,1: 68:[45, 41] Operation: 42-1=41
Exploring Operation: 42*1=42, Resulting Numbers: [45, 42]
Generated Node #0,1,2: 68:[45, 42] Operation: 42*1=42
Exploring Operation: 42/1=42, Resulting Numbers: [45, 42]
Generated Node #0,1,3: 68:[45, 42] Operation: 42/1=42
Exploring Operation: 45-1=44, Resulting Numbers: [42, 44]
Generated Node #0,1,4: 68:[42, 44] Operation: 45-1=44
Moving to Node #0,1,0
Current State: 68:[1, 3], Operations: ['47/47=1', '45-42=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[42, 44], Operations: ['47/47=1', '45-1=44']
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,68 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[45, 41], Operations: ['47/47=1', '42-1=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,68 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[45, 42], Operations: ['47/47=1', '42*1=42']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[45, 42], Operations: ['47/47=1', '42/1=42']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No 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: 68:[42, 47, 2], Operations: ['47-45=2']
Exploring Operation: 42/2=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 68:[47, 21] Operation: 42/2=21
Exploring Operation: 42-2=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 68:[47, 40] Operation: 42-2=40
Exploring Operation: 47-42=5, Resulting Numbers: [2, 5]
Generated Node #0,0,2: 68:[2, 5] Operation: 47-42=5
Exploring Operation: 42+47=89, Resulting Numbers: [2, 89]
Generated Node #0,0,3: 68:[2, 89] Operation: 42+47=89
Exploring Operation: 47-2=45, Resulting Numbers: [42, 45]
Generated Node #0,0,4: 68:[42, 45] Operation: 47-2=45
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[2, 5], Operations: ['47-45=2', '47-42=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No 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: 68:[47, 21], Operations: ['47-45=2', '42/2=21']
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,68 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[42, 45, 47, 47], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [42, 47, 2]
Generated Node #0,0: 68:[42, 47, 2] Operation: 47-45=2
Moving to Node #0,0
Current State: 68:[42, 47, 2], Operations: ['47-45=2']
Exploring Operation: 42/2=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 68:[47, 21] Operation: 42/2=21
Moving to Node #0,0,0
Current State: 68:[47, 21], Operations: ['47-45=2', '42/2=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
37,
21,
28,
84
] | 61 | [
"37+21=58",
"84/28=3",
"58+3=61"
] | Current State: 61:[37, 21, 28, 84], Operations: []
Exploring Operation: 37+21=58, Resulting Numbers: [28, 84, 58]
Generated Node #2: [28, 84, 58] from Operation: 37+21=58
Current State: 61:[28, 84, 58], Operations: ['37+21=58']
Exploring Operation: 84/28=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 84/28=3
Current State: 61:[58, 3], Operations: ['37+21=58', '84/28=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[37, 21, 28, 84], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [37, 28, 63]
Generated Node #0,0: 61:[37, 28, 63] Operation: 84-21=63
Exploring Operation: 21+28=49, Resulting Numbers: [37, 84, 49]
Generated Node #0,1: 61:[37, 84, 49] Operation: 21+28=49
Exploring Operation: 37+21=58, Resulting Numbers: [28, 84, 58]
Generated Node #0,2: 61:[28, 84, 58] Operation: 37+21=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[37, 28, 63], Operations: ['84-21=63']
Exploring Operation: 37+28=65, Resulting Numbers: [63, 65]
Generated Node #0,0,0: 61:[63, 65] Operation: 37+28=65
Exploring Operation: 37-28=9, Resulting Numbers: [63, 9]
Generated Node #0,0,1: 61:[63, 9] Operation: 37-28=9
Exploring Operation: 63-28=35, Resulting Numbers: [37, 35]
Generated Node #0,0,2: 61:[37, 35] Operation: 63-28=35
Moving to Node #0,0,0
Current State: 61:[63, 65], Operations: ['84-21=63', '37+28=65']
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,61 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[37, 35], Operations: ['84-21=63', '63-28=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[63, 9], Operations: ['84-21=63', '37-28=9']
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,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:[37, 84, 49], Operations: ['21+28=49']
Exploring Operation: 84-37=47, Resulting Numbers: [49, 47]
Generated Node #0,1,0: 61:[49, 47] Operation: 84-37=47
Exploring Operation: 84-49=35, Resulting Numbers: [37, 35]
Generated Node #0,1,1: 61:[37, 35] Operation: 84-49=35
Exploring Operation: 37+49=86, Resulting Numbers: [84, 86]
Generated Node #0,1,2: 61:[84, 86] Operation: 37+49=86
Moving to Node #0,1,0
Current State: 61:[49, 47], Operations: ['21+28=49', '84-37=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,61 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[84, 86], Operations: ['21+28=49', '37+49=86']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 84*86=7224, Resulting Numbers: [7224]
7224,61 unequal: No Solution
Exploring Operation: 84+86=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[37, 35], Operations: ['21+28=49', '84-49=35']
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,61 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,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,2
Current State: 61:[28, 84, 58], Operations: ['37+21=58']
Exploring Operation: 28+84=112, Resulting Numbers: [58, 112]
Generated Node #0,2,0: 61:[58, 112] Operation: 28+84=112
Exploring Operation: 28+58=86, Resulting Numbers: [84, 86]
Generated Node #0,2,1: 61:[84, 86] Operation: 28+58=86
Exploring Operation: 84-28=56, Resulting Numbers: [58, 56]
Generated Node #0,2,2: 61:[58, 56] Operation: 84-28=56
Moving to Node #0,2,2
Current State: 61:[58, 56], Operations: ['37+21=58', '84-28=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[84, 86], Operations: ['37+21=58', '28+58=86']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 84*86=7224, Resulting Numbers: [7224]
7224,61 unequal: No Solution
Exploring Operation: 84+86=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[58, 112], Operations: ['37+21=58', '28+84=112']
Exploring Operation: 112-58=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 58*112=6496, Resulting Numbers: [6496]
6496,61 unequal: No Solution
Exploring Operation: 58+112=170, Resulting Numbers: [170]
170,61 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 |
[
47,
2,
50,
45
] | 87 | [
"50-47=3",
"2*45=90",
"90-3=87"
] | Current State: 87:[47, 2, 50, 45], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [2, 45, 3]
Generated Node #2: [2, 45, 3] from Operation: 50-47=3
Current State: 87:[2, 45, 3], Operations: ['50-47=3']
Exploring Operation: 2*45=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 2*45=90
Current State: 87:[3, 90], Operations: ['50-47=3', '2*45=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[47, 2, 50, 45], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [2, 45, 3]
Generated Node #0,0: 87:[2, 45, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 87:[2, 45, 3], Operations: ['50-47=3']
Exploring Operation: 2*45=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 87:[3, 90] Operation: 2*45=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[3, 90], Operations: ['50-47=3', '2*45=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[47, 2, 50, 45], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [2, 45, 3]
Generated Node #0,0: 87:[2, 45, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 87:[2, 45, 3], Operations: ['50-47=3']
Exploring Operation: 2*45=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 87:[3, 90] Operation: 2*45=90
Moving to Node #0,0,0
Current State: 87:[3, 90], Operations: ['50-47=3', '2*45=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
1,
96,
27,
20
] | 50 | [
"1+96=97",
"27+20=47",
"97-47=50"
] | Current State: 50:[1, 96, 27, 20], Operations: []
Exploring Operation: 1+96=97, Resulting Numbers: [27, 20, 97]
Generated Node #2: [27, 20, 97] from Operation: 1+96=97
Current State: 50:[27, 20, 97], Operations: ['1+96=97']
Exploring Operation: 27+20=47, Resulting Numbers: [97, 47]
Generated Node #3: [97, 47] from Operation: 27+20=47
Current State: 50:[97, 47], Operations: ['1+96=97', '27+20=47']
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[1, 96, 27, 20], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [1, 96, 7]
Generated Node #0,0: 50:[1, 96, 7] Operation: 27-20=7
Exploring Operation: 96-1=95, Resulting Numbers: [27, 20, 95]
Generated Node #0,1: 50:[27, 20, 95] Operation: 96-1=95
Exploring Operation: 27+20=47, Resulting Numbers: [1, 96, 47]
Generated Node #0,2: 50:[1, 96, 47] Operation: 27+20=47
Exploring Operation: 96-20=76, Resulting Numbers: [1, 27, 76]
Generated Node #0,3: 50:[1, 27, 76] Operation: 96-20=76
Exploring Operation: 96-27=69, Resulting Numbers: [1, 20, 69]
Generated Node #0,4: 50:[1, 20, 69] Operation: 96-27=69
Moving to Node #0,4
Current State: 50:[1, 20, 69], Operations: ['96-27=69']
Exploring Operation: 20/1=20, Resulting Numbers: [69, 20]
Generated Node #0,4,0: 50:[69, 20] Operation: 20/1=20
Exploring Operation: 1*20=20, Resulting Numbers: [69, 20]
Generated Node #0,4,1: 50:[69, 20] Operation: 1*20=20
Exploring Operation: 69-1=68, Resulting Numbers: [20, 68]
Generated Node #0,4,2: 50:[20, 68] Operation: 69-1=68
Exploring Operation: 1+20=21, Resulting Numbers: [69, 21]
Generated Node #0,4,3: 50:[69, 21] Operation: 1+20=21
Exploring Operation: 69-20=49, Resulting Numbers: [1, 49]
Generated Node #0,4,4: 50:[1, 49] Operation: 69-20=49
Moving to Node #0,3
Current State: 50:[1, 27, 76], Operations: ['96-20=76']
Exploring Operation: 27/1=27, Resulting Numbers: [76, 27]
Generated Node #0,3,0: 50:[76, 27] Operation: 27/1=27
Exploring Operation: 27-1=26, Resulting Numbers: [76, 26]
Generated Node #0,3,1: 50:[76, 26] Operation: 27-1=26
Exploring Operation: 76-27=49, Resulting Numbers: [1, 49]
Generated Node #0,3,2: 50:[1, 49] Operation: 76-27=49
Exploring Operation: 76-1=75, Resulting Numbers: [27, 75]
Generated Node #0,3,3: 50:[27, 75] Operation: 76-1=75
Exploring Operation: 1*27=27, Resulting Numbers: [76, 27]
Generated Node #0,3,4: 50:[76, 27] Operation: 1*27=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[1, 49], Operations: ['96-20=76', '76-27=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[1, 96, 27, 20], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [1, 27, 76]
Generated Node #0,3: 50:[1, 27, 76] Operation: 96-20=76
Moving to Node #0,3
Current State: 50:[1, 27, 76], Operations: ['96-20=76']
Exploring Operation: 76-27=49, Resulting Numbers: [1, 49]
Generated Node #0,3,2: 50:[1, 49] Operation: 76-27=49
Moving to Node #0,3,2
Current State: 50:[1, 49], Operations: ['96-20=76', '76-27=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
38,
4,
83,
6
] | 93 | [
"38+6=44",
"4*44=176",
"176-83=93"
] | Current State: 93:[38, 4, 83, 6], Operations: []
Exploring Operation: 38+6=44, Resulting Numbers: [4, 83, 44]
Generated Node #2: [4, 83, 44] from Operation: 38+6=44
Current State: 93:[4, 83, 44], Operations: ['38+6=44']
Exploring Operation: 4*44=176, Resulting Numbers: [83, 176]
Generated Node #3: [83, 176] from Operation: 4*44=176
Current State: 93:[83, 176], Operations: ['38+6=44', '4*44=176']
Exploring Operation: 176-83=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[38, 4, 83, 6], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [83, 6, 34]
Generated Node #0,0: 93:[83, 6, 34] Operation: 38-4=34
Exploring Operation: 38-6=32, Resulting Numbers: [4, 83, 32]
Generated Node #0,1: 93:[4, 83, 32] Operation: 38-6=32
Exploring Operation: 83+6=89, Resulting Numbers: [38, 4, 89]
Generated Node #0,2: 93:[38, 4, 89] Operation: 83+6=89
Moving to Node #0,1
Current State: 93:[4, 83, 32], Operations: ['38-6=32']
Exploring Operation: 4+83=87, Resulting Numbers: [32, 87]
Generated Node #0,1,0: 93:[32, 87] Operation: 4+83=87
Exploring Operation: 32-4=28, Resulting Numbers: [83, 28]
Generated Node #0,1,1: 93:[83, 28] Operation: 32-4=28
Exploring Operation: 83-4=79, Resulting Numbers: [32, 79]
Generated Node #0,1,2: 93:[32, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[32, 87], Operations: ['38-6=32', '4+83=87']
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[83, 28], Operations: ['38-6=32', '32-4=28']
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,93 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[32, 79], Operations: ['38-6=32', '83-4=79']
Exploring Operation: 32*79=2528, Resulting Numbers: [2528]
2528,93 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 32+79=111, Resulting Numbers: [111]
111,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[38, 4, 89], Operations: ['83+6=89']
Exploring Operation: 38-4=34, Resulting Numbers: [89, 34]
Generated Node #0,2,0: 93:[89, 34] Operation: 38-4=34
Exploring Operation: 4+89=93, Resulting Numbers: [38, 93]
Generated Node #0,2,1: 93:[38, 93] Operation: 4+89=93
Exploring Operation: 38+4=42, Resulting Numbers: [89, 42]
Generated Node #0,2,2: 93:[89, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[89, 34], Operations: ['83+6=89', '38-4=34']
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[38, 93], Operations: ['83+6=89', '4+89=93']
Exploring Operation: 38*93=3534, Resulting Numbers: [3534]
3534,93 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 38+93=131, Resulting Numbers: [131]
131,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[89, 42], Operations: ['83+6=89', '38+4=42']
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,93 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 93:[83, 6, 34], Operations: ['38-4=34']
Exploring Operation: 83+6=89, Resulting Numbers: [34, 89]
Generated Node #0,0,0: 93:[34, 89] Operation: 83+6=89
Exploring Operation: 34-6=28, Resulting Numbers: [83, 28]
Generated Node #0,0,1: 93:[83, 28] Operation: 34-6=28
Exploring Operation: 83-6=77, Resulting Numbers: [34, 77]
Generated Node #0,0,2: 93:[34, 77] Operation: 83-6=77
Moving to Node #0,0,0
Current State: 93:[34, 89], Operations: ['38-4=34', '83+6=89']
Exploring Operation: 34*89=3026, Resulting Numbers: [3026]
3026,93 unequal: No Solution
Exploring Operation: 34+89=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[83, 28], Operations: ['38-4=34', '34-6=28']
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,93 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[34, 77], Operations: ['38-4=34', '83-6=77']
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,93 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
27,
80,
2
] | 98 | [
"62+27=89",
"2*89=178",
"178-80=98"
] | Current State: 98:[62, 27, 80, 2], Operations: []
Exploring Operation: 62+27=89, Resulting Numbers: [80, 2, 89]
Generated Node #2: [80, 2, 89] from Operation: 62+27=89
Current State: 98:[80, 2, 89], Operations: ['62+27=89']
Exploring Operation: 2*89=178, Resulting Numbers: [80, 178]
Generated Node #3: [80, 178] from Operation: 2*89=178
Current State: 98:[80, 178], Operations: ['62+27=89', '2*89=178']
Exploring Operation: 178-80=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[62, 27, 80, 2], Operations: []
Exploring Operation: 62+27=89, Resulting Numbers: [80, 2, 89]
Generated Node #0,0: 98:[80, 2, 89] Operation: 62+27=89
Exploring Operation: 80-27=53, Resulting Numbers: [62, 2, 53]
Generated Node #0,1: 98:[62, 2, 53] Operation: 80-27=53
Exploring Operation: 80-62=18, Resulting Numbers: [27, 2, 18]
Generated Node #0,2: 98:[27, 2, 18] Operation: 80-62=18
Exploring Operation: 62-27=35, Resulting Numbers: [80, 2, 35]
Generated Node #0,3: 98:[80, 2, 35] Operation: 62-27=35
Exploring Operation: 27+80=107, Resulting Numbers: [62, 2, 107]
Generated Node #0,4: 98:[62, 2, 107] Operation: 27+80=107
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[62, 2, 53], Operations: ['80-27=53']
Exploring Operation: 53-2=51, Resulting Numbers: [62, 51]
Generated Node #0,1,0: 98:[62, 51] Operation: 53-2=51
Exploring Operation: 62+53=115, Resulting Numbers: [2, 115]
Generated Node #0,1,1: 98:[2, 115] Operation: 62+53=115
Exploring Operation: 62-53=9, Resulting Numbers: [2, 9]
Generated Node #0,1,2: 98:[2, 9] Operation: 62-53=9
Exploring Operation: 62+2=64, Resulting Numbers: [53, 64]
Generated Node #0,1,3: 98:[53, 64] Operation: 62+2=64
Exploring Operation: 62-2=60, Resulting Numbers: [53, 60]
Generated Node #0,1,4: 98:[53, 60] Operation: 62-2=60
Moving to Node #0,1,2
Current State: 98:[2, 9], Operations: ['80-27=53', '62-53=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[53, 60], Operations: ['80-27=53', '62-2=60']
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[62, 51], Operations: ['80-27=53', '53-2=51']
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,98 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[2, 115], Operations: ['80-27=53', '62+53=115']
Exploring Operation: 2+115=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 2*115=230, Resulting Numbers: [230]
230,98 unequal: No Solution
Exploring Operation: 115-2=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[53, 64], Operations: ['80-27=53', '62+2=64']
Exploring Operation: 53*64=3392, Resulting Numbers: [3392]
3392,98 unequal: No Solution
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 53+64=117, Resulting Numbers: [117]
117,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[27, 2, 18], Operations: ['80-62=18']
Exploring Operation: 27+18=45, Resulting Numbers: [2, 45]
Generated Node #0,2,0: 98:[2, 45] Operation: 27+18=45
Exploring Operation: 18-2=16, Resulting Numbers: [27, 16]
Generated Node #0,2,1: 98:[27, 16] Operation: 18-2=16
Exploring Operation: 27-2=25, Resulting Numbers: [18, 25]
Generated Node #0,2,2: 98:[18, 25] Operation: 27-2=25
Exploring Operation: 27*2=54, Resulting Numbers: [18, 54]
Generated Node #0,2,3: 98:[18, 54] Operation: 27*2=54
Exploring Operation: 27-18=9, Resulting Numbers: [2, 9]
Generated Node #0,2,4: 98:[2, 9] Operation: 27-18=9
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 98:[2, 9], Operations: ['80-62=18', '27-18=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[2, 45], Operations: ['80-62=18', '27+18=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[18, 54], Operations: ['80-62=18', '27*2=54']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 18*54=972, Resulting Numbers: [972]
972,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[27, 16], Operations: ['80-62=18', '18-2=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[18, 25], Operations: ['80-62=18', '27-2=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[62, 2, 107], Operations: ['27+80=107']
Exploring Operation: 62+2=64, Resulting Numbers: [107, 64]
Generated Node #0,4,0: 98:[107, 64] Operation: 62+2=64
Exploring Operation: 107-62=45, Resulting Numbers: [2, 45]
Generated Node #0,4,1: 98:[2, 45] Operation: 107-62=45
Exploring Operation: 2+107=109, Resulting Numbers: [62, 109]
Generated Node #0,4,2: 98:[62, 109] Operation: 2+107=109
Exploring Operation: 62-2=60, Resulting Numbers: [107, 60]
Generated Node #0,4,3: 98:[107, 60] Operation: 62-2=60
Exploring Operation: 107-2=105, Resulting Numbers: [62, 105]
Generated Node #0,4,4: 98:[62, 105] Operation: 107-2=105
Moving to Node #0,4,1
Current State: 98:[2, 45], Operations: ['27+80=107', '107-62=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[62, 105], Operations: ['27+80=107', '107-2=105']
Exploring Operation: 62+105=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 62*105=6510, Resulting Numbers: [6510]
6510,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[107, 60], Operations: ['27+80=107', '62-2=60']
Exploring Operation: 107-60=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 107*60=6420, Resulting Numbers: [6420]
6420,98 unequal: No Solution
Exploring Operation: 107+60=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[107, 64], Operations: ['27+80=107', '62+2=64']
Exploring Operation: 107+64=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 107*64=6848, Resulting Numbers: [6848]
6848,98 unequal: No Solution
Exploring Operation: 107-64=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[62, 109], Operations: ['27+80=107', '2+107=109']
Exploring Operation: 62*109=6758, Resulting Numbers: [6758]
6758,98 unequal: No Solution
Exploring Operation: 62+109=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 109-62=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[80, 2, 89], Operations: ['62+27=89']
Exploring Operation: 80+2=82, Resulting Numbers: [89, 82]
Generated Node #0,0,0: 98:[89, 82] Operation: 80+2=82
Exploring Operation: 89-80=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 98:[2, 9] Operation: 89-80=9
Exploring Operation: 2+89=91, Resulting Numbers: [80, 91]
Generated Node #0,0,2: 98:[80, 91] Operation: 2+89=91
Exploring Operation: 80-2=78, Resulting Numbers: [89, 78]
Generated Node #0,0,3: 98:[89, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [89, 40]
Generated Node #0,0,4: 98:[89, 40] Operation: 80/2=40
Moving to Node #0,0,1
Current State: 98:[2, 9], Operations: ['62+27=89', '89-80=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[89, 40], Operations: ['62+27=89', '80/2=40']
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,98 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[89, 82], Operations: ['62+27=89', '80+2=82']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 89+82=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 89*82=7298, Resulting Numbers: [7298]
7298,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[80, 91], Operations: ['62+27=89', '2+89=91']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 80*91=7280, Resulting Numbers: [7280]
7280,98 unequal: No Solution
Exploring Operation: 80+91=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[89, 78], Operations: ['62+27=89', '80-2=78']
Exploring Operation: 89*78=6942, Resulting Numbers: [6942]
6942,98 unequal: No Solution
Exploring Operation: 89+78=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[80, 2, 35], Operations: ['62-27=35']
Exploring Operation: 80-35=45, Resulting Numbers: [2, 45]
Generated Node #0,3,0: 98:[2, 45] Operation: 80-35=45
Exploring Operation: 80+2=82, Resulting Numbers: [35, 82]
Generated Node #0,3,1: 98:[35, 82] Operation: 80+2=82
Exploring Operation: 80/2=40, Resulting Numbers: [35, 40]
Generated Node #0,3,2: 98:[35, 40] Operation: 80/2=40
Exploring Operation: 2+35=37, Resulting Numbers: [80, 37]
Generated Node #0,3,3: 98:[80, 37] Operation: 2+35=37
Exploring Operation: 80+35=115, Resulting Numbers: [2, 115]
Generated Node #0,3,4: 98:[2, 115] Operation: 80+35=115
Moving to Node #0,3,0
Current State: 98:[2, 45], Operations: ['62-27=35', '80-35=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[2, 115], Operations: ['62-27=35', '80+35=115']
Exploring Operation: 2+115=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 115-2=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 2*115=230, Resulting Numbers: [230]
230,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[35, 40], Operations: ['62-27=35', '80/2=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,98 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[35, 82], Operations: ['62-27=35', '80+2=82']
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,98 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[80, 37], Operations: ['62-27=35', '2+35=37']
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,98 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 |
[
34,
13,
11,
59
] | 23 | [
"34+13=47",
"11+59=70",
"70-47=23"
] | Current State: 23:[34, 13, 11, 59], Operations: []
Exploring Operation: 34+13=47, Resulting Numbers: [11, 59, 47]
Generated Node #2: [11, 59, 47] from Operation: 34+13=47
Current State: 23:[11, 59, 47], Operations: ['34+13=47']
Exploring Operation: 11+59=70, Resulting Numbers: [47, 70]
Generated Node #3: [47, 70] from Operation: 11+59=70
Current State: 23:[47, 70], Operations: ['34+13=47', '11+59=70']
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 13, 11, 59], Operations: []
Exploring Operation: 34-11=23, Resulting Numbers: [13, 59, 23]
Generated Node #0,0: 23:[13, 59, 23] Operation: 34-11=23
Exploring Operation: 59-34=25, Resulting Numbers: [13, 11, 25]
Generated Node #0,1: 23:[13, 11, 25] Operation: 59-34=25
Exploring Operation: 59-13=46, Resulting Numbers: [34, 11, 46]
Generated Node #0,2: 23:[34, 11, 46] Operation: 59-13=46
Exploring Operation: 59-11=48, Resulting Numbers: [34, 13, 48]
Generated Node #0,3: 23:[34, 13, 48] Operation: 59-11=48
Moving to Node #0,1
Current State: 23:[13, 11, 25], Operations: ['59-34=25']
Exploring Operation: 25-13=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 23:[11, 12] Operation: 25-13=12
Exploring Operation: 13-11=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 23:[25, 2] Operation: 13-11=2
Exploring Operation: 13+11=24, Resulting Numbers: [25, 24]
Generated Node #0,1,2: 23:[25, 24] Operation: 13+11=24
Exploring Operation: 25-11=14, Resulting Numbers: [13, 14]
Generated Node #0,1,3: 23:[13, 14] Operation: 25-11=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[25, 24], Operations: ['59-34=25', '13+11=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,23 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[13, 14], Operations: ['59-34=25', '25-11=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[11, 12], Operations: ['59-34=25', '25-13=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[34, 13, 11, 59], Operations: []
Exploring Operation: 59-34=25, Resulting Numbers: [13, 11, 25]
Generated Node #0,1: 23:[13, 11, 25] Operation: 59-34=25
Moving to Node #0,1
Current State: 23:[13, 11, 25], Operations: ['59-34=25']
Exploring Operation: 25-13=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 23:[11, 12] Operation: 25-13=12
Moving to Node #0,1,0
Current State: 23:[11, 12], Operations: ['59-34=25', '25-13=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
48,
23,
33,
57
] | 28 | [
"23*57=1311",
"33+1311=1344",
"1344/48=28"
] | Current State: 28:[48, 23, 33, 57], Operations: []
Exploring Operation: 23*57=1311, Resulting Numbers: [48, 33, 1311]
Generated Node #2: [48, 33, 1311] from Operation: 23*57=1311
Current State: 28:[48, 33, 1311], Operations: ['23*57=1311']
Exploring Operation: 33+1311=1344, Resulting Numbers: [48, 1344]
Generated Node #3: [48, 1344] from Operation: 33+1311=1344
Current State: 28:[48, 1344], Operations: ['23*57=1311', '33+1311=1344']
Exploring Operation: 1344/48=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[48, 23, 33, 57], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [48, 33, 34]
Generated Node #0,0: 28:[48, 33, 34] Operation: 57-23=34
Exploring Operation: 57-33=24, Resulting Numbers: [48, 23, 24]
Generated Node #0,1: 28:[48, 23, 24] Operation: 57-33=24
Exploring Operation: 48-33=15, Resulting Numbers: [23, 57, 15]
Generated Node #0,2: 28:[23, 57, 15] Operation: 48-33=15
Exploring Operation: 57-48=9, Resulting Numbers: [23, 33, 9]
Generated Node #0,3: 28:[23, 33, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[23, 33, 9], Operations: ['57-48=9']
Exploring Operation: 23+9=32, Resulting Numbers: [33, 32]
Generated Node #0,3,0: 28:[33, 32] Operation: 23+9=32
Exploring Operation: 33-23=10, Resulting Numbers: [9, 10]
Generated Node #0,3,1: 28:[9, 10] Operation: 33-23=10
Exploring Operation: 33-9=24, Resulting Numbers: [23, 24]
Generated Node #0,3,2: 28:[23, 24] Operation: 33-9=24
Exploring Operation: 23-9=14, Resulting Numbers: [33, 14]
Generated Node #0,3,3: 28:[33, 14] Operation: 23-9=14
Moving to Node #0,3,1
Current State: 28:[9, 10], Operations: ['57-48=9', '33-23=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[33, 14], Operations: ['57-48=9', '23-9=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,28 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[23, 24], Operations: ['57-48=9', '33-9=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,28 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[33, 32], Operations: ['57-48=9', '23+9=32']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,28 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,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
Current State: 28:[48, 23, 24], Operations: ['57-33=24']
Exploring Operation: 48/24=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 28:[23, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [23, 24]
Generated Node #0,1,1: 28:[23, 24] Operation: 48-24=24
Exploring Operation: 48-23=25, Resulting Numbers: [24, 25]
Generated Node #0,1,2: 28:[24, 25] Operation: 48-23=25
Exploring Operation: 24-23=1, Resulting Numbers: [48, 1]
Generated Node #0,1,3: 28:[48, 1] Operation: 24-23=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[23, 2], Operations: ['57-33=24', '48/24=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[24, 25], Operations: ['57-33=24', '48-23=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,28 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[23, 24], Operations: ['57-33=24', '48-24=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[48, 1], Operations: ['57-33=24', '24-23=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[48, 33, 34], Operations: ['57-23=34']
Exploring Operation: 48-33=15, Resulting Numbers: [34, 15]
Generated Node #0,0,0: 28:[34, 15] Operation: 48-33=15
Exploring Operation: 48+33=81, Resulting Numbers: [34, 81]
Generated Node #0,0,1: 28:[34, 81] Operation: 48+33=81
Exploring Operation: 48-34=14, Resulting Numbers: [33, 14]
Generated Node #0,0,2: 28:[33, 14] Operation: 48-34=14
Exploring Operation: 34-33=1, Resulting Numbers: [48, 1]
Generated Node #0,0,3: 28:[48, 1] Operation: 34-33=1
Moving to Node #0,0,2
Current State: 28:[33, 14], Operations: ['57-23=34', '48-34=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,28 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[34, 15], Operations: ['57-23=34', '48-33=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,28 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[48, 1], Operations: ['57-23=34', '34-33=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[34, 81], Operations: ['57-23=34', '48+33=81']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,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
Current State: 28:[23, 57, 15], Operations: ['48-33=15']
Exploring Operation: 23-15=8, Resulting Numbers: [57, 8]
Generated Node #0,2,0: 28:[57, 8] Operation: 23-15=8
Exploring Operation: 57-15=42, Resulting Numbers: [23, 42]
Generated Node #0,2,1: 28:[23, 42] Operation: 57-15=42
Exploring Operation: 23+15=38, Resulting Numbers: [57, 38]
Generated Node #0,2,2: 28:[57, 38] Operation: 23+15=38
Exploring Operation: 57-23=34, Resulting Numbers: [15, 34]
Generated Node #0,2,3: 28:[15, 34] Operation: 57-23=34
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 28:[15, 34], Operations: ['48-33=15', '57-23=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,28 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[23, 42], Operations: ['48-33=15', '57-15=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,28 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[57, 8], Operations: ['48-33=15', '23-15=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[57, 38], Operations: ['48-33=15', '23+15=38']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,28 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
76,
89,
60
] | 49 | [
"76-56=20",
"89-60=29",
"20+29=49"
] | Current State: 49:[56, 76, 89, 60], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [89, 60, 20]
Generated Node #2: [89, 60, 20] from Operation: 76-56=20
Current State: 49:[89, 60, 20], Operations: ['76-56=20']
Exploring Operation: 89-60=29, Resulting Numbers: [20, 29]
Generated Node #3: [20, 29] from Operation: 89-60=29
Current State: 49:[20, 29], Operations: ['76-56=20', '89-60=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[56, 76, 89, 60], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [56, 76, 29]
Generated Node #0,0: 49:[56, 76, 29] Operation: 89-60=29
Exploring Operation: 89-76=13, Resulting Numbers: [56, 60, 13]
Generated Node #0,1: 49:[56, 60, 13] Operation: 89-76=13
Exploring Operation: 89-56=33, Resulting Numbers: [76, 60, 33]
Generated Node #0,2: 49:[76, 60, 33] Operation: 89-56=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[56, 60, 13], Operations: ['89-76=13']
Exploring Operation: 60-13=47, Resulting Numbers: [56, 47]
Generated Node #0,1,0: 49:[56, 47] Operation: 60-13=47
Exploring Operation: 56-13=43, Resulting Numbers: [60, 43]
Generated Node #0,1,1: 49:[60, 43] Operation: 56-13=43
Exploring Operation: 60-56=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 49:[13, 4] Operation: 60-56=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[56, 47], Operations: ['89-76=13', '60-13=47']
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,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,1,2
Current State: 49:[13, 4], Operations: ['89-76=13', '60-56=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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,1,1
Current State: 49:[60, 43], Operations: ['89-76=13', '56-13=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,49 unequal: No Solution
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,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,0
Current State: 49:[56, 76, 29], Operations: ['89-60=29']
Exploring Operation: 76-29=47, Resulting Numbers: [56, 47]
Generated Node #0,0,0: 49:[56, 47] Operation: 76-29=47
Exploring Operation: 56-29=27, Resulting Numbers: [76, 27]
Generated Node #0,0,1: 49:[76, 27] Operation: 56-29=27
Exploring Operation: 76-56=20, Resulting Numbers: [29, 20]
Generated Node #0,0,2: 49:[29, 20] Operation: 76-56=20
Moving to Node #0,0,0
Current State: 49:[56, 47], Operations: ['89-60=29', '76-29=47']
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,49 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[29, 20], Operations: ['89-60=29', '76-56=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[56, 76, 89, 60], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [56, 76, 29]
Generated Node #0,0: 49:[56, 76, 29] Operation: 89-60=29
Moving to Node #0,0
Current State: 49:[56, 76, 29], Operations: ['89-60=29']
Exploring Operation: 76-56=20, Resulting Numbers: [29, 20]
Generated Node #0,0,2: 49:[29, 20] Operation: 76-56=20
Moving to Node #0,0,2
Current State: 49:[29, 20], Operations: ['89-60=29', '76-56=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
28,
54,
41,
84
] | 17 | [
"54-28=26",
"84-41=43",
"43-26=17"
] | Current State: 17:[28, 54, 41, 84], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [41, 84, 26]
Generated Node #2: [41, 84, 26] from Operation: 54-28=26
Current State: 17:[41, 84, 26], Operations: ['54-28=26']
Exploring Operation: 84-41=43, Resulting Numbers: [26, 43]
Generated Node #3: [26, 43] from Operation: 84-41=43
Current State: 17:[26, 43], Operations: ['54-28=26', '84-41=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 54, 41, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [54, 41, 3]
Generated Node #0,0: 17:[54, 41, 3] Operation: 84/28=3
Exploring Operation: 84-54=30, Resulting Numbers: [28, 41, 30]
Generated Node #0,1: 17:[28, 41, 30] Operation: 84-54=30
Exploring Operation: 84-41=43, Resulting Numbers: [28, 54, 43]
Generated Node #0,2: 17:[28, 54, 43] Operation: 84-41=43
Exploring Operation: 54-41=13, Resulting Numbers: [28, 84, 13]
Generated Node #0,3: 17:[28, 84, 13] Operation: 54-41=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[28, 41, 30], Operations: ['84-54=30']
Exploring Operation: 41-28=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 17:[30, 13] Operation: 41-28=13
Exploring Operation: 30-28=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 17:[41, 2] Operation: 30-28=2
Exploring Operation: 41-30=11, Resulting Numbers: [28, 11]
Generated Node #0,1,2: 17:[28, 11] Operation: 41-30=11
Exploring Operation: 28+41=69, Resulting Numbers: [30, 69]
Generated Node #0,1,3: 17:[30, 69] Operation: 28+41=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[30, 13], Operations: ['84-54=30', '41-28=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[28, 54, 41, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [28, 41, 30]
Generated Node #0,1: 17:[28, 41, 30] Operation: 84-54=30
Moving to Node #0,1
Current State: 17:[28, 41, 30], Operations: ['84-54=30']
Exploring Operation: 41-28=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 17:[30, 13] Operation: 41-28=13
Moving to Node #0,1,0
Current State: 17:[30, 13], Operations: ['84-54=30', '41-28=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
5,
77,
70,
89
] | 63 | [
"5+77=82",
"89-70=19",
"82-19=63"
] | Current State: 63:[5, 77, 70, 89], Operations: []
Exploring Operation: 5+77=82, Resulting Numbers: [70, 89, 82]
Generated Node #2: [70, 89, 82] from Operation: 5+77=82
Current State: 63:[70, 89, 82], Operations: ['5+77=82']
Exploring Operation: 89-70=19, Resulting Numbers: [82, 19]
Generated Node #3: [82, 19] from Operation: 89-70=19
Current State: 63:[82, 19], Operations: ['5+77=82', '89-70=19']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 77, 70, 89], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [5, 70, 12]
Generated Node #0,0: 63:[5, 70, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 63:[5, 70, 12], Operations: ['89-77=12']
Exploring Operation: 70-5=65, Resulting Numbers: [12, 65]
Generated Node #0,0,0: 63:[12, 65] Operation: 70-5=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[12, 65], Operations: ['89-77=12', '70-5=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
70,
44,
22
] | 33 | [
"70-35=35",
"44/22=2",
"35-2=33"
] | Current State: 33:[35, 70, 44, 22], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [44, 22, 35]
Generated Node #2: [44, 22, 35] from Operation: 70-35=35
Current State: 33:[44, 22, 35], Operations: ['70-35=35']
Exploring Operation: 44/22=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 44/22=2
Current State: 33:[35, 2], Operations: ['70-35=35', '44/22=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[35, 70, 44, 22], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [35, 44, 48]
Generated Node #0,0: 33:[35, 44, 48] Operation: 70-22=48
Exploring Operation: 70-44=26, Resulting Numbers: [35, 22, 26]
Generated Node #0,1: 33:[35, 22, 26] Operation: 70-44=26
Exploring Operation: 70-35=35, Resulting Numbers: [44, 22, 35]
Generated Node #0,2: 33:[44, 22, 35] Operation: 70-35=35
Exploring Operation: 44/22=2, Resulting Numbers: [35, 70, 2]
Generated Node #0,3: 33:[35, 70, 2] Operation: 44/22=2
Exploring Operation: 70/35=2, Resulting Numbers: [44, 22, 2]
Generated Node #0,4: 33:[44, 22, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 33:[35, 22, 26], Operations: ['70-44=26']
Exploring Operation: 35-22=13, Resulting Numbers: [26, 13]
Generated Node #0,1,0: 33:[26, 13] Operation: 35-22=13
Exploring Operation: 35+22=57, Resulting Numbers: [26, 57]
Generated Node #0,1,1: 33:[26, 57] Operation: 35+22=57
Exploring Operation: 22+26=48, Resulting Numbers: [35, 48]
Generated Node #0,1,2: 33:[35, 48] Operation: 22+26=48
Exploring Operation: 26-22=4, Resulting Numbers: [35, 4]
Generated Node #0,1,3: 33:[35, 4] Operation: 26-22=4
Exploring Operation: 35-26=9, Resulting Numbers: [22, 9]
Generated Node #0,1,4: 33:[22, 9] Operation: 35-26=9
Moving to Node #0,4
Current State: 33:[44, 22, 2], Operations: ['70/35=2']
Exploring Operation: 44/22=2, Resulting Numbers: [2, 2]
Generated Node #0,4,0: 33:[2, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [2, 22]
Generated Node #0,4,1: 33:[2, 22] Operation: 44-22=22
Exploring Operation: 44-2=42, Resulting Numbers: [22, 42]
Generated Node #0,4,2: 33:[22, 42] Operation: 44-2=42
Exploring Operation: 22/2=11, Resulting Numbers: [44, 11]
Generated Node #0,4,3: 33:[44, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [44, 24]
Generated Node #0,4,4: 33:[44, 24] Operation: 22+2=24
Moving to Node #0,2
Current State: 33:[44, 22, 35], Operations: ['70-35=35']
Exploring Operation: 35-22=13, Resulting Numbers: [44, 13]
Generated Node #0,2,0: 33:[44, 13] Operation: 35-22=13
Exploring Operation: 44+22=66, Resulting Numbers: [35, 66]
Generated Node #0,2,1: 33:[35, 66] Operation: 44+22=66
Exploring Operation: 44-22=22, Resulting Numbers: [35, 22]
Generated Node #0,2,2: 33:[35, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [35, 2]
Generated Node #0,2,3: 33:[35, 2] Operation: 44/22=2
Exploring Operation: 44-35=9, Resulting Numbers: [22, 9]
Generated Node #0,2,4: 33:[22, 9] Operation: 44-35=9
Moving to Node #0,0
Current State: 33:[35, 44, 48], Operations: ['70-22=48']
Exploring Operation: 48-44=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 33:[35, 4] Operation: 48-44=4
Exploring Operation: 35+44=79, Resulting Numbers: [48, 79]
Generated Node #0,0,1: 33:[48, 79] Operation: 35+44=79
Exploring Operation: 35+48=83, Resulting Numbers: [44, 83]
Generated Node #0,0,2: 33:[44, 83] Operation: 35+48=83
Exploring Operation: 48-35=13, Resulting Numbers: [44, 13]
Generated Node #0,0,3: 33:[44, 13] Operation: 48-35=13
Exploring Operation: 44-35=9, Resulting Numbers: [48, 9]
Generated Node #0,0,4: 33:[48, 9] Operation: 44-35=9
Moving to Node #0,3
Current State: 33:[35, 70, 2], Operations: ['44/22=2']
Exploring Operation: 70/35=2, Resulting Numbers: [2, 2]
Generated Node #0,3,0: 33:[2, 2] Operation: 70/35=2
Exploring Operation: 70-2=68, Resulting Numbers: [35, 68]
Generated Node #0,3,1: 33:[35, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [35, 35]
Generated Node #0,3,2: 33:[35, 35] Operation: 70/2=35
Exploring Operation: 35-2=33, Resulting Numbers: [70, 33]
Generated Node #0,3,3: 33:[70, 33] Operation: 35-2=33
Exploring Operation: 70-35=35, Resulting Numbers: [2, 35]
Generated Node #0,3,4: 33:[2, 35] Operation: 70-35=35
Moving to Node #0,4,0
Current State: 33:[2, 2], Operations: ['70/35=2', '44/22=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[2, 2], Operations: ['44/22=2', '70/35=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[35, 4], Operations: ['70-44=26', '26-22=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[35, 2], Operations: ['70-35=35', '44/22=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[35, 70, 44, 22], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [44, 22, 35]
Generated Node #0,2: 33:[44, 22, 35] Operation: 70-35=35
Moving to Node #0,2
Current State: 33:[44, 22, 35], Operations: ['70-35=35']
Exploring Operation: 44/22=2, Resulting Numbers: [35, 2]
Generated Node #0,2,3: 33:[35, 2] Operation: 44/22=2
Moving to Node #0,2,3
Current State: 33:[35, 2], Operations: ['70-35=35', '44/22=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.959201 | hs_5 | sum_heuristic |
[
87,
40,
20,
8
] | 77 | [
"87-8=79",
"40/20=2",
"79-2=77"
] | Current State: 77:[87, 40, 20, 8], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [40, 20, 79]
Generated Node #2: [40, 20, 79] from Operation: 87-8=79
Current State: 77:[40, 20, 79], Operations: ['87-8=79']
Exploring Operation: 40/20=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 40/20=2
Current State: 77:[79, 2], Operations: ['87-8=79', '40/20=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[87, 40, 20, 8], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [87, 8, 2]
Generated Node #0,0: 77:[87, 8, 2] Operation: 40/20=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[87, 8, 2], Operations: ['40/20=2']
Exploring Operation: 87-8=79, Resulting Numbers: [2, 79]
Generated Node #0,0,0: 77:[2, 79] Operation: 87-8=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[2, 79], Operations: ['40/20=2', '87-8=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[87, 40, 20, 8], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [87, 8, 2]
Generated Node #0,0: 77:[87, 8, 2] Operation: 40/20=2
Moving to Node #0,0
Current State: 77:[87, 8, 2], Operations: ['40/20=2']
Exploring Operation: 87-8=79, Resulting Numbers: [2, 79]
Generated Node #0,0,0: 77:[2, 79] Operation: 87-8=79
Moving to Node #0,0,0
Current State: 77:[2, 79], Operations: ['40/20=2', '87-8=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
2,
8,
43,
61
] | 17 | [
"2*43=86",
"8+61=69",
"86-69=17"
] | Current State: 17:[2, 8, 43, 61], Operations: []
Exploring Operation: 2*43=86, Resulting Numbers: [8, 61, 86]
Generated Node #2: [8, 61, 86] from Operation: 2*43=86
Current State: 17:[8, 61, 86], Operations: ['2*43=86']
Exploring Operation: 8+61=69, Resulting Numbers: [86, 69]
Generated Node #3: [86, 69] from Operation: 8+61=69
Current State: 17:[86, 69], Operations: ['2*43=86', '8+61=69']
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 8, 43, 61], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [43, 61, 16]
Generated Node #0,0: 17:[43, 61, 16] Operation: 2*8=16
Exploring Operation: 61-43=18, Resulting Numbers: [2, 8, 18]
Generated Node #0,1: 17:[2, 8, 18] Operation: 61-43=18
Exploring Operation: 2+8=10, Resulting Numbers: [43, 61, 10]
Generated Node #0,2: 17:[43, 61, 10] Operation: 2+8=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[2, 8, 18], Operations: ['61-43=18']
Exploring Operation: 2*8=16, Resulting Numbers: [18, 16]
Generated Node #0,1,0: 17:[18, 16] Operation: 2*8=16
Exploring Operation: 18-2=16, Resulting Numbers: [8, 16]
Generated Node #0,1,1: 17:[8, 16] Operation: 18-2=16
Exploring Operation: 2+8=10, Resulting Numbers: [18, 10]
Generated Node #0,1,2: 17:[18, 10] Operation: 2+8=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[18, 16], Operations: ['61-43=18', '2*8=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,17 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[18, 10], Operations: ['61-43=18', '2+8=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[8, 16], Operations: ['61-43=18', '18-2=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[43, 61, 16], Operations: ['2*8=16']
Exploring Operation: 61-43=18, Resulting Numbers: [16, 18]
Generated Node #0,0,0: 17:[16, 18] Operation: 61-43=18
Exploring Operation: 43-16=27, Resulting Numbers: [61, 27]
Generated Node #0,0,1: 17:[61, 27] Operation: 43-16=27
Exploring Operation: 61-16=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 17:[43, 45] Operation: 61-16=45
Moving to Node #0,0,0
Current State: 17:[16, 18], Operations: ['2*8=16', '61-43=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,17 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[61, 27], Operations: ['2*8=16', '43-16=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,17 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[43, 45], Operations: ['2*8=16', '61-16=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,17 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[43, 61, 10], Operations: ['2+8=10']
Exploring Operation: 61-43=18, Resulting Numbers: [10, 18]
Generated Node #0,2,0: 17:[10, 18] Operation: 61-43=18
Exploring Operation: 43-10=33, Resulting Numbers: [61, 33]
Generated Node #0,2,1: 17:[61, 33] Operation: 43-10=33
Exploring Operation: 61-10=51, Resulting Numbers: [43, 51]
Generated Node #0,2,2: 17:[43, 51] Operation: 61-10=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[10, 18], Operations: ['2+8=10', '61-43=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[61, 33], Operations: ['2+8=10', '43-10=33']
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,17 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[43, 51], Operations: ['2+8=10', '61-10=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
9,
18,
7
] | 37 | [
"53+9=62",
"18+7=25",
"62-25=37"
] | Current State: 37:[53, 9, 18, 7], Operations: []
Exploring Operation: 53+9=62, Resulting Numbers: [18, 7, 62]
Generated Node #2: [18, 7, 62] from Operation: 53+9=62
Current State: 37:[18, 7, 62], Operations: ['53+9=62']
Exploring Operation: 18+7=25, Resulting Numbers: [62, 25]
Generated Node #3: [62, 25] from Operation: 18+7=25
Current State: 37:[62, 25], Operations: ['53+9=62', '18+7=25']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 9, 18, 7], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [9, 18, 46]
Generated Node #0,0: 37:[9, 18, 46] Operation: 53-7=46
Exploring Operation: 53-9=44, Resulting Numbers: [18, 7, 44]
Generated Node #0,1: 37:[18, 7, 44] Operation: 53-9=44
Exploring Operation: 9+18=27, Resulting Numbers: [53, 7, 27]
Generated Node #0,2: 37:[53, 7, 27] Operation: 9+18=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[9, 18, 46], Operations: ['53-7=46']
Exploring Operation: 9+18=27, Resulting Numbers: [46, 27]
Generated Node #0,0,0: 37:[46, 27] Operation: 9+18=27
Exploring Operation: 46-9=37, Resulting Numbers: [18, 37]
Generated Node #0,0,1: 37:[18, 37] Operation: 46-9=37
Exploring Operation: 18-9=9, Resulting Numbers: [46, 9]
Generated Node #0,0,2: 37:[46, 9] Operation: 18-9=9
Moving to Node #0,0,0
Current State: 37:[46, 27], Operations: ['53-7=46', '9+18=27']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[18, 37], Operations: ['53-7=46', '46-9=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,37 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[46, 9], Operations: ['53-7=46', '18-9=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[53, 9, 18, 7], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [9, 18, 46]
Generated Node #0,0: 37:[9, 18, 46] Operation: 53-7=46
Moving to Node #0,0
Current State: 37:[9, 18, 46], Operations: ['53-7=46']
Exploring Operation: 18-9=9, Resulting Numbers: [46, 9]
Generated Node #0,0,2: 37:[46, 9] Operation: 18-9=9
Moving to Node #0,0,2
Current State: 37:[46, 9], Operations: ['53-7=46', '18-9=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
41,
96,
95,
59
] | 91 | [
"96-41=55",
"95-59=36",
"55+36=91"
] | Current State: 91:[41, 96, 95, 59], Operations: []
Exploring Operation: 96-41=55, Resulting Numbers: [95, 59, 55]
Generated Node #2: [95, 59, 55] from Operation: 96-41=55
Current State: 91:[95, 59, 55], Operations: ['96-41=55']
Exploring Operation: 95-59=36, Resulting Numbers: [55, 36]
Generated Node #3: [55, 36] from Operation: 95-59=36
Current State: 91:[55, 36], Operations: ['96-41=55', '95-59=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[41, 96, 95, 59], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [41, 96, 36]
Generated Node #0,0: 91:[41, 96, 36] Operation: 95-59=36
Exploring Operation: 41+59=100, Resulting Numbers: [96, 95, 100]
Generated Node #0,1: 91:[96, 95, 100] Operation: 41+59=100
Exploring Operation: 59-41=18, Resulting Numbers: [96, 95, 18]
Generated Node #0,2: 91:[96, 95, 18] Operation: 59-41=18
Exploring Operation: 96-59=37, Resulting Numbers: [41, 95, 37]
Generated Node #0,3: 91:[41, 95, 37] Operation: 96-59=37
Moving to Node #0,2
Current State: 91:[96, 95, 18], Operations: ['59-41=18']
Exploring Operation: 96+18=114, Resulting Numbers: [95, 114]
Generated Node #0,2,0: 91:[95, 114] Operation: 96+18=114
Exploring Operation: 95-18=77, Resulting Numbers: [96, 77]
Generated Node #0,2,1: 91:[96, 77] Operation: 95-18=77
Exploring Operation: 96-18=78, Resulting Numbers: [95, 78]
Generated Node #0,2,2: 91:[95, 78] Operation: 96-18=78
Exploring Operation: 96-95=1, Resulting Numbers: [18, 1]
Generated Node #0,2,3: 91:[18, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[18, 1], Operations: ['59-41=18', '96-95=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[95, 78], Operations: ['59-41=18', '96-18=78']
Exploring Operation: 95+78=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Exploring Operation: 95*78=7410, Resulting Numbers: [7410]
7410,91 unequal: No Solution
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[96, 77], Operations: ['59-41=18', '95-18=77']
Exploring Operation: 96*77=7392, Resulting Numbers: [7392]
7392,91 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 96+77=173, Resulting Numbers: [173]
173,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[95, 114], Operations: ['59-41=18', '96+18=114']
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,91 unequal: No Solution
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[96, 95, 100], Operations: ['41+59=100']
Exploring Operation: 100-96=4, Resulting Numbers: [95, 4]
Generated Node #0,1,0: 91:[95, 4] Operation: 100-96=4
Exploring Operation: 100-95=5, Resulting Numbers: [96, 5]
Generated Node #0,1,1: 91:[96, 5] Operation: 100-95=5
Exploring Operation: 96+95=191, Resulting Numbers: [100, 191]
Generated Node #0,1,2: 91:[100, 191] Operation: 96+95=191
Exploring Operation: 96-95=1, Resulting Numbers: [100, 1]
Generated Node #0,1,3: 91:[100, 1] Operation: 96-95=1
Moving to Node #0,3
Current State: 91:[41, 95, 37], Operations: ['96-59=37']
Exploring Operation: 41+37=78, Resulting Numbers: [95, 78]
Generated Node #0,3,0: 91:[95, 78] Operation: 41+37=78
Exploring Operation: 95-41=54, Resulting Numbers: [37, 54]
Generated Node #0,3,1: 91:[37, 54] Operation: 95-41=54
Exploring Operation: 95-37=58, Resulting Numbers: [41, 58]
Generated Node #0,3,2: 91:[41, 58] Operation: 95-37=58
Exploring Operation: 41-37=4, Resulting Numbers: [95, 4]
Generated Node #0,3,3: 91:[95, 4] Operation: 41-37=4
Moving to Node #0,0
Current State: 91:[41, 96, 36], Operations: ['95-59=36']
Exploring Operation: 41+36=77, Resulting Numbers: [96, 77]
Generated Node #0,0,0: 91:[96, 77] Operation: 41+36=77
Exploring Operation: 96-41=55, Resulting Numbers: [36, 55]
Generated Node #0,0,1: 91:[36, 55] Operation: 96-41=55
Exploring Operation: 41-36=5, Resulting Numbers: [96, 5]
Generated Node #0,0,2: 91:[96, 5] Operation: 41-36=5
Exploring Operation: 96-36=60, Resulting Numbers: [41, 60]
Generated Node #0,0,3: 91:[41, 60] Operation: 96-36=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[96, 5], Operations: ['95-59=36', '41-36=5']
Exploring Operation: 96+5=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,91 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[41, 96, 95, 59], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [41, 96, 36]
Generated Node #0,0: 91:[41, 96, 36] Operation: 95-59=36
Moving to Node #0,0
Current State: 91:[41, 96, 36], Operations: ['95-59=36']
Exploring Operation: 41-36=5, Resulting Numbers: [96, 5]
Generated Node #0,0,2: 91:[96, 5] Operation: 41-36=5
Moving to Node #0,0,2
Current State: 91:[96, 5], Operations: ['95-59=36', '41-36=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
48,
3,
75,
42
] | 66 | [
"48+3=51",
"75+42=117",
"117-51=66"
] | Current State: 66:[48, 3, 75, 42], Operations: []
Exploring Operation: 48+3=51, Resulting Numbers: [75, 42, 51]
Generated Node #2: [75, 42, 51] from Operation: 48+3=51
Current State: 66:[75, 42, 51], Operations: ['48+3=51']
Exploring Operation: 75+42=117, Resulting Numbers: [51, 117]
Generated Node #3: [51, 117] from Operation: 75+42=117
Current State: 66:[51, 117], Operations: ['48+3=51', '75+42=117']
Exploring Operation: 117-51=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[48, 3, 75, 42], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [3, 42, 27]
Generated Node #0,0: 66:[3, 42, 27] Operation: 75-48=27
Exploring Operation: 48-42=6, Resulting Numbers: [3, 75, 6]
Generated Node #0,1: 66:[3, 75, 6] Operation: 48-42=6
Exploring Operation: 75-42=33, Resulting Numbers: [48, 3, 33]
Generated Node #0,2: 66:[48, 3, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 66:[3, 75, 6], Operations: ['48-42=6']
Exploring Operation: 75/3=25, Resulting Numbers: [6, 25]
Generated Node #0,1,0: 66:[6, 25] Operation: 75/3=25
Exploring Operation: 75-6=69, Resulting Numbers: [3, 69]
Generated Node #0,1,1: 66:[3, 69] Operation: 75-6=69
Exploring Operation: 75-3=72, Resulting Numbers: [6, 72]
Generated Node #0,1,2: 66:[6, 72] Operation: 75-3=72
Moving to Node #0,0
Current State: 66:[3, 42, 27], Operations: ['75-48=27']
Exploring Operation: 42+27=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 66:[3, 69] Operation: 42+27=69
Exploring Operation: 42-27=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 66:[3, 15] Operation: 42-27=15
Exploring Operation: 42/3=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 66:[27, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[3, 69], Operations: ['75-48=27', '42+27=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[48, 3, 75, 42], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [3, 42, 27]
Generated Node #0,0: 66:[3, 42, 27] Operation: 75-48=27
Moving to Node #0,0
Current State: 66:[3, 42, 27], Operations: ['75-48=27']
Exploring Operation: 42+27=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 66:[3, 69] Operation: 42+27=69
Moving to Node #0,0,0
Current State: 66:[3, 69], Operations: ['75-48=27', '42+27=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
26,
74,
5,
58
] | 15 | [
"74-26=48",
"5+58=63",
"63-48=15"
] | Current State: 15:[26, 74, 5, 58], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [5, 58, 48]
Generated Node #2: [5, 58, 48] from Operation: 74-26=48
Current State: 15:[5, 58, 48], Operations: ['74-26=48']
Exploring Operation: 5+58=63, Resulting Numbers: [48, 63]
Generated Node #3: [48, 63] from Operation: 5+58=63
Current State: 15:[48, 63], Operations: ['74-26=48', '5+58=63']
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[26, 74, 5, 58], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [5, 58, 48]
Generated Node #0,0: 15:[5, 58, 48] Operation: 74-26=48
Exploring Operation: 74-58=16, Resulting Numbers: [26, 5, 16]
Generated Node #0,1: 15:[26, 5, 16] Operation: 74-58=16
Moving to Node #0,1
Current State: 15:[26, 5, 16], Operations: ['74-58=16']
Exploring Operation: 26-5=21, Resulting Numbers: [16, 21]
Generated Node #0,1,0: 15:[16, 21] Operation: 26-5=21
Exploring Operation: 26-16=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 15:[5, 10] Operation: 26-16=10
Moving to Node #0,0
Current State: 15:[5, 58, 48], Operations: ['74-26=48']
Exploring Operation: 58-5=53, Resulting Numbers: [48, 53]
Generated Node #0,0,0: 15:[48, 53] Operation: 58-5=53
Exploring Operation: 58-48=10, Resulting Numbers: [5, 10]
Generated Node #0,0,1: 15:[5, 10] Operation: 58-48=10
Moving to Node #0,1,1
Current State: 15:[5, 10], Operations: ['74-58=16', '26-16=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[26, 74, 5, 58], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [26, 5, 16]
Generated Node #0,1: 15:[26, 5, 16] Operation: 74-58=16
Moving to Node #0,1
Current State: 15:[26, 5, 16], Operations: ['74-58=16']
Exploring Operation: 26-16=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 15:[5, 10] Operation: 26-16=10
Moving to Node #0,1,1
Current State: 15:[5, 10], Operations: ['74-58=16', '26-16=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
37,
93,
17,
98
] | 100 | [
"37-17=20",
"98-93=5",
"20*5=100"
] | Current State: 100:[37, 93, 17, 98], Operations: []
Exploring Operation: 37-17=20, Resulting Numbers: [93, 98, 20]
Generated Node #2: [93, 98, 20] from Operation: 37-17=20
Current State: 100:[93, 98, 20], Operations: ['37-17=20']
Exploring Operation: 98-93=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 98-93=5
Current State: 100:[20, 5], Operations: ['37-17=20', '98-93=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[37, 93, 17, 98], Operations: []
Exploring Operation: 37+17=54, Resulting Numbers: [93, 98, 54]
Generated Node #0,0: 100:[93, 98, 54] Operation: 37+17=54
Exploring Operation: 37-17=20, Resulting Numbers: [93, 98, 20]
Generated Node #0,1: 100:[93, 98, 20] Operation: 37-17=20
Exploring Operation: 98-93=5, Resulting Numbers: [37, 17, 5]
Generated Node #0,2: 100:[37, 17, 5] Operation: 98-93=5
Exploring Operation: 98-37=61, Resulting Numbers: [93, 17, 61]
Generated Node #0,3: 100:[93, 17, 61] Operation: 98-37=61
Exploring Operation: 93-37=56, Resulting Numbers: [17, 98, 56]
Generated Node #0,4: 100:[17, 98, 56] Operation: 93-37=56
Moving to Node #0,1
Current State: 100:[93, 98, 20], Operations: ['37-17=20']
Exploring Operation: 93+20=113, Resulting Numbers: [98, 113]
Generated Node #0,1,0: 100:[98, 113] Operation: 93+20=113
Exploring Operation: 93-20=73, Resulting Numbers: [98, 73]
Generated Node #0,1,1: 100:[98, 73] Operation: 93-20=73
Exploring Operation: 98+20=118, Resulting Numbers: [93, 118]
Generated Node #0,1,2: 100:[93, 118] Operation: 98+20=118
Exploring Operation: 98-20=78, Resulting Numbers: [93, 78]
Generated Node #0,1,3: 100:[93, 78] Operation: 98-20=78
Exploring Operation: 98-93=5, Resulting Numbers: [20, 5]
Generated Node #0,1,4: 100:[20, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 100:[20, 5], Operations: ['37-17=20', '98-93=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[37, 93, 17, 98], Operations: []
Exploring Operation: 37-17=20, Resulting Numbers: [93, 98, 20]
Generated Node #0,1: 100:[93, 98, 20] Operation: 37-17=20
Moving to Node #0,1
Current State: 100:[93, 98, 20], Operations: ['37-17=20']
Exploring Operation: 98-93=5, Resulting Numbers: [20, 5]
Generated Node #0,1,4: 100:[20, 5] Operation: 98-93=5
Moving to Node #0,1,4
Current State: 100:[20, 5], Operations: ['37-17=20', '98-93=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
41,
60,
58,
40
] | 39 | [
"60-58=2",
"40*2=80",
"80-41=39"
] | Current State: 39:[41, 60, 58, 40], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [41, 40, 2]
Generated Node #2: [41, 40, 2] from Operation: 60-58=2
Current State: 39:[41, 40, 2], Operations: ['60-58=2']
Exploring Operation: 40*2=80, Resulting Numbers: [41, 80]
Generated Node #3: [41, 80] from Operation: 40*2=80
Current State: 39:[41, 80], Operations: ['60-58=2', '40*2=80']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[41, 60, 58, 40], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [60, 40, 17]
Generated Node #0,0: 39:[60, 40, 17] Operation: 58-41=17
Exploring Operation: 60-58=2, Resulting Numbers: [41, 40, 2]
Generated Node #0,1: 39:[41, 40, 2] Operation: 60-58=2
Exploring Operation: 60-41=19, Resulting Numbers: [58, 40, 19]
Generated Node #0,2: 39:[58, 40, 19] Operation: 60-41=19
Exploring Operation: 60-40=20, Resulting Numbers: [41, 58, 20]
Generated Node #0,3: 39:[41, 58, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[41, 40, 2], Operations: ['60-58=2']
Exploring Operation: 41-2=39, Resulting Numbers: [40, 39]
Generated Node #0,1,0: 39:[40, 39] Operation: 41-2=39
Exploring Operation: 41+2=43, Resulting Numbers: [40, 43]
Generated Node #0,1,1: 39:[40, 43] Operation: 41+2=43
Exploring Operation: 41-40=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 39:[2, 1] Operation: 41-40=1
Exploring Operation: 40-2=38, Resulting Numbers: [41, 38]
Generated Node #0,1,3: 39:[41, 38] Operation: 40-2=38
Moving to Node #0,1,0
Current State: 39:[40, 39], Operations: ['60-58=2', '41-2=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[41, 38], Operations: ['60-58=2', '40-2=38']
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[2, 1], Operations: ['60-58=2', '41-40=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[40, 43], Operations: ['60-58=2', '41+2=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,39 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[60, 40, 17], Operations: ['58-41=17']
Exploring Operation: 60-40=20, Resulting Numbers: [17, 20]
Generated Node #0,0,0: 39:[17, 20] Operation: 60-40=20
Exploring Operation: 60+17=77, Resulting Numbers: [40, 77]
Generated Node #0,0,1: 39:[40, 77] Operation: 60+17=77
Exploring Operation: 40-17=23, Resulting Numbers: [60, 23]
Generated Node #0,0,2: 39:[60, 23] Operation: 40-17=23
Exploring Operation: 60-17=43, Resulting Numbers: [40, 43]
Generated Node #0,0,3: 39:[40, 43] Operation: 60-17=43
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[40, 43], Operations: ['58-41=17', '60-17=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,39 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[17, 20], Operations: ['58-41=17', '60-40=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,39 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[60, 23], Operations: ['58-41=17', '40-17=23']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,39 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[40, 77], Operations: ['58-41=17', '60+17=77']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,39 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[58, 40, 19], Operations: ['60-41=19']
Exploring Operation: 58+19=77, Resulting Numbers: [40, 77]
Generated Node #0,2,0: 39:[40, 77] Operation: 58+19=77
Exploring Operation: 58-19=39, Resulting Numbers: [40, 39]
Generated Node #0,2,1: 39:[40, 39] Operation: 58-19=39
Exploring Operation: 58-40=18, Resulting Numbers: [19, 18]
Generated Node #0,2,2: 39:[19, 18] Operation: 58-40=18
Exploring Operation: 40-19=21, Resulting Numbers: [58, 21]
Generated Node #0,2,3: 39:[58, 21] Operation: 40-19=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[40, 39], Operations: ['60-41=19', '58-19=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[19, 18], Operations: ['60-41=19', '58-40=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[58, 21], Operations: ['60-41=19', '40-19=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,39 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[40, 77], Operations: ['60-41=19', '58+19=77']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,39 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[41, 58, 20], Operations: ['60-40=20']
Exploring Operation: 58-20=38, Resulting Numbers: [41, 38]
Generated Node #0,3,0: 39:[41, 38] Operation: 58-20=38
Exploring Operation: 41-20=21, Resulting Numbers: [58, 21]
Generated Node #0,3,1: 39:[58, 21] Operation: 41-20=21
Exploring Operation: 58-41=17, Resulting Numbers: [20, 17]
Generated Node #0,3,2: 39:[20, 17] Operation: 58-41=17
Exploring Operation: 41+20=61, Resulting Numbers: [58, 61]
Generated Node #0,3,3: 39:[58, 61] Operation: 41+20=61
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[41, 38], Operations: ['60-40=20', '58-20=38']
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,39 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[20, 17], Operations: ['60-40=20', '58-41=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,39 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[58, 21], Operations: ['60-40=20', '41-20=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[58, 61], Operations: ['60-40=20', '41+20=61']
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,39 unequal: No Solution
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,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_4 | sum_heuristic |
[
58,
35,
24,
26
] | 43 | [
"58+35=93",
"24+26=50",
"93-50=43"
] | Current State: 43:[58, 35, 24, 26], Operations: []
Exploring Operation: 58+35=93, Resulting Numbers: [24, 26, 93]
Generated Node #2: [24, 26, 93] from Operation: 58+35=93
Current State: 43:[24, 26, 93], Operations: ['58+35=93']
Exploring Operation: 24+26=50, Resulting Numbers: [93, 50]
Generated Node #3: [93, 50] from Operation: 24+26=50
Current State: 43:[93, 50], Operations: ['58+35=93', '24+26=50']
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[58, 35, 24, 26], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [35, 24, 32]
Generated Node #0,0: 43:[35, 24, 32] Operation: 58-26=32
Exploring Operation: 58-24=34, Resulting Numbers: [35, 26, 34]
Generated Node #0,1: 43:[35, 26, 34] Operation: 58-24=34
Exploring Operation: 24+26=50, Resulting Numbers: [58, 35, 50]
Generated Node #0,2: 43:[58, 35, 50] Operation: 24+26=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[58, 35, 50], Operations: ['24+26=50']
Exploring Operation: 50-35=15, Resulting Numbers: [58, 15]
Generated Node #0,2,0: 43:[58, 15] Operation: 50-35=15
Exploring Operation: 58-50=8, Resulting Numbers: [35, 8]
Generated Node #0,2,1: 43:[35, 8] Operation: 58-50=8
Exploring Operation: 58-35=23, Resulting Numbers: [50, 23]
Generated Node #0,2,2: 43:[50, 23] Operation: 58-35=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[50, 23], Operations: ['24+26=50', '58-35=23']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,43 unequal: No Solution
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[58, 15], Operations: ['24+26=50', '50-35=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[58, 35, 24, 26], Operations: []
Exploring Operation: 24+26=50, Resulting Numbers: [58, 35, 50]
Generated Node #0,2: 43:[58, 35, 50] Operation: 24+26=50
Moving to Node #0,2
Current State: 43:[58, 35, 50], Operations: ['24+26=50']
Exploring Operation: 50-35=15, Resulting Numbers: [58, 15]
Generated Node #0,2,0: 43:[58, 15] Operation: 50-35=15
Moving to Node #0,2,0
Current State: 43:[58, 15], Operations: ['24+26=50', '50-35=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
25,
81,
94,
74
] | 86 | [
"25+81=106",
"94-74=20",
"106-20=86"
] | Current State: 86:[25, 81, 94, 74], Operations: []
Exploring Operation: 25+81=106, Resulting Numbers: [94, 74, 106]
Generated Node #2: [94, 74, 106] from Operation: 25+81=106
Current State: 86:[94, 74, 106], Operations: ['25+81=106']
Exploring Operation: 94-74=20, Resulting Numbers: [106, 20]
Generated Node #3: [106, 20] from Operation: 94-74=20
Current State: 86:[106, 20], Operations: ['25+81=106', '94-74=20']
Exploring Operation: 106-20=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[25, 81, 94, 74], Operations: []
Exploring Operation: 94-25=69, Resulting Numbers: [81, 74, 69]
Generated Node #0,0: 86:[81, 74, 69] Operation: 94-25=69
Exploring Operation: 81-25=56, Resulting Numbers: [94, 74, 56]
Generated Node #0,1: 86:[94, 74, 56] Operation: 81-25=56
Exploring Operation: 25+74=99, Resulting Numbers: [81, 94, 99]
Generated Node #0,2: 86:[81, 94, 99] Operation: 25+74=99
Exploring Operation: 81-74=7, Resulting Numbers: [25, 94, 7]
Generated Node #0,3: 86:[25, 94, 7] Operation: 81-74=7
Exploring Operation: 74-25=49, Resulting Numbers: [81, 94, 49]
Generated Node #0,4: 86:[81, 94, 49] Operation: 74-25=49
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[81, 94, 49], Operations: ['74-25=49']
Exploring Operation: 94-81=13, Resulting Numbers: [49, 13]
Generated Node #0,4,0: 86:[49, 13] Operation: 94-81=13
Exploring Operation: 94-49=45, Resulting Numbers: [81, 45]
Generated Node #0,4,1: 86:[81, 45] Operation: 94-49=45
Exploring Operation: 94+49=143, Resulting Numbers: [81, 143]
Generated Node #0,4,2: 86:[81, 143] Operation: 94+49=143
Exploring Operation: 81+49=130, Resulting Numbers: [94, 130]
Generated Node #0,4,3: 86:[94, 130] Operation: 81+49=130
Exploring Operation: 81-49=32, Resulting Numbers: [94, 32]
Generated Node #0,4,4: 86:[94, 32] Operation: 81-49=32
Moving to Node #0,4,1
Current State: 86:[81, 45], Operations: ['74-25=49', '94-49=45']
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[49, 13], Operations: ['74-25=49', '94-81=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[94, 32], Operations: ['74-25=49', '81-49=32']
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[94, 130], Operations: ['74-25=49', '81+49=130']
Exploring Operation: 130-94=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 94*130=12220, Resulting Numbers: [12220]
12220,86 unequal: No Solution
Exploring Operation: 94+130=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[81, 143], Operations: ['74-25=49', '94+49=143']
Exploring Operation: 81*143=11583, Resulting Numbers: [11583]
11583,86 unequal: No Solution
Exploring Operation: 81+143=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 143-81=62, Resulting Numbers: [62]
62,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,2
Current State: 86:[81, 94, 99], Operations: ['25+74=99']
Exploring Operation: 99-81=18, Resulting Numbers: [94, 18]
Generated Node #0,2,0: 86:[94, 18] Operation: 99-81=18
Exploring Operation: 99-94=5, Resulting Numbers: [81, 5]
Generated Node #0,2,1: 86:[81, 5] Operation: 99-94=5
Exploring Operation: 94-81=13, Resulting Numbers: [99, 13]
Generated Node #0,2,2: 86:[99, 13] Operation: 94-81=13
Exploring Operation: 81+94=175, Resulting Numbers: [99, 175]
Generated Node #0,2,3: 86:[99, 175] Operation: 81+94=175
Exploring Operation: 81+99=180, Resulting Numbers: [94, 180]
Generated Node #0,2,4: 86:[94, 180] Operation: 81+99=180
Moving to Node #0,2,1
Current State: 86:[81, 5], Operations: ['25+74=99', '99-94=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[25, 81, 94, 74], Operations: []
Exploring Operation: 25+74=99, Resulting Numbers: [81, 94, 99]
Generated Node #0,2: 86:[81, 94, 99] Operation: 25+74=99
Moving to Node #0,2
Current State: 86:[81, 94, 99], Operations: ['25+74=99']
Exploring Operation: 99-94=5, Resulting Numbers: [81, 5]
Generated Node #0,2,1: 86:[81, 5] Operation: 99-94=5
Moving to Node #0,2,1
Current State: 86:[81, 5], Operations: ['25+74=99', '99-94=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
56,
83,
72,
15
] | 82 | [
"56+83=139",
"72-15=57",
"139-57=82"
] | Current State: 82:[56, 83, 72, 15], Operations: []
Exploring Operation: 56+83=139, Resulting Numbers: [72, 15, 139]
Generated Node #2: [72, 15, 139] from Operation: 56+83=139
Current State: 82:[72, 15, 139], Operations: ['56+83=139']
Exploring Operation: 72-15=57, Resulting Numbers: [139, 57]
Generated Node #3: [139, 57] from Operation: 72-15=57
Current State: 82:[139, 57], Operations: ['56+83=139', '72-15=57']
Exploring Operation: 139-57=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[56, 83, 72, 15], Operations: []
Exploring Operation: 72+15=87, Resulting Numbers: [56, 83, 87]
Generated Node #0,0: 82:[56, 83, 87] Operation: 72+15=87
Exploring Operation: 56+15=71, Resulting Numbers: [83, 72, 71]
Generated Node #0,1: 82:[83, 72, 71] Operation: 56+15=71
Exploring Operation: 72-56=16, Resulting Numbers: [83, 15, 16]
Generated Node #0,2: 82:[83, 15, 16] Operation: 72-56=16
Exploring Operation: 72-15=57, Resulting Numbers: [56, 83, 57]
Generated Node #0,3: 82:[56, 83, 57] Operation: 72-15=57
Exploring Operation: 56-15=41, Resulting Numbers: [83, 72, 41]
Generated Node #0,4: 82:[83, 72, 41] Operation: 56-15=41
Moving to Node #0,4
Current State: 82:[83, 72, 41], Operations: ['56-15=41']
Exploring Operation: 72-41=31, Resulting Numbers: [83, 31]
Generated Node #0,4,0: 82:[83, 31] Operation: 72-41=31
Exploring Operation: 83+41=124, Resulting Numbers: [72, 124]
Generated Node #0,4,1: 82:[72, 124] Operation: 83+41=124
Exploring Operation: 83-72=11, Resulting Numbers: [41, 11]
Generated Node #0,4,2: 82:[41, 11] Operation: 83-72=11
Exploring Operation: 72+41=113, Resulting Numbers: [83, 113]
Generated Node #0,4,3: 82:[83, 113] Operation: 72+41=113
Exploring Operation: 83-41=42, Resulting Numbers: [72, 42]
Generated Node #0,4,4: 82:[72, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 82:[41, 11], Operations: ['56-15=41', '83-72=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,82 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,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,4,0
Current State: 82:[83, 31], Operations: ['56-15=41', '72-41=31']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,82 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,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,4,4
Current State: 82:[72, 42], Operations: ['56-15=41', '83-41=42']
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,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,4,3
Current State: 82:[83, 113], Operations: ['56-15=41', '72+41=113']
Exploring Operation: 83*113=9379, Resulting Numbers: [9379]
9379,82 unequal: No Solution
Exploring Operation: 83+113=196, Resulting Numbers: [196]
196,82 unequal: No Solution
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,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,4,1
Current State: 82:[72, 124], Operations: ['56-15=41', '83+41=124']
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 72+124=196, Resulting Numbers: [196]
196,82 unequal: No Solution
Exploring Operation: 72*124=8928, Resulting Numbers: [8928]
8928,82 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: 82:[56, 83, 87], Operations: ['72+15=87']
Exploring Operation: 87-56=31, Resulting Numbers: [83, 31]
Generated Node #0,0,0: 82:[83, 31] Operation: 87-56=31
Exploring Operation: 87-83=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 82:[56, 4] Operation: 87-83=4
Exploring Operation: 83-56=27, Resulting Numbers: [87, 27]
Generated Node #0,0,2: 82:[87, 27] Operation: 83-56=27
Exploring Operation: 56+83=139, Resulting Numbers: [87, 139]
Generated Node #0,0,3: 82:[87, 139] Operation: 56+83=139
Exploring Operation: 56+87=143, Resulting Numbers: [83, 143]
Generated Node #0,0,4: 82:[83, 143] Operation: 56+87=143
Moving to Node #0,1
Current State: 82:[83, 72, 71], Operations: ['56+15=71']
Exploring Operation: 72-71=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 82:[83, 1] Operation: 72-71=1
Exploring Operation: 72+71=143, Resulting Numbers: [83, 143]
Generated Node #0,1,1: 82:[83, 143] Operation: 72+71=143
Exploring Operation: 83-72=11, Resulting Numbers: [71, 11]
Generated Node #0,1,2: 82:[71, 11] Operation: 83-72=11
Exploring Operation: 83+71=154, Resulting Numbers: [72, 154]
Generated Node #0,1,3: 82:[72, 154] Operation: 83+71=154
Exploring Operation: 83-71=12, Resulting Numbers: [72, 12]
Generated Node #0,1,4: 82:[72, 12] Operation: 83-71=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[83, 1], Operations: ['56+15=71', '72-71=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[56, 83, 72, 15], Operations: []
Exploring Operation: 56+15=71, Resulting Numbers: [83, 72, 71]
Generated Node #0,1: 82:[83, 72, 71] Operation: 56+15=71
Moving to Node #0,1
Current State: 82:[83, 72, 71], Operations: ['56+15=71']
Exploring Operation: 72-71=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 82:[83, 1] Operation: 72-71=1
Moving to Node #0,1,0
Current State: 82:[83, 1], Operations: ['56+15=71', '72-71=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
44,
69,
11,
13
] | 91 | [
"13-11=2",
"44/2=22",
"69+22=91"
] | Current State: 91:[44, 69, 11, 13], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [44, 69, 2]
Generated Node #2: [44, 69, 2] from Operation: 13-11=2
Current State: 91:[44, 69, 2], Operations: ['13-11=2']
Exploring Operation: 44/2=22, Resulting Numbers: [69, 22]
Generated Node #3: [69, 22] from Operation: 44/2=22
Current State: 91:[69, 22], Operations: ['13-11=2', '44/2=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[44, 69, 11, 13], Operations: []
Exploring Operation: 69-44=25, Resulting Numbers: [11, 13, 25]
Generated Node #0,0: 91:[11, 13, 25] Operation: 69-44=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[11, 13, 25], Operations: ['69-44=25']
Exploring Operation: 25-11=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 91:[13, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[13, 14], Operations: ['69-44=25', '25-11=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
32,
20,
2
] | 29 | [
"70-32=38",
"20+38=58",
"58/2=29"
] | Current State: 29:[70, 32, 20, 2], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [20, 2, 38]
Generated Node #2: [20, 2, 38] from Operation: 70-32=38
Current State: 29:[20, 2, 38], Operations: ['70-32=38']
Exploring Operation: 20+38=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 20+38=58
Current State: 29:[2, 58], Operations: ['70-32=38', '20+38=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[70, 32, 20, 2], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [32, 20, 35]
Generated Node #0,0: 29:[32, 20, 35] Operation: 70/2=35
Exploring Operation: 70-20=50, Resulting Numbers: [32, 2, 50]
Generated Node #0,1: 29:[32, 2, 50] Operation: 70-20=50
Exploring Operation: 70-32=38, Resulting Numbers: [20, 2, 38]
Generated Node #0,2: 29:[20, 2, 38] Operation: 70-32=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[32, 20, 35], Operations: ['70/2=35']
Exploring Operation: 32+20=52, Resulting Numbers: [35, 52]
Generated Node #0,0,0: 29:[35, 52] Operation: 32+20=52
Exploring Operation: 35-20=15, Resulting Numbers: [32, 15]
Generated Node #0,0,1: 29:[32, 15] Operation: 35-20=15
Exploring Operation: 32-20=12, Resulting Numbers: [35, 12]
Generated Node #0,0,2: 29:[35, 12] Operation: 32-20=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[32, 15], Operations: ['70/2=35', '35-20=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[35, 12], Operations: ['70/2=35', '32-20=12']
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,29 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[35, 52], Operations: ['70/2=35', '32+20=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,29 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[20, 2, 38], Operations: ['70-32=38']
Exploring Operation: 38/2=19, Resulting Numbers: [20, 19]
Generated Node #0,2,0: 29:[20, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [20, 36]
Generated Node #0,2,1: 29:[20, 36] Operation: 38-2=36
Exploring Operation: 20+2=22, Resulting Numbers: [38, 22]
Generated Node #0,2,2: 29:[38, 22] Operation: 20+2=22
Moving to Node #0,2,1
Current State: 29:[20, 36], Operations: ['70-32=38', '38-2=36']
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,29 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[38, 22], Operations: ['70-32=38', '20+2=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[20, 19], Operations: ['70-32=38', '38/2=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[32, 2, 50], Operations: ['70-20=50']
Exploring Operation: 32-2=30, Resulting Numbers: [50, 30]
Generated Node #0,1,0: 29:[50, 30] Operation: 32-2=30
Exploring Operation: 50/2=25, Resulting Numbers: [32, 25]
Generated Node #0,1,1: 29:[32, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [32, 48]
Generated Node #0,1,2: 29:[32, 48] Operation: 50-2=48
Moving to Node #0,1,1
Current State: 29:[32, 25], Operations: ['70-20=50', '50/2=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[50, 30], Operations: ['70-20=50', '32-2=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[32, 48], Operations: ['70-20=50', '50-2=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,29 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,29 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 |
[
37,
7,
50,
88
] | 68 | [
"37-7=30",
"88-50=38",
"30+38=68"
] | Current State: 68:[37, 7, 50, 88], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [50, 88, 30]
Generated Node #2: [50, 88, 30] from Operation: 37-7=30
Current State: 68:[50, 88, 30], Operations: ['37-7=30']
Exploring Operation: 88-50=38, Resulting Numbers: [30, 38]
Generated Node #3: [30, 38] from Operation: 88-50=38
Current State: 68:[30, 38], Operations: ['37-7=30', '88-50=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[37, 7, 50, 88], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [7, 88, 13]
Generated Node #0,0: 68:[7, 88, 13] Operation: 50-37=13
Exploring Operation: 88-7=81, Resulting Numbers: [37, 50, 81]
Generated Node #0,1: 68:[37, 50, 81] Operation: 88-7=81
Exploring Operation: 88-50=38, Resulting Numbers: [37, 7, 38]
Generated Node #0,2: 68:[37, 7, 38] Operation: 88-50=38
Exploring Operation: 50-7=43, Resulting Numbers: [37, 88, 43]
Generated Node #0,3: 68:[37, 88, 43] Operation: 50-7=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[37, 7, 38], Operations: ['88-50=38']
Exploring Operation: 37-7=30, Resulting Numbers: [38, 30]
Generated Node #0,2,0: 68:[38, 30] Operation: 37-7=30
Exploring Operation: 38-7=31, Resulting Numbers: [37, 31]
Generated Node #0,2,1: 68:[37, 31] Operation: 38-7=31
Exploring Operation: 37+38=75, Resulting Numbers: [7, 75]
Generated Node #0,2,2: 68:[7, 75] Operation: 37+38=75
Exploring Operation: 38-37=1, Resulting Numbers: [7, 1]
Generated Node #0,2,3: 68:[7, 1] Operation: 38-37=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 68:[7, 1], Operations: ['88-50=38', '38-37=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No 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: 68:[37, 31], Operations: ['88-50=38', '38-7=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[37, 7, 50, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [37, 7, 38]
Generated Node #0,2: 68:[37, 7, 38] Operation: 88-50=38
Moving to Node #0,2
Current State: 68:[37, 7, 38], Operations: ['88-50=38']
Exploring Operation: 38-7=31, Resulting Numbers: [37, 31]
Generated Node #0,2,1: 68:[37, 31] Operation: 38-7=31
Moving to Node #0,2,1
Current State: 68:[37, 31], Operations: ['88-50=38', '38-7=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
59,
57,
53,
5
] | 16 | [
"59+5=64",
"57-53=4",
"64/4=16"
] | Current State: 16:[59, 57, 53, 5], Operations: []
Exploring Operation: 59+5=64, Resulting Numbers: [57, 53, 64]
Generated Node #2: [57, 53, 64] from Operation: 59+5=64
Current State: 16:[57, 53, 64], Operations: ['59+5=64']
Exploring Operation: 57-53=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 57-53=4
Current State: 16:[64, 4], Operations: ['59+5=64', '57-53=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[59, 57, 53, 5], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [53, 5, 2]
Generated Node #0,0: 16:[53, 5, 2] Operation: 59-57=2
Exploring Operation: 57-53=4, Resulting Numbers: [59, 5, 4]
Generated Node #0,1: 16:[59, 5, 4] Operation: 57-53=4
Exploring Operation: 59-53=6, Resulting Numbers: [57, 5, 6]
Generated Node #0,2: 16:[57, 5, 6] Operation: 59-53=6
Exploring Operation: 59-5=54, Resulting Numbers: [57, 53, 54]
Generated Node #0,3: 16:[57, 53, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[53, 5, 2], Operations: ['59-57=2']
Exploring Operation: 5-2=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 16:[53, 3] Operation: 5-2=3
Exploring Operation: 53-5=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 16:[2, 48] Operation: 53-5=48
Exploring Operation: 53-2=51, Resulting Numbers: [5, 51]
Generated Node #0,0,2: 16:[5, 51] Operation: 53-2=51
Exploring Operation: 5+2=7, Resulting Numbers: [53, 7]
Generated Node #0,0,3: 16:[53, 7] Operation: 5+2=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[2, 48], Operations: ['59-57=2', '53-5=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,16 unequal: No Solution
No 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: 16:[5, 51], Operations: ['59-57=2', '53-2=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,16 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No 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: 16:[53, 3], Operations: ['59-57=2', '5-2=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,16 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No 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: 16:[53, 7], Operations: ['59-57=2', '5+2=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,16 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[59, 5, 4], Operations: ['57-53=4']
Exploring Operation: 5+4=9, Resulting Numbers: [59, 9]
Generated Node #0,1,0: 16:[59, 9] Operation: 5+4=9
Exploring Operation: 59-4=55, Resulting Numbers: [5, 55]
Generated Node #0,1,1: 16:[5, 55] Operation: 59-4=55
Exploring Operation: 59-5=54, Resulting Numbers: [4, 54]
Generated Node #0,1,2: 16:[4, 54] Operation: 59-5=54
Exploring Operation: 5-4=1, Resulting Numbers: [59, 1]
Generated Node #0,1,3: 16:[59, 1] Operation: 5-4=1
Moving to Node #0,1,2
Current State: 16:[4, 54], Operations: ['57-53=4', '59-5=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,16 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[5, 55], Operations: ['57-53=4', '59-4=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,16 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[59, 1], Operations: ['57-53=4', '5-4=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[59, 9], Operations: ['57-53=4', '5+4=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,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:[57, 5, 6], Operations: ['59-53=6']
Exploring Operation: 57-6=51, Resulting Numbers: [5, 51]
Generated Node #0,2,0: 16:[5, 51] Operation: 57-6=51
Exploring Operation: 5+6=11, Resulting Numbers: [57, 11]
Generated Node #0,2,1: 16:[57, 11] Operation: 5+6=11
Exploring Operation: 57-5=52, Resulting Numbers: [6, 52]
Generated Node #0,2,2: 16:[6, 52] Operation: 57-5=52
Exploring Operation: 6-5=1, Resulting Numbers: [57, 1]
Generated Node #0,2,3: 16:[57, 1] Operation: 6-5=1
Moving to Node #0,2,0
Current State: 16:[5, 51], Operations: ['59-53=6', '57-6=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,16 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[6, 52], Operations: ['59-53=6', '57-5=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,16 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[57, 1], Operations: ['59-53=6', '6-5=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[57, 11], Operations: ['59-53=6', '5+6=11']
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,16 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,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,3
Current State: 16:[57, 53, 54], Operations: ['59-5=54']
Exploring Operation: 57-54=3, Resulting Numbers: [53, 3]
Generated Node #0,3,0: 16:[53, 3] Operation: 57-54=3
Exploring Operation: 54-53=1, Resulting Numbers: [57, 1]
Generated Node #0,3,1: 16:[57, 1] Operation: 54-53=1
Exploring Operation: 57+53=110, Resulting Numbers: [54, 110]
Generated Node #0,3,2: 16:[54, 110] Operation: 57+53=110
Exploring Operation: 57-53=4, Resulting Numbers: [54, 4]
Generated Node #0,3,3: 16:[54, 4] Operation: 57-53=4
Moving to Node #0,3,0
Current State: 16:[53, 3], Operations: ['59-5=54', '57-54=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[54, 4], Operations: ['59-5=54', '57-53=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,16 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[57, 1], Operations: ['59-5=54', '54-53=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[54, 110], Operations: ['59-5=54', '57+53=110']
Exploring Operation: 110-54=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 54*110=5940, Resulting Numbers: [5940]
5940,16 unequal: No Solution
Exploring Operation: 54+110=164, Resulting Numbers: [164]
164,16 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 |
[
92,
35,
35,
28
] | 92 | [
"35-35=0",
"28*0=0",
"92+0=92"
] | Current State: 92:[92, 35, 35, 28], Operations: []
Exploring Operation: 35-35=0, Resulting Numbers: [92, 28, 0]
Generated Node #2: [92, 28, 0] from Operation: 35-35=0
Current State: 92:[92, 28, 0], Operations: ['35-35=0']
Exploring Operation: 28*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 28*0=0
Current State: 92:[92, 0], Operations: ['35-35=0', '28*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 35, 35, 28], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [92, 35, 7]
Generated Node #0,0: 92:[92, 35, 7] Operation: 35-28=7
Exploring Operation: 35/35=1, Resulting Numbers: [92, 28, 1]
Generated Node #0,1: 92:[92, 28, 1] Operation: 35/35=1
Exploring Operation: 92-35=57, Resulting Numbers: [35, 28, 57]
Generated Node #0,2: 92:[35, 28, 57] Operation: 92-35=57
Exploring Operation: 35-35=0, Resulting Numbers: [92, 28, 0]
Generated Node #0,3: 92:[92, 28, 0] Operation: 35-35=0
Exploring Operation: 35-28=7, Resulting Numbers: [92, 35, 7]
Generated Node #0,4: 92:[92, 35, 7] Operation: 35-28=7
Moving to Node #0,1
Current State: 92:[92, 28, 1], Operations: ['35/35=1']
Exploring Operation: 92/1=92, Resulting Numbers: [28, 92]
Generated Node #0,1,0: 92:[28, 92] Operation: 92/1=92
Exploring Operation: 28*1=28, Resulting Numbers: [92, 28]
Generated Node #0,1,1: 92:[92, 28] Operation: 28*1=28
Exploring Operation: 28-1=27, Resulting Numbers: [92, 27]
Generated Node #0,1,2: 92:[92, 27] Operation: 28-1=27
Exploring Operation: 28/1=28, Resulting Numbers: [92, 28]
Generated Node #0,1,3: 92:[92, 28] Operation: 28/1=28
Exploring Operation: 92*1=92, Resulting Numbers: [28, 92]
Generated Node #0,1,4: 92:[28, 92] Operation: 92*1=92
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[92, 27], Operations: ['35/35=1', '28-1=27']
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,92 unequal: No Solution
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,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,0
Current State: 92:[28, 92], Operations: ['35/35=1', '92/1=92']
Exploring Operation: 28+92=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 28*92=2576, Resulting Numbers: [2576]
2576,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,1
Current State: 92:[92, 28], Operations: ['35/35=1', '28*1=28']
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,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,3
Current State: 92:[92, 28], Operations: ['35/35=1', '28/1=28']
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,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,4
Current State: 92:[28, 92], Operations: ['35/35=1', '92*1=92']
Exploring Operation: 28*92=2576, Resulting Numbers: [2576]
2576,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 28+92=120, Resulting Numbers: [120]
120,92 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: 92:[92, 28, 0], Operations: ['35-35=0']
Exploring Operation: 92+0=92, Resulting Numbers: [28, 92]
Generated Node #0,3,0: 92:[28, 92] Operation: 92+0=92
Exploring Operation: 92-0=92, Resulting Numbers: [28, 92]
Generated Node #0,3,1: 92:[28, 92] Operation: 92-0=92
Exploring Operation: 28-0=28, Resulting Numbers: [92, 28]
Generated Node #0,3,2: 92:[92, 28] Operation: 28-0=28
Exploring Operation: 28+0=28, Resulting Numbers: [92, 28]
Generated Node #0,3,3: 92:[92, 28] Operation: 28+0=28
Exploring Operation: 28*0=0, Resulting Numbers: [92, 0]
Generated Node #0,3,4: 92:[92, 0] Operation: 28*0=0
Moving to Node #0,0
Current State: 92:[92, 35, 7], Operations: ['35-28=7']
Exploring Operation: 92+7=99, Resulting Numbers: [35, 99]
Generated Node #0,0,0: 92:[35, 99] Operation: 92+7=99
Exploring Operation: 35/7=5, Resulting Numbers: [92, 5]
Generated Node #0,0,1: 92:[92, 5] Operation: 35/7=5
Exploring Operation: 92-35=57, Resulting Numbers: [7, 57]
Generated Node #0,0,2: 92:[7, 57] Operation: 92-35=57
Exploring Operation: 35+7=42, Resulting Numbers: [92, 42]
Generated Node #0,0,3: 92:[92, 42] Operation: 35+7=42
Exploring Operation: 35-7=28, Resulting Numbers: [92, 28]
Generated Node #0,0,4: 92:[92, 28] Operation: 35-7=28
Moving to Node #0,4
Current State: 92:[92, 35, 7], Operations: ['35-28=7']
Exploring Operation: 92-35=57, Resulting Numbers: [7, 57]
Generated Node #0,4,0: 92:[7, 57] Operation: 92-35=57
Exploring Operation: 35-7=28, Resulting Numbers: [92, 28]
Generated Node #0,4,1: 92:[92, 28] Operation: 35-7=28
Exploring Operation: 92+7=99, Resulting Numbers: [35, 99]
Generated Node #0,4,2: 92:[35, 99] Operation: 92+7=99
Exploring Operation: 35/7=5, Resulting Numbers: [92, 5]
Generated Node #0,4,3: 92:[92, 5] Operation: 35/7=5
Exploring Operation: 35+7=42, Resulting Numbers: [92, 42]
Generated Node #0,4,4: 92:[92, 42] Operation: 35+7=42
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 92:[92, 5], Operations: ['35-28=7', '35/7=5']
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,92 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,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,4,4
Current State: 92:[92, 42], Operations: ['35-28=7', '35+7=42']
Exploring Operation: 92+42=134, Resulting Numbers: [134]
134,92 unequal: No Solution
Exploring Operation: 92*42=3864, Resulting Numbers: [3864]
3864,92 unequal: No Solution
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,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,4,1
Current State: 92:[92, 28], Operations: ['35-28=7', '35-7=28']
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,92 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,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,4,0
Current State: 92:[7, 57], Operations: ['35-28=7', '92-35=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,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,4,2
Current State: 92:[35, 99], Operations: ['35-28=7', '92+7=99']
Exploring Operation: 35*99=3465, Resulting Numbers: [3465]
3465,92 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 35+99=134, Resulting Numbers: [134]
134,92 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: 92:[35, 28, 57], Operations: ['92-35=57']
Exploring Operation: 57-35=22, Resulting Numbers: [28, 22]
Generated Node #0,2,0: 92:[28, 22] Operation: 57-35=22
Exploring Operation: 28+57=85, Resulting Numbers: [35, 85]
Generated Node #0,2,1: 92:[35, 85] Operation: 28+57=85
Exploring Operation: 35+57=92, Resulting Numbers: [28, 92]
Generated Node #0,2,2: 92:[28, 92] Operation: 35+57=92
Exploring Operation: 35-28=7, Resulting Numbers: [57, 7]
Generated Node #0,2,3: 92:[57, 7] Operation: 35-28=7
Exploring Operation: 57-28=29, Resulting Numbers: [35, 29]
Generated Node #0,2,4: 92:[35, 29] Operation: 57-28=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[28, 92], Operations: ['92-35=57', '35+57=92']
Exploring Operation: 28+92=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 28*92=2576, Resulting Numbers: [2576]
2576,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,0
Current State: 92:[28, 22], Operations: ['92-35=57', '57-35=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,92 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,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,3
Current State: 92:[57, 7], Operations: ['92-35=57', '35-28=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,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,4
Current State: 92:[35, 29], Operations: ['92-35=57', '57-28=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,92 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,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,1
Current State: 92:[35, 85], Operations: ['92-35=57', '28+57=85']
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 35*85=2975, Resulting Numbers: [2975]
2975,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 92:[92, 5], Operations: ['35-28=7', '35/7=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,92 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[92, 0], Operations: ['35-35=0', '28*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[92, 35, 35, 28], Operations: []
Exploring Operation: 35-35=0, Resulting Numbers: [92, 28, 0]
Generated Node #0,3: 92:[92, 28, 0] Operation: 35-35=0
Moving to Node #0,3
Current State: 92:[92, 28, 0], Operations: ['35-35=0']
Exploring Operation: 28*0=0, Resulting Numbers: [92, 0]
Generated Node #0,3,4: 92:[92, 0] Operation: 28*0=0
Moving to Node #0,3,4
Current State: 92:[92, 0], Operations: ['35-35=0', '28*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.927951 | hs_5 | mult_heuristic |
[
69,
13,
85,
71
] | 74 | [
"69+13=82",
"85+71=156",
"156-82=74"
] | Current State: 74:[69, 13, 85, 71], Operations: []
Exploring Operation: 69+13=82, Resulting Numbers: [85, 71, 82]
Generated Node #2: [85, 71, 82] from Operation: 69+13=82
Current State: 74:[85, 71, 82], Operations: ['69+13=82']
Exploring Operation: 85+71=156, Resulting Numbers: [82, 156]
Generated Node #3: [82, 156] from Operation: 85+71=156
Current State: 74:[82, 156], Operations: ['69+13=82', '85+71=156']
Exploring Operation: 156-82=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[69, 13, 85, 71], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [69, 71, 72]
Generated Node #0,0: 74:[69, 71, 72] Operation: 85-13=72
Exploring Operation: 69+13=82, Resulting Numbers: [85, 71, 82]
Generated Node #0,1: 74:[85, 71, 82] Operation: 69+13=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[69, 71, 72], Operations: ['85-13=72']
Exploring Operation: 71-69=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 71-69=2
Exploring Operation: 72-69=3, Resulting Numbers: [71, 3]
Generated Node #0,0,1: 74:[71, 3] Operation: 72-69=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['85-13=72', '71-69=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[69, 13, 85, 71], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [69, 71, 72]
Generated Node #0,0: 74:[69, 71, 72] Operation: 85-13=72
Moving to Node #0,0
Current State: 74:[69, 71, 72], Operations: ['85-13=72']
Exploring Operation: 71-69=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 71-69=2
Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['85-13=72', '71-69=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
86,
82,
69,
39
] | 89 | [
"82-69=13",
"39/13=3",
"86+3=89"
] | Current State: 89:[86, 82, 69, 39], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [86, 39, 13]
Generated Node #2: [86, 39, 13] from Operation: 82-69=13
Current State: 89:[86, 39, 13], Operations: ['82-69=13']
Exploring Operation: 39/13=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 39/13=3
Current State: 89:[86, 3], Operations: ['82-69=13', '39/13=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[86, 82, 69, 39], Operations: []
Exploring Operation: 69+39=108, Resulting Numbers: [86, 82, 108]
Generated Node #0,0: 89:[86, 82, 108] Operation: 69+39=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[86, 82, 108], Operations: ['69+39=108']
Exploring Operation: 108-82=26, Resulting Numbers: [86, 26]
Generated Node #0,0,0: 89:[86, 26] Operation: 108-82=26
Moving to Node #0,0,0
Current State: 89:[86, 26], Operations: ['69+39=108', '108-82=26']
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,89 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 |
[
28,
65,
70,
14
] | 68 | [
"70-28=42",
"42/14=3",
"65+3=68"
] | Current State: 68:[28, 65, 70, 14], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [65, 14, 42]
Generated Node #2: [65, 14, 42] from Operation: 70-28=42
Current State: 68:[65, 14, 42], Operations: ['70-28=42']
Exploring Operation: 42/14=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 42/14=3
Current State: 68:[65, 3], Operations: ['70-28=42', '42/14=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[28, 65, 70, 14], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [28, 14, 5]
Generated Node #0,0: 68:[28, 14, 5] Operation: 70-65=5
Exploring Operation: 65-28=37, Resulting Numbers: [70, 14, 37]
Generated Node #0,1: 68:[70, 14, 37] Operation: 65-28=37
Exploring Operation: 28/14=2, Resulting Numbers: [65, 70, 2]
Generated Node #0,2: 68:[65, 70, 2] Operation: 28/14=2
Exploring Operation: 70/14=5, Resulting Numbers: [28, 65, 5]
Generated Node #0,3: 68:[28, 65, 5] Operation: 70/14=5
Exploring Operation: 28-14=14, Resulting Numbers: [65, 70, 14]
Generated Node #0,4: 68:[65, 70, 14] Operation: 28-14=14
Moving to Node #0,2
Current State: 68:[65, 70, 2], Operations: ['28/14=2']
Exploring Operation: 70-2=68, Resulting Numbers: [65, 68]
Generated Node #0,2,0: 68:[65, 68] Operation: 70-2=68
Exploring Operation: 65-2=63, Resulting Numbers: [70, 63]
Generated Node #0,2,1: 68:[70, 63] Operation: 65-2=63
Exploring Operation: 70-65=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 68:[2, 5] Operation: 70-65=5
Exploring Operation: 70/2=35, Resulting Numbers: [65, 35]
Generated Node #0,2,3: 68:[65, 35] Operation: 70/2=35
Exploring Operation: 65+2=67, Resulting Numbers: [70, 67]
Generated Node #0,2,4: 68:[70, 67] Operation: 65+2=67
Moving to Node #0,4
Current State: 68:[65, 70, 14], Operations: ['28-14=14']
Exploring Operation: 65+14=79, Resulting Numbers: [70, 79]
Generated Node #0,4,0: 68:[70, 79] Operation: 65+14=79
Exploring Operation: 70/14=5, Resulting Numbers: [65, 5]
Generated Node #0,4,1: 68:[65, 5] Operation: 70/14=5
Exploring Operation: 65-14=51, Resulting Numbers: [70, 51]
Generated Node #0,4,2: 68:[70, 51] Operation: 65-14=51
Exploring Operation: 70-65=5, Resulting Numbers: [14, 5]
Generated Node #0,4,3: 68:[14, 5] Operation: 70-65=5
Exploring Operation: 70-14=56, Resulting Numbers: [65, 56]
Generated Node #0,4,4: 68:[65, 56] Operation: 70-14=56
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 68:[65, 5], Operations: ['28-14=14', '70/14=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,68 unequal: No Solution
No 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: 68:[14, 5], Operations: ['28-14=14', '70-65=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No 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: 68:[70, 79], Operations: ['28-14=14', '65+14=79']
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,68 unequal: No Solution
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,68 unequal: No Solution
No 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: 68:[65, 56], Operations: ['28-14=14', '70-14=56']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,68 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 68:[70, 51], Operations: ['28-14=14', '65-14=51']
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,68 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,68 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: 68:[70, 14, 37], Operations: ['65-28=37']
Exploring Operation: 70/14=5, Resulting Numbers: [37, 5]
Generated Node #0,1,0: 68:[37, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [37, 56]
Generated Node #0,1,1: 68:[37, 56] Operation: 70-14=56
Exploring Operation: 70+14=84, Resulting Numbers: [37, 84]
Generated Node #0,1,2: 68:[37, 84] Operation: 70+14=84
Exploring Operation: 70-37=33, Resulting Numbers: [14, 33]
Generated Node #0,1,3: 68:[14, 33] Operation: 70-37=33
Exploring Operation: 37-14=23, Resulting Numbers: [70, 23]
Generated Node #0,1,4: 68:[70, 23] Operation: 37-14=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[37, 5], Operations: ['65-28=37', '70/14=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,68 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,68 unequal: No Solution
No 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: 68:[14, 33], Operations: ['65-28=37', '70-37=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,68 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,68 unequal: No Solution
No 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: 68:[70, 23], Operations: ['65-28=37', '37-14=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,68 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,68 unequal: No Solution
No 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: 68:[37, 56], Operations: ['65-28=37', '70-14=56']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,68 unequal: No Solution
No 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: 68:[37, 84], Operations: ['65-28=37', '70+14=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,68 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,68 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: 68:[28, 14, 5], Operations: ['70-65=5']
Exploring Operation: 14*5=70, Resulting Numbers: [28, 70]
Generated Node #0,0,0: 68:[28, 70] Operation: 14*5=70
Exploring Operation: 28/14=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 68:[5, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [5, 14]
Generated Node #0,0,2: 68:[5, 14] Operation: 28-14=14
Exploring Operation: 28+5=33, Resulting Numbers: [14, 33]
Generated Node #0,0,3: 68:[14, 33] Operation: 28+5=33
Exploring Operation: 14+5=19, Resulting Numbers: [28, 19]
Generated Node #0,0,4: 68:[28, 19] Operation: 14+5=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[5, 2], Operations: ['70-65=5', '28/14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No 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: 68:[5, 14], Operations: ['70-65=5', '28-14=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,68 unequal: No Solution
No 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: 68:[14, 33], Operations: ['70-65=5', '28+5=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,68 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
No 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: 68:[28, 70], Operations: ['70-65=5', '14*5=70']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,68 unequal: No Solution
No 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: 68:[28, 19], Operations: ['70-65=5', '14+5=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,68 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: 68:[28, 65, 5], Operations: ['70/14=5']
Exploring Operation: 65-28=37, Resulting Numbers: [5, 37]
Generated Node #0,3,0: 68:[5, 37] Operation: 65-28=37
Exploring Operation: 65+5=70, Resulting Numbers: [28, 70]
Generated Node #0,3,1: 68:[28, 70] Operation: 65+5=70
Exploring Operation: 65/5=13, Resulting Numbers: [28, 13]
Generated Node #0,3,2: 68:[28, 13] Operation: 65/5=13
Exploring Operation: 28-5=23, Resulting Numbers: [65, 23]
Generated Node #0,3,3: 68:[65, 23] Operation: 28-5=23
Exploring Operation: 28+5=33, Resulting Numbers: [65, 33]
Generated Node #0,3,4: 68:[65, 33] Operation: 28+5=33
Moving to Node #0,2,2
Current State: 68:[2, 5], Operations: ['28/14=2', '70-65=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[70, 67], Operations: ['28/14=2', '65+2=67']
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,68 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,68 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[65, 68], Operations: ['28/14=2', '70-2=68']
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 65+68=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 65*68=4420, Resulting Numbers: [4420]
4420,68 unequal: No Solution
Moving to Node #0,3,4
Current State: 68:[65, 33], Operations: ['70/14=5', '28+5=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[5, 37], Operations: ['70/14=5', '65-28=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,68 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[65, 35], Operations: ['28/14=2', '70/2=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,68 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[70, 63], Operations: ['28/14=2', '65-2=63']
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[28, 70], Operations: ['70/14=5', '65+5=70']
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,68 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[65, 23], Operations: ['70/14=5', '28-5=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[28, 13], Operations: ['70/14=5', '65/5=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,68 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,68 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
19,
8,
4
] | 71 | [
"54+19=73",
"8/4=2",
"73-2=71"
] | Current State: 71:[54, 19, 8, 4], Operations: []
Exploring Operation: 54+19=73, Resulting Numbers: [8, 4, 73]
Generated Node #2: [8, 4, 73] from Operation: 54+19=73
Current State: 71:[8, 4, 73], Operations: ['54+19=73']
Exploring Operation: 8/4=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 8/4=2
Current State: 71:[73, 2], Operations: ['54+19=73', '8/4=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[54, 19, 8, 4], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [54, 19, 32]
Generated Node #0,0: 71:[54, 19, 32] Operation: 8*4=32
Exploring Operation: 19*4=76, Resulting Numbers: [54, 8, 76]
Generated Node #0,1: 71:[54, 8, 76] Operation: 19*4=76
Exploring Operation: 54+8=62, Resulting Numbers: [19, 4, 62]
Generated Node #0,2: 71:[19, 4, 62] Operation: 54+8=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[54, 8, 76], Operations: ['19*4=76']
Exploring Operation: 54-8=46, Resulting Numbers: [76, 46]
Generated Node #0,1,0: 71:[76, 46] Operation: 54-8=46
Exploring Operation: 76-8=68, Resulting Numbers: [54, 68]
Generated Node #0,1,1: 71:[54, 68] Operation: 76-8=68
Exploring Operation: 54+8=62, Resulting Numbers: [76, 62]
Generated Node #0,1,2: 71:[76, 62] Operation: 54+8=62
Moving to Node #0,1,2
Current State: 71:[76, 62], Operations: ['19*4=76', '54+8=62']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[54, 68], Operations: ['19*4=76', '76-8=68']
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[76, 46], Operations: ['19*4=76', '54-8=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,71 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,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,0
Current State: 71:[54, 19, 32], Operations: ['8*4=32']
Exploring Operation: 19+32=51, Resulting Numbers: [54, 51]
Generated Node #0,0,0: 71:[54, 51] Operation: 19+32=51
Exploring Operation: 54+32=86, Resulting Numbers: [19, 86]
Generated Node #0,0,1: 71:[19, 86] Operation: 54+32=86
Exploring Operation: 54+19=73, Resulting Numbers: [32, 73]
Generated Node #0,0,2: 71:[32, 73] Operation: 54+19=73
Moving to Node #0,0,0
Current State: 71:[54, 51], Operations: ['8*4=32', '19+32=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[32, 73], Operations: ['8*4=32', '54+19=73']
Exploring Operation: 32*73=2336, Resulting Numbers: [2336]
2336,71 unequal: No Solution
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[19, 86], Operations: ['8*4=32', '54+32=86']
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,71 unequal: No Solution
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,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:[19, 4, 62], Operations: ['54+8=62']
Exploring Operation: 4+62=66, Resulting Numbers: [19, 66]
Generated Node #0,2,0: 71:[19, 66] Operation: 4+62=66
Exploring Operation: 19+4=23, Resulting Numbers: [62, 23]
Generated Node #0,2,1: 71:[62, 23] Operation: 19+4=23
Exploring Operation: 19*4=76, Resulting Numbers: [62, 76]
Generated Node #0,2,2: 71:[62, 76] Operation: 19*4=76
Moving to Node #0,2,2
Current State: 71:[62, 76], Operations: ['54+8=62', '19*4=76']
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[19, 66], Operations: ['54+8=62', '4+62=66']
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,71 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[62, 23], Operations: ['54+8=62', '19+4=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
48,
18,
71,
8
] | 47 | [
"48/8=6",
"71-18=53",
"53-6=47"
] | Current State: 47:[48, 18, 71, 8], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [18, 71, 6]
Generated Node #2: [18, 71, 6] from Operation: 48/8=6
Current State: 47:[18, 71, 6], Operations: ['48/8=6']
Exploring Operation: 71-18=53, Resulting Numbers: [6, 53]
Generated Node #3: [6, 53] from Operation: 71-18=53
Current State: 47:[6, 53], Operations: ['48/8=6', '71-18=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[48, 18, 71, 8], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [18, 71, 40]
Generated Node #0,0: 47:[18, 71, 40] Operation: 48-8=40
Exploring Operation: 71-8=63, Resulting Numbers: [48, 18, 63]
Generated Node #0,1: 47:[48, 18, 63] Operation: 71-8=63
Exploring Operation: 18+8=26, Resulting Numbers: [48, 71, 26]
Generated Node #0,2: 47:[48, 71, 26] Operation: 18+8=26
Exploring Operation: 71-18=53, Resulting Numbers: [48, 8, 53]
Generated Node #0,3: 47:[48, 8, 53] Operation: 71-18=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[48, 18, 63], Operations: ['71-8=63']
Exploring Operation: 18+63=81, Resulting Numbers: [48, 81]
Generated Node #0,1,0: 47:[48, 81] Operation: 18+63=81
Exploring Operation: 48-18=30, Resulting Numbers: [63, 30]
Generated Node #0,1,1: 47:[63, 30] Operation: 48-18=30
Exploring Operation: 48+18=66, Resulting Numbers: [63, 66]
Generated Node #0,1,2: 47:[63, 66] Operation: 48+18=66
Exploring Operation: 63-18=45, Resulting Numbers: [48, 45]
Generated Node #0,1,3: 47:[48, 45] Operation: 63-18=45
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[48, 45], Operations: ['71-8=63', '63-18=45']
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[63, 30], Operations: ['71-8=63', '48-18=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[48, 81], Operations: ['71-8=63', '18+63=81']
Exploring Operation: 48*81=3888, Resulting Numbers: [3888]
3888,47 unequal: No Solution
Exploring Operation: 48+81=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[63, 66], Operations: ['71-8=63', '48+18=66']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 63*66=4158, Resulting Numbers: [4158]
4158,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[48, 71, 26], Operations: ['18+8=26']
Exploring Operation: 48+26=74, Resulting Numbers: [71, 74]
Generated Node #0,2,0: 47:[71, 74] Operation: 48+26=74
Exploring Operation: 48-26=22, Resulting Numbers: [71, 22]
Generated Node #0,2,1: 47:[71, 22] Operation: 48-26=22
Exploring Operation: 71-26=45, Resulting Numbers: [48, 45]
Generated Node #0,2,2: 47:[48, 45] Operation: 71-26=45
Exploring Operation: 71-48=23, Resulting Numbers: [26, 23]
Generated Node #0,2,3: 47:[26, 23] Operation: 71-48=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[48, 45], Operations: ['18+8=26', '71-26=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[26, 23], Operations: ['18+8=26', '71-48=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[71, 22], Operations: ['18+8=26', '48-26=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,47 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[71, 74], Operations: ['18+8=26', '48+26=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[48, 8, 53], Operations: ['71-18=53']
Exploring Operation: 8+53=61, Resulting Numbers: [48, 61]
Generated Node #0,3,0: 47:[48, 61] Operation: 8+53=61
Exploring Operation: 48+8=56, Resulting Numbers: [53, 56]
Generated Node #0,3,1: 47:[53, 56] Operation: 48+8=56
Exploring Operation: 53-8=45, Resulting Numbers: [48, 45]
Generated Node #0,3,2: 47:[48, 45] Operation: 53-8=45
Exploring Operation: 48-8=40, Resulting Numbers: [53, 40]
Generated Node #0,3,3: 47:[53, 40] Operation: 48-8=40
Moving to Node #0,3,2
Current State: 47:[48, 45], Operations: ['71-18=53', '53-8=45']
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[53, 40], Operations: ['71-18=53', '48-8=40']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,47 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[53, 56], Operations: ['71-18=53', '48+8=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,47 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[48, 61], Operations: ['71-18=53', '8+53=61']
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,47 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,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
Current State: 47:[18, 71, 40], Operations: ['48-8=40']
Exploring Operation: 18+71=89, Resulting Numbers: [40, 89]
Generated Node #0,0,0: 47:[40, 89] Operation: 18+71=89
Exploring Operation: 18+40=58, Resulting Numbers: [71, 58]
Generated Node #0,0,1: 47:[71, 58] Operation: 18+40=58
Exploring Operation: 71-18=53, Resulting Numbers: [40, 53]
Generated Node #0,0,2: 47:[40, 53] Operation: 71-18=53
Exploring Operation: 71-40=31, Resulting Numbers: [18, 31]
Generated Node #0,0,3: 47:[18, 31] Operation: 71-40=31
Moving to Node #0,0,2
Current State: 47:[40, 53], Operations: ['48-8=40', '71-18=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,47 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[71, 58], Operations: ['48-8=40', '18+40=58']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[18, 31], Operations: ['48-8=40', '71-40=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[40, 89], Operations: ['48-8=40', '18+71=89']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,47 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,47 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 |
[
98,
54,
7,
5
] | 21 | [
"98+54=152",
"152-5=147",
"147/7=21"
] | Current State: 21:[98, 54, 7, 5], Operations: []
Exploring Operation: 98+54=152, Resulting Numbers: [7, 5, 152]
Generated Node #2: [7, 5, 152] from Operation: 98+54=152
Current State: 21:[7, 5, 152], Operations: ['98+54=152']
Exploring Operation: 152-5=147, Resulting Numbers: [7, 147]
Generated Node #3: [7, 147] from Operation: 152-5=147
Current State: 21:[7, 147], Operations: ['98+54=152', '152-5=147']
Exploring Operation: 147/7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[98, 54, 7, 5], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [54, 7, 93]
Generated Node #0,0: 21:[54, 7, 93] Operation: 98-5=93
Exploring Operation: 98-54=44, Resulting Numbers: [7, 5, 44]
Generated Node #0,1: 21:[7, 5, 44] Operation: 98-54=44
Exploring Operation: 98/7=14, Resulting Numbers: [54, 5, 14]
Generated Node #0,2: 21:[54, 5, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [54, 5, 91]
Generated Node #0,3: 21:[54, 5, 91] Operation: 98-7=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[7, 5, 44], Operations: ['98-54=44']
Exploring Operation: 44-7=37, Resulting Numbers: [5, 37]
Generated Node #0,1,0: 21:[5, 37] Operation: 44-7=37
Exploring Operation: 7+5=12, Resulting Numbers: [44, 12]
Generated Node #0,1,1: 21:[44, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [44, 2]
Generated Node #0,1,2: 21:[44, 2] Operation: 7-5=2
Exploring Operation: 44-5=39, Resulting Numbers: [7, 39]
Generated Node #0,1,3: 21:[7, 39] Operation: 44-5=39
Moving to Node #0,1,0
Current State: 21:[5, 37], Operations: ['98-54=44', '44-7=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,21 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[7, 39], Operations: ['98-54=44', '44-5=39']
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,21 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[44, 2], Operations: ['98-54=44', '7-5=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[44, 12], Operations: ['98-54=44', '7+5=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,21 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,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,2
Current State: 21:[54, 5, 14], Operations: ['98/7=14']
Exploring Operation: 5+14=19, Resulting Numbers: [54, 19]
Generated Node #0,2,0: 21:[54, 19] Operation: 5+14=19
Exploring Operation: 54-14=40, Resulting Numbers: [5, 40]
Generated Node #0,2,1: 21:[5, 40] Operation: 54-14=40
Exploring Operation: 54-5=49, Resulting Numbers: [14, 49]
Generated Node #0,2,2: 21:[14, 49] Operation: 54-5=49
Exploring Operation: 14-5=9, Resulting Numbers: [54, 9]
Generated Node #0,2,3: 21:[54, 9] Operation: 14-5=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[5, 40], Operations: ['98/7=14', '54-14=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,21 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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,0
Current State: 21:[54, 19], Operations: ['98/7=14', '5+14=19']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,21 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,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, 49], Operations: ['98/7=14', '54-5=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,21 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,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:[54, 9], Operations: ['98/7=14', '14-5=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[54, 7, 93], Operations: ['98-5=93']
Exploring Operation: 93-54=39, Resulting Numbers: [7, 39]
Generated Node #0,0,0: 21:[7, 39] Operation: 93-54=39
Exploring Operation: 93-7=86, Resulting Numbers: [54, 86]
Generated Node #0,0,1: 21:[54, 86] Operation: 93-7=86
Exploring Operation: 54+7=61, Resulting Numbers: [93, 61]
Generated Node #0,0,2: 21:[93, 61] Operation: 54+7=61
Exploring Operation: 54-7=47, Resulting Numbers: [93, 47]
Generated Node #0,0,3: 21:[93, 47] Operation: 54-7=47
Moving to Node #0,0,0
Current State: 21:[7, 39], Operations: ['98-5=93', '93-54=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,21 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[93, 47], Operations: ['98-5=93', '54-7=47']
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[54, 86], Operations: ['98-5=93', '93-7=86']
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,21 unequal: No Solution
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[93, 61], Operations: ['98-5=93', '54+7=61']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,21 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[54, 5, 91], Operations: ['98-7=91']
Exploring Operation: 91-5=86, Resulting Numbers: [54, 86]
Generated Node #0,3,0: 21:[54, 86] Operation: 91-5=86
Exploring Operation: 91-54=37, Resulting Numbers: [5, 37]
Generated Node #0,3,1: 21:[5, 37] Operation: 91-54=37
Exploring Operation: 54+5=59, Resulting Numbers: [91, 59]
Generated Node #0,3,2: 21:[91, 59] Operation: 54+5=59
Exploring Operation: 54-5=49, Resulting Numbers: [91, 49]
Generated Node #0,3,3: 21:[91, 49] Operation: 54-5=49
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[5, 37], Operations: ['98-7=91', '91-54=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,21 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[54, 86], Operations: ['98-7=91', '91-5=86']
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,21 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,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:[91, 49], Operations: ['98-7=91', '54-5=49']
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,21 unequal: No Solution
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,21 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[91, 59], Operations: ['98-7=91', '54+5=59']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,21 unequal: No Solution
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
59,
36,
59
] | 66 | [
"29+36=65",
"59/59=1",
"65+1=66"
] | Current State: 66:[29, 59, 36, 59], Operations: []
Exploring Operation: 29+36=65, Resulting Numbers: [59, 59, 65]
Generated Node #2: [59, 59, 65] from Operation: 29+36=65
Current State: 66:[59, 59, 65], Operations: ['29+36=65']
Exploring Operation: 59/59=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 59/59=1
Current State: 66:[65, 1], Operations: ['29+36=65', '59/59=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[29, 59, 36, 59], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [29, 36, 1]
Generated Node #0,0: 66:[29, 36, 1] Operation: 59/59=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[29, 36, 1], Operations: ['59/59=1']
Exploring Operation: 29+36=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 29+36=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['59/59=1', '29+36=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[29, 59, 36, 59], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [29, 36, 1]
Generated Node #0,0: 66:[29, 36, 1] Operation: 59/59=1
Moving to Node #0,0
Current State: 66:[29, 36, 1], Operations: ['59/59=1']
Exploring Operation: 29+36=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 29+36=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['59/59=1', '29+36=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
2,
57,
37
] | 92 | [
"57-37=20",
"2*20=40",
"52+40=92"
] | Current State: 92:[52, 2, 57, 37], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [52, 2, 20]
Generated Node #2: [52, 2, 20] from Operation: 57-37=20
Current State: 92:[52, 2, 20], Operations: ['57-37=20']
Exploring Operation: 2*20=40, Resulting Numbers: [52, 40]
Generated Node #3: [52, 40] from Operation: 2*20=40
Current State: 92:[52, 40], Operations: ['57-37=20', '2*20=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[52, 2, 57, 37], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [2, 37, 5]
Generated Node #0,0: 92:[2, 37, 5] Operation: 57-52=5
Exploring Operation: 57-37=20, Resulting Numbers: [52, 2, 20]
Generated Node #0,1: 92:[52, 2, 20] Operation: 57-37=20
Exploring Operation: 57+37=94, Resulting Numbers: [52, 2, 94]
Generated Node #0,2: 92:[52, 2, 94] Operation: 57+37=94
Exploring Operation: 52+37=89, Resulting Numbers: [2, 57, 89]
Generated Node #0,3: 92:[2, 57, 89] Operation: 52+37=89
Moving to Node #0,2
Current State: 92:[52, 2, 94], Operations: ['57+37=94']
Exploring Operation: 94-2=92, Resulting Numbers: [52, 92]
Generated Node #0,2,0: 92:[52, 92] Operation: 94-2=92
Exploring Operation: 52-2=50, Resulting Numbers: [94, 50]
Generated Node #0,2,1: 92:[94, 50] Operation: 52-2=50
Exploring Operation: 94-52=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 92:[2, 42] Operation: 94-52=42
Exploring Operation: 52/2=26, Resulting Numbers: [94, 26]
Generated Node #0,2,3: 92:[94, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[2, 42], Operations: ['57+37=94', '94-52=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,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,3
Current State: 92:[94, 26], Operations: ['57+37=94', '52/2=26']
Exploring Operation: 94*26=2444, Resulting Numbers: [2444]
2444,92 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 94+26=120, Resulting Numbers: [120]
120,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,0
Current State: 92:[52, 92], Operations: ['57+37=94', '94-2=92']
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,92 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,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,1
Current State: 92:[94, 50], Operations: ['57+37=94', '52-2=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[52, 2, 20], Operations: ['57-37=20']
Exploring Operation: 52-20=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 92:[2, 32] Operation: 52-20=32
Exploring Operation: 2+20=22, Resulting Numbers: [52, 22]
Generated Node #0,1,1: 92:[52, 22] Operation: 2+20=22
Exploring Operation: 52/2=26, Resulting Numbers: [20, 26]
Generated Node #0,1,2: 92:[20, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [20, 50]
Generated Node #0,1,3: 92:[20, 50] Operation: 52-2=50
Moving to Node #0,0
Current State: 92:[2, 37, 5], Operations: ['57-52=5']
Exploring Operation: 37+5=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 92:[2, 42] Operation: 37+5=42
Exploring Operation: 37-5=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 92:[2, 32] Operation: 37-5=32
Exploring Operation: 2+37=39, Resulting Numbers: [5, 39]
Generated Node #0,0,2: 92:[5, 39] Operation: 2+37=39
Exploring Operation: 5-2=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 92:[37, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[2, 42], Operations: ['57-52=5', '37+5=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,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,2
Current State: 92:[5, 39], Operations: ['57-52=5', '2+37=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,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,1
Current State: 92:[2, 32], Operations: ['57-52=5', '37-5=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,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,3
Current State: 92:[37, 3], Operations: ['57-52=5', '5-2=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,92 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: 92:[2, 57, 89], Operations: ['52+37=89']
Exploring Operation: 57-2=55, Resulting Numbers: [89, 55]
Generated Node #0,3,0: 92:[89, 55] Operation: 57-2=55
Exploring Operation: 2+57=59, Resulting Numbers: [89, 59]
Generated Node #0,3,1: 92:[89, 59] Operation: 2+57=59
Exploring Operation: 2+89=91, Resulting Numbers: [57, 91]
Generated Node #0,3,2: 92:[57, 91] Operation: 2+89=91
Exploring Operation: 89-57=32, Resulting Numbers: [2, 32]
Generated Node #0,3,3: 92:[2, 32] Operation: 89-57=32
Moving to Node #0,1,2
Current State: 92:[20, 26], Operations: ['57-37=20', '52/2=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,92 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[20, 50], Operations: ['57-37=20', '52-2=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,92 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[52, 22], Operations: ['57-37=20', '2+20=22']
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,92 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[2, 32], Operations: ['52+37=89', '89-57=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[2, 32], Operations: ['57-37=20', '52-20=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[57, 91], Operations: ['52+37=89', '2+89=91']
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,92 unequal: No Solution
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[89, 55], Operations: ['52+37=89', '57-2=55']
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[89, 59], Operations: ['52+37=89', '2+57=59']
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,92 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,92 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
86,
50,
78
] | 88 | [
"78-50=28",
"56/28=2",
"86+2=88"
] | Current State: 88:[56, 86, 50, 78], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [56, 86, 28]
Generated Node #2: [56, 86, 28] from Operation: 78-50=28
Current State: 88:[56, 86, 28], Operations: ['78-50=28']
Exploring Operation: 56/28=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 56/28=2
Current State: 88:[86, 2], Operations: ['78-50=28', '56/28=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[56, 86, 50, 78], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [50, 78, 30]
Generated Node #0,0: 88:[50, 78, 30] Operation: 86-56=30
Exploring Operation: 78-56=22, Resulting Numbers: [86, 50, 22]
Generated Node #0,1: 88:[86, 50, 22] Operation: 78-56=22
Exploring Operation: 56-50=6, Resulting Numbers: [86, 78, 6]
Generated Node #0,2: 88:[86, 78, 6] Operation: 56-50=6
Exploring Operation: 86-78=8, Resulting Numbers: [56, 50, 8]
Generated Node #0,3: 88:[56, 50, 8] Operation: 86-78=8
Exploring Operation: 78-50=28, Resulting Numbers: [56, 86, 28]
Generated Node #0,4: 88:[56, 86, 28] Operation: 78-50=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[86, 50, 22], Operations: ['78-56=22']
Exploring Operation: 86-22=64, Resulting Numbers: [50, 64]
Generated Node #0,1,0: 88:[50, 64] Operation: 86-22=64
Exploring Operation: 50-22=28, Resulting Numbers: [86, 28]
Generated Node #0,1,1: 88:[86, 28] Operation: 50-22=28
Exploring Operation: 86+22=108, Resulting Numbers: [50, 108]
Generated Node #0,1,2: 88:[50, 108] Operation: 86+22=108
Exploring Operation: 50+22=72, Resulting Numbers: [86, 72]
Generated Node #0,1,3: 88:[86, 72] Operation: 50+22=72
Exploring Operation: 86-50=36, Resulting Numbers: [22, 36]
Generated Node #0,1,4: 88:[22, 36] Operation: 86-50=36
Moving to Node #0,1,1
Current State: 88:[86, 28], Operations: ['78-56=22', '50-22=28']
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,88 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[22, 36], Operations: ['78-56=22', '86-50=36']
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[86, 72], Operations: ['78-56=22', '50+22=72']
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,88 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[50, 64], Operations: ['78-56=22', '86-22=64']
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,88 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[50, 108], Operations: ['78-56=22', '86+22=108']
Exploring Operation: 50*108=5400, Resulting Numbers: [5400]
5400,88 unequal: No Solution
Exploring Operation: 108-50=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 50+108=158, Resulting Numbers: [158]
158,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[86, 78, 6], Operations: ['56-50=6']
Exploring Operation: 78+6=84, Resulting Numbers: [86, 84]
Generated Node #0,2,0: 88:[86, 84] Operation: 78+6=84
Exploring Operation: 86+6=92, Resulting Numbers: [78, 92]
Generated Node #0,2,1: 88:[78, 92] Operation: 86+6=92
Exploring Operation: 78/6=13, Resulting Numbers: [86, 13]
Generated Node #0,2,2: 88:[86, 13] Operation: 78/6=13
Exploring Operation: 86-6=80, Resulting Numbers: [78, 80]
Generated Node #0,2,3: 88:[78, 80] Operation: 86-6=80
Exploring Operation: 86-78=8, Resulting Numbers: [6, 8]
Generated Node #0,2,4: 88:[6, 8] Operation: 86-78=8
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[6, 8], Operations: ['56-50=6', '86-78=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[86, 13], Operations: ['56-50=6', '78/6=13']
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,88 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[86, 84], Operations: ['56-50=6', '78+6=84']
Exploring Operation: 86+84=170, Resulting Numbers: [170]
170,88 unequal: No Solution
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 86*84=7224, Resulting Numbers: [7224]
7224,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[78, 92], Operations: ['56-50=6', '86+6=92']
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 78*92=7176, Resulting Numbers: [7176]
7176,88 unequal: No Solution
Exploring Operation: 78+92=170, Resulting Numbers: [170]
170,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[78, 80], Operations: ['56-50=6', '86-6=80']
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[56, 50, 8], Operations: ['86-78=8']
Exploring Operation: 56/8=7, Resulting Numbers: [50, 7]
Generated Node #0,3,0: 88:[50, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [50, 48]
Generated Node #0,3,1: 88:[50, 48] Operation: 56-8=48
Exploring Operation: 50-8=42, Resulting Numbers: [56, 42]
Generated Node #0,3,2: 88:[56, 42] Operation: 50-8=42
Exploring Operation: 56+50=106, Resulting Numbers: [8, 106]
Generated Node #0,3,3: 88:[8, 106] Operation: 56+50=106
Exploring Operation: 56-50=6, Resulting Numbers: [8, 6]
Generated Node #0,3,4: 88:[8, 6] Operation: 56-50=6
Moving to Node #0,3,4
Current State: 88:[8, 6], Operations: ['86-78=8', '56-50=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[50, 7], Operations: ['86-78=8', '56/8=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[50, 48], Operations: ['86-78=8', '56-8=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,88 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[56, 42], Operations: ['86-78=8', '50-8=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,88 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[8, 106], Operations: ['86-78=8', '56+50=106']
Exploring Operation: 106-8=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 8+106=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 8*106=848, Resulting Numbers: [848]
848,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,4
Current State: 88:[56, 86, 28], Operations: ['78-50=28']
Exploring Operation: 86-28=58, Resulting Numbers: [56, 58]
Generated Node #0,4,0: 88:[56, 58] Operation: 86-28=58
Exploring Operation: 56/28=2, Resulting Numbers: [86, 2]
Generated Node #0,4,1: 88:[86, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [86, 28]
Generated Node #0,4,2: 88:[86, 28] Operation: 56-28=28
Exploring Operation: 86-56=30, Resulting Numbers: [28, 30]
Generated Node #0,4,3: 88:[28, 30] Operation: 86-56=30
Exploring Operation: 56+28=84, Resulting Numbers: [86, 84]
Generated Node #0,4,4: 88:[86, 84] Operation: 56+28=84
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[86, 2], Operations: ['78-50=28', '56/28=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[56, 86, 50, 78], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [56, 86, 28]
Generated Node #0,4: 88:[56, 86, 28] Operation: 78-50=28
Moving to Node #0,4
Current State: 88:[56, 86, 28], Operations: ['78-50=28']
Exploring Operation: 56/28=2, Resulting Numbers: [86, 2]
Generated Node #0,4,1: 88:[86, 2] Operation: 56/28=2
Moving to Node #0,4,1
Current State: 88:[86, 2], Operations: ['78-50=28', '56/28=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
44,
5,
89,
7
] | 95 | [
"44+89=133",
"5*133=665",
"665/7=95"
] | Current State: 95:[44, 5, 89, 7], Operations: []
Exploring Operation: 44+89=133, Resulting Numbers: [5, 7, 133]
Generated Node #2: [5, 7, 133] from Operation: 44+89=133
Current State: 95:[5, 7, 133], Operations: ['44+89=133']
Exploring Operation: 5*133=665, Resulting Numbers: [7, 665]
Generated Node #3: [7, 665] from Operation: 5*133=665
Current State: 95:[7, 665], Operations: ['44+89=133', '5*133=665']
Exploring Operation: 665/7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[44, 5, 89, 7], Operations: []
Exploring Operation: 44-7=37, Resulting Numbers: [5, 89, 37]
Generated Node #0,0: 95:[5, 89, 37] Operation: 44-7=37
Exploring Operation: 44-5=39, Resulting Numbers: [89, 7, 39]
Generated Node #0,1: 95:[89, 7, 39] Operation: 44-5=39
Exploring Operation: 89+7=96, Resulting Numbers: [44, 5, 96]
Generated Node #0,2: 95:[44, 5, 96] Operation: 89+7=96
Moving to Node #0,0
Current State: 95:[5, 89, 37], Operations: ['44-7=37']
Exploring Operation: 5+89=94, Resulting Numbers: [37, 94]
Generated Node #0,0,0: 95:[37, 94] Operation: 5+89=94
Exploring Operation: 37-5=32, Resulting Numbers: [89, 32]
Generated Node #0,0,1: 95:[89, 32] Operation: 37-5=32
Exploring Operation: 89-5=84, Resulting Numbers: [37, 84]
Generated Node #0,0,2: 95:[37, 84] Operation: 89-5=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[37, 94], Operations: ['44-7=37', '5+89=94']
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,95 unequal: No Solution
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,95 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[89, 32], Operations: ['44-7=37', '37-5=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,95 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[37, 84], Operations: ['44-7=37', '89-5=84']
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,95 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 95:[44, 5, 96], Operations: ['89+7=96']
Exploring Operation: 96-5=91, Resulting Numbers: [44, 91]
Generated Node #0,2,0: 95:[44, 91] Operation: 96-5=91
Exploring Operation: 44+5=49, Resulting Numbers: [96, 49]
Generated Node #0,2,1: 95:[96, 49] Operation: 44+5=49
Exploring Operation: 44-5=39, Resulting Numbers: [96, 39]
Generated Node #0,2,2: 95:[96, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[96, 39], Operations: ['89+7=96', '44-5=39']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,95 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[44, 91], Operations: ['89+7=96', '96-5=91']
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,95 unequal: No Solution
Exploring Operation: 44+91=135, Resulting Numbers: [135]
135,95 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,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,1
Current State: 95:[96, 49], Operations: ['89+7=96', '44+5=49']
Exploring Operation: 96+49=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Exploring Operation: 96*49=4704, Resulting Numbers: [4704]
4704,95 unequal: No Solution
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[89, 7, 39], Operations: ['44-5=39']
Exploring Operation: 39-7=32, Resulting Numbers: [89, 32]
Generated Node #0,1,0: 95:[89, 32] Operation: 39-7=32
Exploring Operation: 89+7=96, Resulting Numbers: [39, 96]
Generated Node #0,1,1: 95:[39, 96] Operation: 89+7=96
Exploring Operation: 89-7=82, Resulting Numbers: [39, 82]
Generated Node #0,1,2: 95:[39, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[89, 32], Operations: ['44-5=39', '39-7=32']
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[39, 96], Operations: ['44-5=39', '89+7=96']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,95 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[39, 82], Operations: ['44-5=39', '89-7=82']
Exploring Operation: 39*82=3198, Resulting Numbers: [3198]
3198,95 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 39+82=121, Resulting Numbers: [121]
121,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
85,
67,
14
] | 100 | [
"85-66=19",
"67+14=81",
"19+81=100"
] | Current State: 100:[66, 85, 67, 14], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [67, 14, 19]
Generated Node #2: [67, 14, 19] from Operation: 85-66=19
Current State: 100:[67, 14, 19], Operations: ['85-66=19']
Exploring Operation: 67+14=81, Resulting Numbers: [19, 81]
Generated Node #3: [19, 81] from Operation: 67+14=81
Current State: 100:[19, 81], Operations: ['85-66=19', '67+14=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[66, 85, 67, 14], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [85, 14, 1]
Generated Node #0,0: 100:[85, 14, 1] Operation: 67-66=1
Exploring Operation: 66-14=52, Resulting Numbers: [85, 67, 52]
Generated Node #0,1: 100:[85, 67, 52] Operation: 66-14=52
Exploring Operation: 85-66=19, Resulting Numbers: [67, 14, 19]
Generated Node #0,2: 100:[67, 14, 19] Operation: 85-66=19
Exploring Operation: 85-67=18, Resulting Numbers: [66, 14, 18]
Generated Node #0,3: 100:[66, 14, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[85, 14, 1], Operations: ['67-66=1']
Exploring Operation: 85+1=86, Resulting Numbers: [14, 86]
Generated Node #0,0,0: 100:[14, 86] Operation: 85+1=86
Exploring Operation: 14-1=13, Resulting Numbers: [85, 13]
Generated Node #0,0,1: 100:[85, 13] Operation: 14-1=13
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,0,2: 100:[1, 99] Operation: 85+14=99
Exploring Operation: 85*1=85, Resulting Numbers: [14, 85]
Generated Node #0,0,3: 100:[14, 85] Operation: 85*1=85
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[1, 99], Operations: ['67-66=1', '85+14=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 1+99=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[66, 85, 67, 14], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [85, 14, 1]
Generated Node #0,0: 100:[85, 14, 1] Operation: 67-66=1
Moving to Node #0,0
Current State: 100:[85, 14, 1], Operations: ['67-66=1']
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,0,2: 100:[1, 99] Operation: 85+14=99
Moving to Node #0,0,2
Current State: 100:[1, 99], Operations: ['67-66=1', '85+14=99']
Exploring Operation: 1+99=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
75,
20,
3,
71
] | 66 | [
"75/3=25",
"20+71=91",
"91-25=66"
] | Current State: 66:[75, 20, 3, 71], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [20, 71, 25]
Generated Node #2: [20, 71, 25] from Operation: 75/3=25
Current State: 66:[20, 71, 25], Operations: ['75/3=25']
Exploring Operation: 20+71=91, Resulting Numbers: [25, 91]
Generated Node #3: [25, 91] from Operation: 20+71=91
Current State: 66:[25, 91], Operations: ['75/3=25', '20+71=91']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[75, 20, 3, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [20, 3, 4]
Generated Node #0,0: 66:[20, 3, 4] Operation: 75-71=4
Exploring Operation: 75-3=72, Resulting Numbers: [20, 71, 72]
Generated Node #0,1: 66:[20, 71, 72] Operation: 75-3=72
Exploring Operation: 71-3=68, Resulting Numbers: [75, 20, 68]
Generated Node #0,2: 66:[75, 20, 68] Operation: 71-3=68
Exploring Operation: 75/3=25, Resulting Numbers: [20, 71, 25]
Generated Node #0,3: 66:[20, 71, 25] Operation: 75/3=25
Moving to Node #0,0
Current State: 66:[20, 3, 4], Operations: ['75-71=4']
Exploring Operation: 20+4=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 66:[3, 24] Operation: 20+4=24
Exploring Operation: 3+4=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 66:[20, 7] Operation: 3+4=7
Exploring Operation: 20+3=23, Resulting Numbers: [4, 23]
Generated Node #0,0,2: 66:[4, 23] Operation: 20+3=23
Exploring Operation: 20/4=5, Resulting Numbers: [3, 5]
Generated Node #0,0,3: 66:[3, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[3, 5], Operations: ['75-71=4', '20/4=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[3, 24], Operations: ['75-71=4', '20+4=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[4, 23], Operations: ['75-71=4', '20+3=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[20, 7], Operations: ['75-71=4', '3+4=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,66 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: 66:[20, 71, 25], Operations: ['75/3=25']
Exploring Operation: 25-20=5, Resulting Numbers: [71, 5]
Generated Node #0,3,0: 66:[71, 5] Operation: 25-20=5
Exploring Operation: 20+25=45, Resulting Numbers: [71, 45]
Generated Node #0,3,1: 66:[71, 45] Operation: 20+25=45
Exploring Operation: 71-20=51, Resulting Numbers: [25, 51]
Generated Node #0,3,2: 66:[25, 51] Operation: 71-20=51
Exploring Operation: 71-25=46, Resulting Numbers: [20, 46]
Generated Node #0,3,3: 66:[20, 46] Operation: 71-25=46
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[71, 5], Operations: ['75/3=25', '25-20=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[75, 20, 3, 71], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [20, 71, 25]
Generated Node #0,3: 66:[20, 71, 25] Operation: 75/3=25
Moving to Node #0,3
Current State: 66:[20, 71, 25], Operations: ['75/3=25']
Exploring Operation: 25-20=5, Resulting Numbers: [71, 5]
Generated Node #0,3,0: 66:[71, 5] Operation: 25-20=5
Moving to Node #0,3,0
Current State: 66:[71, 5], Operations: ['75/3=25', '25-20=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
11,
11,
13,
43
] | 52 | [
"11+11=22",
"43-13=30",
"22+30=52"
] | Current State: 52:[11, 11, 13, 43], Operations: []
Exploring Operation: 11+11=22, Resulting Numbers: [13, 43, 22]
Generated Node #2: [13, 43, 22] from Operation: 11+11=22
Current State: 52:[13, 43, 22], Operations: ['11+11=22']
Exploring Operation: 43-13=30, Resulting Numbers: [22, 30]
Generated Node #3: [22, 30] from Operation: 43-13=30
Current State: 52:[22, 30], Operations: ['11+11=22', '43-13=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 11, 13, 43], Operations: []
Exploring Operation: 11+43=54, Resulting Numbers: [11, 13, 54]
Generated Node #0,0: 52:[11, 13, 54] Operation: 11+43=54
Exploring Operation: 11+43=54, Resulting Numbers: [11, 13, 54]
Generated Node #0,1: 52:[11, 13, 54] Operation: 11+43=54
Moving to Node #0,0
Current State: 52:[11, 13, 54], Operations: ['11+43=54']
Exploring Operation: 13-11=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 52:[54, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [54, 24]
Generated Node #0,0,1: 52:[54, 24] Operation: 11+13=24
Moving to Node #0,1
Current State: 52:[11, 13, 54], Operations: ['11+43=54']
Exploring Operation: 13-11=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 52:[54, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [54, 24]
Generated Node #0,1,1: 52:[54, 24] Operation: 11+13=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[54, 2], Operations: ['11+43=54', '13-11=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[11, 11, 13, 43], Operations: []
Exploring Operation: 11+43=54, Resulting Numbers: [11, 13, 54]
Generated Node #0,1: 52:[11, 13, 54] Operation: 11+43=54
Moving to Node #0,1
Current State: 52:[11, 13, 54], Operations: ['11+43=54']
Exploring Operation: 13-11=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 52:[54, 2] Operation: 13-11=2
Moving to Node #0,1,0
Current State: 52:[54, 2], Operations: ['11+43=54', '13-11=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
62,
72,
16,
82
] | 98 | [
"82-72=10",
"16*10=160",
"160-62=98"
] | Current State: 98:[62, 72, 16, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [62, 16, 10]
Generated Node #2: [62, 16, 10] from Operation: 82-72=10
Current State: 98:[62, 16, 10], Operations: ['82-72=10']
Exploring Operation: 16*10=160, Resulting Numbers: [62, 160]
Generated Node #3: [62, 160] from Operation: 16*10=160
Current State: 98:[62, 160], Operations: ['82-72=10', '16*10=160']
Exploring Operation: 160-62=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[62, 72, 16, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [62, 16, 10]
Generated Node #0,0: 98:[62, 16, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[62, 16, 10], Operations: ['82-72=10']
Exploring Operation: 62-10=52, Resulting Numbers: [16, 52]
Generated Node #0,0,0: 98:[16, 52] Operation: 62-10=52
Moving to Node #0,0,0
Current State: 98:[16, 52], Operations: ['82-72=10', '62-10=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,98 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 |
[
94,
49,
36,
65
] | 74 | [
"94-49=45",
"65-36=29",
"45+29=74"
] | Current State: 74:[94, 49, 36, 65], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [36, 65, 45]
Generated Node #2: [36, 65, 45] from Operation: 94-49=45
Current State: 74:[36, 65, 45], Operations: ['94-49=45']
Exploring Operation: 65-36=29, Resulting Numbers: [45, 29]
Generated Node #3: [45, 29] from Operation: 65-36=29
Current State: 74:[45, 29], Operations: ['94-49=45', '65-36=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[94, 49, 36, 65], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [49, 36, 29]
Generated Node #0,0: 74:[49, 36, 29] Operation: 94-65=29
Exploring Operation: 65-49=16, Resulting Numbers: [94, 36, 16]
Generated Node #0,1: 74:[94, 36, 16] Operation: 65-49=16
Exploring Operation: 94-49=45, Resulting Numbers: [36, 65, 45]
Generated Node #0,2: 74:[36, 65, 45] Operation: 94-49=45
Moving to Node #0,2
Current State: 74:[36, 65, 45], Operations: ['94-49=45']
Exploring Operation: 65-36=29, Resulting Numbers: [45, 29]
Generated Node #0,2,0: 74:[45, 29] Operation: 65-36=29
Exploring Operation: 45-36=9, Resulting Numbers: [65, 9]
Generated Node #0,2,1: 74:[65, 9] Operation: 45-36=9
Exploring Operation: 36+45=81, Resulting Numbers: [65, 81]
Generated Node #0,2,2: 74:[65, 81] Operation: 36+45=81
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[45, 29], Operations: ['94-49=45', '65-36=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[94, 49, 36, 65], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [36, 65, 45]
Generated Node #0,2: 74:[36, 65, 45] Operation: 94-49=45
Moving to Node #0,2
Current State: 74:[36, 65, 45], Operations: ['94-49=45']
Exploring Operation: 65-36=29, Resulting Numbers: [45, 29]
Generated Node #0,2,0: 74:[45, 29] Operation: 65-36=29
Moving to Node #0,2,0
Current State: 74:[45, 29], Operations: ['94-49=45', '65-36=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
23,
6,
15,
70
] | 53 | [
"23*6=138",
"15+70=85",
"138-85=53"
] | Current State: 53:[23, 6, 15, 70], Operations: []
Exploring Operation: 23*6=138, Resulting Numbers: [15, 70, 138]
Generated Node #2: [15, 70, 138] from Operation: 23*6=138
Current State: 53:[15, 70, 138], Operations: ['23*6=138']
Exploring Operation: 15+70=85, Resulting Numbers: [138, 85]
Generated Node #3: [138, 85] from Operation: 15+70=85
Current State: 53:[138, 85], Operations: ['23*6=138', '15+70=85']
Exploring Operation: 138-85=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[23, 6, 15, 70], Operations: []
Exploring Operation: 23+15=38, Resulting Numbers: [6, 70, 38]
Generated Node #0,0: 53:[6, 70, 38] Operation: 23+15=38
Exploring Operation: 23+6=29, Resulting Numbers: [15, 70, 29]
Generated Node #0,1: 53:[15, 70, 29] Operation: 23+6=29
Exploring Operation: 70-6=64, Resulting Numbers: [23, 15, 64]
Generated Node #0,2: 53:[23, 15, 64] Operation: 70-6=64
Exploring Operation: 6+15=21, Resulting Numbers: [23, 70, 21]
Generated Node #0,3: 53:[23, 70, 21] Operation: 6+15=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[6, 70, 38], Operations: ['23+15=38']
Exploring Operation: 6+70=76, Resulting Numbers: [38, 76]
Generated Node #0,0,0: 53:[38, 76] Operation: 6+70=76
Exploring Operation: 38-6=32, Resulting Numbers: [70, 32]
Generated Node #0,0,1: 53:[70, 32] Operation: 38-6=32
Exploring Operation: 70-6=64, Resulting Numbers: [38, 64]
Generated Node #0,0,2: 53:[38, 64] Operation: 70-6=64
Exploring Operation: 6+38=44, Resulting Numbers: [70, 44]
Generated Node #0,0,3: 53:[70, 44] Operation: 6+38=44
Moving to Node #0,0,2
Current State: 53:[38, 64], Operations: ['23+15=38', '70-6=64']
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,53 unequal: No Solution
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[70, 44], Operations: ['23+15=38', '6+38=44']
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,53 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[70, 32], Operations: ['23+15=38', '38-6=32']
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[38, 76], Operations: ['23+15=38', '6+70=76']
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,53 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,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:[15, 70, 29], Operations: ['23+6=29']
Exploring Operation: 15+29=44, Resulting Numbers: [70, 44]
Generated Node #0,1,0: 53:[70, 44] Operation: 15+29=44
Exploring Operation: 70-29=41, Resulting Numbers: [15, 41]
Generated Node #0,1,1: 53:[15, 41] Operation: 70-29=41
Exploring Operation: 70-15=55, Resulting Numbers: [29, 55]
Generated Node #0,1,2: 53:[29, 55] Operation: 70-15=55
Exploring Operation: 15+70=85, Resulting Numbers: [29, 85]
Generated Node #0,1,3: 53:[29, 85] Operation: 15+70=85
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[70, 44], Operations: ['23+6=29', '15+29=44']
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,53 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,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,2
Current State: 53:[29, 55], Operations: ['23+6=29', '70-15=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,53 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,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:[15, 41], Operations: ['23+6=29', '70-29=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,53 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,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:[29, 85], Operations: ['23+6=29', '15+70=85']
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,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:[23, 15, 64], Operations: ['70-6=64']
Exploring Operation: 23-15=8, Resulting Numbers: [64, 8]
Generated Node #0,2,0: 53:[64, 8] Operation: 23-15=8
Exploring Operation: 64-23=41, Resulting Numbers: [15, 41]
Generated Node #0,2,1: 53:[15, 41] Operation: 64-23=41
Exploring Operation: 23+15=38, Resulting Numbers: [64, 38]
Generated Node #0,2,2: 53:[64, 38] Operation: 23+15=38
Exploring Operation: 64-15=49, Resulting Numbers: [23, 49]
Generated Node #0,2,3: 53:[23, 49] Operation: 64-15=49
Moving to Node #0,2,2
Current State: 53:[64, 38], Operations: ['70-6=64', '23+15=38']
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,53 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[23, 49], Operations: ['70-6=64', '64-15=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[15, 41], Operations: ['70-6=64', '64-23=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,53 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[64, 8], Operations: ['70-6=64', '23-15=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,53 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,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:[23, 70, 21], Operations: ['6+15=21']
Exploring Operation: 70-21=49, Resulting Numbers: [23, 49]
Generated Node #0,3,0: 53:[23, 49] Operation: 70-21=49
Exploring Operation: 23+21=44, Resulting Numbers: [70, 44]
Generated Node #0,3,1: 53:[70, 44] Operation: 23+21=44
Exploring Operation: 70-23=47, Resulting Numbers: [21, 47]
Generated Node #0,3,2: 53:[21, 47] Operation: 70-23=47
Exploring Operation: 23-21=2, Resulting Numbers: [70, 2]
Generated Node #0,3,3: 53:[70, 2] Operation: 23-21=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[70, 44], Operations: ['6+15=21', '23+21=44']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,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,3,0
Current State: 53:[23, 49], Operations: ['6+15=21', '70-21=49']
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,53 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,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,3,2
Current State: 53:[21, 47], Operations: ['6+15=21', '70-23=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,53 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,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,3,3
Current State: 53:[70, 2], Operations: ['6+15=21', '23-21=2']
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.