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 |
|---|---|---|---|---|---|---|---|---|
[
41,
15,
27,
91
] | 90 | [
"41-15=26",
"91-27=64",
"26+64=90"
] | Current State: 90:[41, 15, 27, 91], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [27, 91, 26]
Generated Node #2: [27, 91, 26] from Operation: 41-15=26
Current State: 90:[27, 91, 26], Operations: ['41-15=26']
Exploring Operation: 91-27=64, Resulting Numbers: [26, 64]
Generated Node #3: [26, 64] from Operation: 91-27=64
Current State: 90:[26, 64], Operations: ['41-15=26', '91-27=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[41, 15, 27, 91], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [15, 91, 14]
Generated Node #0,0: 90:[15, 91, 14] Operation: 41-27=14
Exploring Operation: 27-15=12, Resulting Numbers: [41, 91, 12]
Generated Node #0,1: 90:[41, 91, 12] Operation: 27-15=12
Moving to Node #0,0
Current State: 90:[15, 91, 14], Operations: ['41-27=14']
Exploring Operation: 15+14=29, Resulting Numbers: [91, 29]
Generated Node #0,0,0: 90:[91, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 90:[91, 1] Operation: 15-14=1
Moving to Node #0,1
Current State: 90:[41, 91, 12], Operations: ['27-15=12']
Exploring Operation: 91-41=50, Resulting Numbers: [12, 50]
Generated Node #0,1,0: 90:[12, 50] Operation: 91-41=50
Exploring Operation: 41-12=29, Resulting Numbers: [91, 29]
Generated Node #0,1,1: 90:[91, 29] Operation: 41-12=29
Moving to Node #0,0,0
Current State: 90:[91, 29], Operations: ['41-27=14', '15+14=29']
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[91, 29], Operations: ['27-15=12', '41-12=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,90 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[91, 1], Operations: ['41-27=14', '15-14=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[41, 15, 27, 91], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [15, 91, 14]
Generated Node #0,0: 90:[15, 91, 14] Operation: 41-27=14
Moving to Node #0,0
Current State: 90:[15, 91, 14], Operations: ['41-27=14']
Exploring Operation: 15-14=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 90:[91, 1] Operation: 15-14=1
Moving to Node #0,0,1
Current State: 90:[91, 1], Operations: ['41-27=14', '15-14=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
8,
17,
6,
26
] | 35 | [
"8-6=2",
"26*2=52",
"52-17=35"
] | Current State: 35:[8, 17, 6, 26], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [17, 26, 2]
Generated Node #2: [17, 26, 2] from Operation: 8-6=2
Current State: 35:[17, 26, 2], Operations: ['8-6=2']
Exploring Operation: 26*2=52, Resulting Numbers: [17, 52]
Generated Node #3: [17, 52] from Operation: 26*2=52
Current State: 35:[17, 52], Operations: ['8-6=2', '26*2=52']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[8, 17, 6, 26], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [8, 6, 9]
Generated Node #0,0: 35:[8, 6, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[8, 6, 9], Operations: ['26-17=9']
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 35:[8, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 35:[8, 3], Operations: ['26-17=9', '9-6=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
68,
27,
4
] | 34 | [
"78-27=51",
"68/4=17",
"51-17=34"
] | Current State: 34:[78, 68, 27, 4], Operations: []
Exploring Operation: 78-27=51, Resulting Numbers: [68, 4, 51]
Generated Node #2: [68, 4, 51] from Operation: 78-27=51
Current State: 34:[68, 4, 51], Operations: ['78-27=51']
Exploring Operation: 68/4=17, Resulting Numbers: [51, 17]
Generated Node #3: [51, 17] from Operation: 68/4=17
Current State: 34:[51, 17], Operations: ['78-27=51', '68/4=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[78, 68, 27, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [78, 27, 17]
Generated Node #0,0: 34:[78, 27, 17] Operation: 68/4=17
Exploring Operation: 78-68=10, Resulting Numbers: [27, 4, 10]
Generated Node #0,1: 34:[27, 4, 10] Operation: 78-68=10
Exploring Operation: 78-27=51, Resulting Numbers: [68, 4, 51]
Generated Node #0,2: 34:[68, 4, 51] Operation: 78-27=51
Exploring Operation: 68-27=41, Resulting Numbers: [78, 4, 41]
Generated Node #0,3: 34:[78, 4, 41] Operation: 68-27=41
Exploring Operation: 78-4=74, Resulting Numbers: [68, 27, 74]
Generated Node #0,4: 34:[68, 27, 74] Operation: 78-4=74
Moving to Node #0,1
Current State: 34:[27, 4, 10], Operations: ['78-68=10']
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 34:[4, 17] Operation: 27-10=17
Exploring Operation: 27+4=31, Resulting Numbers: [10, 31]
Generated Node #0,1,1: 34:[10, 31] Operation: 27+4=31
Exploring Operation: 27+10=37, Resulting Numbers: [4, 37]
Generated Node #0,1,2: 34:[4, 37] Operation: 27+10=37
Exploring Operation: 4+10=14, Resulting Numbers: [27, 14]
Generated Node #0,1,3: 34:[27, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [27, 6]
Generated Node #0,1,4: 34:[27, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[4, 17], Operations: ['78-68=10', '27-10=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[4, 37], Operations: ['78-68=10', '27+10=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[10, 31], Operations: ['78-68=10', '27+4=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,34 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[27, 14], Operations: ['78-68=10', '4+10=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[27, 6], Operations: ['78-68=10', '10-4=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,34 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,34 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: 34:[78, 27, 17], Operations: ['68/4=17']
Exploring Operation: 27-17=10, Resulting Numbers: [78, 10]
Generated Node #0,0,0: 34:[78, 10] Operation: 27-17=10
Exploring Operation: 78-17=61, Resulting Numbers: [27, 61]
Generated Node #0,0,1: 34:[27, 61] Operation: 78-17=61
Exploring Operation: 78-27=51, Resulting Numbers: [17, 51]
Generated Node #0,0,2: 34:[17, 51] Operation: 78-27=51
Exploring Operation: 27+17=44, Resulting Numbers: [78, 44]
Generated Node #0,0,3: 34:[78, 44] Operation: 27+17=44
Exploring Operation: 78+17=95, Resulting Numbers: [27, 95]
Generated Node #0,0,4: 34:[27, 95] Operation: 78+17=95
Moving to Node #0,2
Current State: 34:[68, 4, 51], Operations: ['78-27=51']
Exploring Operation: 68-51=17, Resulting Numbers: [4, 17]
Generated Node #0,2,0: 34:[4, 17] Operation: 68-51=17
Exploring Operation: 51-4=47, Resulting Numbers: [68, 47]
Generated Node #0,2,1: 34:[68, 47] Operation: 51-4=47
Exploring Operation: 68-4=64, Resulting Numbers: [51, 64]
Generated Node #0,2,2: 34:[51, 64] Operation: 68-4=64
Exploring Operation: 68+4=72, Resulting Numbers: [51, 72]
Generated Node #0,2,3: 34:[51, 72] Operation: 68+4=72
Exploring Operation: 68/4=17, Resulting Numbers: [51, 17]
Generated Node #0,2,4: 34:[51, 17] Operation: 68/4=17
Moving to Node #0,3
Current State: 34:[78, 4, 41], Operations: ['68-27=41']
Exploring Operation: 4+41=45, Resulting Numbers: [78, 45]
Generated Node #0,3,0: 34:[78, 45] Operation: 4+41=45
Exploring Operation: 41-4=37, Resulting Numbers: [78, 37]
Generated Node #0,3,1: 34:[78, 37] Operation: 41-4=37
Exploring Operation: 78-41=37, Resulting Numbers: [4, 37]
Generated Node #0,3,2: 34:[4, 37] Operation: 78-41=37
Exploring Operation: 78-4=74, Resulting Numbers: [41, 74]
Generated Node #0,3,3: 34:[41, 74] Operation: 78-4=74
Exploring Operation: 78+4=82, Resulting Numbers: [41, 82]
Generated Node #0,3,4: 34:[41, 82] Operation: 78+4=82
Moving to Node #0,4
Current State: 34:[68, 27, 74], Operations: ['78-4=74']
Exploring Operation: 74-27=47, Resulting Numbers: [68, 47]
Generated Node #0,4,0: 34:[68, 47] Operation: 74-27=47
Exploring Operation: 68-27=41, Resulting Numbers: [74, 41]
Generated Node #0,4,1: 34:[74, 41] Operation: 68-27=41
Exploring Operation: 74-68=6, Resulting Numbers: [27, 6]
Generated Node #0,4,2: 34:[27, 6] Operation: 74-68=6
Exploring Operation: 68+27=95, Resulting Numbers: [74, 95]
Generated Node #0,4,3: 34:[74, 95] Operation: 68+27=95
Exploring Operation: 27+74=101, Resulting Numbers: [68, 101]
Generated Node #0,4,4: 34:[68, 101] Operation: 27+74=101
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[27, 6], Operations: ['78-4=74', '74-68=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,34 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[68, 47], Operations: ['78-4=74', '74-27=47']
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,34 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[74, 41], Operations: ['78-4=74', '68-27=41']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,34 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[74, 95], Operations: ['78-4=74', '68+27=95']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 74+95=169, Resulting Numbers: [169]
169,34 unequal: No Solution
Exploring Operation: 74*95=7030, Resulting Numbers: [7030]
7030,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[68, 101], Operations: ['78-4=74', '27+74=101']
Exploring Operation: 68*101=6868, Resulting Numbers: [6868]
6868,34 unequal: No Solution
Exploring Operation: 101-68=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 68+101=169, Resulting Numbers: [169]
169,34 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: 34:[4, 17], Operations: ['78-27=51', '68-51=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[4, 37], Operations: ['68-27=41', '78-41=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,34 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[17, 51], Operations: ['68/4=17', '78-27=51']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[78, 68, 27, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [78, 27, 17]
Generated Node #0,0: 34:[78, 27, 17] Operation: 68/4=17
Moving to Node #0,0
Current State: 34:[78, 27, 17], Operations: ['68/4=17']
Exploring Operation: 78-27=51, Resulting Numbers: [17, 51]
Generated Node #0,0,2: 34:[17, 51] Operation: 78-27=51
Moving to Node #0,0,2
Current State: 34:[17, 51], Operations: ['68/4=17', '78-27=51']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
56,
85,
80,
60
] | 44 | [
"85-80=5",
"60/5=12",
"56-12=44"
] | Current State: 44:[56, 85, 80, 60], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [56, 60, 5]
Generated Node #2: [56, 60, 5] from Operation: 85-80=5
Current State: 44:[56, 60, 5], Operations: ['85-80=5']
Exploring Operation: 60/5=12, Resulting Numbers: [56, 12]
Generated Node #3: [56, 12] from Operation: 60/5=12
Current State: 44:[56, 12], Operations: ['85-80=5', '60/5=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[56, 85, 80, 60], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [56, 80, 25]
Generated Node #0,0: 44:[56, 80, 25] Operation: 85-60=25
Exploring Operation: 85-56=29, Resulting Numbers: [80, 60, 29]
Generated Node #0,1: 44:[80, 60, 29] Operation: 85-56=29
Exploring Operation: 80-56=24, Resulting Numbers: [85, 60, 24]
Generated Node #0,2: 44:[85, 60, 24] Operation: 80-56=24
Exploring Operation: 85-80=5, Resulting Numbers: [56, 60, 5]
Generated Node #0,3: 44:[56, 60, 5] Operation: 85-80=5
Exploring Operation: 80-60=20, Resulting Numbers: [56, 85, 20]
Generated Node #0,4: 44:[56, 85, 20] Operation: 80-60=20
Moving to Node #0,3
Current State: 44:[56, 60, 5], Operations: ['85-80=5']
Exploring Operation: 60/5=12, Resulting Numbers: [56, 12]
Generated Node #0,3,0: 44:[56, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [56, 55]
Generated Node #0,3,1: 44:[56, 55] Operation: 60-5=55
Exploring Operation: 56+5=61, Resulting Numbers: [60, 61]
Generated Node #0,3,2: 44:[60, 61] Operation: 56+5=61
Exploring Operation: 56-5=51, Resulting Numbers: [60, 51]
Generated Node #0,3,3: 44:[60, 51] Operation: 56-5=51
Exploring Operation: 60-56=4, Resulting Numbers: [5, 4]
Generated Node #0,3,4: 44:[5, 4] Operation: 60-56=4
Moving to Node #0,0
Current State: 44:[56, 80, 25], Operations: ['85-60=25']
Exploring Operation: 80-25=55, Resulting Numbers: [56, 55]
Generated Node #0,0,0: 44:[56, 55] Operation: 80-25=55
Exploring Operation: 56-25=31, Resulting Numbers: [80, 31]
Generated Node #0,0,1: 44:[80, 31] Operation: 56-25=31
Exploring Operation: 80-56=24, Resulting Numbers: [25, 24]
Generated Node #0,0,2: 44:[25, 24] Operation: 80-56=24
Exploring Operation: 56+25=81, Resulting Numbers: [80, 81]
Generated Node #0,0,3: 44:[80, 81] Operation: 56+25=81
Exploring Operation: 80+25=105, Resulting Numbers: [56, 105]
Generated Node #0,0,4: 44:[56, 105] Operation: 80+25=105
Moving to Node #0,4
Current State: 44:[56, 85, 20], Operations: ['80-60=20']
Exploring Operation: 85-20=65, Resulting Numbers: [56, 65]
Generated Node #0,4,0: 44:[56, 65] Operation: 85-20=65
Exploring Operation: 85+20=105, Resulting Numbers: [56, 105]
Generated Node #0,4,1: 44:[56, 105] Operation: 85+20=105
Exploring Operation: 56-20=36, Resulting Numbers: [85, 36]
Generated Node #0,4,2: 44:[85, 36] Operation: 56-20=36
Exploring Operation: 85-56=29, Resulting Numbers: [20, 29]
Generated Node #0,4,3: 44:[20, 29] Operation: 85-56=29
Exploring Operation: 56+20=76, Resulting Numbers: [85, 76]
Generated Node #0,4,4: 44:[85, 76] Operation: 56+20=76
Moving to Node #0,1
Current State: 44:[80, 60, 29], Operations: ['85-56=29']
Exploring Operation: 80+29=109, Resulting Numbers: [60, 109]
Generated Node #0,1,0: 44:[60, 109] Operation: 80+29=109
Exploring Operation: 60-29=31, Resulting Numbers: [80, 31]
Generated Node #0,1,1: 44:[80, 31] Operation: 60-29=31
Exploring Operation: 80-29=51, Resulting Numbers: [60, 51]
Generated Node #0,1,2: 44:[60, 51] Operation: 80-29=51
Exploring Operation: 60+29=89, Resulting Numbers: [80, 89]
Generated Node #0,1,3: 44:[80, 89] Operation: 60+29=89
Exploring Operation: 80-60=20, Resulting Numbers: [29, 20]
Generated Node #0,1,4: 44:[29, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 44:[29, 20], Operations: ['85-56=29', '80-60=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,44 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[60, 51], Operations: ['85-56=29', '80-29=51']
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,44 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[80, 31], Operations: ['85-56=29', '60-29=31']
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,44 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[60, 109], Operations: ['85-56=29', '80+29=109']
Exploring Operation: 60+109=169, Resulting Numbers: [169]
169,44 unequal: No Solution
Exploring Operation: 60*109=6540, Resulting Numbers: [6540]
6540,44 unequal: No Solution
Exploring Operation: 109-60=49, Resulting Numbers: [49]
49,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 44:[80, 89], Operations: ['85-56=29', '60+29=89']
Exploring Operation: 80+89=169, Resulting Numbers: [169]
169,44 unequal: No Solution
Exploring Operation: 89-80=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 80*89=7120, Resulting Numbers: [7120]
7120,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 44:[85, 60, 24], Operations: ['80-56=24']
Exploring Operation: 60+24=84, Resulting Numbers: [85, 84]
Generated Node #0,2,0: 44:[85, 84] Operation: 60+24=84
Exploring Operation: 60-24=36, Resulting Numbers: [85, 36]
Generated Node #0,2,1: 44:[85, 36] Operation: 60-24=36
Exploring Operation: 85-60=25, Resulting Numbers: [24, 25]
Generated Node #0,2,2: 44:[24, 25] Operation: 85-60=25
Exploring Operation: 85+24=109, Resulting Numbers: [60, 109]
Generated Node #0,2,3: 44:[60, 109] Operation: 85+24=109
Exploring Operation: 85-24=61, Resulting Numbers: [60, 61]
Generated Node #0,2,4: 44:[60, 61] Operation: 85-24=61
Moving to Node #0,3,4
Current State: 44:[5, 4], Operations: ['85-80=5', '60-56=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[25, 24], Operations: ['85-60=25', '80-56=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[24, 25], Operations: ['80-56=24', '85-60=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,44 unequal: No Solution
Moving to Node #0,4,3
Current State: 44:[20, 29], Operations: ['80-60=20', '85-56=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 20*29=580, Resulting Numbers: [580]
580,44 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[56, 12], Operations: ['85-80=5', '60/5=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[56, 85, 80, 60], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [56, 60, 5]
Generated Node #0,3: 44:[56, 60, 5] Operation: 85-80=5
Moving to Node #0,3
Current State: 44:[56, 60, 5], Operations: ['85-80=5']
Exploring Operation: 60/5=12, Resulting Numbers: [56, 12]
Generated Node #0,3,0: 44:[56, 12] Operation: 60/5=12
Moving to Node #0,3,0
Current State: 44:[56, 12], Operations: ['85-80=5', '60/5=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.945313 | hs_5 | sum_heuristic |
[
12,
37,
58,
10
] | 25 | [
"12*10=120",
"37+58=95",
"120-95=25"
] | Current State: 25:[12, 37, 58, 10], Operations: []
Exploring Operation: 12*10=120, Resulting Numbers: [37, 58, 120]
Generated Node #2: [37, 58, 120] from Operation: 12*10=120
Current State: 25:[37, 58, 120], Operations: ['12*10=120']
Exploring Operation: 37+58=95, Resulting Numbers: [120, 95]
Generated Node #3: [120, 95] from Operation: 37+58=95
Current State: 25:[120, 95], Operations: ['12*10=120', '37+58=95']
Exploring Operation: 120-95=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 37, 58, 10], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [12, 58, 27]
Generated Node #0,0: 25:[12, 58, 27] Operation: 37-10=27
Exploring Operation: 58-10=48, Resulting Numbers: [12, 37, 48]
Generated Node #0,1: 25:[12, 37, 48] Operation: 58-10=48
Exploring Operation: 58-12=46, Resulting Numbers: [37, 10, 46]
Generated Node #0,2: 25:[37, 10, 46] Operation: 58-12=46
Exploring Operation: 58-37=21, Resulting Numbers: [12, 10, 21]
Generated Node #0,3: 25:[12, 10, 21] Operation: 58-37=21
Exploring Operation: 37-12=25, Resulting Numbers: [58, 10, 25]
Generated Node #0,4: 25:[58, 10, 25] Operation: 37-12=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[12, 10, 21], Operations: ['58-37=21']
Exploring Operation: 12+21=33, Resulting Numbers: [10, 33]
Generated Node #0,3,0: 25:[10, 33] Operation: 12+21=33
Exploring Operation: 10+21=31, Resulting Numbers: [12, 31]
Generated Node #0,3,1: 25:[12, 31] Operation: 10+21=31
Exploring Operation: 12-10=2, Resulting Numbers: [21, 2]
Generated Node #0,3,2: 25:[21, 2] Operation: 12-10=2
Exploring Operation: 21-12=9, Resulting Numbers: [10, 9]
Generated Node #0,3,3: 25:[10, 9] Operation: 21-12=9
Exploring Operation: 12+10=22, Resulting Numbers: [21, 22]
Generated Node #0,3,4: 25:[21, 22] Operation: 12+10=22
Moving to Node #0,3,2
Current State: 25:[21, 2], Operations: ['58-37=21', '12-10=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[21, 22], Operations: ['58-37=21', '12+10=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,25 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[10, 9], Operations: ['58-37=21', '21-12=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[10, 33], Operations: ['58-37=21', '12+21=33']
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,25 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[12, 31], Operations: ['58-37=21', '10+21=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,25 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[37, 10, 46], Operations: ['58-12=46']
Exploring Operation: 37+10=47, Resulting Numbers: [46, 47]
Generated Node #0,2,0: 25:[46, 47] Operation: 37+10=47
Exploring Operation: 37-10=27, Resulting Numbers: [46, 27]
Generated Node #0,2,1: 25:[46, 27] Operation: 37-10=27
Exploring Operation: 46-37=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 25:[10, 9] Operation: 46-37=9
Exploring Operation: 46-10=36, Resulting Numbers: [37, 36]
Generated Node #0,2,3: 25:[37, 36] Operation: 46-10=36
Exploring Operation: 10+46=56, Resulting Numbers: [37, 56]
Generated Node #0,2,4: 25:[37, 56] Operation: 10+46=56
Moving to Node #0,2,2
Current State: 25:[10, 9], Operations: ['58-12=46', '46-37=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[37, 36], Operations: ['58-12=46', '46-10=36']
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,25 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[46, 27], Operations: ['58-12=46', '37-10=27']
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[46, 47], Operations: ['58-12=46', '37+10=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[37, 56], Operations: ['58-12=46', '10+46=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[58, 10, 25], Operations: ['37-12=25']
Exploring Operation: 58-25=33, Resulting Numbers: [10, 33]
Generated Node #0,4,0: 25:[10, 33] Operation: 58-25=33
Exploring Operation: 58-10=48, Resulting Numbers: [25, 48]
Generated Node #0,4,1: 25:[25, 48] Operation: 58-10=48
Exploring Operation: 10+25=35, Resulting Numbers: [58, 35]
Generated Node #0,4,2: 25:[58, 35] Operation: 10+25=35
Exploring Operation: 58+10=68, Resulting Numbers: [25, 68]
Generated Node #0,4,3: 25:[25, 68] Operation: 58+10=68
Exploring Operation: 25-10=15, Resulting Numbers: [58, 15]
Generated Node #0,4,4: 25:[58, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[10, 33], Operations: ['37-12=25', '58-25=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[25, 48], Operations: ['37-12=25', '58-10=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,25 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[58, 35], Operations: ['37-12=25', '10+25=35']
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,25 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[25, 68], Operations: ['37-12=25', '58+10=68']
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[58, 15], Operations: ['37-12=25', '25-10=15']
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,25 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 58, 27], Operations: ['37-10=27']
Exploring Operation: 12+27=39, Resulting Numbers: [58, 39]
Generated Node #0,0,0: 25:[58, 39] Operation: 12+27=39
Exploring Operation: 58-27=31, Resulting Numbers: [12, 31]
Generated Node #0,0,1: 25:[12, 31] Operation: 58-27=31
Exploring Operation: 58-12=46, Resulting Numbers: [27, 46]
Generated Node #0,0,2: 25:[27, 46] Operation: 58-12=46
Exploring Operation: 27-12=15, Resulting Numbers: [58, 15]
Generated Node #0,0,3: 25:[58, 15] Operation: 27-12=15
Exploring Operation: 12+58=70, Resulting Numbers: [27, 70]
Generated Node #0,0,4: 25:[27, 70] Operation: 12+58=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[12, 31], Operations: ['37-10=27', '58-27=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,25 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[27, 46], Operations: ['37-10=27', '58-12=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,25 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[58, 15], Operations: ['37-10=27', '27-12=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,25 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[58, 39], Operations: ['37-10=27', '12+27=39']
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,25 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 25:[27, 70], Operations: ['37-10=27', '12+58=70']
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,25 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[12, 37, 48], Operations: ['58-10=48']
Exploring Operation: 12+37=49, Resulting Numbers: [48, 49]
Generated Node #0,1,0: 25:[48, 49] Operation: 12+37=49
Exploring Operation: 48/12=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 25:[37, 4] Operation: 48/12=4
Exploring Operation: 48-37=11, Resulting Numbers: [12, 11]
Generated Node #0,1,2: 25:[12, 11] Operation: 48-37=11
Exploring Operation: 48-12=36, Resulting Numbers: [37, 36]
Generated Node #0,1,3: 25:[37, 36] Operation: 48-12=36
Exploring Operation: 37-12=25, Resulting Numbers: [48, 25]
Generated Node #0,1,4: 25:[48, 25] Operation: 37-12=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[37, 4], Operations: ['58-10=48', '48/12=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[12, 11], Operations: ['58-10=48', '48-37=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[37, 36], Operations: ['58-10=48', '48-12=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 25:[48, 25], Operations: ['58-10=48', '37-12=25']
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,25 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[48, 49], Operations: ['58-10=48', '12+37=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,25 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
64,
43,
4
] | 31 | [
"43-28=15",
"64/4=16",
"15+16=31"
] | Current State: 31:[28, 64, 43, 4], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [64, 4, 15]
Generated Node #2: [64, 4, 15] from Operation: 43-28=15
Current State: 31:[64, 4, 15], Operations: ['43-28=15']
Exploring Operation: 64/4=16, Resulting Numbers: [15, 16]
Generated Node #3: [15, 16] from Operation: 64/4=16
Current State: 31:[15, 16], Operations: ['43-28=15', '64/4=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[28, 64, 43, 4], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [28, 4, 21]
Generated Node #0,0: 31:[28, 4, 21] Operation: 64-43=21
Exploring Operation: 64-28=36, Resulting Numbers: [43, 4, 36]
Generated Node #0,1: 31:[43, 4, 36] Operation: 64-28=36
Exploring Operation: 64/4=16, Resulting Numbers: [28, 43, 16]
Generated Node #0,2: 31:[28, 43, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[28, 43, 16], Operations: ['64/4=16']
Exploring Operation: 43-16=27, Resulting Numbers: [28, 27]
Generated Node #0,2,0: 31:[28, 27] Operation: 43-16=27
Exploring Operation: 43-28=15, Resulting Numbers: [16, 15]
Generated Node #0,2,1: 31:[16, 15] Operation: 43-28=15
Exploring Operation: 28+16=44, Resulting Numbers: [43, 44]
Generated Node #0,2,2: 31:[43, 44] Operation: 28+16=44
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[28, 27], Operations: ['64/4=16', '43-16=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[43, 44], Operations: ['64/4=16', '28+16=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,31 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[16, 15], Operations: ['64/4=16', '43-28=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[28, 64, 43, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [28, 43, 16]
Generated Node #0,2: 31:[28, 43, 16] Operation: 64/4=16
Moving to Node #0,2
Current State: 31:[28, 43, 16], Operations: ['64/4=16']
Exploring Operation: 43-28=15, Resulting Numbers: [16, 15]
Generated Node #0,2,1: 31:[16, 15] Operation: 43-28=15
Moving to Node #0,2,1
Current State: 31:[16, 15], Operations: ['64/4=16', '43-28=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
22,
47,
92,
44
] | 43 | [
"44/22=2",
"92-47=45",
"45-2=43"
] | Current State: 43:[22, 47, 92, 44], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [47, 92, 2]
Generated Node #2: [47, 92, 2] from Operation: 44/22=2
Current State: 43:[47, 92, 2], Operations: ['44/22=2']
Exploring Operation: 92-47=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 92-47=45
Current State: 43:[2, 45], Operations: ['44/22=2', '92-47=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[22, 47, 92, 44], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [22, 44, 45]
Generated Node #0,0: 43:[22, 44, 45] Operation: 92-47=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[22, 44, 45], Operations: ['92-47=45']
Exploring Operation: 45-22=23, Resulting Numbers: [44, 23]
Generated Node #0,0,0: 43:[44, 23] Operation: 45-22=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[44, 23], Operations: ['92-47=45', '45-22=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
2,
51,
86
] | 17 | [
"50+2=52",
"86-51=35",
"52-35=17"
] | Current State: 17:[50, 2, 51, 86], Operations: []
Exploring Operation: 50+2=52, Resulting Numbers: [51, 86, 52]
Generated Node #2: [51, 86, 52] from Operation: 50+2=52
Current State: 17:[51, 86, 52], Operations: ['50+2=52']
Exploring Operation: 86-51=35, Resulting Numbers: [52, 35]
Generated Node #3: [52, 35] from Operation: 86-51=35
Current State: 17:[52, 35], Operations: ['50+2=52', '86-51=35']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[50, 2, 51, 86], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [50, 2, 35]
Generated Node #0,0: 17:[50, 2, 35] Operation: 86-51=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[50, 2, 35], Operations: ['86-51=35']
Exploring Operation: 50-35=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 17:[2, 15] Operation: 50-35=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[2, 15], Operations: ['86-51=35', '50-35=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[50, 2, 51, 86], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [50, 2, 35]
Generated Node #0,0: 17:[50, 2, 35] Operation: 86-51=35
Moving to Node #0,0
Current State: 17:[50, 2, 35], Operations: ['86-51=35']
Exploring Operation: 50-35=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 17:[2, 15] Operation: 50-35=15
Moving to Node #0,0,0
Current State: 17:[2, 15], Operations: ['86-51=35', '50-35=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
28,
98,
41
] | 47 | [
"38-28=10",
"98-41=57",
"57-10=47"
] | Current State: 47:[38, 28, 98, 41], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [98, 41, 10]
Generated Node #2: [98, 41, 10] from Operation: 38-28=10
Current State: 47:[98, 41, 10], Operations: ['38-28=10']
Exploring Operation: 98-41=57, Resulting Numbers: [10, 57]
Generated Node #3: [10, 57] from Operation: 98-41=57
Current State: 47:[10, 57], Operations: ['38-28=10', '98-41=57']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 28, 98, 41], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [28, 41, 60]
Generated Node #0,0: 47:[28, 41, 60] Operation: 98-38=60
Exploring Operation: 98-28=70, Resulting Numbers: [38, 41, 70]
Generated Node #0,1: 47:[38, 41, 70] Operation: 98-28=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[28, 41, 60], Operations: ['98-38=60']
Exploring Operation: 28+41=69, Resulting Numbers: [60, 69]
Generated Node #0,0,0: 47:[60, 69] Operation: 28+41=69
Exploring Operation: 60-28=32, Resulting Numbers: [41, 32]
Generated Node #0,0,1: 47:[41, 32] Operation: 60-28=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[41, 32], Operations: ['98-38=60', '60-28=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[60, 69], Operations: ['98-38=60', '28+41=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[38, 41, 70], Operations: ['98-28=70']
Exploring Operation: 70-38=32, Resulting Numbers: [41, 32]
Generated Node #0,1,0: 47:[41, 32] Operation: 70-38=32
Exploring Operation: 70-41=29, Resulting Numbers: [38, 29]
Generated Node #0,1,1: 47:[38, 29] Operation: 70-41=29
Moving to Node #0,1,0
Current State: 47:[41, 32], Operations: ['98-28=70', '70-38=32']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[38, 29], Operations: ['98-28=70', '70-41=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
80,
74,
44
] | 28 | [
"10+80=90",
"74+44=118",
"118-90=28"
] | Current State: 28:[10, 80, 74, 44], Operations: []
Exploring Operation: 10+80=90, Resulting Numbers: [74, 44, 90]
Generated Node #2: [74, 44, 90] from Operation: 10+80=90
Current State: 28:[74, 44, 90], Operations: ['10+80=90']
Exploring Operation: 74+44=118, Resulting Numbers: [90, 118]
Generated Node #3: [90, 118] from Operation: 74+44=118
Current State: 28:[90, 118], Operations: ['10+80=90', '74+44=118']
Exploring Operation: 118-90=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[10, 80, 74, 44], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [74, 44, 8]
Generated Node #0,0: 28:[74, 44, 8] Operation: 80/10=8
Exploring Operation: 80-74=6, Resulting Numbers: [10, 44, 6]
Generated Node #0,1: 28:[10, 44, 6] Operation: 80-74=6
Exploring Operation: 74-44=30, Resulting Numbers: [10, 80, 30]
Generated Node #0,2: 28:[10, 80, 30] Operation: 74-44=30
Exploring Operation: 80-44=36, Resulting Numbers: [10, 74, 36]
Generated Node #0,3: 28:[10, 74, 36] Operation: 80-44=36
Moving to Node #0,1
Current State: 28:[10, 44, 6], Operations: ['80-74=6']
Exploring Operation: 44-6=38, Resulting Numbers: [10, 38]
Generated Node #0,1,0: 28:[10, 38] Operation: 44-6=38
Exploring Operation: 10-6=4, Resulting Numbers: [44, 4]
Generated Node #0,1,1: 28:[44, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [44, 16]
Generated Node #0,1,2: 28:[44, 16] Operation: 10+6=16
Exploring Operation: 44-10=34, Resulting Numbers: [6, 34]
Generated Node #0,1,3: 28:[6, 34] Operation: 44-10=34
Moving to Node #0,3
Current State: 28:[10, 74, 36], Operations: ['80-44=36']
Exploring Operation: 10+74=84, Resulting Numbers: [36, 84]
Generated Node #0,3,0: 28:[36, 84] Operation: 10+74=84
Exploring Operation: 74-10=64, Resulting Numbers: [36, 64]
Generated Node #0,3,1: 28:[36, 64] Operation: 74-10=64
Exploring Operation: 36-10=26, Resulting Numbers: [74, 26]
Generated Node #0,3,2: 28:[74, 26] Operation: 36-10=26
Exploring Operation: 74-36=38, Resulting Numbers: [10, 38]
Generated Node #0,3,3: 28:[10, 38] Operation: 74-36=38
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[10, 38], Operations: ['80-44=36', '74-36=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[10, 80, 74, 44], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [10, 74, 36]
Generated Node #0,3: 28:[10, 74, 36] Operation: 80-44=36
Moving to Node #0,3
Current State: 28:[10, 74, 36], Operations: ['80-44=36']
Exploring Operation: 74-36=38, Resulting Numbers: [10, 38]
Generated Node #0,3,3: 28:[10, 38] Operation: 74-36=38
Moving to Node #0,3,3
Current State: 28:[10, 38], Operations: ['80-44=36', '74-36=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
51,
27,
78,
85
] | 33 | [
"27*85=2295",
"2295/51=45",
"78-45=33"
] | Current State: 33:[51, 27, 78, 85], Operations: []
Exploring Operation: 27*85=2295, Resulting Numbers: [51, 78, 2295]
Generated Node #2: [51, 78, 2295] from Operation: 27*85=2295
Current State: 33:[51, 78, 2295], Operations: ['27*85=2295']
Exploring Operation: 2295/51=45, Resulting Numbers: [78, 45]
Generated Node #3: [78, 45] from Operation: 2295/51=45
Current State: 33:[78, 45], Operations: ['27*85=2295', '2295/51=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[51, 27, 78, 85], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [27, 85, 27]
Generated Node #0,0: 33:[27, 85, 27] Operation: 78-51=27
Exploring Operation: 85-78=7, Resulting Numbers: [51, 27, 7]
Generated Node #0,1: 33:[51, 27, 7] Operation: 85-78=7
Exploring Operation: 85-51=34, Resulting Numbers: [27, 78, 34]
Generated Node #0,2: 33:[27, 78, 34] Operation: 85-51=34
Exploring Operation: 78-27=51, Resulting Numbers: [51, 85, 51]
Generated Node #0,3: 33:[51, 85, 51] Operation: 78-27=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[51, 27, 7], Operations: ['85-78=7']
Exploring Operation: 51-7=44, Resulting Numbers: [27, 44]
Generated Node #0,1,0: 33:[27, 44] Operation: 51-7=44
Exploring Operation: 51-27=24, Resulting Numbers: [7, 24]
Generated Node #0,1,1: 33:[7, 24] Operation: 51-27=24
Exploring Operation: 27-7=20, Resulting Numbers: [51, 20]
Generated Node #0,1,2: 33:[51, 20] Operation: 27-7=20
Exploring Operation: 27+7=34, Resulting Numbers: [51, 34]
Generated Node #0,1,3: 33:[51, 34] Operation: 27+7=34
Moving to Node #0,1,1
Current State: 33:[7, 24], Operations: ['85-78=7', '51-27=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[27, 44], Operations: ['85-78=7', '51-7=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[51, 34], Operations: ['85-78=7', '27+7=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[51, 20], Operations: ['85-78=7', '27-7=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,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,2
Current State: 33:[27, 78, 34], Operations: ['85-51=34']
Exploring Operation: 27+78=105, Resulting Numbers: [34, 105]
Generated Node #0,2,0: 33:[34, 105] Operation: 27+78=105
Exploring Operation: 34-27=7, Resulting Numbers: [78, 7]
Generated Node #0,2,1: 33:[78, 7] Operation: 34-27=7
Exploring Operation: 78-34=44, Resulting Numbers: [27, 44]
Generated Node #0,2,2: 33:[27, 44] Operation: 78-34=44
Exploring Operation: 78-27=51, Resulting Numbers: [34, 51]
Generated Node #0,2,3: 33:[34, 51] Operation: 78-27=51
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[27, 44], Operations: ['85-51=34', '78-34=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,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,2,3
Current State: 33:[34, 51], Operations: ['85-51=34', '78-27=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,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,2,1
Current State: 33:[78, 7], Operations: ['85-51=34', '34-27=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,33 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,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,2,0
Current State: 33:[34, 105], Operations: ['85-51=34', '27+78=105']
Exploring Operation: 34+105=139, Resulting Numbers: [139]
139,33 unequal: No Solution
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 34*105=3570, Resulting Numbers: [3570]
3570,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,0
Current State: 33:[27, 85, 27], Operations: ['78-51=27']
Exploring Operation: 85-27=58, Resulting Numbers: [27, 58]
Generated Node #0,0,0: 33:[27, 58] Operation: 85-27=58
Exploring Operation: 27-27=0, Resulting Numbers: [85, 0]
Generated Node #0,0,1: 33:[85, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [85, 1]
Generated Node #0,0,2: 33:[85, 1] Operation: 27/27=1
Exploring Operation: 85-27=58, Resulting Numbers: [27, 58]
Generated Node #0,0,3: 33:[27, 58] Operation: 85-27=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[27, 58], Operations: ['78-51=27', '85-27=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,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:[27, 58], Operations: ['78-51=27', '85-27=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,33 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,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:[85, 1], Operations: ['78-51=27', '27/27=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,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:[85, 0], Operations: ['78-51=27', '27-27=0']
Exploring Operation: 85*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 85-0=85, Resulting Numbers: [85]
85,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:[51, 85, 51], Operations: ['78-27=51']
Exploring Operation: 85-51=34, Resulting Numbers: [51, 34]
Generated Node #0,3,0: 33:[51, 34] Operation: 85-51=34
Exploring Operation: 51/51=1, Resulting Numbers: [85, 1]
Generated Node #0,3,1: 33:[85, 1] Operation: 51/51=1
Exploring Operation: 85-51=34, Resulting Numbers: [51, 34]
Generated Node #0,3,2: 33:[51, 34] Operation: 85-51=34
Exploring Operation: 51-51=0, Resulting Numbers: [85, 0]
Generated Node #0,3,3: 33:[85, 0] Operation: 51-51=0
Moving to Node #0,3,0
Current State: 33:[51, 34], Operations: ['78-27=51', '85-51=34']
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,33 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[51, 34], Operations: ['78-27=51', '85-51=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[85, 1], Operations: ['78-27=51', '51/51=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[85, 0], Operations: ['78-27=51', '51-51=0']
Exploring Operation: 85*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 85-0=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
89,
5,
90
] | 22 | [
"89-69=20",
"90+20=110",
"110/5=22"
] | Current State: 22:[69, 89, 5, 90], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [5, 90, 20]
Generated Node #2: [5, 90, 20] from Operation: 89-69=20
Current State: 22:[5, 90, 20], Operations: ['89-69=20']
Exploring Operation: 90+20=110, Resulting Numbers: [5, 110]
Generated Node #3: [5, 110] from Operation: 90+20=110
Current State: 22:[5, 110], Operations: ['89-69=20', '90+20=110']
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[69, 89, 5, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [69, 5, 1]
Generated Node #0,0: 22:[69, 5, 1] Operation: 90-89=1
Moving to Node #0,0
Current State: 22:[69, 5, 1], Operations: ['90-89=1']
Exploring Operation: 69-5=64, Resulting Numbers: [1, 64]
Generated Node #0,0,0: 22:[1, 64] Operation: 69-5=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[1, 64], Operations: ['90-89=1', '69-5=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
18,
87,
87
] | 95 | [
"87-87=0",
"18*0=0",
"95+0=95"
] | Current State: 95:[95, 18, 87, 87], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [95, 18, 0]
Generated Node #2: [95, 18, 0] from Operation: 87-87=0
Current State: 95:[95, 18, 0], Operations: ['87-87=0']
Exploring Operation: 18*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 18*0=0
Current State: 95:[95, 0], Operations: ['87-87=0', '18*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[95, 18, 87, 87], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [95, 18, 1]
Generated Node #0,0: 95:[95, 18, 1] Operation: 87/87=1
Moving to Node #0,0
Current State: 95:[95, 18, 1], Operations: ['87/87=1']
Exploring Operation: 18+1=19, Resulting Numbers: [95, 19]
Generated Node #0,0,0: 95:[95, 19] Operation: 18+1=19
Moving to Node #0,0,0
Current State: 95:[95, 19], Operations: ['87/87=1', '18+1=19']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
4,
54,
60
] | 16 | [
"54-50=4",
"4+60=64",
"64/4=16"
] | Current State: 16:[50, 4, 54, 60], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [4, 60, 4]
Generated Node #2: [4, 60, 4] from Operation: 54-50=4
Current State: 16:[4, 60, 4], Operations: ['54-50=4']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,16 equal: Goal Reached
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[50, 4, 54, 60], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [4, 54, 10]
Generated Node #0,0: 16:[4, 54, 10] Operation: 60-50=10
Exploring Operation: 60/4=15, Resulting Numbers: [50, 54, 15]
Generated Node #0,1: 16:[50, 54, 15] Operation: 60/4=15
Exploring Operation: 54-50=4, Resulting Numbers: [4, 60, 4]
Generated Node #0,2: 16:[4, 60, 4] Operation: 54-50=4
Exploring Operation: 60-54=6, Resulting Numbers: [50, 4, 6]
Generated Node #0,3: 16:[50, 4, 6] Operation: 60-54=6
Moving to Node #0,3
Current State: 16:[50, 4, 6], Operations: ['60-54=6']
Exploring Operation: 50-6=44, Resulting Numbers: [4, 44]
Generated Node #0,3,0: 16:[4, 44] Operation: 50-6=44
Exploring Operation: 50-4=46, Resulting Numbers: [6, 46]
Generated Node #0,3,1: 16:[6, 46] Operation: 50-4=46
Exploring Operation: 4+6=10, Resulting Numbers: [50, 10]
Generated Node #0,3,2: 16:[50, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [50, 2]
Generated Node #0,3,3: 16:[50, 2] Operation: 6-4=2
Moving to Node #0,0
Current State: 16:[4, 54, 10], Operations: ['60-50=10']
Exploring Operation: 4+10=14, Resulting Numbers: [54, 14]
Generated Node #0,0,0: 16:[54, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [54, 6]
Generated Node #0,0,1: 16:[54, 6] Operation: 10-4=6
Exploring Operation: 54-10=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 16:[4, 44] Operation: 54-10=44
Exploring Operation: 54-4=50, Resulting Numbers: [10, 50]
Generated Node #0,0,3: 16:[10, 50] Operation: 54-4=50
Moving to Node #0,2
Current State: 16:[4, 60, 4], Operations: ['54-50=4']
Exploring Operation: 60-4=56, Resulting Numbers: [4, 56]
Generated Node #0,2,0: 16:[4, 56] Operation: 60-4=56
Exploring Operation: 60-4=56, Resulting Numbers: [4, 56]
Generated Node #0,2,1: 16:[4, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,2,2: 16:[4, 15] Operation: 60/4=15
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,2,3: 16:[4, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[4, 15], Operations: ['54-50=4', '60/4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,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,3
Current State: 16:[4, 15], Operations: ['54-50=4', '60/4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[4, 56], Operations: ['54-50=4', '60-4=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,16 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,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,1
Current State: 16:[4, 56], Operations: ['54-50=4', '60-4=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,16 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,16 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: 16:[50, 54, 15], Operations: ['60/4=15']
Exploring Operation: 54-50=4, Resulting Numbers: [15, 4]
Generated Node #0,1,0: 16:[15, 4] Operation: 54-50=4
Exploring Operation: 50-15=35, Resulting Numbers: [54, 35]
Generated Node #0,1,1: 16:[54, 35] Operation: 50-15=35
Exploring Operation: 50+15=65, Resulting Numbers: [54, 65]
Generated Node #0,1,2: 16:[54, 65] Operation: 50+15=65
Exploring Operation: 54-15=39, Resulting Numbers: [50, 39]
Generated Node #0,1,3: 16:[50, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[15, 4], Operations: ['60/4=15', '54-50=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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,1
Current State: 16:[54, 35], Operations: ['60/4=15', '50-15=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,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,3
Current State: 16:[50, 39], Operations: ['60/4=15', '54-15=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,16 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,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:[54, 65], Operations: ['60/4=15', '50+15=65']
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,16 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 16:[4, 44], Operations: ['60-54=6', '50-6=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,16 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[4, 44], Operations: ['60-50=10', '54-10=44']
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,16 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[6, 46], Operations: ['60-54=6', '50-4=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,16 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[50, 2], Operations: ['60-54=6', '6-4=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[10, 50], Operations: ['60-50=10', '54-4=50']
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,16 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[50, 10], Operations: ['60-54=6', '4+6=10']
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,16 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[54, 14], Operations: ['60-50=10', '4+10=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,16 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[54, 6], Operations: ['60-50=10', '10-4=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,16 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
84,
28,
62
] | 48 | [
"84-42=42",
"28+62=90",
"90-42=48"
] | Current State: 48:[42, 84, 28, 62], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [28, 62, 42]
Generated Node #2: [28, 62, 42] from Operation: 84-42=42
Current State: 48:[28, 62, 42], Operations: ['84-42=42']
Exploring Operation: 28+62=90, Resulting Numbers: [42, 90]
Generated Node #3: [42, 90] from Operation: 28+62=90
Current State: 48:[42, 90], Operations: ['84-42=42', '28+62=90']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[42, 84, 28, 62], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [28, 62, 42]
Generated Node #0,0: 48:[28, 62, 42] Operation: 84-42=42
Exploring Operation: 84-28=56, Resulting Numbers: [42, 62, 56]
Generated Node #0,1: 48:[42, 62, 56] Operation: 84-28=56
Exploring Operation: 84-62=22, Resulting Numbers: [42, 28, 22]
Generated Node #0,2: 48:[42, 28, 22] Operation: 84-62=22
Exploring Operation: 84/42=2, Resulting Numbers: [28, 62, 2]
Generated Node #0,3: 48:[28, 62, 2] Operation: 84/42=2
Exploring Operation: 84/28=3, Resulting Numbers: [42, 62, 3]
Generated Node #0,4: 48:[42, 62, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[42, 28, 22], Operations: ['84-62=22']
Exploring Operation: 42-28=14, Resulting Numbers: [22, 14]
Generated Node #0,2,0: 48:[22, 14] Operation: 42-28=14
Exploring Operation: 28+22=50, Resulting Numbers: [42, 50]
Generated Node #0,2,1: 48:[42, 50] Operation: 28+22=50
Exploring Operation: 42+22=64, Resulting Numbers: [28, 64]
Generated Node #0,2,2: 48:[28, 64] Operation: 42+22=64
Exploring Operation: 28-22=6, Resulting Numbers: [42, 6]
Generated Node #0,2,3: 48:[42, 6] Operation: 28-22=6
Exploring Operation: 42-22=20, Resulting Numbers: [28, 20]
Generated Node #0,2,4: 48:[28, 20] Operation: 42-22=20
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[22, 14], Operations: ['84-62=22', '42-28=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,48 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 48:[42, 6], Operations: ['84-62=22', '28-22=6']
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,48 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[42, 84, 28, 62], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [42, 28, 22]
Generated Node #0,2: 48:[42, 28, 22] Operation: 84-62=22
Moving to Node #0,2
Current State: 48:[42, 28, 22], Operations: ['84-62=22']
Exploring Operation: 28-22=6, Resulting Numbers: [42, 6]
Generated Node #0,2,3: 48:[42, 6] Operation: 28-22=6
Moving to Node #0,2,3
Current State: 48:[42, 6], Operations: ['84-62=22', '28-22=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
13,
19,
42,
75
] | 27 | [
"19-13=6",
"75-42=33",
"33-6=27"
] | Current State: 27:[13, 19, 42, 75], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [42, 75, 6]
Generated Node #2: [42, 75, 6] from Operation: 19-13=6
Current State: 27:[42, 75, 6], Operations: ['19-13=6']
Exploring Operation: 75-42=33, Resulting Numbers: [6, 33]
Generated Node #3: [6, 33] from Operation: 75-42=33
Current State: 27:[6, 33], Operations: ['19-13=6', '75-42=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[13, 19, 42, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [13, 19, 33]
Generated Node #0,0: 27:[13, 19, 33] Operation: 75-42=33
Moving to Node #0,0
Current State: 27:[13, 19, 33], Operations: ['75-42=33']
Exploring Operation: 19-13=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 27:[33, 6] Operation: 19-13=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[33, 6], Operations: ['75-42=33', '19-13=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[13, 19, 42, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [13, 19, 33]
Generated Node #0,0: 27:[13, 19, 33] Operation: 75-42=33
Moving to Node #0,0
Current State: 27:[13, 19, 33], Operations: ['75-42=33']
Exploring Operation: 19-13=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 27:[33, 6] Operation: 19-13=6
Moving to Node #0,0,0
Current State: 27:[33, 6], Operations: ['75-42=33', '19-13=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
30,
3,
59
] | 36 | [
"17+30=47",
"59-47=12",
"3*12=36"
] | Current State: 36:[17, 30, 3, 59], Operations: []
Exploring Operation: 17+30=47, Resulting Numbers: [3, 59, 47]
Generated Node #2: [3, 59, 47] from Operation: 17+30=47
Current State: 36:[3, 59, 47], Operations: ['17+30=47']
Exploring Operation: 59-47=12, Resulting Numbers: [3, 12]
Generated Node #3: [3, 12] from Operation: 59-47=12
Current State: 36:[3, 12], Operations: ['17+30=47', '59-47=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[17, 30, 3, 59], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [30, 3, 42]
Generated Node #0,0: 36:[30, 3, 42] Operation: 59-17=42
Exploring Operation: 30-17=13, Resulting Numbers: [3, 59, 13]
Generated Node #0,1: 36:[3, 59, 13] Operation: 30-17=13
Exploring Operation: 59-30=29, Resulting Numbers: [17, 3, 29]
Generated Node #0,2: 36:[17, 3, 29] Operation: 59-30=29
Moving to Node #0,2
Current State: 36:[17, 3, 29], Operations: ['59-30=29']
Exploring Operation: 29-17=12, Resulting Numbers: [3, 12]
Generated Node #0,2,0: 36:[3, 12] Operation: 29-17=12
Exploring Operation: 3+29=32, Resulting Numbers: [17, 32]
Generated Node #0,2,1: 36:[17, 32] Operation: 3+29=32
Exploring Operation: 17+3=20, Resulting Numbers: [29, 20]
Generated Node #0,2,2: 36:[29, 20] Operation: 17+3=20
Moving to Node #0,0
Current State: 36:[30, 3, 42], Operations: ['59-17=42']
Exploring Operation: 30/3=10, Resulting Numbers: [42, 10]
Generated Node #0,0,0: 36:[42, 10] Operation: 30/3=10
Exploring Operation: 42-30=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 36:[3, 12] Operation: 42-30=12
Exploring Operation: 42/3=14, Resulting Numbers: [30, 14]
Generated Node #0,0,2: 36:[30, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[3, 12], Operations: ['59-17=42', '42-30=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[17, 30, 3, 59], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [30, 3, 42]
Generated Node #0,0: 36:[30, 3, 42] Operation: 59-17=42
Moving to Node #0,0
Current State: 36:[30, 3, 42], Operations: ['59-17=42']
Exploring Operation: 42-30=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 36:[3, 12] Operation: 42-30=12
Moving to Node #0,0,1
Current State: 36:[3, 12], Operations: ['59-17=42', '42-30=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
21,
29,
7,
41
] | 36 | [
"21/7=3",
"41-29=12",
"3*12=36"
] | Current State: 36:[21, 29, 7, 41], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [29, 41, 3]
Generated Node #2: [29, 41, 3] from Operation: 21/7=3
Current State: 36:[29, 41, 3], Operations: ['21/7=3']
Exploring Operation: 41-29=12, Resulting Numbers: [3, 12]
Generated Node #3: [3, 12] from Operation: 41-29=12
Current State: 36:[3, 12], Operations: ['21/7=3', '41-29=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[21, 29, 7, 41], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [7, 41, 8]
Generated Node #0,0: 36:[7, 41, 8] Operation: 29-21=8
Exploring Operation: 41-21=20, Resulting Numbers: [29, 7, 20]
Generated Node #0,1: 36:[29, 7, 20] Operation: 41-21=20
Exploring Operation: 41-29=12, Resulting Numbers: [21, 7, 12]
Generated Node #0,2: 36:[21, 7, 12] Operation: 41-29=12
Exploring Operation: 21/7=3, Resulting Numbers: [29, 41, 3]
Generated Node #0,3: 36:[29, 41, 3] Operation: 21/7=3
Exploring Operation: 29+7=36, Resulting Numbers: [21, 41, 36]
Generated Node #0,4: 36:[21, 41, 36] Operation: 29+7=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[21, 7, 12], Operations: ['41-29=12']
Exploring Operation: 7+12=19, Resulting Numbers: [21, 19]
Generated Node #0,2,0: 36:[21, 19] Operation: 7+12=19
Exploring Operation: 21/7=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 36:[12, 3] Operation: 21/7=3
Exploring Operation: 21+12=33, Resulting Numbers: [7, 33]
Generated Node #0,2,2: 36:[7, 33] Operation: 21+12=33
Exploring Operation: 21-12=9, Resulting Numbers: [7, 9]
Generated Node #0,2,3: 36:[7, 9] Operation: 21-12=9
Exploring Operation: 21-7=14, Resulting Numbers: [12, 14]
Generated Node #0,2,4: 36:[12, 14] Operation: 21-7=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[12, 3], Operations: ['41-29=12', '21/7=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[21, 29, 7, 41], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [21, 7, 12]
Generated Node #0,2: 36:[21, 7, 12] Operation: 41-29=12
Moving to Node #0,2
Current State: 36:[21, 7, 12], Operations: ['41-29=12']
Exploring Operation: 21/7=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 36:[12, 3] Operation: 21/7=3
Moving to Node #0,2,1
Current State: 36:[12, 3], Operations: ['41-29=12', '21/7=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
39,
48,
10,
11
] | 43 | [
"39+11=50",
"50/10=5",
"48-5=43"
] | Current State: 43:[39, 48, 10, 11], Operations: []
Exploring Operation: 39+11=50, Resulting Numbers: [48, 10, 50]
Generated Node #2: [48, 10, 50] from Operation: 39+11=50
Current State: 43:[48, 10, 50], Operations: ['39+11=50']
Exploring Operation: 50/10=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 50/10=5
Current State: 43:[48, 5], Operations: ['39+11=50', '50/10=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[39, 48, 10, 11], Operations: []
Exploring Operation: 39+10=49, Resulting Numbers: [48, 11, 49]
Generated Node #0,0: 43:[48, 11, 49] Operation: 39+10=49
Exploring Operation: 48-10=38, Resulting Numbers: [39, 11, 38]
Generated Node #0,1: 43:[39, 11, 38] Operation: 48-10=38
Exploring Operation: 39+11=50, Resulting Numbers: [48, 10, 50]
Generated Node #0,2: 43:[48, 10, 50] Operation: 39+11=50
Exploring Operation: 10+11=21, Resulting Numbers: [39, 48, 21]
Generated Node #0,3: 43:[39, 48, 21] Operation: 10+11=21
Exploring Operation: 48-11=37, Resulting Numbers: [39, 10, 37]
Generated Node #0,4: 43:[39, 10, 37] Operation: 48-11=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[39, 48, 21], Operations: ['10+11=21']
Exploring Operation: 48-39=9, Resulting Numbers: [21, 9]
Generated Node #0,3,0: 43:[21, 9] Operation: 48-39=9
Exploring Operation: 48+21=69, Resulting Numbers: [39, 69]
Generated Node #0,3,1: 43:[39, 69] Operation: 48+21=69
Exploring Operation: 48-21=27, Resulting Numbers: [39, 27]
Generated Node #0,3,2: 43:[39, 27] Operation: 48-21=27
Exploring Operation: 39+21=60, Resulting Numbers: [48, 60]
Generated Node #0,3,3: 43:[48, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [48, 18]
Generated Node #0,3,4: 43:[48, 18] Operation: 39-21=18
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[39, 27], Operations: ['10+11=21', '48-21=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,43 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[48, 60], Operations: ['10+11=21', '39+21=60']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[39, 69], Operations: ['10+11=21', '48+21=69']
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,43 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[48, 18], Operations: ['10+11=21', '39-21=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[21, 9], Operations: ['10+11=21', '48-39=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[39, 11, 38], Operations: ['48-10=38']
Exploring Operation: 38-11=27, Resulting Numbers: [39, 27]
Generated Node #0,1,0: 43:[39, 27] Operation: 38-11=27
Exploring Operation: 39-11=28, Resulting Numbers: [38, 28]
Generated Node #0,1,1: 43:[38, 28] Operation: 39-11=28
Exploring Operation: 39+38=77, Resulting Numbers: [11, 77]
Generated Node #0,1,2: 43:[11, 77] Operation: 39+38=77
Exploring Operation: 11+38=49, Resulting Numbers: [39, 49]
Generated Node #0,1,3: 43:[39, 49] Operation: 11+38=49
Exploring Operation: 39+11=50, Resulting Numbers: [38, 50]
Generated Node #0,1,4: 43:[38, 50] Operation: 39+11=50
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[39, 49], Operations: ['48-10=38', '11+38=49']
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,43 unequal: No Solution
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,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,1,4
Current State: 43:[38, 50], Operations: ['48-10=38', '39+11=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,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,1,0
Current State: 43:[39, 27], Operations: ['48-10=38', '38-11=27']
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,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,1,1
Current State: 43:[38, 28], Operations: ['48-10=38', '39-11=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,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,1,2
Current State: 43:[11, 77], Operations: ['48-10=38', '39+38=77']
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,43 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[48, 11, 49], Operations: ['39+10=49']
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 43:[11, 1] Operation: 49-48=1
Exploring Operation: 11+49=60, Resulting Numbers: [48, 60]
Generated Node #0,0,1: 43:[48, 60] Operation: 11+49=60
Exploring Operation: 49-11=38, Resulting Numbers: [48, 38]
Generated Node #0,0,2: 43:[48, 38] Operation: 49-11=38
Exploring Operation: 48-11=37, Resulting Numbers: [49, 37]
Generated Node #0,0,3: 43:[49, 37] Operation: 48-11=37
Exploring Operation: 48+11=59, Resulting Numbers: [49, 59]
Generated Node #0,0,4: 43:[49, 59] Operation: 48+11=59
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[48, 38], Operations: ['39+10=49', '49-11=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,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,0,3
Current State: 43:[49, 37], Operations: ['39+10=49', '48-11=37']
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,43 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,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,0,1
Current State: 43:[48, 60], Operations: ['39+10=49', '11+49=60']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,43 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,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,0,4
Current State: 43:[49, 59], Operations: ['39+10=49', '48+11=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,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,0,0
Current State: 43:[11, 1], Operations: ['39+10=49', '49-48=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[39, 10, 37], Operations: ['48-11=37']
Exploring Operation: 39+37=76, Resulting Numbers: [10, 76]
Generated Node #0,4,0: 43:[10, 76] Operation: 39+37=76
Exploring Operation: 39-10=29, Resulting Numbers: [37, 29]
Generated Node #0,4,1: 43:[37, 29] Operation: 39-10=29
Exploring Operation: 39+10=49, Resulting Numbers: [37, 49]
Generated Node #0,4,2: 43:[37, 49] Operation: 39+10=49
Exploring Operation: 37-10=27, Resulting Numbers: [39, 27]
Generated Node #0,4,3: 43:[39, 27] Operation: 37-10=27
Exploring Operation: 10+37=47, Resulting Numbers: [39, 47]
Generated Node #0,4,4: 43:[39, 47] Operation: 10+37=47
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[39, 47], Operations: ['48-11=37', '10+37=47']
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,43 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,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,4,2
Current State: 43:[37, 49], Operations: ['48-11=37', '39+10=49']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,43 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,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,4,1
Current State: 43:[37, 29], Operations: ['48-11=37', '39-10=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,43 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,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,4,3
Current State: 43:[39, 27], Operations: ['48-11=37', '37-10=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,43 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,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,4,0
Current State: 43:[10, 76], Operations: ['48-11=37', '39+37=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[48, 10, 50], Operations: ['39+11=50']
Exploring Operation: 48+10=58, Resulting Numbers: [50, 58]
Generated Node #0,2,0: 43:[50, 58] Operation: 48+10=58
Exploring Operation: 50/10=5, Resulting Numbers: [48, 5]
Generated Node #0,2,1: 43:[48, 5] Operation: 50/10=5
Exploring Operation: 48-10=38, Resulting Numbers: [50, 38]
Generated Node #0,2,2: 43:[50, 38] Operation: 48-10=38
Exploring Operation: 10+50=60, Resulting Numbers: [48, 60]
Generated Node #0,2,3: 43:[48, 60] Operation: 10+50=60
Exploring Operation: 50-10=40, Resulting Numbers: [48, 40]
Generated Node #0,2,4: 43:[48, 40] Operation: 50-10=40
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[48, 40], Operations: ['39+11=50', '50-10=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,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,2
Current State: 43:[50, 38], Operations: ['39+11=50', '48-10=38']
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,43 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,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:[50, 58], Operations: ['39+11=50', '48+10=58']
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,43 unequal: No Solution
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,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,3
Current State: 43:[48, 60], Operations: ['39+11=50', '10+50=60']
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,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,1
Current State: 43:[48, 5], Operations: ['39+11=50', '50/10=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[39, 48, 10, 11], Operations: []
Exploring Operation: 39+11=50, Resulting Numbers: [48, 10, 50]
Generated Node #0,2: 43:[48, 10, 50] Operation: 39+11=50
Moving to Node #0,2
Current State: 43:[48, 10, 50], Operations: ['39+11=50']
Exploring Operation: 50/10=5, Resulting Numbers: [48, 5]
Generated Node #0,2,1: 43:[48, 5] Operation: 50/10=5
Moving to Node #0,2,1
Current State: 43:[48, 5], Operations: ['39+11=50', '50/10=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.905382 | hs_5 | mult_heuristic |
[
4,
31,
56,
63
] | 64 | [
"63-31=32",
"32/4=8",
"56+8=64"
] | Current State: 64:[4, 31, 56, 63], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [4, 56, 32]
Generated Node #2: [4, 56, 32] from Operation: 63-31=32
Current State: 64:[4, 56, 32], Operations: ['63-31=32']
Exploring Operation: 32/4=8, Resulting Numbers: [56, 8]
Generated Node #3: [56, 8] from Operation: 32/4=8
Current State: 64:[56, 8], Operations: ['63-31=32', '32/4=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[4, 31, 56, 63], Operations: []
Exploring Operation: 4+56=60, Resulting Numbers: [31, 63, 60]
Generated Node #0,0: 64:[31, 63, 60] Operation: 4+56=60
Exploring Operation: 56/4=14, Resulting Numbers: [31, 63, 14]
Generated Node #0,1: 64:[31, 63, 14] Operation: 56/4=14
Exploring Operation: 63-56=7, Resulting Numbers: [4, 31, 7]
Generated Node #0,2: 64:[4, 31, 7] Operation: 63-56=7
Moving to Node #0,2
Current State: 64:[4, 31, 7], Operations: ['63-56=7']
Exploring Operation: 7-4=3, Resulting Numbers: [31, 3]
Generated Node #0,2,0: 64:[31, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [31, 11]
Generated Node #0,2,1: 64:[31, 11] Operation: 4+7=11
Exploring Operation: 4+31=35, Resulting Numbers: [7, 35]
Generated Node #0,2,2: 64:[7, 35] Operation: 4+31=35
Moving to Node #0,1
Current State: 64:[31, 63, 14], Operations: ['56/4=14']
Exploring Operation: 31-14=17, Resulting Numbers: [63, 17]
Generated Node #0,1,0: 64:[63, 17] Operation: 31-14=17
Exploring Operation: 31+14=45, Resulting Numbers: [63, 45]
Generated Node #0,1,1: 64:[63, 45] Operation: 31+14=45
Exploring Operation: 63-31=32, Resulting Numbers: [14, 32]
Generated Node #0,1,2: 64:[14, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[63, 17], Operations: ['56/4=14', '31-14=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,64 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[14, 32], Operations: ['56/4=14', '63-31=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[63, 45], Operations: ['56/4=14', '31+14=45']
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,64 unequal: No Solution
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,64 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,64 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: 64:[31, 63, 60], Operations: ['4+56=60']
Exploring Operation: 60-31=29, Resulting Numbers: [63, 29]
Generated Node #0,0,0: 64:[63, 29] Operation: 60-31=29
Exploring Operation: 63-60=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 64:[31, 3] Operation: 63-60=3
Exploring Operation: 63-31=32, Resulting Numbers: [60, 32]
Generated Node #0,0,2: 64:[60, 32] Operation: 63-31=32
Moving to Node #0,2,0
Current State: 64:[31, 3], Operations: ['63-56=7', '7-4=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[31, 3], Operations: ['4+56=60', '63-60=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[7, 35], Operations: ['63-56=7', '4+31=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[60, 32], Operations: ['4+56=60', '63-31=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,64 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[63, 29], Operations: ['4+56=60', '60-31=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,64 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[31, 11], Operations: ['63-56=7', '4+7=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,64 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
6,
8,
75
] | 73 | [
"32/8=4",
"75-6=69",
"4+69=73"
] | Current State: 73:[32, 6, 8, 75], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [6, 75, 4]
Generated Node #2: [6, 75, 4] from Operation: 32/8=4
Current State: 73:[6, 75, 4], Operations: ['32/8=4']
Exploring Operation: 75-6=69, Resulting Numbers: [4, 69]
Generated Node #3: [4, 69] from Operation: 75-6=69
Current State: 73:[4, 69], Operations: ['32/8=4', '75-6=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[32, 6, 8, 75], Operations: []
Exploring Operation: 6*8=48, Resulting Numbers: [32, 75, 48]
Generated Node #0,0: 73:[32, 75, 48] Operation: 6*8=48
Exploring Operation: 32+8=40, Resulting Numbers: [6, 75, 40]
Generated Node #0,1: 73:[6, 75, 40] Operation: 32+8=40
Exploring Operation: 32+6=38, Resulting Numbers: [8, 75, 38]
Generated Node #0,2: 73:[8, 75, 38] Operation: 32+6=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[32, 75, 48], Operations: ['6*8=48']
Exploring Operation: 32+75=107, Resulting Numbers: [48, 107]
Generated Node #0,0,0: 73:[48, 107] Operation: 32+75=107
Exploring Operation: 75-32=43, Resulting Numbers: [48, 43]
Generated Node #0,0,1: 73:[48, 43] Operation: 75-32=43
Exploring Operation: 32+48=80, Resulting Numbers: [75, 80]
Generated Node #0,0,2: 73:[75, 80] Operation: 32+48=80
Moving to Node #0,0,2
Current State: 73:[75, 80], Operations: ['6*8=48', '32+48=80']
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,73 unequal: No Solution
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[48, 43], Operations: ['6*8=48', '75-32=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,73 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[48, 107], Operations: ['6*8=48', '32+75=107']
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,73 unequal: No Solution
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[6, 75, 40], Operations: ['32+8=40']
Exploring Operation: 75-6=69, Resulting Numbers: [40, 69]
Generated Node #0,1,0: 73:[40, 69] Operation: 75-6=69
Exploring Operation: 6+75=81, Resulting Numbers: [40, 81]
Generated Node #0,1,1: 73:[40, 81] Operation: 6+75=81
Exploring Operation: 6+40=46, Resulting Numbers: [75, 46]
Generated Node #0,1,2: 73:[75, 46] Operation: 6+40=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[75, 46], Operations: ['32+8=40', '6+40=46']
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,73 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[40, 69], Operations: ['32+8=40', '75-6=69']
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,73 unequal: No Solution
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[40, 81], Operations: ['32+8=40', '6+75=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[8, 75, 38], Operations: ['32+6=38']
Exploring Operation: 8+75=83, Resulting Numbers: [38, 83]
Generated Node #0,2,0: 73:[38, 83] Operation: 8+75=83
Exploring Operation: 75-8=67, Resulting Numbers: [38, 67]
Generated Node #0,2,1: 73:[38, 67] Operation: 75-8=67
Exploring Operation: 8+38=46, Resulting Numbers: [75, 46]
Generated Node #0,2,2: 73:[75, 46] Operation: 8+38=46
Moving to Node #0,2,2
Current State: 73:[75, 46], Operations: ['32+6=38', '8+38=46']
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[38, 67], Operations: ['32+6=38', '75-8=67']
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,73 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[38, 83], Operations: ['32+6=38', '8+75=83']
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,73 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,73 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 |
[
41,
66,
49,
4
] | 78 | [
"66-41=25",
"49+4=53",
"25+53=78"
] | Current State: 78:[41, 66, 49, 4], Operations: []
Exploring Operation: 66-41=25, Resulting Numbers: [49, 4, 25]
Generated Node #2: [49, 4, 25] from Operation: 66-41=25
Current State: 78:[49, 4, 25], Operations: ['66-41=25']
Exploring Operation: 49+4=53, Resulting Numbers: [25, 53]
Generated Node #3: [25, 53] from Operation: 49+4=53
Current State: 78:[25, 53], Operations: ['66-41=25', '49+4=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[41, 66, 49, 4], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [66, 4, 8]
Generated Node #0,0: 78:[66, 4, 8] Operation: 49-41=8
Exploring Operation: 66-49=17, Resulting Numbers: [41, 4, 17]
Generated Node #0,1: 78:[41, 4, 17] Operation: 66-49=17
Exploring Operation: 66-41=25, Resulting Numbers: [49, 4, 25]
Generated Node #0,2: 78:[49, 4, 25] Operation: 66-41=25
Moving to Node #0,1
Current State: 78:[41, 4, 17], Operations: ['66-49=17']
Exploring Operation: 41-17=24, Resulting Numbers: [4, 24]
Generated Node #0,1,0: 78:[4, 24] Operation: 41-17=24
Exploring Operation: 17-4=13, Resulting Numbers: [41, 13]
Generated Node #0,1,1: 78:[41, 13] Operation: 17-4=13
Exploring Operation: 41-4=37, Resulting Numbers: [17, 37]
Generated Node #0,1,2: 78:[17, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[41, 13], Operations: ['66-49=17', '17-4=13']
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,78 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[4, 24], Operations: ['66-49=17', '41-17=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[17, 37], Operations: ['66-49=17', '41-4=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,78 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,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:[49, 4, 25], Operations: ['66-41=25']
Exploring Operation: 49-25=24, Resulting Numbers: [4, 24]
Generated Node #0,2,0: 78:[4, 24] Operation: 49-25=24
Exploring Operation: 49-4=45, Resulting Numbers: [25, 45]
Generated Node #0,2,1: 78:[25, 45] Operation: 49-4=45
Exploring Operation: 49+25=74, Resulting Numbers: [4, 74]
Generated Node #0,2,2: 78:[4, 74] Operation: 49+25=74
Moving to Node #0,0
Current State: 78:[66, 4, 8], Operations: ['49-41=8']
Exploring Operation: 66+8=74, Resulting Numbers: [4, 74]
Generated Node #0,0,0: 78:[4, 74] Operation: 66+8=74
Exploring Operation: 8/4=2, Resulting Numbers: [66, 2]
Generated Node #0,0,1: 78:[66, 2] Operation: 8/4=2
Exploring Operation: 66+4=70, Resulting Numbers: [8, 70]
Generated Node #0,0,2: 78:[8, 70] Operation: 66+4=70
Moving to Node #0,2,0
Current State: 78:[4, 24], Operations: ['66-41=25', '49-25=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[4, 74], Operations: ['66-41=25', '49+25=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[41, 66, 49, 4], Operations: []
Exploring Operation: 66-41=25, Resulting Numbers: [49, 4, 25]
Generated Node #0,2: 78:[49, 4, 25] Operation: 66-41=25
Moving to Node #0,2
Current State: 78:[49, 4, 25], Operations: ['66-41=25']
Exploring Operation: 49+25=74, Resulting Numbers: [4, 74]
Generated Node #0,2,2: 78:[4, 74] Operation: 49+25=74
Moving to Node #0,2,2
Current State: 78:[4, 74], Operations: ['66-41=25', '49+25=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
33,
8,
4,
53
] | 53 | [
"8*4=32",
"33-32=1",
"53*1=53"
] | Current State: 53:[33, 8, 4, 53], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [33, 53, 32]
Generated Node #2: [33, 53, 32] from Operation: 8*4=32
Current State: 53:[33, 53, 32], Operations: ['8*4=32']
Exploring Operation: 33-32=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 33-32=1
Current State: 53:[53, 1], Operations: ['8*4=32', '33-32=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[33, 8, 4, 53], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [33, 53, 32]
Generated Node #0,0: 53:[33, 53, 32] Operation: 8*4=32
Exploring Operation: 8+4=12, Resulting Numbers: [33, 53, 12]
Generated Node #0,1: 53:[33, 53, 12] Operation: 8+4=12
Exploring Operation: 33+8=41, Resulting Numbers: [4, 53, 41]
Generated Node #0,2: 53:[4, 53, 41] Operation: 33+8=41
Exploring Operation: 33+4=37, Resulting Numbers: [8, 53, 37]
Generated Node #0,3: 53:[8, 53, 37] Operation: 33+4=37
Moving to Node #0,0
Current State: 53:[33, 53, 32], Operations: ['8*4=32']
Exploring Operation: 33-32=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 53:[53, 1] Operation: 33-32=1
Exploring Operation: 53+32=85, Resulting Numbers: [33, 85]
Generated Node #0,0,1: 53:[33, 85] Operation: 53+32=85
Exploring Operation: 53-32=21, Resulting Numbers: [33, 21]
Generated Node #0,0,2: 53:[33, 21] Operation: 53-32=21
Exploring Operation: 33+32=65, Resulting Numbers: [53, 65]
Generated Node #0,0,3: 53:[53, 65] Operation: 33+32=65
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[53, 65], Operations: ['8*4=32', '33+32=65']
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,53 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[53, 1], Operations: ['8*4=32', '33-32=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[33, 8, 4, 53], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [33, 53, 32]
Generated Node #0,0: 53:[33, 53, 32] Operation: 8*4=32
Moving to Node #0,0
Current State: 53:[33, 53, 32], Operations: ['8*4=32']
Exploring Operation: 33-32=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 53:[53, 1] Operation: 33-32=1
Moving to Node #0,0,0
Current State: 53:[53, 1], Operations: ['8*4=32', '33-32=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
33,
99,
86,
32
] | 10 | [
"99/33=3",
"32*3=96",
"96-86=10"
] | Current State: 10:[33, 99, 86, 32], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [86, 32, 3]
Generated Node #2: [86, 32, 3] from Operation: 99/33=3
Current State: 10:[86, 32, 3], Operations: ['99/33=3']
Exploring Operation: 32*3=96, Resulting Numbers: [86, 96]
Generated Node #3: [86, 96] from Operation: 32*3=96
Current State: 10:[86, 96], Operations: ['99/33=3', '32*3=96']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[33, 99, 86, 32], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [33, 32, 13]
Generated Node #0,0: 10:[33, 32, 13] Operation: 99-86=13
Exploring Operation: 99-32=67, Resulting Numbers: [33, 86, 67]
Generated Node #0,1: 10:[33, 86, 67] Operation: 99-32=67
Exploring Operation: 99/33=3, Resulting Numbers: [86, 32, 3]
Generated Node #0,2: 10:[86, 32, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [86, 32, 66]
Generated Node #0,3: 10:[86, 32, 66] Operation: 99-33=66
Exploring Operation: 86-33=53, Resulting Numbers: [99, 32, 53]
Generated Node #0,4: 10:[99, 32, 53] Operation: 86-33=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[33, 32, 13], Operations: ['99-86=13']
Exploring Operation: 33+32=65, Resulting Numbers: [13, 65]
Generated Node #0,0,0: 10:[13, 65] Operation: 33+32=65
Exploring Operation: 33+13=46, Resulting Numbers: [32, 46]
Generated Node #0,0,1: 10:[32, 46] Operation: 33+13=46
Exploring Operation: 33-32=1, Resulting Numbers: [13, 1]
Generated Node #0,0,2: 10:[13, 1] Operation: 33-32=1
Exploring Operation: 32-13=19, Resulting Numbers: [33, 19]
Generated Node #0,0,3: 10:[33, 19] Operation: 32-13=19
Exploring Operation: 33-13=20, Resulting Numbers: [32, 20]
Generated Node #0,0,4: 10:[32, 20] Operation: 33-13=20
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[13, 1], Operations: ['99-86=13', '33-32=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[33, 19], Operations: ['99-86=13', '32-13=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,10 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 10:[32, 20], Operations: ['99-86=13', '33-13=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,10 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[13, 65], Operations: ['99-86=13', '33+32=65']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[32, 46], Operations: ['99-86=13', '33+13=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,10 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[86, 32, 3], Operations: ['99/33=3']
Exploring Operation: 86-3=83, Resulting Numbers: [32, 83]
Generated Node #0,2,0: 10:[32, 83] Operation: 86-3=83
Exploring Operation: 86-32=54, Resulting Numbers: [3, 54]
Generated Node #0,2,1: 10:[3, 54] Operation: 86-32=54
Exploring Operation: 86+3=89, Resulting Numbers: [32, 89]
Generated Node #0,2,2: 10:[32, 89] Operation: 86+3=89
Exploring Operation: 32+3=35, Resulting Numbers: [86, 35]
Generated Node #0,2,3: 10:[86, 35] Operation: 32+3=35
Exploring Operation: 32-3=29, Resulting Numbers: [86, 29]
Generated Node #0,2,4: 10:[86, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[3, 54], Operations: ['99/33=3', '86-32=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[32, 83], Operations: ['99/33=3', '86-3=83']
Exploring Operation: 32*83=2656, Resulting Numbers: [2656]
2656,10 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 32+83=115, Resulting Numbers: [115]
115,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 10:[86, 29], Operations: ['99/33=3', '32-3=29']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 86*29=2494, Resulting Numbers: [2494]
2494,10 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[32, 89], Operations: ['99/33=3', '86+3=89']
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,10 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[86, 35], Operations: ['99/33=3', '32+3=35']
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[86, 32, 66], Operations: ['99-33=66']
Exploring Operation: 86+66=152, Resulting Numbers: [32, 152]
Generated Node #0,3,0: 10:[32, 152] Operation: 86+66=152
Exploring Operation: 86-66=20, Resulting Numbers: [32, 20]
Generated Node #0,3,1: 10:[32, 20] Operation: 86-66=20
Exploring Operation: 86-32=54, Resulting Numbers: [66, 54]
Generated Node #0,3,2: 10:[66, 54] Operation: 86-32=54
Exploring Operation: 66-32=34, Resulting Numbers: [86, 34]
Generated Node #0,3,3: 10:[86, 34] Operation: 66-32=34
Exploring Operation: 86+32=118, Resulting Numbers: [66, 118]
Generated Node #0,3,4: 10:[66, 118] Operation: 86+32=118
Moving to Node #0,3,1
Current State: 10:[32, 20], Operations: ['99-33=66', '86-66=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,10 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[86, 34], Operations: ['99-33=66', '66-32=34']
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,10 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[66, 54], Operations: ['99-33=66', '86-32=54']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[32, 152], Operations: ['99-33=66', '86+66=152']
Exploring Operation: 32+152=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 152-32=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 32*152=4864, Resulting Numbers: [4864]
4864,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[66, 118], Operations: ['99-33=66', '86+32=118']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 66+118=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 66*118=7788, Resulting Numbers: [7788]
7788,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[99, 32, 53], Operations: ['86-33=53']
Exploring Operation: 99-32=67, Resulting Numbers: [53, 67]
Generated Node #0,4,0: 10:[53, 67] Operation: 99-32=67
Exploring Operation: 99+32=131, Resulting Numbers: [53, 131]
Generated Node #0,4,1: 10:[53, 131] Operation: 99+32=131
Exploring Operation: 53-32=21, Resulting Numbers: [99, 21]
Generated Node #0,4,2: 10:[99, 21] Operation: 53-32=21
Exploring Operation: 99+53=152, Resulting Numbers: [32, 152]
Generated Node #0,4,3: 10:[32, 152] Operation: 99+53=152
Exploring Operation: 99-53=46, Resulting Numbers: [32, 46]
Generated Node #0,4,4: 10:[32, 46] Operation: 99-53=46
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[32, 46], Operations: ['86-33=53', '99-53=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,10 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 10:[53, 67], Operations: ['86-33=53', '99-32=67']
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,10 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[99, 21], Operations: ['86-33=53', '53-32=21']
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,10 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 10:[53, 131], Operations: ['86-33=53', '99+32=131']
Exploring Operation: 131-53=78, Resulting Numbers: [78]
78,10 unequal: No Solution
Exploring Operation: 53+131=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 53*131=6943, Resulting Numbers: [6943]
6943,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[32, 152], Operations: ['86-33=53', '99+53=152']
Exploring Operation: 32*152=4864, Resulting Numbers: [4864]
4864,10 unequal: No Solution
Exploring Operation: 152-32=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 32+152=184, Resulting Numbers: [184]
184,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[33, 86, 67], Operations: ['99-32=67']
Exploring Operation: 86-33=53, Resulting Numbers: [67, 53]
Generated Node #0,1,0: 10:[67, 53] Operation: 86-33=53
Exploring Operation: 33+67=100, Resulting Numbers: [86, 100]
Generated Node #0,1,1: 10:[86, 100] Operation: 33+67=100
Exploring Operation: 33+86=119, Resulting Numbers: [67, 119]
Generated Node #0,1,2: 10:[67, 119] Operation: 33+86=119
Exploring Operation: 67-33=34, Resulting Numbers: [86, 34]
Generated Node #0,1,3: 10:[86, 34] Operation: 67-33=34
Exploring Operation: 86-67=19, Resulting Numbers: [33, 19]
Generated Node #0,1,4: 10:[33, 19] Operation: 86-67=19
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 10:[33, 19], Operations: ['99-32=67', '86-67=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,10 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[67, 53], Operations: ['99-32=67', '86-33=53']
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,10 unequal: No Solution
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[86, 34], Operations: ['99-32=67', '67-33=34']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,10 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[86, 100], Operations: ['99-32=67', '33+67=100']
Exploring Operation: 100-86=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 86*100=8600, Resulting Numbers: [8600]
8600,10 unequal: No Solution
Exploring Operation: 86+100=186, Resulting Numbers: [186]
186,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[67, 119], Operations: ['99-32=67', '33+86=119']
Exploring Operation: 67+119=186, Resulting Numbers: [186]
186,10 unequal: No Solution
Exploring Operation: 119-67=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 67*119=7973, Resulting Numbers: [7973]
7973,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
88,
69,
23
] | 65 | [
"69+88=157",
"69+23=92",
"157-92=65"
] | Current State: 65:[69, 88, 69, 23], Operations: []
Exploring Operation: 69+88=157, Resulting Numbers: [23, 157]
Generated Node #2: [23, 157] from Operation: 69+88=157
Current State: 65:[23, 157], Operations: ['69+88=157']
Exploring Operation: 69+23=92, Resulting Numbers: [157, 92]
Generated Node #3: [157, 92] from Operation: 69+23=92
Current State: 65:[157, 92], Operations: ['69+88=157', '69+23=92']
Exploring Operation: 157-92=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[69, 88, 69, 23], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [69, 23, 19]
Generated Node #0,0: 65:[69, 23, 19] Operation: 88-69=19
Exploring Operation: 88-23=65, Resulting Numbers: [69, 69, 65]
Generated Node #0,1: 65:[69, 69, 65] Operation: 88-23=65
Moving to Node #0,1
Current State: 65:[69, 69, 65], Operations: ['88-23=65']
Exploring Operation: 69/69=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 65:[65, 1] Operation: 69/69=1
Exploring Operation: 69-69=0, Resulting Numbers: [65, 0]
Generated Node #0,1,1: 65:[65, 0] Operation: 69-69=0
Moving to Node #0,0
Current State: 65:[69, 23, 19], Operations: ['88-69=19']
Exploring Operation: 23-19=4, Resulting Numbers: [69, 4]
Generated Node #0,0,0: 65:[69, 4] Operation: 23-19=4
Exploring Operation: 69/23=3, Resulting Numbers: [19, 3]
Generated Node #0,0,1: 65:[19, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[69, 4], Operations: ['88-69=19', '23-19=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[69, 88, 69, 23], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [69, 23, 19]
Generated Node #0,0: 65:[69, 23, 19] Operation: 88-69=19
Moving to Node #0,0
Current State: 65:[69, 23, 19], Operations: ['88-69=19']
Exploring Operation: 23-19=4, Resulting Numbers: [69, 4]
Generated Node #0,0,0: 65:[69, 4] Operation: 23-19=4
Moving to Node #0,0,0
Current State: 65:[69, 4], Operations: ['88-69=19', '23-19=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
48,
54,
30,
98
] | 96 | [
"54-30=24",
"48/24=2",
"98-2=96"
] | Current State: 96:[48, 54, 30, 98], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [48, 98, 24]
Generated Node #2: [48, 98, 24] from Operation: 54-30=24
Current State: 96:[48, 98, 24], Operations: ['54-30=24']
Exploring Operation: 48/24=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 48/24=2
Current State: 96:[98, 2], Operations: ['54-30=24', '48/24=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[48, 54, 30, 98], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [48, 30, 44]
Generated Node #0,0: 96:[48, 30, 44] Operation: 98-54=44
Exploring Operation: 54-48=6, Resulting Numbers: [30, 98, 6]
Generated Node #0,1: 96:[30, 98, 6] Operation: 54-48=6
Exploring Operation: 48-30=18, Resulting Numbers: [54, 98, 18]
Generated Node #0,2: 96:[54, 98, 18] Operation: 48-30=18
Exploring Operation: 48+54=102, Resulting Numbers: [30, 98, 102]
Generated Node #0,3: 96:[30, 98, 102] Operation: 48+54=102
Exploring Operation: 54-30=24, Resulting Numbers: [48, 98, 24]
Generated Node #0,4: 96:[48, 98, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[48, 98, 24], Operations: ['54-30=24']
Exploring Operation: 48/24=2, Resulting Numbers: [98, 2]
Generated Node #0,4,0: 96:[98, 2] Operation: 48/24=2
Exploring Operation: 98-48=50, Resulting Numbers: [24, 50]
Generated Node #0,4,1: 96:[24, 50] Operation: 98-48=50
Exploring Operation: 98-24=74, Resulting Numbers: [48, 74]
Generated Node #0,4,2: 96:[48, 74] Operation: 98-24=74
Exploring Operation: 48-24=24, Resulting Numbers: [98, 24]
Generated Node #0,4,3: 96:[98, 24] Operation: 48-24=24
Exploring Operation: 48+24=72, Resulting Numbers: [98, 72]
Generated Node #0,4,4: 96:[98, 72] Operation: 48+24=72
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[98, 2], Operations: ['54-30=24', '48/24=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,96 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[48, 54, 30, 98], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [48, 98, 24]
Generated Node #0,4: 96:[48, 98, 24] Operation: 54-30=24
Moving to Node #0,4
Current State: 96:[48, 98, 24], Operations: ['54-30=24']
Exploring Operation: 48/24=2, Resulting Numbers: [98, 2]
Generated Node #0,4,0: 96:[98, 2] Operation: 48/24=2
Moving to Node #0,4,0
Current State: 96:[98, 2], Operations: ['54-30=24', '48/24=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
12,
80,
75,
89
] | 100 | [
"12*75=900",
"89-80=9",
"900/9=100"
] | Current State: 100:[12, 80, 75, 89], Operations: []
Exploring Operation: 12*75=900, Resulting Numbers: [80, 89, 900]
Generated Node #2: [80, 89, 900] from Operation: 12*75=900
Current State: 100:[80, 89, 900], Operations: ['12*75=900']
Exploring Operation: 89-80=9, Resulting Numbers: [900, 9]
Generated Node #3: [900, 9] from Operation: 89-80=9
Current State: 100:[900, 9], Operations: ['12*75=900', '89-80=9']
Exploring Operation: 900/9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[12, 80, 75, 89], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [12, 89, 5]
Generated Node #0,0: 100:[12, 89, 5] Operation: 80-75=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[12, 89, 5], Operations: ['80-75=5']
Exploring Operation: 12+89=101, Resulting Numbers: [5, 101]
Generated Node #0,0,0: 100:[5, 101] Operation: 12+89=101
Moving to Node #0,0,0
Current State: 100:[5, 101], Operations: ['80-75=5', '12+89=101']
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,100 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,
25,
23,
10
] | 60 | [
"25-23=2",
"35*2=70",
"70-10=60"
] | Current State: 60:[35, 25, 23, 10], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [35, 10, 2]
Generated Node #2: [35, 10, 2] from Operation: 25-23=2
Current State: 60:[35, 10, 2], Operations: ['25-23=2']
Exploring Operation: 35*2=70, Resulting Numbers: [10, 70]
Generated Node #3: [10, 70] from Operation: 35*2=70
Current State: 60:[10, 70], Operations: ['25-23=2', '35*2=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[35, 25, 23, 10], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [23, 10, 10]
Generated Node #0,0: 60:[23, 10, 10] Operation: 35-25=10
Exploring Operation: 35+25=60, Resulting Numbers: [23, 10, 60]
Generated Node #0,1: 60:[23, 10, 60] Operation: 35+25=60
Moving to Node #0,0
Current State: 60:[23, 10, 10], Operations: ['35-25=10']
Exploring Operation: 23-10=13, Resulting Numbers: [10, 13]
Generated Node #0,0,0: 60:[10, 13] Operation: 23-10=13
Exploring Operation: 23-10=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 60:[10, 13] Operation: 23-10=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[10, 13], Operations: ['35-25=10', '23-10=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[10, 13], Operations: ['35-25=10', '23-10=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,60 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: 60:[23, 10, 60], Operations: ['35+25=60']
Exploring Operation: 23+10=33, Resulting Numbers: [60, 33]
Generated Node #0,1,0: 60:[60, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [60, 13]
Generated Node #0,1,1: 60:[60, 13] Operation: 23-10=13
Moving to Node #0,1,1
Current State: 60:[60, 13], Operations: ['35+25=60', '23-10=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[60, 33], Operations: ['35+25=60', '23+10=33']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,60 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
60,
3,
15
] | 50 | [
"21-3=18",
"60*15=900",
"900/18=50"
] | Current State: 50:[21, 60, 3, 15], Operations: []
Exploring Operation: 21-3=18, Resulting Numbers: [60, 15, 18]
Generated Node #2: [60, 15, 18] from Operation: 21-3=18
Current State: 50:[60, 15, 18], Operations: ['21-3=18']
Exploring Operation: 60*15=900, Resulting Numbers: [18, 900]
Generated Node #3: [18, 900] from Operation: 60*15=900
Current State: 50:[18, 900], Operations: ['21-3=18', '60*15=900']
Exploring Operation: 900/18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[21, 60, 3, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [21, 3, 4]
Generated Node #0,0: 50:[21, 3, 4] Operation: 60/15=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[21, 3, 4], Operations: ['60/15=4']
Exploring Operation: 21+4=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 50:[3, 25] Operation: 21+4=25
Moving to Node #0,0,0
Current State: 50:[3, 25], Operations: ['60/15=4', '21+4=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
15,
3,
68
] | 100 | [
"88-68=20",
"15/3=5",
"20*5=100"
] | Current State: 100:[88, 15, 3, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [15, 3, 20]
Generated Node #2: [15, 3, 20] from Operation: 88-68=20
Current State: 100:[15, 3, 20], Operations: ['88-68=20']
Exploring Operation: 15/3=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 15/3=5
Current State: 100:[20, 5], Operations: ['88-68=20', '15/3=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[88, 15, 3, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [15, 3, 20]
Generated Node #0,0: 100:[15, 3, 20] Operation: 88-68=20
Exploring Operation: 88+15=103, Resulting Numbers: [3, 68, 103]
Generated Node #0,1: 100:[3, 68, 103] Operation: 88+15=103
Exploring Operation: 68-15=53, Resulting Numbers: [88, 3, 53]
Generated Node #0,2: 100:[88, 3, 53] Operation: 68-15=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[15, 3, 20], Operations: ['88-68=20']
Exploring Operation: 20-15=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 100:[3, 5] Operation: 20-15=5
Exploring Operation: 15+3=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 100:[20, 18] Operation: 15+3=18
Exploring Operation: 15/3=5, Resulting Numbers: [20, 5]
Generated Node #0,0,2: 100:[20, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[20, 5], Operations: ['88-68=20', '15/3=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[88, 15, 3, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [15, 3, 20]
Generated Node #0,0: 100:[15, 3, 20] Operation: 88-68=20
Moving to Node #0,0
Current State: 100:[15, 3, 20], Operations: ['88-68=20']
Exploring Operation: 15/3=5, Resulting Numbers: [20, 5]
Generated Node #0,0,2: 100:[20, 5] Operation: 15/3=5
Moving to Node #0,0,2
Current State: 100:[20, 5], Operations: ['88-68=20', '15/3=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
43,
22,
70,
87
] | 38 | [
"43-22=21",
"87-70=17",
"21+17=38"
] | Current State: 38:[43, 22, 70, 87], Operations: []
Exploring Operation: 43-22=21, Resulting Numbers: [70, 87, 21]
Generated Node #2: [70, 87, 21] from Operation: 43-22=21
Current State: 38:[70, 87, 21], Operations: ['43-22=21']
Exploring Operation: 87-70=17, Resulting Numbers: [21, 17]
Generated Node #3: [21, 17] from Operation: 87-70=17
Current State: 38:[21, 17], Operations: ['43-22=21', '87-70=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[43, 22, 70, 87], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [22, 70, 44]
Generated Node #0,0: 38:[22, 70, 44] Operation: 87-43=44
Exploring Operation: 87-22=65, Resulting Numbers: [43, 70, 65]
Generated Node #0,1: 38:[43, 70, 65] Operation: 87-22=65
Exploring Operation: 70-43=27, Resulting Numbers: [22, 87, 27]
Generated Node #0,2: 38:[22, 87, 27] Operation: 70-43=27
Exploring Operation: 70-22=48, Resulting Numbers: [43, 87, 48]
Generated Node #0,3: 38:[43, 87, 48] Operation: 70-22=48
Exploring Operation: 87-70=17, Resulting Numbers: [43, 22, 17]
Generated Node #0,4: 38:[43, 22, 17] Operation: 87-70=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[43, 22, 17], Operations: ['87-70=17']
Exploring Operation: 43-22=21, Resulting Numbers: [17, 21]
Generated Node #0,4,0: 38:[17, 21] Operation: 43-22=21
Exploring Operation: 43+17=60, Resulting Numbers: [22, 60]
Generated Node #0,4,1: 38:[22, 60] Operation: 43+17=60
Exploring Operation: 22+17=39, Resulting Numbers: [43, 39]
Generated Node #0,4,2: 38:[43, 39] Operation: 22+17=39
Exploring Operation: 22-17=5, Resulting Numbers: [43, 5]
Generated Node #0,4,3: 38:[43, 5] Operation: 22-17=5
Exploring Operation: 43-17=26, Resulting Numbers: [22, 26]
Generated Node #0,4,4: 38:[22, 26] Operation: 43-17=26
Moving to Node #0,4,0
Current State: 38:[17, 21], Operations: ['87-70=17', '43-22=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[43, 22, 70, 87], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [43, 22, 17]
Generated Node #0,4: 38:[43, 22, 17] Operation: 87-70=17
Moving to Node #0,4
Current State: 38:[43, 22, 17], Operations: ['87-70=17']
Exploring Operation: 43-22=21, Resulting Numbers: [17, 21]
Generated Node #0,4,0: 38:[17, 21] Operation: 43-22=21
Moving to Node #0,4,0
Current State: 38:[17, 21], Operations: ['87-70=17', '43-22=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
71,
96,
10,
14
] | 21 | [
"96-71=25",
"14-10=4",
"25-4=21"
] | Current State: 21:[71, 96, 10, 14], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [10, 14, 25]
Generated Node #2: [10, 14, 25] from Operation: 96-71=25
Current State: 21:[10, 14, 25], Operations: ['96-71=25']
Exploring Operation: 14-10=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 14-10=4
Current State: 21:[25, 4], Operations: ['96-71=25', '14-10=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[71, 96, 10, 14], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [96, 10, 57]
Generated Node #0,0: 21:[96, 10, 57] Operation: 71-14=57
Exploring Operation: 96-71=25, Resulting Numbers: [10, 14, 25]
Generated Node #0,1: 21:[10, 14, 25] Operation: 96-71=25
Moving to Node #0,1
Current State: 21:[10, 14, 25], Operations: ['96-71=25']
Exploring Operation: 14-10=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 21:[25, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 21:[25, 24] Operation: 10+14=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[25, 4], Operations: ['96-71=25', '14-10=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[71, 96, 10, 14], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [10, 14, 25]
Generated Node #0,1: 21:[10, 14, 25] Operation: 96-71=25
Moving to Node #0,1
Current State: 21:[10, 14, 25], Operations: ['96-71=25']
Exploring Operation: 14-10=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 21:[25, 4] Operation: 14-10=4
Moving to Node #0,1,0
Current State: 21:[25, 4], Operations: ['96-71=25', '14-10=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
2,
34,
6,
66
] | 92 | [
"34-2=32",
"66-6=60",
"32+60=92"
] | Current State: 92:[2, 34, 6, 66], Operations: []
Exploring Operation: 34-2=32, Resulting Numbers: [6, 66, 32]
Generated Node #2: [6, 66, 32] from Operation: 34-2=32
Current State: 92:[6, 66, 32], Operations: ['34-2=32']
Exploring Operation: 66-6=60, Resulting Numbers: [32, 60]
Generated Node #3: [32, 60] from Operation: 66-6=60
Current State: 92:[32, 60], Operations: ['34-2=32', '66-6=60']
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 34, 6, 66], Operations: []
Exploring Operation: 34+66=100, Resulting Numbers: [2, 6, 100]
Generated Node #0,0: 92:[2, 6, 100] Operation: 34+66=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[2, 6, 100], Operations: ['34+66=100']
Exploring Operation: 100-6=94, Resulting Numbers: [2, 94]
Generated Node #0,0,0: 92:[2, 94] Operation: 100-6=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 94], Operations: ['34+66=100', '100-6=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[2, 34, 6, 66], Operations: []
Exploring Operation: 34+66=100, Resulting Numbers: [2, 6, 100]
Generated Node #0,0: 92:[2, 6, 100] Operation: 34+66=100
Moving to Node #0,0
Current State: 92:[2, 6, 100], Operations: ['34+66=100']
Exploring Operation: 100-6=94, Resulting Numbers: [2, 94]
Generated Node #0,0,0: 92:[2, 94] Operation: 100-6=94
Moving to Node #0,0,0
Current State: 92:[2, 94], Operations: ['34+66=100', '100-6=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
66,
64,
77
] | 67 | [
"66-64=2",
"77*2=154",
"154-87=67"
] | Current State: 67:[87, 66, 64, 77], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [87, 77, 2]
Generated Node #2: [87, 77, 2] from Operation: 66-64=2
Current State: 67:[87, 77, 2], Operations: ['66-64=2']
Exploring Operation: 77*2=154, Resulting Numbers: [87, 154]
Generated Node #3: [87, 154] from Operation: 77*2=154
Current State: 67:[87, 154], Operations: ['66-64=2', '77*2=154']
Exploring Operation: 154-87=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[87, 66, 64, 77], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [66, 77, 23]
Generated Node #0,0: 67:[66, 77, 23] Operation: 87-64=23
Exploring Operation: 87-66=21, Resulting Numbers: [64, 77, 21]
Generated Node #0,1: 67:[64, 77, 21] Operation: 87-66=21
Exploring Operation: 77-66=11, Resulting Numbers: [87, 64, 11]
Generated Node #0,2: 67:[87, 64, 11] Operation: 77-66=11
Exploring Operation: 77-64=13, Resulting Numbers: [87, 66, 13]
Generated Node #0,3: 67:[87, 66, 13] Operation: 77-64=13
Exploring Operation: 87-77=10, Resulting Numbers: [66, 64, 10]
Generated Node #0,4: 67:[66, 64, 10] Operation: 87-77=10
Moving to Node #0,0
Current State: 67:[66, 77, 23], Operations: ['87-64=23']
Exploring Operation: 77+23=100, Resulting Numbers: [66, 100]
Generated Node #0,0,0: 67:[66, 100] Operation: 77+23=100
Exploring Operation: 77-66=11, Resulting Numbers: [23, 11]
Generated Node #0,0,1: 67:[23, 11] Operation: 77-66=11
Exploring Operation: 66-23=43, Resulting Numbers: [77, 43]
Generated Node #0,0,2: 67:[77, 43] Operation: 66-23=43
Exploring Operation: 66+23=89, Resulting Numbers: [77, 89]
Generated Node #0,0,3: 67:[77, 89] Operation: 66+23=89
Exploring Operation: 77-23=54, Resulting Numbers: [66, 54]
Generated Node #0,0,4: 67:[66, 54] Operation: 77-23=54
Moving to Node #0,1
Current State: 67:[64, 77, 21], Operations: ['87-66=21']
Exploring Operation: 77+21=98, Resulting Numbers: [64, 98]
Generated Node #0,1,0: 67:[64, 98] Operation: 77+21=98
Exploring Operation: 77-64=13, Resulting Numbers: [21, 13]
Generated Node #0,1,1: 67:[21, 13] Operation: 77-64=13
Exploring Operation: 77-21=56, Resulting Numbers: [64, 56]
Generated Node #0,1,2: 67:[64, 56] Operation: 77-21=56
Exploring Operation: 64+21=85, Resulting Numbers: [77, 85]
Generated Node #0,1,3: 67:[77, 85] Operation: 64+21=85
Exploring Operation: 64-21=43, Resulting Numbers: [77, 43]
Generated Node #0,1,4: 67:[77, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[64, 56], Operations: ['87-66=21', '77-21=56']
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,67 unequal: No Solution
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[77, 85], Operations: ['87-66=21', '64+21=85']
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 77*85=6545, Resulting Numbers: [6545]
6545,67 unequal: No Solution
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[64, 98], Operations: ['87-66=21', '77+21=98']
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[77, 43], Operations: ['87-66=21', '64-21=43']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,67 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[21, 13], Operations: ['87-66=21', '77-64=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,67 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,67 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: 67:[66, 64, 10], Operations: ['87-77=10']
Exploring Operation: 66+64=130, Resulting Numbers: [10, 130]
Generated Node #0,4,0: 67:[10, 130] Operation: 66+64=130
Exploring Operation: 66-10=56, Resulting Numbers: [64, 56]
Generated Node #0,4,1: 67:[64, 56] Operation: 66-10=56
Exploring Operation: 64+10=74, Resulting Numbers: [66, 74]
Generated Node #0,4,2: 67:[66, 74] Operation: 64+10=74
Exploring Operation: 66+10=76, Resulting Numbers: [64, 76]
Generated Node #0,4,3: 67:[64, 76] Operation: 66+10=76
Exploring Operation: 64-10=54, Resulting Numbers: [66, 54]
Generated Node #0,4,4: 67:[66, 54] Operation: 64-10=54
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[66, 74], Operations: ['87-77=10', '64+10=74']
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,67 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[64, 76], Operations: ['87-77=10', '66+10=76']
Exploring Operation: 64*76=4864, Resulting Numbers: [4864]
4864,67 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 64+76=140, Resulting Numbers: [140]
140,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[64, 56], Operations: ['87-77=10', '66-10=56']
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[66, 54], Operations: ['87-77=10', '64-10=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,67 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[10, 130], Operations: ['87-77=10', '66+64=130']
Exploring Operation: 10+130=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 10*130=1300, Resulting Numbers: [1300]
1300,67 unequal: No Solution
Exploring Operation: 130-10=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 130/10=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 67:[87, 66, 13], Operations: ['77-64=13']
Exploring Operation: 87-13=74, Resulting Numbers: [66, 74]
Generated Node #0,3,0: 67:[66, 74] Operation: 87-13=74
Exploring Operation: 66+13=79, Resulting Numbers: [87, 79]
Generated Node #0,3,1: 67:[87, 79] Operation: 66+13=79
Exploring Operation: 87+13=100, Resulting Numbers: [66, 100]
Generated Node #0,3,2: 67:[66, 100] Operation: 87+13=100
Exploring Operation: 66-13=53, Resulting Numbers: [87, 53]
Generated Node #0,3,3: 67:[87, 53] Operation: 66-13=53
Exploring Operation: 87-66=21, Resulting Numbers: [13, 21]
Generated Node #0,3,4: 67:[13, 21] Operation: 87-66=21
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[66, 74], Operations: ['77-64=13', '87-13=74']
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,67 unequal: No Solution
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[87, 79], Operations: ['77-64=13', '66+13=79']
Exploring Operation: 87+79=166, Resulting Numbers: [166]
166,67 unequal: No Solution
Exploring Operation: 87*79=6873, Resulting Numbers: [6873]
6873,67 unequal: No Solution
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[66, 100], Operations: ['77-64=13', '87+13=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,67 unequal: No Solution
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[87, 53], Operations: ['77-64=13', '66-13=53']
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,67 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 67:[13, 21], Operations: ['77-64=13', '87-66=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,67 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,67 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: 67:[87, 64, 11], Operations: ['77-66=11']
Exploring Operation: 64-11=53, Resulting Numbers: [87, 53]
Generated Node #0,2,0: 67:[87, 53] Operation: 64-11=53
Exploring Operation: 87+11=98, Resulting Numbers: [64, 98]
Generated Node #0,2,1: 67:[64, 98] Operation: 87+11=98
Exploring Operation: 87-64=23, Resulting Numbers: [11, 23]
Generated Node #0,2,2: 67:[11, 23] Operation: 87-64=23
Exploring Operation: 64+11=75, Resulting Numbers: [87, 75]
Generated Node #0,2,3: 67:[87, 75] Operation: 64+11=75
Exploring Operation: 87-11=76, Resulting Numbers: [64, 76]
Generated Node #0,2,4: 67:[64, 76] Operation: 87-11=76
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[64, 76], Operations: ['77-66=11', '87-11=76']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 64+76=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 64*76=4864, Resulting Numbers: [4864]
4864,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[87, 75], Operations: ['77-66=11', '64+11=75']
Exploring Operation: 87+75=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 87*75=6525, Resulting Numbers: [6525]
6525,67 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[87, 53], Operations: ['77-66=11', '64-11=53']
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,67 unequal: No Solution
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[64, 98], Operations: ['77-66=11', '87+11=98']
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,67 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[11, 23], Operations: ['77-66=11', '87-64=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,67 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 67:[66, 54], Operations: ['87-64=23', '77-23=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,67 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[77, 89], Operations: ['87-64=23', '66+23=89']
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 77*89=6853, Resulting Numbers: [6853]
6853,67 unequal: No Solution
Exploring Operation: 77+89=166, Resulting Numbers: [166]
166,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[66, 100], Operations: ['87-64=23', '77+23=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,67 unequal: No Solution
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[77, 43], Operations: ['87-64=23', '66-23=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,67 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[23, 11], Operations: ['87-64=23', '77-66=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,67 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
2,
83,
59
] | 75 | [
"83-40=43",
"2*59=118",
"118-43=75"
] | Current State: 75:[40, 2, 83, 59], Operations: []
Exploring Operation: 83-40=43, Resulting Numbers: [2, 59, 43]
Generated Node #2: [2, 59, 43] from Operation: 83-40=43
Current State: 75:[2, 59, 43], Operations: ['83-40=43']
Exploring Operation: 2*59=118, Resulting Numbers: [43, 118]
Generated Node #3: [43, 118] from Operation: 2*59=118
Current State: 75:[43, 118], Operations: ['83-40=43', '2*59=118']
Exploring Operation: 118-43=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[40, 2, 83, 59], Operations: []
Exploring Operation: 40*2=80, Resulting Numbers: [83, 59, 80]
Generated Node #0,0: 75:[83, 59, 80] Operation: 40*2=80
Exploring Operation: 83-59=24, Resulting Numbers: [40, 2, 24]
Generated Node #0,1: 75:[40, 2, 24] Operation: 83-59=24
Exploring Operation: 40/2=20, Resulting Numbers: [83, 59, 20]
Generated Node #0,2: 75:[83, 59, 20] Operation: 40/2=20
Exploring Operation: 59-40=19, Resulting Numbers: [2, 83, 19]
Generated Node #0,3: 75:[2, 83, 19] Operation: 59-40=19
Moving to Node #0,3
Current State: 75:[2, 83, 19], Operations: ['59-40=19']
Exploring Operation: 19-2=17, Resulting Numbers: [83, 17]
Generated Node #0,3,0: 75:[83, 17] Operation: 19-2=17
Exploring Operation: 83-19=64, Resulting Numbers: [2, 64]
Generated Node #0,3,1: 75:[2, 64] Operation: 83-19=64
Exploring Operation: 2+19=21, Resulting Numbers: [83, 21]
Generated Node #0,3,2: 75:[83, 21] Operation: 2+19=21
Exploring Operation: 83-2=81, Resulting Numbers: [19, 81]
Generated Node #0,3,3: 75:[19, 81] Operation: 83-2=81
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[83, 17], Operations: ['59-40=19', '19-2=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,75 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,75 unequal: No Solution
No 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: 75:[19, 81], Operations: ['59-40=19', '83-2=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,75 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No 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: 75:[2, 64], Operations: ['59-40=19', '83-19=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,75 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,75 unequal: No Solution
No 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: 75:[83, 21], Operations: ['59-40=19', '2+19=21']
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,75 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,75 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: 75:[40, 2, 24], Operations: ['83-59=24']
Exploring Operation: 40+24=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 75:[2, 64] Operation: 40+24=64
Exploring Operation: 40*2=80, Resulting Numbers: [24, 80]
Generated Node #0,1,1: 75:[24, 80] Operation: 40*2=80
Exploring Operation: 40-24=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 75:[2, 16] Operation: 40-24=16
Exploring Operation: 40/2=20, Resulting Numbers: [24, 20]
Generated Node #0,1,3: 75:[24, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[2, 16], Operations: ['83-59=24', '40-24=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No 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: 75:[24, 80], Operations: ['83-59=24', '40*2=80']
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,75 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,75 unequal: No Solution
No 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: 75:[24, 20], Operations: ['83-59=24', '40/2=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,75 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,75 unequal: No Solution
No 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: 75:[2, 64], Operations: ['83-59=24', '40+24=64']
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,75 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,75 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: 75:[83, 59, 20], Operations: ['40/2=20']
Exploring Operation: 83-59=24, Resulting Numbers: [20, 24]
Generated Node #0,2,0: 75:[20, 24] Operation: 83-59=24
Exploring Operation: 59-20=39, Resulting Numbers: [83, 39]
Generated Node #0,2,1: 75:[83, 39] Operation: 59-20=39
Exploring Operation: 83-20=63, Resulting Numbers: [59, 63]
Generated Node #0,2,2: 75:[59, 63] Operation: 83-20=63
Exploring Operation: 59+20=79, Resulting Numbers: [83, 79]
Generated Node #0,2,3: 75:[83, 79] Operation: 59+20=79
Moving to Node #0,0
Current State: 75:[83, 59, 80], Operations: ['40*2=80']
Exploring Operation: 83-80=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 75:[59, 3] Operation: 83-80=3
Exploring Operation: 80-59=21, Resulting Numbers: [83, 21]
Generated Node #0,0,1: 75:[83, 21] Operation: 80-59=21
Exploring Operation: 83-59=24, Resulting Numbers: [80, 24]
Generated Node #0,0,2: 75:[80, 24] Operation: 83-59=24
Exploring Operation: 83+59=142, Resulting Numbers: [80, 142]
Generated Node #0,0,3: 75:[80, 142] Operation: 83+59=142
Moving to Node #0,2,0
Current State: 75:[20, 24], Operations: ['40/2=20', '83-59=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,75 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[80, 24], Operations: ['40*2=80', '83-59=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,75 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[83, 21], Operations: ['40*2=80', '80-59=21']
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,75 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[83, 79], Operations: ['40/2=20', '59+20=79']
Exploring Operation: 83*79=6557, Resulting Numbers: [6557]
6557,75 unequal: No Solution
Exploring Operation: 83-79=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 83+79=162, Resulting Numbers: [162]
162,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[59, 3], Operations: ['40*2=80', '83-80=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[83, 39], Operations: ['40/2=20', '59-20=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,75 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[59, 63], Operations: ['40/2=20', '83-20=63']
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 59*63=3717, Resulting Numbers: [3717]
3717,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[80, 142], Operations: ['40*2=80', '83+59=142']
Exploring Operation: 80*142=11360, Resulting Numbers: [11360]
11360,75 unequal: No Solution
Exploring Operation: 80+142=222, Resulting Numbers: [222]
222,75 unequal: No Solution
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
31,
62,
66
] | 84 | [
"57+31=88",
"66-62=4",
"88-4=84"
] | Current State: 84:[57, 31, 62, 66], Operations: []
Exploring Operation: 57+31=88, Resulting Numbers: [62, 66, 88]
Generated Node #2: [62, 66, 88] from Operation: 57+31=88
Current State: 84:[62, 66, 88], Operations: ['57+31=88']
Exploring Operation: 66-62=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 66-62=4
Current State: 84:[88, 4], Operations: ['57+31=88', '66-62=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[57, 31, 62, 66], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [57, 66, 2]
Generated Node #0,0: 84:[57, 66, 2] Operation: 62/31=2
Exploring Operation: 66-62=4, Resulting Numbers: [57, 31, 4]
Generated Node #0,1: 84:[57, 31, 4] Operation: 66-62=4
Exploring Operation: 66-57=9, Resulting Numbers: [31, 62, 9]
Generated Node #0,2: 84:[31, 62, 9] Operation: 66-57=9
Exploring Operation: 62-57=5, Resulting Numbers: [31, 66, 5]
Generated Node #0,3: 84:[31, 66, 5] Operation: 62-57=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[57, 31, 4], Operations: ['66-62=4']
Exploring Operation: 57-31=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 84:[4, 26] Operation: 57-31=26
Exploring Operation: 57+31=88, Resulting Numbers: [4, 88]
Generated Node #0,1,1: 84:[4, 88] Operation: 57+31=88
Exploring Operation: 31-4=27, Resulting Numbers: [57, 27]
Generated Node #0,1,2: 84:[57, 27] Operation: 31-4=27
Exploring Operation: 57-4=53, Resulting Numbers: [31, 53]
Generated Node #0,1,3: 84:[31, 53] Operation: 57-4=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[4, 26], Operations: ['66-62=4', '57-31=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,84 unequal: No Solution
No 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: 84:[4, 88], Operations: ['66-62=4', '57+31=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[57, 31, 62, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [57, 31, 4]
Generated Node #0,1: 84:[57, 31, 4] Operation: 66-62=4
Moving to Node #0,1
Current State: 84:[57, 31, 4], Operations: ['66-62=4']
Exploring Operation: 57+31=88, Resulting Numbers: [4, 88]
Generated Node #0,1,1: 84:[4, 88] Operation: 57+31=88
Moving to Node #0,1,1
Current State: 84:[4, 88], Operations: ['66-62=4', '57+31=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
12,
95,
32,
95
] | 45 | [
"12+32=44",
"95/95=1",
"44+1=45"
] | Current State: 45:[12, 95, 32, 95], Operations: []
Exploring Operation: 12+32=44, Resulting Numbers: [95, 95, 44]
Generated Node #2: [95, 95, 44] from Operation: 12+32=44
Current State: 45:[95, 95, 44], Operations: ['12+32=44']
Exploring Operation: 95/95=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 95/95=1
Current State: 45:[44, 1], Operations: ['12+32=44', '95/95=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[12, 95, 32, 95], Operations: []
Exploring Operation: 95-95=0, Resulting Numbers: [12, 32, 0]
Generated Node #0,0: 45:[12, 32, 0] Operation: 95-95=0
Exploring Operation: 95/95=1, Resulting Numbers: [12, 32, 1]
Generated Node #0,1: 45:[12, 32, 1] Operation: 95/95=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[12, 32, 1], Operations: ['95/95=1']
Exploring Operation: 32-12=20, Resulting Numbers: [1, 20]
Generated Node #0,1,0: 45:[1, 20] Operation: 32-12=20
Exploring Operation: 12+32=44, Resulting Numbers: [1, 44]
Generated Node #0,1,1: 45:[1, 44] Operation: 12+32=44
Moving to Node #0,1,1
Current State: 45:[1, 44], Operations: ['95/95=1', '12+32=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[12, 95, 32, 95], Operations: []
Exploring Operation: 95/95=1, Resulting Numbers: [12, 32, 1]
Generated Node #0,1: 45:[12, 32, 1] Operation: 95/95=1
Moving to Node #0,1
Current State: 45:[12, 32, 1], Operations: ['95/95=1']
Exploring Operation: 12+32=44, Resulting Numbers: [1, 44]
Generated Node #0,1,1: 45:[1, 44] Operation: 12+32=44
Moving to Node #0,1,1
Current State: 45:[1, 44], Operations: ['95/95=1', '12+32=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
20,
2,
47,
34
] | 27 | [
"20*2=40",
"47-34=13",
"40-13=27"
] | Current State: 27:[20, 2, 47, 34], Operations: []
Exploring Operation: 20*2=40, Resulting Numbers: [47, 34, 40]
Generated Node #2: [47, 34, 40] from Operation: 20*2=40
Current State: 27:[47, 34, 40], Operations: ['20*2=40']
Exploring Operation: 47-34=13, Resulting Numbers: [40, 13]
Generated Node #3: [40, 13] from Operation: 47-34=13
Current State: 27:[40, 13], Operations: ['20*2=40', '47-34=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[20, 2, 47, 34], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [2, 47, 14]
Generated Node #0,0: 27:[2, 47, 14] Operation: 34-20=14
Exploring Operation: 47-20=27, Resulting Numbers: [2, 34, 27]
Generated Node #0,1: 27:[2, 34, 27] Operation: 47-20=27
Exploring Operation: 47-34=13, Resulting Numbers: [20, 2, 13]
Generated Node #0,2: 27:[20, 2, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[2, 34, 27], Operations: ['47-20=27']
Exploring Operation: 34-2=32, Resulting Numbers: [27, 32]
Generated Node #0,1,0: 27:[27, 32] Operation: 34-2=32
Exploring Operation: 34-27=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 27:[2, 7] Operation: 34-27=7
Exploring Operation: 34/2=17, Resulting Numbers: [27, 17]
Generated Node #0,1,2: 27:[27, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[2, 7], Operations: ['47-20=27', '34-27=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[27, 32], Operations: ['47-20=27', '34-2=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,27 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[27, 17], Operations: ['47-20=27', '34/2=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,27 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[20, 2, 13], Operations: ['47-34=13']
Exploring Operation: 20-13=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 27:[2, 7] Operation: 20-13=7
Exploring Operation: 20/2=10, Resulting Numbers: [13, 10]
Generated Node #0,2,1: 27:[13, 10] Operation: 20/2=10
Exploring Operation: 20+13=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 27:[2, 33] Operation: 20+13=33
Moving to Node #0,2,0
Current State: 27:[2, 7], Operations: ['47-34=13', '20-13=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[13, 10], Operations: ['47-34=13', '20/2=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[2, 33], Operations: ['47-34=13', '20+13=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 47, 14], Operations: ['34-20=14']
Exploring Operation: 47-14=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 27:[2, 33] Operation: 47-14=33
Exploring Operation: 2*14=28, Resulting Numbers: [47, 28]
Generated Node #0,0,1: 27:[47, 28] Operation: 2*14=28
Exploring Operation: 14/2=7, Resulting Numbers: [47, 7]
Generated Node #0,0,2: 27:[47, 7] Operation: 14/2=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 33], Operations: ['34-20=14', '47-14=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[47, 28], Operations: ['34-20=14', '2*14=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,27 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[47, 7], Operations: ['34-20=14', '14/2=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
45,
15,
91
] | 47 | [
"15+91=106",
"106/53=2",
"45+2=47"
] | Current State: 47:[53, 45, 15, 91], Operations: []
Exploring Operation: 15+91=106, Resulting Numbers: [53, 45, 106]
Generated Node #2: [53, 45, 106] from Operation: 15+91=106
Current State: 47:[53, 45, 106], Operations: ['15+91=106']
Exploring Operation: 106/53=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 106/53=2
Current State: 47:[45, 2], Operations: ['15+91=106', '106/53=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[53, 45, 15, 91], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [53, 15, 46]
Generated Node #0,0: 47:[53, 15, 46] Operation: 91-45=46
Exploring Operation: 91-15=76, Resulting Numbers: [53, 45, 76]
Generated Node #0,1: 47:[53, 45, 76] Operation: 91-15=76
Exploring Operation: 53-15=38, Resulting Numbers: [45, 91, 38]
Generated Node #0,2: 47:[45, 91, 38] Operation: 53-15=38
Exploring Operation: 91-53=38, Resulting Numbers: [45, 15, 38]
Generated Node #0,3: 47:[45, 15, 38] Operation: 91-53=38
Moving to Node #0,1
Current State: 47:[53, 45, 76], Operations: ['91-15=76']
Exploring Operation: 53-45=8, Resulting Numbers: [76, 8]
Generated Node #0,1,0: 47:[76, 8] Operation: 53-45=8
Exploring Operation: 53+45=98, Resulting Numbers: [76, 98]
Generated Node #0,1,1: 47:[76, 98] Operation: 53+45=98
Exploring Operation: 76-45=31, Resulting Numbers: [53, 31]
Generated Node #0,1,2: 47:[53, 31] Operation: 76-45=31
Exploring Operation: 76-53=23, Resulting Numbers: [45, 23]
Generated Node #0,1,3: 47:[45, 23] Operation: 76-53=23
Moving to Node #0,0
Current State: 47:[53, 15, 46], Operations: ['91-45=46']
Exploring Operation: 46-15=31, Resulting Numbers: [53, 31]
Generated Node #0,0,0: 47:[53, 31] Operation: 46-15=31
Exploring Operation: 15+46=61, Resulting Numbers: [53, 61]
Generated Node #0,0,1: 47:[53, 61] Operation: 15+46=61
Exploring Operation: 53+15=68, Resulting Numbers: [46, 68]
Generated Node #0,0,2: 47:[46, 68] Operation: 53+15=68
Exploring Operation: 53-15=38, Resulting Numbers: [46, 38]
Generated Node #0,0,3: 47:[46, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[46, 38], Operations: ['91-45=46', '53-15=38']
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,47 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,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,1
Current State: 47:[53, 61], Operations: ['91-45=46', '15+46=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,47 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[53, 31], Operations: ['91-45=46', '46-15=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,47 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[46, 68], Operations: ['91-45=46', '53+15=68']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,47 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 47:[45, 15, 38], Operations: ['91-53=38']
Exploring Operation: 45-15=30, Resulting Numbers: [38, 30]
Generated Node #0,3,0: 47:[38, 30] Operation: 45-15=30
Exploring Operation: 45+15=60, Resulting Numbers: [38, 60]
Generated Node #0,3,1: 47:[38, 60] Operation: 45+15=60
Exploring Operation: 15+38=53, Resulting Numbers: [45, 53]
Generated Node #0,3,2: 47:[45, 53] Operation: 15+38=53
Exploring Operation: 38-15=23, Resulting Numbers: [45, 23]
Generated Node #0,3,3: 47:[45, 23] Operation: 38-15=23
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[45, 53], Operations: ['91-53=38', '15+38=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,47 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[38, 60], Operations: ['91-53=38', '45+15=60']
Exploring Operation: 38*60=2280, Resulting Numbers: [2280]
2280,47 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[38, 30], Operations: ['91-53=38', '45-15=30']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[45, 23], Operations: ['91-53=38', '38-15=23']
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,47 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[45, 91, 38], Operations: ['53-15=38']
Exploring Operation: 45+38=83, Resulting Numbers: [91, 83]
Generated Node #0,2,0: 47:[91, 83] Operation: 45+38=83
Exploring Operation: 45-38=7, Resulting Numbers: [91, 7]
Generated Node #0,2,1: 47:[91, 7] Operation: 45-38=7
Exploring Operation: 91-38=53, Resulting Numbers: [45, 53]
Generated Node #0,2,2: 47:[45, 53] Operation: 91-38=53
Exploring Operation: 91-45=46, Resulting Numbers: [38, 46]
Generated Node #0,2,3: 47:[38, 46] Operation: 91-45=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[45, 53], Operations: ['53-15=38', '91-38=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,47 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[38, 46], Operations: ['53-15=38', '91-45=46']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[91, 83], Operations: ['53-15=38', '45+38=83']
Exploring Operation: 91+83=174, Resulting Numbers: [174]
174,47 unequal: No Solution
Exploring Operation: 91*83=7553, Resulting Numbers: [7553]
7553,47 unequal: No Solution
Exploring Operation: 91-83=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[91, 7], Operations: ['53-15=38', '45-38=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,47 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 47:[53, 31], Operations: ['91-15=76', '76-45=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[45, 23], Operations: ['91-15=76', '76-53=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[76, 8], Operations: ['91-15=76', '53-45=8']
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,47 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[76, 98], Operations: ['91-15=76', '53+45=98']
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,47 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,47 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
7,
49,
17
] | 66 | [
"8-7=1",
"49+17=66",
"1*66=66"
] | Current State: 66:[8, 7, 49, 17], Operations: []
Exploring Operation: 8-7=1, Resulting Numbers: [49, 17, 1]
Generated Node #2: [49, 17, 1] from Operation: 8-7=1
Current State: 66:[49, 17, 1], Operations: ['8-7=1']
Exploring Operation: 49+17=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 49+17=66
Current State: 66:[1, 66], Operations: ['8-7=1', '49+17=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[8, 7, 49, 17], Operations: []
Exploring Operation: 49+17=66, Resulting Numbers: [8, 7, 66]
Generated Node #0,0: 66:[8, 7, 66] Operation: 49+17=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[8, 7, 66], Operations: ['49+17=66']
Exploring Operation: 8-7=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 66:[66, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[66, 1], Operations: ['49+17=66', '8-7=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[8, 7, 49, 17], Operations: []
Exploring Operation: 49+17=66, Resulting Numbers: [8, 7, 66]
Generated Node #0,0: 66:[8, 7, 66] Operation: 49+17=66
Moving to Node #0,0
Current State: 66:[8, 7, 66], Operations: ['49+17=66']
Exploring Operation: 8-7=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 66:[66, 1] Operation: 8-7=1
Moving to Node #0,0,0
Current State: 66:[66, 1], Operations: ['49+17=66', '8-7=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
84,
83,
69,
99
] | 85 | [
"69+99=168",
"168/84=2",
"83+2=85"
] | Current State: 85:[84, 83, 69, 99], Operations: []
Exploring Operation: 69+99=168, Resulting Numbers: [84, 83, 168]
Generated Node #2: [84, 83, 168] from Operation: 69+99=168
Current State: 85:[84, 83, 168], Operations: ['69+99=168']
Exploring Operation: 168/84=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 168/84=2
Current State: 85:[83, 2], Operations: ['69+99=168', '168/84=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[84, 83, 69, 99], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [83, 99, 15]
Generated Node #0,0: 85:[83, 99, 15] Operation: 84-69=15
Exploring Operation: 99-83=16, Resulting Numbers: [84, 69, 16]
Generated Node #0,1: 85:[84, 69, 16] Operation: 99-83=16
Exploring Operation: 83-69=14, Resulting Numbers: [84, 99, 14]
Generated Node #0,2: 85:[84, 99, 14] Operation: 83-69=14
Exploring Operation: 99-69=30, Resulting Numbers: [84, 83, 30]
Generated Node #0,3: 85:[84, 83, 30] Operation: 99-69=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[84, 83, 30], Operations: ['99-69=30']
Exploring Operation: 84-83=1, Resulting Numbers: [30, 1]
Generated Node #0,3,0: 85:[30, 1] Operation: 84-83=1
Exploring Operation: 84-30=54, Resulting Numbers: [83, 54]
Generated Node #0,3,1: 85:[83, 54] Operation: 84-30=54
Exploring Operation: 83+30=113, Resulting Numbers: [84, 113]
Generated Node #0,3,2: 85:[84, 113] Operation: 83+30=113
Exploring Operation: 84+30=114, Resulting Numbers: [83, 114]
Generated Node #0,3,3: 85:[83, 114] Operation: 84+30=114
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[30, 1], Operations: ['99-69=30', '84-83=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[84, 113], Operations: ['99-69=30', '83+30=113']
Exploring Operation: 113-84=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 84*113=9492, Resulting Numbers: [9492]
9492,85 unequal: No Solution
Exploring Operation: 84+113=197, Resulting Numbers: [197]
197,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[83, 114], Operations: ['99-69=30', '84+30=114']
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,85 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,85 unequal: No Solution
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[83, 54], Operations: ['99-69=30', '84-30=54']
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[83, 99, 15], Operations: ['84-69=15']
Exploring Operation: 99-83=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 85:[15, 16] Operation: 99-83=16
Exploring Operation: 83-15=68, Resulting Numbers: [99, 68]
Generated Node #0,0,1: 85:[99, 68] Operation: 83-15=68
Exploring Operation: 83+15=98, Resulting Numbers: [99, 98]
Generated Node #0,0,2: 85:[99, 98] Operation: 83+15=98
Exploring Operation: 99-15=84, Resulting Numbers: [83, 84]
Generated Node #0,0,3: 85:[83, 84] Operation: 99-15=84
Moving to Node #0,0,0
Current State: 85:[15, 16], Operations: ['84-69=15', '99-83=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,85 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[83, 84], Operations: ['84-69=15', '99-15=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,85 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,85 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[99, 98], Operations: ['84-69=15', '83+15=98']
Exploring Operation: 99-98=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 99*98=9702, Resulting Numbers: [9702]
9702,85 unequal: No Solution
Exploring Operation: 99+98=197, Resulting Numbers: [197]
197,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[99, 68], Operations: ['84-69=15', '83-15=68']
Exploring Operation: 99*68=6732, Resulting Numbers: [6732]
6732,85 unequal: No Solution
Exploring Operation: 99+68=167, Resulting Numbers: [167]
167,85 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[84, 69, 16], Operations: ['99-83=16']
Exploring Operation: 84-16=68, Resulting Numbers: [69, 68]
Generated Node #0,1,0: 85:[69, 68] Operation: 84-16=68
Exploring Operation: 84-69=15, Resulting Numbers: [16, 15]
Generated Node #0,1,1: 85:[16, 15] Operation: 84-69=15
Exploring Operation: 84+16=100, Resulting Numbers: [69, 100]
Generated Node #0,1,2: 85:[69, 100] Operation: 84+16=100
Exploring Operation: 69+16=85, Resulting Numbers: [84, 85]
Generated Node #0,1,3: 85:[84, 85] Operation: 69+16=85
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[84, 85], Operations: ['99-83=16', '69+16=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,85 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[16, 15], Operations: ['99-83=16', '84-69=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,85 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[69, 100], Operations: ['99-83=16', '84+16=100']
Exploring Operation: 100-69=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 69+100=169, Resulting Numbers: [169]
169,85 unequal: No Solution
Exploring Operation: 69*100=6900, Resulting Numbers: [6900]
6900,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[69, 68], Operations: ['99-83=16', '84-16=68']
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,85 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[84, 99, 14], Operations: ['83-69=14']
Exploring Operation: 84/14=6, Resulting Numbers: [99, 6]
Generated Node #0,2,0: 85:[99, 6] Operation: 84/14=6
Exploring Operation: 99-84=15, Resulting Numbers: [14, 15]
Generated Node #0,2,1: 85:[14, 15] Operation: 99-84=15
Exploring Operation: 99-14=85, Resulting Numbers: [84, 85]
Generated Node #0,2,2: 85:[84, 85] Operation: 99-14=85
Exploring Operation: 84+14=98, Resulting Numbers: [99, 98]
Generated Node #0,2,3: 85:[99, 98] Operation: 84+14=98
Moving to Node #0,2,2
Current State: 85:[84, 85], Operations: ['83-69=14', '99-14=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,85 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[14, 15], Operations: ['83-69=14', '99-84=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,85 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[99, 6], Operations: ['83-69=14', '84/14=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[99, 98], Operations: ['83-69=14', '84+14=98']
Exploring Operation: 99+98=197, Resulting Numbers: [197]
197,85 unequal: No Solution
Exploring Operation: 99*98=9702, Resulting Numbers: [9702]
9702,85 unequal: No Solution
Exploring Operation: 99-98=1, Resulting Numbers: [1]
1,85 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 |
[
24,
37,
64,
38
] | 89 | [
"37-24=13",
"64+38=102",
"102-13=89"
] | Current State: 89:[24, 37, 64, 38], Operations: []
Exploring Operation: 37-24=13, Resulting Numbers: [64, 38, 13]
Generated Node #2: [64, 38, 13] from Operation: 37-24=13
Current State: 89:[64, 38, 13], Operations: ['37-24=13']
Exploring Operation: 64+38=102, Resulting Numbers: [13, 102]
Generated Node #3: [13, 102] from Operation: 64+38=102
Current State: 89:[13, 102], Operations: ['37-24=13', '64+38=102']
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[24, 37, 64, 38], Operations: []
Exploring Operation: 24+37=61, Resulting Numbers: [64, 38, 61]
Generated Node #0,0: 89:[64, 38, 61] Operation: 24+37=61
Exploring Operation: 37+38=75, Resulting Numbers: [24, 64, 75]
Generated Node #0,1: 89:[24, 64, 75] Operation: 37+38=75
Exploring Operation: 24+38=62, Resulting Numbers: [37, 64, 62]
Generated Node #0,2: 89:[37, 64, 62] Operation: 24+38=62
Exploring Operation: 24+64=88, Resulting Numbers: [37, 38, 88]
Generated Node #0,3: 89:[37, 38, 88] Operation: 24+64=88
Moving to Node #0,0
Current State: 89:[64, 38, 61], Operations: ['24+37=61']
Exploring Operation: 64+61=125, Resulting Numbers: [38, 125]
Generated Node #0,0,0: 89:[38, 125] Operation: 64+61=125
Exploring Operation: 38+61=99, Resulting Numbers: [64, 99]
Generated Node #0,0,1: 89:[64, 99] Operation: 38+61=99
Exploring Operation: 64+38=102, Resulting Numbers: [61, 102]
Generated Node #0,0,2: 89:[61, 102] Operation: 64+38=102
Exploring Operation: 64-38=26, Resulting Numbers: [61, 26]
Generated Node #0,0,3: 89:[61, 26] Operation: 64-38=26
Moving to Node #0,2
Current State: 89:[37, 64, 62], Operations: ['24+38=62']
Exploring Operation: 62-37=25, Resulting Numbers: [64, 25]
Generated Node #0,2,0: 89:[64, 25] Operation: 62-37=25
Exploring Operation: 37+64=101, Resulting Numbers: [62, 101]
Generated Node #0,2,1: 89:[62, 101] Operation: 37+64=101
Exploring Operation: 64-37=27, Resulting Numbers: [62, 27]
Generated Node #0,2,2: 89:[62, 27] Operation: 64-37=27
Exploring Operation: 37+62=99, Resulting Numbers: [64, 99]
Generated Node #0,2,3: 89:[64, 99] Operation: 37+62=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[64, 99], Operations: ['24+38=62', '37+62=99']
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 64*99=6336, Resulting Numbers: [6336]
6336,89 unequal: No Solution
Exploring Operation: 64+99=163, Resulting Numbers: [163]
163,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[62, 101], Operations: ['24+38=62', '37+64=101']
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,89 unequal: No Solution
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[64, 25], Operations: ['24+38=62', '62-37=25']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[24, 37, 64, 38], Operations: []
Exploring Operation: 24+38=62, Resulting Numbers: [37, 64, 62]
Generated Node #0,2: 89:[37, 64, 62] Operation: 24+38=62
Moving to Node #0,2
Current State: 89:[37, 64, 62], Operations: ['24+38=62']
Exploring Operation: 62-37=25, Resulting Numbers: [64, 25]
Generated Node #0,2,0: 89:[64, 25] Operation: 62-37=25
Moving to Node #0,2,0
Current State: 89:[64, 25], Operations: ['24+38=62', '62-37=25']
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
61,
93,
43,
31
] | 15 | [
"61-43=18",
"93/31=3",
"18-3=15"
] | Current State: 15:[61, 93, 43, 31], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [93, 31, 18]
Generated Node #2: [93, 31, 18] from Operation: 61-43=18
Current State: 15:[93, 31, 18], Operations: ['61-43=18']
Exploring Operation: 93/31=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 93/31=3
Current State: 15:[18, 3], Operations: ['61-43=18', '93/31=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[61, 93, 43, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [61, 43, 3]
Generated Node #0,0: 15:[61, 43, 3] Operation: 93/31=3
Exploring Operation: 61-43=18, Resulting Numbers: [93, 31, 18]
Generated Node #0,1: 15:[93, 31, 18] Operation: 61-43=18
Exploring Operation: 93-61=32, Resulting Numbers: [43, 31, 32]
Generated Node #0,2: 15:[43, 31, 32] Operation: 93-61=32
Moving to Node #0,2
Current State: 15:[43, 31, 32], Operations: ['93-61=32']
Exploring Operation: 43-32=11, Resulting Numbers: [31, 11]
Generated Node #0,2,0: 15:[31, 11] Operation: 43-32=11
Exploring Operation: 32-31=1, Resulting Numbers: [43, 1]
Generated Node #0,2,1: 15:[43, 1] Operation: 32-31=1
Exploring Operation: 43-31=12, Resulting Numbers: [32, 12]
Generated Node #0,2,2: 15:[32, 12] Operation: 43-31=12
Moving to Node #0,0
Current State: 15:[61, 43, 3], Operations: ['93/31=3']
Exploring Operation: 61-3=58, Resulting Numbers: [43, 58]
Generated Node #0,0,0: 15:[43, 58] Operation: 61-3=58
Exploring Operation: 43-3=40, Resulting Numbers: [61, 40]
Generated Node #0,0,1: 15:[61, 40] Operation: 43-3=40
Exploring Operation: 61-43=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 15:[3, 18] Operation: 61-43=18
Moving to Node #0,1
Current State: 15:[93, 31, 18], Operations: ['61-43=18']
Exploring Operation: 93-31=62, Resulting Numbers: [18, 62]
Generated Node #0,1,0: 15:[18, 62] Operation: 93-31=62
Exploring Operation: 93-18=75, Resulting Numbers: [31, 75]
Generated Node #0,1,1: 15:[31, 75] Operation: 93-18=75
Exploring Operation: 93/31=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 15:[18, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[18, 3], Operations: ['61-43=18', '93/31=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[61, 93, 43, 31], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [93, 31, 18]
Generated Node #0,1: 15:[93, 31, 18] Operation: 61-43=18
Moving to Node #0,1
Current State: 15:[93, 31, 18], Operations: ['61-43=18']
Exploring Operation: 93/31=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 15:[18, 3] Operation: 93/31=3
Moving to Node #0,1,2
Current State: 15:[18, 3], Operations: ['61-43=18', '93/31=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
4,
90,
40,
74
] | 81 | [
"90+74=164",
"164/4=41",
"40+41=81"
] | Current State: 81:[4, 90, 40, 74], Operations: []
Exploring Operation: 90+74=164, Resulting Numbers: [4, 40, 164]
Generated Node #2: [4, 40, 164] from Operation: 90+74=164
Current State: 81:[4, 40, 164], Operations: ['90+74=164']
Exploring Operation: 164/4=41, Resulting Numbers: [40, 41]
Generated Node #3: [40, 41] from Operation: 164/4=41
Current State: 81:[40, 41], Operations: ['90+74=164', '164/4=41']
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[4, 90, 40, 74], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [90, 74, 36]
Generated Node #0,0: 81:[90, 74, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [90, 74, 10]
Generated Node #0,1: 81:[90, 74, 10] Operation: 40/4=10
Exploring Operation: 90-74=16, Resulting Numbers: [4, 40, 16]
Generated Node #0,2: 81:[4, 40, 16] Operation: 90-74=16
Exploring Operation: 90-4=86, Resulting Numbers: [40, 74, 86]
Generated Node #0,3: 81:[40, 74, 86] Operation: 90-4=86
Exploring Operation: 74-40=34, Resulting Numbers: [4, 90, 34]
Generated Node #0,4: 81:[4, 90, 34] Operation: 74-40=34
Moving to Node #0,1
Current State: 81:[90, 74, 10], Operations: ['40/4=10']
Exploring Operation: 90/10=9, Resulting Numbers: [74, 9]
Generated Node #0,1,0: 81:[74, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [74, 80]
Generated Node #0,1,1: 81:[74, 80] Operation: 90-10=80
Exploring Operation: 90+10=100, Resulting Numbers: [74, 100]
Generated Node #0,1,2: 81:[74, 100] Operation: 90+10=100
Exploring Operation: 90-74=16, Resulting Numbers: [10, 16]
Generated Node #0,1,3: 81:[10, 16] Operation: 90-74=16
Exploring Operation: 74+10=84, Resulting Numbers: [90, 84]
Generated Node #0,1,4: 81:[90, 84] Operation: 74+10=84
Moving to Node #0,4
Current State: 81:[4, 90, 34], Operations: ['74-40=34']
Exploring Operation: 90-34=56, Resulting Numbers: [4, 56]
Generated Node #0,4,0: 81:[4, 56] Operation: 90-34=56
Exploring Operation: 4+90=94, Resulting Numbers: [34, 94]
Generated Node #0,4,1: 81:[34, 94] Operation: 4+90=94
Exploring Operation: 90-4=86, Resulting Numbers: [34, 86]
Generated Node #0,4,2: 81:[34, 86] Operation: 90-4=86
Exploring Operation: 4+34=38, Resulting Numbers: [90, 38]
Generated Node #0,4,3: 81:[90, 38] Operation: 4+34=38
Exploring Operation: 34-4=30, Resulting Numbers: [90, 30]
Generated Node #0,4,4: 81:[90, 30] Operation: 34-4=30
Moving to Node #0,2
Current State: 81:[4, 40, 16], Operations: ['90-74=16']
Exploring Operation: 40-16=24, Resulting Numbers: [4, 24]
Generated Node #0,2,0: 81:[4, 24] Operation: 40-16=24
Exploring Operation: 40/4=10, Resulting Numbers: [16, 10]
Generated Node #0,2,1: 81:[16, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [16, 36]
Generated Node #0,2,2: 81:[16, 36] Operation: 40-4=36
Exploring Operation: 16-4=12, Resulting Numbers: [40, 12]
Generated Node #0,2,3: 81:[40, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [40, 4]
Generated Node #0,2,4: 81:[40, 4] Operation: 16/4=4
Moving to Node #0,0
Current State: 81:[90, 74, 36], Operations: ['40-4=36']
Exploring Operation: 90-36=54, Resulting Numbers: [74, 54]
Generated Node #0,0,0: 81:[74, 54] Operation: 90-36=54
Exploring Operation: 74-36=38, Resulting Numbers: [90, 38]
Generated Node #0,0,1: 81:[90, 38] Operation: 74-36=38
Exploring Operation: 90-74=16, Resulting Numbers: [36, 16]
Generated Node #0,0,2: 81:[36, 16] Operation: 90-74=16
Exploring Operation: 74+36=110, Resulting Numbers: [90, 110]
Generated Node #0,0,3: 81:[90, 110] Operation: 74+36=110
Exploring Operation: 90+36=126, Resulting Numbers: [74, 126]
Generated Node #0,0,4: 81:[74, 126] Operation: 90+36=126
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[36, 16], Operations: ['40-4=36', '90-74=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[90, 38], Operations: ['40-4=36', '74-36=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,81 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[74, 54], Operations: ['40-4=36', '90-36=54']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 74*54=3996, Resulting Numbers: [3996]
3996,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[90, 110], Operations: ['40-4=36', '74+36=110']
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,81 unequal: No Solution
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[74, 126], Operations: ['40-4=36', '90+36=126']
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,81 unequal: No Solution
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,81 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: 81:[40, 74, 86], Operations: ['90-4=86']
Exploring Operation: 40+74=114, Resulting Numbers: [86, 114]
Generated Node #0,3,0: 81:[86, 114] Operation: 40+74=114
Exploring Operation: 86-74=12, Resulting Numbers: [40, 12]
Generated Node #0,3,1: 81:[40, 12] Operation: 86-74=12
Exploring Operation: 74-40=34, Resulting Numbers: [86, 34]
Generated Node #0,3,2: 81:[86, 34] Operation: 74-40=34
Exploring Operation: 40+86=126, Resulting Numbers: [74, 126]
Generated Node #0,3,3: 81:[74, 126] Operation: 40+86=126
Exploring Operation: 86-40=46, Resulting Numbers: [74, 46]
Generated Node #0,3,4: 81:[74, 46] Operation: 86-40=46
Moving to Node #0,2,0
Current State: 81:[4, 24], Operations: ['90-74=16', '40-16=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,81 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[74, 9], Operations: ['40/4=10', '90/10=9']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,81 unequal: No Solution
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[10, 16], Operations: ['40/4=10', '90-74=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[16, 10], Operations: ['90-74=16', '40/4=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[74, 80], Operations: ['40/4=10', '90-10=80']
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 74*80=5920, Resulting Numbers: [5920]
5920,81 unequal: No Solution
Exploring Operation: 74+80=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[90, 30], Operations: ['74-40=34', '34-4=30']
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,81 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[34, 86], Operations: ['74-40=34', '90-4=86']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,81 unequal: No Solution
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[90, 84], Operations: ['40/4=10', '74+10=84']
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,81 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[86, 34], Operations: ['90-4=86', '74-40=34']
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,81 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[40, 4], Operations: ['90-74=16', '16/4=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[40, 12], Operations: ['90-74=16', '16-4=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[40, 12], Operations: ['90-4=86', '86-74=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[16, 36], Operations: ['90-74=16', '40-4=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[34, 94], Operations: ['74-40=34', '4+90=94']
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,81 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[90, 38], Operations: ['74-40=34', '4+34=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,81 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,4,0
Current State: 81:[4, 56], Operations: ['74-40=34', '90-34=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,81 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[74, 100], Operations: ['40/4=10', '90+10=100']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,81 unequal: No Solution
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[74, 46], Operations: ['90-4=86', '86-40=46']
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,81 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,81 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[86, 114], Operations: ['90-4=86', '40+74=114']
Exploring Operation: 86+114=200, Resulting Numbers: [200]
200,81 unequal: No Solution
Exploring Operation: 86*114=9804, Resulting Numbers: [9804]
9804,81 unequal: No Solution
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[74, 126], Operations: ['90-4=86', '40+86=126']
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,81 unequal: No Solution
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,81 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
3,
33,
31
] | 88 | [
"46+31=77",
"33/3=11",
"77+11=88"
] | Current State: 88:[46, 3, 33, 31], Operations: []
Exploring Operation: 46+31=77, Resulting Numbers: [3, 33, 77]
Generated Node #2: [3, 33, 77] from Operation: 46+31=77
Current State: 88:[3, 33, 77], Operations: ['46+31=77']
Exploring Operation: 33/3=11, Resulting Numbers: [77, 11]
Generated Node #3: [77, 11] from Operation: 33/3=11
Current State: 88:[77, 11], Operations: ['46+31=77', '33/3=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[46, 3, 33, 31], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [46, 3, 2]
Generated Node #0,0: 88:[46, 3, 2] Operation: 33-31=2
Exploring Operation: 33/3=11, Resulting Numbers: [46, 31, 11]
Generated Node #0,1: 88:[46, 31, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[46, 3, 2], Operations: ['33-31=2']
Exploring Operation: 46-2=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 88:[3, 44] Operation: 46-2=44
Exploring Operation: 46-3=43, Resulting Numbers: [2, 43]
Generated Node #0,0,1: 88:[2, 43] Operation: 46-3=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[3, 44], Operations: ['33-31=2', '46-2=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[2, 43], Operations: ['33-31=2', '46-3=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,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,1
Current State: 88:[46, 31, 11], Operations: ['33/3=11']
Exploring Operation: 46-31=15, Resulting Numbers: [11, 15]
Generated Node #0,1,0: 88:[11, 15] Operation: 46-31=15
Exploring Operation: 31+11=42, Resulting Numbers: [46, 42]
Generated Node #0,1,1: 88:[46, 42] Operation: 31+11=42
Moving to Node #0,1,0
Current State: 88:[11, 15], Operations: ['33/3=11', '46-31=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[46, 42], Operations: ['33/3=11', '31+11=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[46, 3, 33, 31], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [46, 31, 11]
Generated Node #0,1: 88:[46, 31, 11] Operation: 33/3=11
Moving to Node #0,1
Current State: 88:[46, 31, 11], Operations: ['33/3=11']
Exploring Operation: 31+11=42, Resulting Numbers: [46, 42]
Generated Node #0,1,1: 88:[46, 42] Operation: 31+11=42
Moving to Node #0,1,1
Current State: 88:[46, 42], Operations: ['33/3=11', '31+11=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
11,
15,
45,
90
] | 49 | [
"15-11=4",
"90-45=45",
"4+45=49"
] | Current State: 49:[11, 15, 45, 90], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [45, 90, 4]
Generated Node #2: [45, 90, 4] from Operation: 15-11=4
Current State: 49:[45, 90, 4], Operations: ['15-11=4']
Exploring Operation: 90-45=45, Resulting Numbers: [4, 45]
Generated Node #3: [4, 45] from Operation: 90-45=45
Current State: 49:[4, 45], Operations: ['15-11=4', '90-45=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[11, 15, 45, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [11, 45, 6]
Generated Node #0,0: 49:[11, 45, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[11, 45, 6], Operations: ['90/15=6']
Exploring Operation: 11-6=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 49:[45, 5] Operation: 11-6=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[45, 5], Operations: ['90/15=6', '11-6=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
50,
39,
12
] | 74 | [
"50-27=23",
"39+12=51",
"23+51=74"
] | Current State: 74:[27, 50, 39, 12], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [39, 12, 23]
Generated Node #2: [39, 12, 23] from Operation: 50-27=23
Current State: 74:[39, 12, 23], Operations: ['50-27=23']
Exploring Operation: 39+12=51, Resulting Numbers: [23, 51]
Generated Node #3: [23, 51] from Operation: 39+12=51
Current State: 74:[23, 51], Operations: ['50-27=23', '39+12=51']
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[27, 50, 39, 12], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [27, 39, 38]
Generated Node #0,0: 74:[27, 39, 38] Operation: 50-12=38
Exploring Operation: 27+50=77, Resulting Numbers: [39, 12, 77]
Generated Node #0,1: 74:[39, 12, 77] Operation: 27+50=77
Exploring Operation: 27+12=39, Resulting Numbers: [50, 39, 39]
Generated Node #0,2: 74:[50, 39, 39] Operation: 27+12=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[27, 39, 38], Operations: ['50-12=38']
Exploring Operation: 27+39=66, Resulting Numbers: [38, 66]
Generated Node #0,0,0: 74:[38, 66] Operation: 27+39=66
Exploring Operation: 27+38=65, Resulting Numbers: [39, 65]
Generated Node #0,0,1: 74:[39, 65] Operation: 27+38=65
Exploring Operation: 39-27=12, Resulting Numbers: [38, 12]
Generated Node #0,0,2: 74:[38, 12] Operation: 39-27=12
Moving to Node #0,0,0
Current State: 74:[38, 66], Operations: ['50-12=38', '27+39=66']
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,74 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[39, 65], Operations: ['50-12=38', '27+38=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,74 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[38, 12], Operations: ['50-12=38', '39-27=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[39, 12, 77], Operations: ['27+50=77']
Exploring Operation: 77-39=38, Resulting Numbers: [12, 38]
Generated Node #0,1,0: 74:[12, 38] Operation: 77-39=38
Exploring Operation: 77-12=65, Resulting Numbers: [39, 65]
Generated Node #0,1,1: 74:[39, 65] Operation: 77-12=65
Exploring Operation: 39-12=27, Resulting Numbers: [77, 27]
Generated Node #0,1,2: 74:[77, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[12, 38], Operations: ['27+50=77', '77-39=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,74 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,74 unequal: No Solution
No 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: 74:[39, 65], Operations: ['27+50=77', '77-12=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,74 unequal: No Solution
No 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: 74:[77, 27], Operations: ['27+50=77', '39-12=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,74 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,74 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: 74:[50, 39, 39], Operations: ['27+12=39']
Exploring Operation: 50-39=11, Resulting Numbers: [39, 11]
Generated Node #0,2,0: 74:[39, 11] Operation: 50-39=11
Exploring Operation: 39/39=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 74:[50, 1] Operation: 39/39=1
Exploring Operation: 50-39=11, Resulting Numbers: [39, 11]
Generated Node #0,2,2: 74:[39, 11] Operation: 50-39=11
Moving to Node #0,2,0
Current State: 74:[39, 11], Operations: ['27+12=39', '50-39=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,74 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[39, 11], Operations: ['27+12=39', '50-39=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[50, 1], Operations: ['27+12=39', '39/39=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,74 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 |
[
63,
8,
45,
72
] | 28 | [
"63-8=55",
"72-45=27",
"55-27=28"
] | Current State: 28:[63, 8, 45, 72], Operations: []
Exploring Operation: 63-8=55, Resulting Numbers: [45, 72, 55]
Generated Node #2: [45, 72, 55] from Operation: 63-8=55
Current State: 28:[45, 72, 55], Operations: ['63-8=55']
Exploring Operation: 72-45=27, Resulting Numbers: [55, 27]
Generated Node #3: [55, 27] from Operation: 72-45=27
Current State: 28:[55, 27], Operations: ['63-8=55', '72-45=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[63, 8, 45, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [8, 45, 9]
Generated Node #0,0: 28:[8, 45, 9] Operation: 72-63=9
Exploring Operation: 72/8=9, Resulting Numbers: [63, 45, 9]
Generated Node #0,1: 28:[63, 45, 9] Operation: 72/8=9
Exploring Operation: 63-45=18, Resulting Numbers: [8, 72, 18]
Generated Node #0,2: 28:[8, 72, 18] Operation: 63-45=18
Exploring Operation: 72-45=27, Resulting Numbers: [63, 8, 27]
Generated Node #0,3: 28:[63, 8, 27] Operation: 72-45=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[8, 45, 9], Operations: ['72-63=9']
Exploring Operation: 9-8=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 28:[45, 1] Operation: 9-8=1
Exploring Operation: 45-8=37, Resulting Numbers: [9, 37]
Generated Node #0,0,1: 28:[9, 37] Operation: 45-8=37
Exploring Operation: 45/9=5, Resulting Numbers: [8, 5]
Generated Node #0,0,2: 28:[8, 5] Operation: 45/9=5
Exploring Operation: 45-9=36, Resulting Numbers: [8, 36]
Generated Node #0,0,3: 28:[8, 36] Operation: 45-9=36
Moving to Node #0,0,2
Current State: 28:[8, 5], Operations: ['72-63=9', '45/9=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[8, 36], Operations: ['72-63=9', '45-9=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,28 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[63, 8, 45, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [8, 45, 9]
Generated Node #0,0: 28:[8, 45, 9] Operation: 72-63=9
Moving to Node #0,0
Current State: 28:[8, 45, 9], Operations: ['72-63=9']
Exploring Operation: 45-9=36, Resulting Numbers: [8, 36]
Generated Node #0,0,3: 28:[8, 36] Operation: 45-9=36
Moving to Node #0,0,3
Current State: 28:[8, 36], Operations: ['72-63=9', '45-9=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
33,
20,
77,
18
] | 99 | [
"33+77=110",
"18*110=1980",
"1980/20=99"
] | Current State: 99:[33, 20, 77, 18], Operations: []
Exploring Operation: 33+77=110, Resulting Numbers: [20, 18, 110]
Generated Node #2: [20, 18, 110] from Operation: 33+77=110
Current State: 99:[20, 18, 110], Operations: ['33+77=110']
Exploring Operation: 18*110=1980, Resulting Numbers: [20, 1980]
Generated Node #3: [20, 1980] from Operation: 18*110=1980
Current State: 99:[20, 1980], Operations: ['33+77=110', '18*110=1980']
Exploring Operation: 1980/20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 20, 77, 18], Operations: []
Exploring Operation: 20+77=97, Resulting Numbers: [33, 18, 97]
Generated Node #0,0: 99:[33, 18, 97] Operation: 20+77=97
Exploring Operation: 20-18=2, Resulting Numbers: [33, 77, 2]
Generated Node #0,1: 99:[33, 77, 2] Operation: 20-18=2
Exploring Operation: 77+18=95, Resulting Numbers: [33, 20, 95]
Generated Node #0,2: 99:[33, 20, 95] Operation: 77+18=95
Moving to Node #0,0
Current State: 99:[33, 18, 97], Operations: ['20+77=97']
Exploring Operation: 18+97=115, Resulting Numbers: [33, 115]
Generated Node #0,0,0: 99:[33, 115] Operation: 18+97=115
Exploring Operation: 33-18=15, Resulting Numbers: [97, 15]
Generated Node #0,0,1: 99:[97, 15] Operation: 33-18=15
Exploring Operation: 33+18=51, Resulting Numbers: [97, 51]
Generated Node #0,0,2: 99:[97, 51] Operation: 33+18=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[97, 15], Operations: ['20+77=97', '33-18=15']
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[33, 115], Operations: ['20+77=97', '18+97=115']
Exploring Operation: 115-33=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 33*115=3795, Resulting Numbers: [3795]
3795,99 unequal: No Solution
Exploring Operation: 33+115=148, Resulting Numbers: [148]
148,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[97, 51], Operations: ['20+77=97', '33+18=51']
Exploring Operation: 97*51=4947, Resulting Numbers: [4947]
4947,99 unequal: No Solution
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,99 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 99:[33, 20, 95], Operations: ['77+18=95']
Exploring Operation: 33-20=13, Resulting Numbers: [95, 13]
Generated Node #0,2,0: 99:[95, 13] Operation: 33-20=13
Exploring Operation: 20+95=115, Resulting Numbers: [33, 115]
Generated Node #0,2,1: 99:[33, 115] Operation: 20+95=115
Exploring Operation: 33+20=53, Resulting Numbers: [95, 53]
Generated Node #0,2,2: 99:[95, 53] Operation: 33+20=53
Moving to Node #0,1
Current State: 99:[33, 77, 2], Operations: ['20-18=2']
Exploring Operation: 77-33=44, Resulting Numbers: [2, 44]
Generated Node #0,1,0: 99:[2, 44] Operation: 77-33=44
Exploring Operation: 77+2=79, Resulting Numbers: [33, 79]
Generated Node #0,1,1: 99:[33, 79] Operation: 77+2=79
Exploring Operation: 33+77=110, Resulting Numbers: [2, 110]
Generated Node #0,1,2: 99:[2, 110] Operation: 33+77=110
Moving to Node #0,2,0
Current State: 99:[95, 13], Operations: ['77+18=95', '33-20=13']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[2, 44], Operations: ['20-18=2', '77-33=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[2, 110], Operations: ['20-18=2', '33+77=110']
Exploring Operation: 110-2=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 2+110=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[33, 115], Operations: ['77+18=95', '20+95=115']
Exploring Operation: 115-33=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 33+115=148, Resulting Numbers: [148]
148,99 unequal: No Solution
Exploring Operation: 33*115=3795, Resulting Numbers: [3795]
3795,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[33, 79], Operations: ['20-18=2', '77+2=79']
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,99 unequal: No Solution
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[95, 53], Operations: ['77+18=95', '33+20=53']
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,99 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 95*53=5035, Resulting Numbers: [5035]
5035,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
59,
2,
80,
81
] | 58 | [
"59-2=57",
"81-80=1",
"57+1=58"
] | Current State: 58:[59, 2, 80, 81], Operations: []
Exploring Operation: 59-2=57, Resulting Numbers: [80, 81, 57]
Generated Node #2: [80, 81, 57] from Operation: 59-2=57
Current State: 58:[80, 81, 57], Operations: ['59-2=57']
Exploring Operation: 81-80=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 81-80=1
Current State: 58:[57, 1], Operations: ['59-2=57', '81-80=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[59, 2, 80, 81], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [2, 81, 21]
Generated Node #0,0: 58:[2, 81, 21] Operation: 80-59=21
Exploring Operation: 80-2=78, Resulting Numbers: [59, 81, 78]
Generated Node #0,1: 58:[59, 81, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [59, 81, 40]
Generated Node #0,2: 58:[59, 81, 40] Operation: 80/2=40
Exploring Operation: 81-80=1, Resulting Numbers: [59, 2, 1]
Generated Node #0,3: 58:[59, 2, 1] Operation: 81-80=1
Exploring Operation: 81-59=22, Resulting Numbers: [2, 80, 22]
Generated Node #0,4: 58:[2, 80, 22] Operation: 81-59=22
Moving to Node #0,3
Current State: 58:[59, 2, 1], Operations: ['81-80=1']
Exploring Operation: 59-1=58, Resulting Numbers: [2, 58]
Generated Node #0,3,0: 58:[2, 58] Operation: 59-1=58
Exploring Operation: 2*1=2, Resulting Numbers: [59, 2]
Generated Node #0,3,1: 58:[59, 2] Operation: 2*1=2
Exploring Operation: 59*1=59, Resulting Numbers: [2, 59]
Generated Node #0,3,2: 58:[2, 59] Operation: 59*1=59
Exploring Operation: 59/1=59, Resulting Numbers: [2, 59]
Generated Node #0,3,3: 58:[2, 59] Operation: 59/1=59
Exploring Operation: 2/1=2, Resulting Numbers: [59, 2]
Generated Node #0,3,4: 58:[59, 2] Operation: 2/1=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[2, 58], Operations: ['81-80=1', '59-1=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,58 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[59, 2], Operations: ['81-80=1', '2*1=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[2, 59], Operations: ['81-80=1', '59*1=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[2, 59], Operations: ['81-80=1', '59/1=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 58:[59, 2], Operations: ['81-80=1', '2/1=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,58 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: 58:[2, 80, 22], Operations: ['81-59=22']
Exploring Operation: 80-22=58, Resulting Numbers: [2, 58]
Generated Node #0,4,0: 58:[2, 58] Operation: 80-22=58
Exploring Operation: 2+22=24, Resulting Numbers: [80, 24]
Generated Node #0,4,1: 58:[80, 24] Operation: 2+22=24
Exploring Operation: 80-2=78, Resulting Numbers: [22, 78]
Generated Node #0,4,2: 58:[22, 78] Operation: 80-2=78
Exploring Operation: 2+80=82, Resulting Numbers: [22, 82]
Generated Node #0,4,3: 58:[22, 82] Operation: 2+80=82
Exploring Operation: 80/2=40, Resulting Numbers: [22, 40]
Generated Node #0,4,4: 58:[22, 40] Operation: 80/2=40
Moving to Node #0,0
Current State: 58:[2, 81, 21], Operations: ['80-59=21']
Exploring Operation: 21-2=19, Resulting Numbers: [81, 19]
Generated Node #0,0,0: 58:[81, 19] Operation: 21-2=19
Exploring Operation: 81-21=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 81-21=60
Exploring Operation: 2+81=83, Resulting Numbers: [21, 83]
Generated Node #0,0,2: 58:[21, 83] Operation: 2+81=83
Exploring Operation: 81-2=79, Resulting Numbers: [21, 79]
Generated Node #0,0,3: 58:[21, 79] Operation: 81-2=79
Exploring Operation: 2+21=23, Resulting Numbers: [81, 23]
Generated Node #0,0,4: 58:[81, 23] Operation: 2+21=23
Moving to Node #0,2
Current State: 58:[59, 81, 40], Operations: ['80/2=40']
Exploring Operation: 81-59=22, Resulting Numbers: [40, 22]
Generated Node #0,2,0: 58:[40, 22] Operation: 81-59=22
Exploring Operation: 59-40=19, Resulting Numbers: [81, 19]
Generated Node #0,2,1: 58:[81, 19] Operation: 59-40=19
Exploring Operation: 81+40=121, Resulting Numbers: [59, 121]
Generated Node #0,2,2: 58:[59, 121] Operation: 81+40=121
Exploring Operation: 59+40=99, Resulting Numbers: [81, 99]
Generated Node #0,2,3: 58:[81, 99] Operation: 59+40=99
Exploring Operation: 81-40=41, Resulting Numbers: [59, 41]
Generated Node #0,2,4: 58:[59, 41] Operation: 81-40=41
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 58:[59, 41], Operations: ['80/2=40', '81-40=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[40, 22], Operations: ['80/2=40', '81-59=22']
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,58 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[81, 19], Operations: ['80/2=40', '59-40=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,58 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[59, 121], Operations: ['80/2=40', '81+40=121']
Exploring Operation: 59+121=180, Resulting Numbers: [180]
180,58 unequal: No Solution
Exploring Operation: 121-59=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 59*121=7139, Resulting Numbers: [7139]
7139,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[81, 99], Operations: ['80/2=40', '59+40=99']
Exploring Operation: 81+99=180, Resulting Numbers: [180]
180,58 unequal: No Solution
Exploring Operation: 99-81=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 81*99=8019, Resulting Numbers: [8019]
8019,58 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: 58:[59, 81, 78], Operations: ['80-2=78']
Exploring Operation: 59+81=140, Resulting Numbers: [78, 140]
Generated Node #0,1,0: 58:[78, 140] Operation: 59+81=140
Exploring Operation: 81-78=3, Resulting Numbers: [59, 3]
Generated Node #0,1,1: 58:[59, 3] Operation: 81-78=3
Exploring Operation: 81-59=22, Resulting Numbers: [78, 22]
Generated Node #0,1,2: 58:[78, 22] Operation: 81-59=22
Exploring Operation: 59+78=137, Resulting Numbers: [81, 137]
Generated Node #0,1,3: 58:[81, 137] Operation: 59+78=137
Exploring Operation: 78-59=19, Resulting Numbers: [81, 19]
Generated Node #0,1,4: 58:[81, 19] Operation: 78-59=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[59, 3], Operations: ['80-2=78', '81-78=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,58 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[78, 22], Operations: ['80-2=78', '81-59=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 58:[81, 19], Operations: ['80-2=78', '78-59=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,58 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[78, 140], Operations: ['80-2=78', '59+81=140']
Exploring Operation: 140-78=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 78+140=218, Resulting Numbers: [218]
218,58 unequal: No Solution
Exploring Operation: 78*140=10920, Resulting Numbers: [10920]
10920,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[81, 137], Operations: ['80-2=78', '59+78=137']
Exploring Operation: 137-81=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 81*137=11097, Resulting Numbers: [11097]
11097,58 unequal: No Solution
Exploring Operation: 81+137=218, Resulting Numbers: [218]
218,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 58:[2, 58], Operations: ['81-59=22', '80-22=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,58 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['80-59=21', '81-21=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[59, 2, 80, 81], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [2, 81, 21]
Generated Node #0,0: 58:[2, 81, 21] Operation: 80-59=21
Moving to Node #0,0
Current State: 58:[2, 81, 21], Operations: ['80-59=21']
Exploring Operation: 81-21=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 81-21=60
Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['80-59=21', '81-21=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.924479 | hs_5 | mult_heuristic |
[
27,
2,
56,
49
] | 98 | [
"27*2=54",
"56-54=2",
"49*2=98"
] | Current State: 98:[27, 2, 56, 49], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [56, 49, 54]
Generated Node #2: [56, 49, 54] from Operation: 27*2=54
Current State: 98:[56, 49, 54], Operations: ['27*2=54']
Exploring Operation: 56-54=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 56-54=2
Current State: 98:[49, 2], Operations: ['27*2=54', '56-54=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[27, 2, 56, 49], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [2, 49, 29]
Generated Node #0,0: 98:[2, 49, 29] Operation: 56-27=29
Exploring Operation: 27+56=83, Resulting Numbers: [2, 49, 83]
Generated Node #0,1: 98:[2, 49, 83] Operation: 27+56=83
Exploring Operation: 56-49=7, Resulting Numbers: [27, 2, 7]
Generated Node #0,2: 98:[27, 2, 7] Operation: 56-49=7
Exploring Operation: 49-27=22, Resulting Numbers: [2, 56, 22]
Generated Node #0,3: 98:[2, 56, 22] Operation: 49-27=22
Exploring Operation: 27*2=54, Resulting Numbers: [56, 49, 54]
Generated Node #0,4: 98:[56, 49, 54] Operation: 27*2=54
Moving to Node #0,4
Current State: 98:[56, 49, 54], Operations: ['27*2=54']
Exploring Operation: 56-54=2, Resulting Numbers: [49, 2]
Generated Node #0,4,0: 98:[49, 2] Operation: 56-54=2
Exploring Operation: 56+54=110, Resulting Numbers: [49, 110]
Generated Node #0,4,1: 98:[49, 110] Operation: 56+54=110
Exploring Operation: 56-49=7, Resulting Numbers: [54, 7]
Generated Node #0,4,2: 98:[54, 7] Operation: 56-49=7
Exploring Operation: 56+49=105, Resulting Numbers: [54, 105]
Generated Node #0,4,3: 98:[54, 105] Operation: 56+49=105
Exploring Operation: 54-49=5, Resulting Numbers: [56, 5]
Generated Node #0,4,4: 98:[56, 5] Operation: 54-49=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[49, 2], Operations: ['27*2=54', '56-54=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[27, 2, 56, 49], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [56, 49, 54]
Generated Node #0,4: 98:[56, 49, 54] Operation: 27*2=54
Moving to Node #0,4
Current State: 98:[56, 49, 54], Operations: ['27*2=54']
Exploring Operation: 56-54=2, Resulting Numbers: [49, 2]
Generated Node #0,4,0: 98:[49, 2] Operation: 56-54=2
Moving to Node #0,4,0
Current State: 98:[49, 2], Operations: ['27*2=54', '56-54=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
99,
11,
77,
26
] | 13 | [
"99-77=22",
"11*26=286",
"286/22=13"
] | Current State: 13:[99, 11, 77, 26], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [11, 26, 22]
Generated Node #2: [11, 26, 22] from Operation: 99-77=22
Current State: 13:[11, 26, 22], Operations: ['99-77=22']
Exploring Operation: 11*26=286, Resulting Numbers: [22, 286]
Generated Node #3: [22, 286] from Operation: 11*26=286
Current State: 13:[22, 286], Operations: ['99-77=22', '11*26=286']
Exploring Operation: 286/22=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[99, 11, 77, 26], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [11, 26, 22]
Generated Node #0,0: 13:[11, 26, 22] Operation: 99-77=22
Exploring Operation: 99-26=73, Resulting Numbers: [11, 77, 73]
Generated Node #0,1: 13:[11, 77, 73] Operation: 99-26=73
Exploring Operation: 99/11=9, Resulting Numbers: [77, 26, 9]
Generated Node #0,2: 13:[77, 26, 9] Operation: 99/11=9
Exploring Operation: 77/11=7, Resulting Numbers: [99, 26, 7]
Generated Node #0,3: 13:[99, 26, 7] Operation: 77/11=7
Moving to Node #0,0
Current State: 13:[11, 26, 22], Operations: ['99-77=22']
Exploring Operation: 26-11=15, Resulting Numbers: [22, 15]
Generated Node #0,0,0: 13:[22, 15] Operation: 26-11=15
Exploring Operation: 22-11=11, Resulting Numbers: [26, 11]
Generated Node #0,0,1: 13:[26, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 13:[26, 2] Operation: 22/11=2
Exploring Operation: 26-22=4, Resulting Numbers: [11, 4]
Generated Node #0,0,3: 13:[11, 4] Operation: 26-22=4
Moving to Node #0,2
Current State: 13:[77, 26, 9], Operations: ['99/11=9']
Exploring Operation: 77-26=51, Resulting Numbers: [9, 51]
Generated Node #0,2,0: 13:[9, 51] Operation: 77-26=51
Exploring Operation: 77-9=68, Resulting Numbers: [26, 68]
Generated Node #0,2,1: 13:[26, 68] Operation: 77-9=68
Exploring Operation: 26-9=17, Resulting Numbers: [77, 17]
Generated Node #0,2,2: 13:[77, 17] Operation: 26-9=17
Exploring Operation: 77+9=86, Resulting Numbers: [26, 86]
Generated Node #0,2,3: 13:[26, 86] Operation: 77+9=86
Moving to Node #0,3
Current State: 13:[99, 26, 7], Operations: ['77/11=7']
Exploring Operation: 99+7=106, Resulting Numbers: [26, 106]
Generated Node #0,3,0: 13:[26, 106] Operation: 99+7=106
Exploring Operation: 99-26=73, Resulting Numbers: [7, 73]
Generated Node #0,3,1: 13:[7, 73] Operation: 99-26=73
Exploring Operation: 99-7=92, Resulting Numbers: [26, 92]
Generated Node #0,3,2: 13:[26, 92] Operation: 99-7=92
Exploring Operation: 26-7=19, Resulting Numbers: [99, 19]
Generated Node #0,3,3: 13:[99, 19] Operation: 26-7=19
Moving to Node #0,1
Current State: 13:[11, 77, 73], Operations: ['99-26=73']
Exploring Operation: 73-11=62, Resulting Numbers: [77, 62]
Generated Node #0,1,0: 13:[77, 62] Operation: 73-11=62
Exploring Operation: 77/11=7, Resulting Numbers: [73, 7]
Generated Node #0,1,1: 13:[73, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [73, 66]
Generated Node #0,1,2: 13:[73, 66] Operation: 77-11=66
Exploring Operation: 77-73=4, Resulting Numbers: [11, 4]
Generated Node #0,1,3: 13:[11, 4] Operation: 77-73=4
Moving to Node #0,0,0
Current State: 13:[22, 15], Operations: ['99-77=22', '26-11=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,13 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[11, 4], Operations: ['99-26=73', '77-73=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[11, 4], Operations: ['99-77=22', '26-22=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[26, 11], Operations: ['99-77=22', '22-11=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[26, 2], Operations: ['99-77=22', '22/11=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[99, 11, 77, 26], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [11, 26, 22]
Generated Node #0,0: 13:[11, 26, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 13:[11, 26, 22], Operations: ['99-77=22']
Exploring Operation: 22/11=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 13:[26, 2] Operation: 22/11=2
Moving to Node #0,0,2
Current State: 13:[26, 2], Operations: ['99-77=22', '22/11=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
94,
91,
44,
90
] | 74 | [
"94-91=3",
"90/3=30",
"44+30=74"
] | Current State: 74:[94, 91, 44, 90], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [44, 90, 3]
Generated Node #2: [44, 90, 3] from Operation: 94-91=3
Current State: 74:[44, 90, 3], Operations: ['94-91=3']
Exploring Operation: 90/3=30, Resulting Numbers: [44, 30]
Generated Node #3: [44, 30] from Operation: 90/3=30
Current State: 74:[44, 30], Operations: ['94-91=3', '90/3=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[94, 91, 44, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [91, 44, 4]
Generated Node #0,0: 74:[91, 44, 4] Operation: 94-90=4
Exploring Operation: 94-91=3, Resulting Numbers: [44, 90, 3]
Generated Node #0,1: 74:[44, 90, 3] Operation: 94-91=3
Exploring Operation: 91-90=1, Resulting Numbers: [94, 44, 1]
Generated Node #0,2: 74:[94, 44, 1] Operation: 91-90=1
Exploring Operation: 94-44=50, Resulting Numbers: [91, 90, 50]
Generated Node #0,3: 74:[91, 90, 50] Operation: 94-44=50
Moving to Node #0,1
Current State: 74:[44, 90, 3], Operations: ['94-91=3']
Exploring Operation: 90-44=46, Resulting Numbers: [3, 46]
Generated Node #0,1,0: 74:[3, 46] Operation: 90-44=46
Exploring Operation: 90/3=30, Resulting Numbers: [44, 30]
Generated Node #0,1,1: 74:[44, 30] Operation: 90/3=30
Exploring Operation: 44-3=41, Resulting Numbers: [90, 41]
Generated Node #0,1,2: 74:[90, 41] Operation: 44-3=41
Exploring Operation: 90-3=87, Resulting Numbers: [44, 87]
Generated Node #0,1,3: 74:[44, 87] Operation: 90-3=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[3, 46], Operations: ['94-91=3', '90-44=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[44, 30], Operations: ['94-91=3', '90/3=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[94, 91, 44, 90], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [44, 90, 3]
Generated Node #0,1: 74:[44, 90, 3] Operation: 94-91=3
Moving to Node #0,1
Current State: 74:[44, 90, 3], Operations: ['94-91=3']
Exploring Operation: 90/3=30, Resulting Numbers: [44, 30]
Generated Node #0,1,1: 74:[44, 30] Operation: 90/3=30
Moving to Node #0,1,1
Current State: 74:[44, 30], Operations: ['94-91=3', '90/3=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
31,
73,
9,
62
] | 66 | [
"62/31=2",
"73-9=64",
"2+64=66"
] | Current State: 66:[31, 73, 9, 62], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [73, 9, 2]
Generated Node #2: [73, 9, 2] from Operation: 62/31=2
Current State: 66:[73, 9, 2], Operations: ['62/31=2']
Exploring Operation: 73-9=64, Resulting Numbers: [2, 64]
Generated Node #3: [2, 64] from Operation: 73-9=64
Current State: 66:[2, 64], Operations: ['62/31=2', '73-9=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[31, 73, 9, 62], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [73, 9, 2]
Generated Node #0,0: 66:[73, 9, 2] Operation: 62/31=2
Exploring Operation: 73-9=64, Resulting Numbers: [31, 62, 64]
Generated Node #0,1: 66:[31, 62, 64] Operation: 73-9=64
Exploring Operation: 73-62=11, Resulting Numbers: [31, 9, 11]
Generated Node #0,2: 66:[31, 9, 11] Operation: 73-62=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[31, 9, 11], Operations: ['73-62=11']
Exploring Operation: 11-9=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 66:[31, 2] Operation: 11-9=2
Exploring Operation: 31-11=20, Resulting Numbers: [9, 20]
Generated Node #0,2,1: 66:[9, 20] Operation: 31-11=20
Exploring Operation: 31-9=22, Resulting Numbers: [11, 22]
Generated Node #0,2,2: 66:[11, 22] Operation: 31-9=22
Moving to Node #0,2,2
Current State: 66:[11, 22], Operations: ['73-62=11', '31-9=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[31, 2], Operations: ['73-62=11', '11-9=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[9, 20], Operations: ['73-62=11', '31-11=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,66 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,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,1
Current State: 66:[31, 62, 64], Operations: ['73-9=64']
Exploring Operation: 64-62=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 66:[31, 2] Operation: 64-62=2
Exploring Operation: 62-31=31, Resulting Numbers: [64, 31]
Generated Node #0,1,1: 66:[64, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [64, 2]
Generated Node #0,1,2: 66:[64, 2] Operation: 62/31=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[31, 2], Operations: ['73-9=64', '64-62=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[64, 2], Operations: ['73-9=64', '62/31=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[31, 73, 9, 62], Operations: []
Exploring Operation: 73-9=64, Resulting Numbers: [31, 62, 64]
Generated Node #0,1: 66:[31, 62, 64] Operation: 73-9=64
Moving to Node #0,1
Current State: 66:[31, 62, 64], Operations: ['73-9=64']
Exploring Operation: 62/31=2, Resulting Numbers: [64, 2]
Generated Node #0,1,2: 66:[64, 2] Operation: 62/31=2
Moving to Node #0,1,2
Current State: 66:[64, 2], Operations: ['73-9=64', '62/31=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
63,
6,
66,
40
] | 83 | [
"63-6=57",
"66-40=26",
"57+26=83"
] | Current State: 83:[63, 6, 66, 40], Operations: []
Exploring Operation: 63-6=57, Resulting Numbers: [66, 40, 57]
Generated Node #2: [66, 40, 57] from Operation: 63-6=57
Current State: 83:[66, 40, 57], Operations: ['63-6=57']
Exploring Operation: 66-40=26, Resulting Numbers: [57, 26]
Generated Node #3: [57, 26] from Operation: 66-40=26
Current State: 83:[57, 26], Operations: ['63-6=57', '66-40=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[63, 6, 66, 40], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [63, 66, 46]
Generated Node #0,0: 83:[63, 66, 46] Operation: 6+40=46
Exploring Operation: 6+66=72, Resulting Numbers: [63, 40, 72]
Generated Node #0,1: 83:[63, 40, 72] Operation: 6+66=72
Exploring Operation: 63-6=57, Resulting Numbers: [66, 40, 57]
Generated Node #0,2: 83:[66, 40, 57] Operation: 63-6=57
Exploring Operation: 63+6=69, Resulting Numbers: [66, 40, 69]
Generated Node #0,3: 83:[66, 40, 69] Operation: 63+6=69
Moving to Node #0,0
Current State: 83:[63, 66, 46], Operations: ['6+40=46']
Exploring Operation: 63+46=109, Resulting Numbers: [66, 109]
Generated Node #0,0,0: 83:[66, 109] Operation: 63+46=109
Exploring Operation: 66+46=112, Resulting Numbers: [63, 112]
Generated Node #0,0,1: 83:[63, 112] Operation: 66+46=112
Exploring Operation: 63+66=129, Resulting Numbers: [46, 129]
Generated Node #0,0,2: 83:[46, 129] Operation: 63+66=129
Exploring Operation: 63-46=17, Resulting Numbers: [66, 17]
Generated Node #0,0,3: 83:[66, 17] Operation: 63-46=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[66, 109], Operations: ['6+40=46', '63+46=109']
Exploring Operation: 66+109=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 66*109=7194, Resulting Numbers: [7194]
7194,83 unequal: No Solution
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[63, 112], Operations: ['6+40=46', '66+46=112']
Exploring Operation: 112-63=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 63+112=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 63*112=7056, Resulting Numbers: [7056]
7056,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[46, 129], Operations: ['6+40=46', '63+66=129']
Exploring Operation: 46+129=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 129-46=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[63, 6, 66, 40], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [63, 66, 46]
Generated Node #0,0: 83:[63, 66, 46] Operation: 6+40=46
Moving to Node #0,0
Current State: 83:[63, 66, 46], Operations: ['6+40=46']
Exploring Operation: 63+66=129, Resulting Numbers: [46, 129]
Generated Node #0,0,2: 83:[46, 129] Operation: 63+66=129
Moving to Node #0,0,2
Current State: 83:[46, 129], Operations: ['6+40=46', '63+66=129']
Exploring Operation: 129-46=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
12,
56,
3,
12
] | 48 | [
"56-12=44",
"12/3=4",
"44+4=48"
] | Current State: 48:[12, 56, 3, 12], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [3, 44]
Generated Node #2: [3, 44] from Operation: 56-12=44
Current State: 48:[3, 44], Operations: ['56-12=44']
Exploring Operation: 12/3=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 12/3=4
Current State: 48:[44, 4], Operations: ['56-12=44', '12/3=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[12, 56, 3, 12], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [12, 3, 44]
Generated Node #0,0: 48:[12, 3, 44] Operation: 56-12=44
Exploring Operation: 56-3=53, Resulting Numbers: [12, 12, 53]
Generated Node #0,1: 48:[12, 12, 53] Operation: 56-3=53
Exploring Operation: 56-12=44, Resulting Numbers: [3, 12, 44]
Generated Node #0,2: 48:[3, 12, 44] Operation: 56-12=44
Exploring Operation: 12/3=4, Resulting Numbers: [56, 12, 4]
Generated Node #0,3: 48:[56, 12, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[12, 3, 44], Operations: ['56-12=44']
Exploring Operation: 3+44=47, Resulting Numbers: [12, 47]
Generated Node #0,0,0: 48:[12, 47] Operation: 3+44=47
Exploring Operation: 12+3=15, Resulting Numbers: [44, 15]
Generated Node #0,0,1: 48:[44, 15] Operation: 12+3=15
Exploring Operation: 12-3=9, Resulting Numbers: [44, 9]
Generated Node #0,0,2: 48:[44, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [44, 4]
Generated Node #0,0,3: 48:[44, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 48:[12, 47], Operations: ['56-12=44', '3+44=47']
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,48 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[44, 4], Operations: ['56-12=44', '12/3=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,48 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[12, 56, 3, 12], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [12, 3, 44]
Generated Node #0,0: 48:[12, 3, 44] Operation: 56-12=44
Moving to Node #0,0
Current State: 48:[12, 3, 44], Operations: ['56-12=44']
Exploring Operation: 12/3=4, Resulting Numbers: [44, 4]
Generated Node #0,0,3: 48:[44, 4] Operation: 12/3=4
Moving to Node #0,0,3
Current State: 48:[44, 4], Operations: ['56-12=44', '12/3=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
27,
16,
5,
63
] | 49 | [
"16+5=21",
"63*21=1323",
"1323/27=49"
] | Current State: 49:[27, 16, 5, 63], Operations: []
Exploring Operation: 16+5=21, Resulting Numbers: [27, 63, 21]
Generated Node #2: [27, 63, 21] from Operation: 16+5=21
Current State: 49:[27, 63, 21], Operations: ['16+5=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [27, 1323]
Generated Node #3: [27, 1323] from Operation: 63*21=1323
Current State: 49:[27, 1323], Operations: ['16+5=21', '63*21=1323']
Exploring Operation: 1323/27=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[27, 16, 5, 63], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [16, 5, 36]
Generated Node #0,0: 49:[16, 5, 36] Operation: 63-27=36
Exploring Operation: 27+16=43, Resulting Numbers: [5, 63, 43]
Generated Node #0,1: 49:[5, 63, 43] Operation: 27+16=43
Exploring Operation: 27-16=11, Resulting Numbers: [5, 63, 11]
Generated Node #0,2: 49:[5, 63, 11] Operation: 27-16=11
Moving to Node #0,2
Current State: 49:[5, 63, 11], Operations: ['27-16=11']
Exploring Operation: 63-11=52, Resulting Numbers: [5, 52]
Generated Node #0,2,0: 49:[5, 52] Operation: 63-11=52
Exploring Operation: 11-5=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 49:[63, 6] Operation: 11-5=6
Exploring Operation: 63-5=58, Resulting Numbers: [11, 58]
Generated Node #0,2,2: 49:[11, 58] Operation: 63-5=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[5, 52], Operations: ['27-16=11', '63-11=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,49 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[11, 58], Operations: ['27-16=11', '63-5=58']
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[63, 6], Operations: ['27-16=11', '11-5=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,49 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[5, 63, 43], Operations: ['27+16=43']
Exploring Operation: 63-5=58, Resulting Numbers: [43, 58]
Generated Node #0,1,0: 49:[43, 58] Operation: 63-5=58
Exploring Operation: 63-43=20, Resulting Numbers: [5, 20]
Generated Node #0,1,1: 49:[5, 20] Operation: 63-43=20
Exploring Operation: 5+43=48, Resulting Numbers: [63, 48]
Generated Node #0,1,2: 49:[63, 48] Operation: 5+43=48
Moving to Node #0,0
Current State: 49:[16, 5, 36], Operations: ['63-27=36']
Exploring Operation: 36-16=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 49:[5, 20] Operation: 36-16=20
Exploring Operation: 16-5=11, Resulting Numbers: [36, 11]
Generated Node #0,0,1: 49:[36, 11] Operation: 16-5=11
Exploring Operation: 16+36=52, Resulting Numbers: [5, 52]
Generated Node #0,0,2: 49:[5, 52] Operation: 16+36=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[5, 52], Operations: ['63-27=36', '16+36=52']
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,49 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[5, 20], Operations: ['63-27=36', '36-16=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[36, 11], Operations: ['63-27=36', '16-5=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,49 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,49 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: 49:[43, 58], Operations: ['27+16=43', '63-5=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[5, 20], Operations: ['27+16=43', '63-43=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[63, 48], Operations: ['27+16=43', '5+43=48']
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,49 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
58,
48,
7,
34
] | 56 | [
"48-34=14",
"14/7=2",
"58-2=56"
] | Current State: 56:[58, 48, 7, 34], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [58, 7, 14]
Generated Node #2: [58, 7, 14] from Operation: 48-34=14
Current State: 56:[58, 7, 14], Operations: ['48-34=14']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 14/7=2
Current State: 56:[58, 2], Operations: ['48-34=14', '14/7=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[58, 48, 7, 34], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [58, 7, 14]
Generated Node #0,0: 56:[58, 7, 14] Operation: 48-34=14
Exploring Operation: 34-7=27, Resulting Numbers: [58, 48, 27]
Generated Node #0,1: 56:[58, 48, 27] Operation: 34-7=27
Exploring Operation: 48+7=55, Resulting Numbers: [58, 34, 55]
Generated Node #0,2: 56:[58, 34, 55] Operation: 48+7=55
Exploring Operation: 58-48=10, Resulting Numbers: [7, 34, 10]
Generated Node #0,3: 56:[7, 34, 10] Operation: 58-48=10
Exploring Operation: 58-34=24, Resulting Numbers: [48, 7, 24]
Generated Node #0,4: 56:[48, 7, 24] Operation: 58-34=24
Moving to Node #0,0
Current State: 56:[58, 7, 14], Operations: ['48-34=14']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 56:[58, 2] Operation: 14/7=2
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,0,1: 56:[14, 51] Operation: 58-7=51
Exploring Operation: 58+7=65, Resulting Numbers: [14, 65]
Generated Node #0,0,2: 56:[14, 65] Operation: 58+7=65
Exploring Operation: 7+14=21, Resulting Numbers: [58, 21]
Generated Node #0,0,3: 56:[58, 21] Operation: 7+14=21
Exploring Operation: 14-7=7, Resulting Numbers: [58, 7]
Generated Node #0,0,4: 56:[58, 7] Operation: 14-7=7
Moving to Node #0,3
Current State: 56:[7, 34, 10], Operations: ['58-48=10']
Exploring Operation: 34+10=44, Resulting Numbers: [7, 44]
Generated Node #0,3,0: 56:[7, 44] Operation: 34+10=44
Exploring Operation: 34-10=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 56:[7, 24] Operation: 34-10=24
Exploring Operation: 34-7=27, Resulting Numbers: [10, 27]
Generated Node #0,3,2: 56:[10, 27] Operation: 34-7=27
Exploring Operation: 7+10=17, Resulting Numbers: [34, 17]
Generated Node #0,3,3: 56:[34, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [34, 3]
Generated Node #0,3,4: 56:[34, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[10, 27], Operations: ['58-48=10', '34-7=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[7, 24], Operations: ['58-48=10', '34-10=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[34, 3], Operations: ['58-48=10', '10-7=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[34, 17], Operations: ['58-48=10', '7+10=17']
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,56 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[7, 44], Operations: ['58-48=10', '34+10=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,56 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[58, 34, 55], Operations: ['48+7=55']
Exploring Operation: 55-34=21, Resulting Numbers: [58, 21]
Generated Node #0,2,0: 56:[58, 21] Operation: 55-34=21
Exploring Operation: 34+55=89, Resulting Numbers: [58, 89]
Generated Node #0,2,1: 56:[58, 89] Operation: 34+55=89
Exploring Operation: 58+34=92, Resulting Numbers: [55, 92]
Generated Node #0,2,2: 56:[55, 92] Operation: 58+34=92
Exploring Operation: 58-55=3, Resulting Numbers: [34, 3]
Generated Node #0,2,3: 56:[34, 3] Operation: 58-55=3
Exploring Operation: 58-34=24, Resulting Numbers: [55, 24]
Generated Node #0,2,4: 56:[55, 24] Operation: 58-34=24
Moving to Node #0,1
Current State: 56:[58, 48, 27], Operations: ['34-7=27']
Exploring Operation: 58-48=10, Resulting Numbers: [27, 10]
Generated Node #0,1,0: 56:[27, 10] Operation: 58-48=10
Exploring Operation: 58-27=31, Resulting Numbers: [48, 31]
Generated Node #0,1,1: 56:[48, 31] Operation: 58-27=31
Exploring Operation: 48-27=21, Resulting Numbers: [58, 21]
Generated Node #0,1,2: 56:[58, 21] Operation: 48-27=21
Exploring Operation: 58+27=85, Resulting Numbers: [48, 85]
Generated Node #0,1,3: 56:[48, 85] Operation: 58+27=85
Exploring Operation: 48+27=75, Resulting Numbers: [58, 75]
Generated Node #0,1,4: 56:[58, 75] Operation: 48+27=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[27, 10], Operations: ['34-7=27', '58-48=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,56 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[58, 21], Operations: ['34-7=27', '48-27=21']
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,56 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[48, 31], Operations: ['34-7=27', '58-27=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,56 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[58, 75], Operations: ['34-7=27', '48+27=75']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 58*75=4350, Resulting Numbers: [4350]
4350,56 unequal: No Solution
Exploring Operation: 58+75=133, Resulting Numbers: [133]
133,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[48, 85], Operations: ['34-7=27', '58+27=85']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 48*85=4080, Resulting Numbers: [4080]
4080,56 unequal: No Solution
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,56 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: 56:[48, 7, 24], Operations: ['58-34=24']
Exploring Operation: 48+7=55, Resulting Numbers: [24, 55]
Generated Node #0,4,0: 56:[24, 55] Operation: 48+7=55
Exploring Operation: 24-7=17, Resulting Numbers: [48, 17]
Generated Node #0,4,1: 56:[48, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [48, 31]
Generated Node #0,4,2: 56:[48, 31] Operation: 7+24=31
Exploring Operation: 48/24=2, Resulting Numbers: [7, 2]
Generated Node #0,4,3: 56:[7, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [7, 24]
Generated Node #0,4,4: 56:[7, 24] Operation: 48-24=24
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 56:[7, 2], Operations: ['58-34=24', '48/24=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 56:[7, 24], Operations: ['58-34=24', '48-24=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[24, 55], Operations: ['58-34=24', '48+7=55']
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,56 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 56:[48, 17], Operations: ['58-34=24', '24-7=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[48, 31], Operations: ['58-34=24', '7+24=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,56 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 56:[58, 2], Operations: ['48-34=14', '14/7=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[58, 48, 7, 34], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [58, 7, 14]
Generated Node #0,0: 56:[58, 7, 14] Operation: 48-34=14
Moving to Node #0,0
Current State: 56:[58, 7, 14], Operations: ['48-34=14']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 56:[58, 2] Operation: 14/7=2
Moving to Node #0,0,0
Current State: 56:[58, 2], Operations: ['48-34=14', '14/7=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
33,
53,
65,
18
] | 22 | [
"65-53=12",
"33*12=396",
"396/18=22"
] | Current State: 22:[33, 53, 65, 18], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [33, 18, 12]
Generated Node #2: [33, 18, 12] from Operation: 65-53=12
Current State: 22:[33, 18, 12], Operations: ['65-53=12']
Exploring Operation: 33*12=396, Resulting Numbers: [18, 396]
Generated Node #3: [18, 396] from Operation: 33*12=396
Current State: 22:[18, 396], Operations: ['65-53=12', '33*12=396']
Exploring Operation: 396/18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[33, 53, 65, 18], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [33, 18, 12]
Generated Node #0,0: 22:[33, 18, 12] Operation: 65-53=12
Exploring Operation: 53-33=20, Resulting Numbers: [65, 18, 20]
Generated Node #0,1: 22:[65, 18, 20] Operation: 53-33=20
Exploring Operation: 65-33=32, Resulting Numbers: [53, 18, 32]
Generated Node #0,2: 22:[53, 18, 32] Operation: 65-33=32
Moving to Node #0,0
Current State: 22:[33, 18, 12], Operations: ['65-53=12']
Exploring Operation: 33-18=15, Resulting Numbers: [12, 15]
Generated Node #0,0,0: 22:[12, 15] Operation: 33-18=15
Exploring Operation: 18-12=6, Resulting Numbers: [33, 6]
Generated Node #0,0,1: 22:[33, 6] Operation: 18-12=6
Exploring Operation: 33-12=21, Resulting Numbers: [18, 21]
Generated Node #0,0,2: 22:[18, 21] Operation: 33-12=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[12, 15], Operations: ['65-53=12', '33-18=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[18, 21], Operations: ['65-53=12', '33-12=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,22 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[33, 6], Operations: ['65-53=12', '18-12=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,22 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: 22:[53, 18, 32], Operations: ['65-33=32']
Exploring Operation: 53-32=21, Resulting Numbers: [18, 21]
Generated Node #0,2,0: 22:[18, 21] Operation: 53-32=21
Exploring Operation: 32-18=14, Resulting Numbers: [53, 14]
Generated Node #0,2,1: 22:[53, 14] Operation: 32-18=14
Exploring Operation: 53-18=35, Resulting Numbers: [32, 35]
Generated Node #0,2,2: 22:[32, 35] Operation: 53-18=35
Moving to Node #0,1
Current State: 22:[65, 18, 20], Operations: ['53-33=20']
Exploring Operation: 65-20=45, Resulting Numbers: [18, 45]
Generated Node #0,1,0: 22:[18, 45] Operation: 65-20=45
Exploring Operation: 20-18=2, Resulting Numbers: [65, 2]
Generated Node #0,1,1: 22:[65, 2] Operation: 20-18=2
Exploring Operation: 65-18=47, Resulting Numbers: [20, 47]
Generated Node #0,1,2: 22:[20, 47] Operation: 65-18=47
Moving to Node #0,2,0
Current State: 22:[18, 21], Operations: ['65-33=32', '53-32=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,22 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[32, 35], Operations: ['65-33=32', '53-18=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[20, 47], Operations: ['53-33=20', '65-18=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[18, 45], Operations: ['53-33=20', '65-20=45']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,22 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[53, 14], Operations: ['65-33=32', '32-18=14']
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[65, 2], Operations: ['53-33=20', '20-18=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,22 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
13,
40,
34
] | 42 | [
"18-13=5",
"40/5=8",
"34+8=42"
] | Current State: 42:[18, 13, 40, 34], Operations: []
Exploring Operation: 18-13=5, Resulting Numbers: [40, 34, 5]
Generated Node #2: [40, 34, 5] from Operation: 18-13=5
Current State: 42:[40, 34, 5], Operations: ['18-13=5']
Exploring Operation: 40/5=8, Resulting Numbers: [34, 8]
Generated Node #3: [34, 8] from Operation: 40/5=8
Current State: 42:[34, 8], Operations: ['18-13=5', '40/5=8']
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[18, 13, 40, 34], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [18, 40, 21]
Generated Node #0,0: 42:[18, 40, 21] Operation: 34-13=21
Exploring Operation: 34-18=16, Resulting Numbers: [13, 40, 16]
Generated Node #0,1: 42:[13, 40, 16] Operation: 34-18=16
Exploring Operation: 40-34=6, Resulting Numbers: [18, 13, 6]
Generated Node #0,2: 42:[18, 13, 6] Operation: 40-34=6
Exploring Operation: 40-18=22, Resulting Numbers: [13, 34, 22]
Generated Node #0,3: 42:[13, 34, 22] Operation: 40-18=22
Exploring Operation: 13+34=47, Resulting Numbers: [18, 40, 47]
Generated Node #0,4: 42:[18, 40, 47] Operation: 13+34=47
Moving to Node #0,2
Current State: 42:[18, 13, 6], Operations: ['40-34=6']
Exploring Operation: 18-13=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 42:[6, 5] Operation: 18-13=5
Exploring Operation: 13-6=7, Resulting Numbers: [18, 7]
Generated Node #0,2,1: 42:[18, 7] Operation: 13-6=7
Exploring Operation: 18-6=12, Resulting Numbers: [13, 12]
Generated Node #0,2,2: 42:[13, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [13, 24]
Generated Node #0,2,3: 42:[13, 24] Operation: 18+6=24
Exploring Operation: 18/6=3, Resulting Numbers: [13, 3]
Generated Node #0,2,4: 42:[13, 3] Operation: 18/6=3
Moving to Node #0,1
Current State: 42:[13, 40, 16], Operations: ['34-18=16']
Exploring Operation: 13+16=29, Resulting Numbers: [40, 29]
Generated Node #0,1,0: 42:[40, 29] Operation: 13+16=29
Exploring Operation: 40-13=27, Resulting Numbers: [16, 27]
Generated Node #0,1,1: 42:[16, 27] Operation: 40-13=27
Exploring Operation: 16-13=3, Resulting Numbers: [40, 3]
Generated Node #0,1,2: 42:[40, 3] Operation: 16-13=3
Exploring Operation: 13+40=53, Resulting Numbers: [16, 53]
Generated Node #0,1,3: 42:[16, 53] Operation: 13+40=53
Exploring Operation: 40-16=24, Resulting Numbers: [13, 24]
Generated Node #0,1,4: 42:[13, 24] Operation: 40-16=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[40, 3], Operations: ['34-18=16', '16-13=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[13, 24], Operations: ['34-18=16', '40-16=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[16, 27], Operations: ['34-18=16', '40-13=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,42 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[40, 29], Operations: ['34-18=16', '13+16=29']
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,42 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[16, 53], Operations: ['34-18=16', '13+40=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,42 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: 42:[18, 40, 21], Operations: ['34-13=21']
Exploring Operation: 18+21=39, Resulting Numbers: [40, 39]
Generated Node #0,0,0: 42:[40, 39] Operation: 18+21=39
Exploring Operation: 40-18=22, Resulting Numbers: [21, 22]
Generated Node #0,0,1: 42:[21, 22] Operation: 40-18=22
Exploring Operation: 21-18=3, Resulting Numbers: [40, 3]
Generated Node #0,0,2: 42:[40, 3] Operation: 21-18=3
Exploring Operation: 18+40=58, Resulting Numbers: [21, 58]
Generated Node #0,0,3: 42:[21, 58] Operation: 18+40=58
Exploring Operation: 40-21=19, Resulting Numbers: [18, 19]
Generated Node #0,0,4: 42:[18, 19] Operation: 40-21=19
Moving to Node #0,3
Current State: 42:[13, 34, 22], Operations: ['40-18=22']
Exploring Operation: 13+34=47, Resulting Numbers: [22, 47]
Generated Node #0,3,0: 42:[22, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [22, 21]
Generated Node #0,3,1: 42:[22, 21] Operation: 34-13=21
Exploring Operation: 22-13=9, Resulting Numbers: [34, 9]
Generated Node #0,3,2: 42:[34, 9] Operation: 22-13=9
Exploring Operation: 13+22=35, Resulting Numbers: [34, 35]
Generated Node #0,3,3: 42:[34, 35] Operation: 13+22=35
Exploring Operation: 34-22=12, Resulting Numbers: [13, 12]
Generated Node #0,3,4: 42:[13, 12] Operation: 34-22=12
Moving to Node #0,4
Current State: 42:[18, 40, 47], Operations: ['13+34=47']
Exploring Operation: 18+40=58, Resulting Numbers: [47, 58]
Generated Node #0,4,0: 42:[47, 58] Operation: 18+40=58
Exploring Operation: 47-40=7, Resulting Numbers: [18, 7]
Generated Node #0,4,1: 42:[18, 7] Operation: 47-40=7
Exploring Operation: 47-18=29, Resulting Numbers: [40, 29]
Generated Node #0,4,2: 42:[40, 29] Operation: 47-18=29
Exploring Operation: 18+47=65, Resulting Numbers: [40, 65]
Generated Node #0,4,3: 42:[40, 65] Operation: 18+47=65
Exploring Operation: 40-18=22, Resulting Numbers: [47, 22]
Generated Node #0,4,4: 42:[47, 22] Operation: 40-18=22
Moving to Node #0,2,0
Current State: 42:[6, 5], Operations: ['40-34=6', '18-13=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[21, 22], Operations: ['34-13=21', '40-18=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[13, 3], Operations: ['40-34=6', '18/6=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[22, 21], Operations: ['40-18=22', '34-13=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[40, 3], Operations: ['34-13=21', '21-18=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,42 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[18, 7], Operations: ['40-34=6', '13-6=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,42 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[13, 12], Operations: ['40-18=22', '34-22=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[13, 12], Operations: ['40-34=6', '18-6=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[18, 7], Operations: ['13+34=47', '47-40=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,42 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[13, 24], Operations: ['40-34=6', '18+6=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[18, 19], Operations: ['34-13=21', '40-21=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,42 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[40, 39], Operations: ['34-13=21', '18+21=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[22, 47], Operations: ['40-18=22', '13+34=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,42 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[47, 22], Operations: ['13+34=47', '40-18=22']
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,42 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[34, 9], Operations: ['40-18=22', '22-13=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,42 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[40, 29], Operations: ['13+34=47', '47-18=29']
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,42 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[34, 35], Operations: ['40-18=22', '13+22=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[21, 58], Operations: ['34-13=21', '18+40=58']
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,42 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[47, 58], Operations: ['13+34=47', '18+40=58']
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,42 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,42 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[40, 65], Operations: ['13+34=47', '18+47=65']
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,42 unequal: No Solution
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,42 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
86,
2,
4
] | 16 | [
"86-14=72",
"72/4=18",
"18-2=16"
] | Current State: 16:[14, 86, 2, 4], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [2, 4, 72]
Generated Node #2: [2, 4, 72] from Operation: 86-14=72
Current State: 16:[2, 4, 72], Operations: ['86-14=72']
Exploring Operation: 72/4=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 72/4=18
Current State: 16:[2, 18], Operations: ['86-14=72', '72/4=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[14, 86, 2, 4], Operations: []
Exploring Operation: 86-4=82, Resulting Numbers: [14, 2, 82]
Generated Node #0,0: 16:[14, 2, 82] Operation: 86-4=82
Exploring Operation: 86-14=72, Resulting Numbers: [2, 4, 72]
Generated Node #0,1: 16:[2, 4, 72] Operation: 86-14=72
Exploring Operation: 14+2=16, Resulting Numbers: [86, 4, 16]
Generated Node #0,2: 16:[86, 4, 16] Operation: 14+2=16
Exploring Operation: 86/2=43, Resulting Numbers: [14, 4, 43]
Generated Node #0,3: 16:[14, 4, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[14, 4, 43], Operations: ['86/2=43']
Exploring Operation: 14-4=10, Resulting Numbers: [43, 10]
Generated Node #0,3,0: 16:[43, 10] Operation: 14-4=10
Exploring Operation: 43-4=39, Resulting Numbers: [14, 39]
Generated Node #0,3,1: 16:[14, 39] Operation: 43-4=39
Exploring Operation: 43-14=29, Resulting Numbers: [4, 29]
Generated Node #0,3,2: 16:[4, 29] Operation: 43-14=29
Exploring Operation: 14+4=18, Resulting Numbers: [43, 18]
Generated Node #0,3,3: 16:[43, 18] Operation: 14+4=18
Moving to Node #0,3,2
Current State: 16:[4, 29], Operations: ['86/2=43', '43-14=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,16 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[14, 39], Operations: ['86/2=43', '43-4=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[43, 18], Operations: ['86/2=43', '14+4=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,16 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[43, 10], Operations: ['86/2=43', '14-4=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[2, 4, 72], Operations: ['86-14=72']
Exploring Operation: 72-4=68, Resulting Numbers: [2, 68]
Generated Node #0,1,0: 16:[2, 68] Operation: 72-4=68
Exploring Operation: 72-2=70, Resulting Numbers: [4, 70]
Generated Node #0,1,1: 16:[4, 70] Operation: 72-2=70
Exploring Operation: 72/4=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 16:[2, 18] Operation: 72/4=18
Exploring Operation: 72/2=36, Resulting Numbers: [4, 36]
Generated Node #0,1,3: 16:[4, 36] Operation: 72/2=36
Moving to Node #0,1,2
Current State: 16:[2, 18], Operations: ['86-14=72', '72/4=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[14, 86, 2, 4], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [2, 4, 72]
Generated Node #0,1: 16:[2, 4, 72] Operation: 86-14=72
Moving to Node #0,1
Current State: 16:[2, 4, 72], Operations: ['86-14=72']
Exploring Operation: 72/4=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 16:[2, 18] Operation: 72/4=18
Moving to Node #0,1,2
Current State: 16:[2, 18], Operations: ['86-14=72', '72/4=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
98,
98,
84,
82
] | 89 | [
"98-84=14",
"98/14=7",
"82+7=89"
] | Current State: 89:[98, 98, 84, 82], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [82, 14]
Generated Node #2: [82, 14] from Operation: 98-84=14
Current State: 89:[82, 14], Operations: ['98-84=14']
Exploring Operation: 98/14=7, Resulting Numbers: [82, 7]
Generated Node #3: [82, 7] from Operation: 98/14=7
Current State: 89:[82, 7], Operations: ['98-84=14', '98/14=7']
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[98, 98, 84, 82], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [98, 84, 16]
Generated Node #0,0: 89:[98, 84, 16] Operation: 98-82=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[98, 84, 16], Operations: ['98-82=16']
Exploring Operation: 98-16=82, Resulting Numbers: [84, 82]
Generated Node #0,0,0: 89:[84, 82] Operation: 98-16=82
Moving to Node #0,0,0
Current State: 89:[84, 82], Operations: ['98-82=16', '98-16=82']
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,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 | mult_heuristic |
[
51,
7,
19,
42
] | 67 | [
"51-7=44",
"42-19=23",
"44+23=67"
] | Current State: 67:[51, 7, 19, 42], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [19, 42, 44]
Generated Node #2: [19, 42, 44] from Operation: 51-7=44
Current State: 67:[19, 42, 44], Operations: ['51-7=44']
Exploring Operation: 42-19=23, Resulting Numbers: [44, 23]
Generated Node #3: [44, 23] from Operation: 42-19=23
Current State: 67:[44, 23], Operations: ['51-7=44', '42-19=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[51, 7, 19, 42], Operations: []
Exploring Operation: 51+7=58, Resulting Numbers: [19, 42, 58]
Generated Node #0,0: 67:[19, 42, 58] Operation: 51+7=58
Exploring Operation: 7+42=49, Resulting Numbers: [51, 19, 49]
Generated Node #0,1: 67:[51, 19, 49] Operation: 7+42=49
Exploring Operation: 7+19=26, Resulting Numbers: [51, 42, 26]
Generated Node #0,2: 67:[51, 42, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[19, 42, 58], Operations: ['51+7=58']
Exploring Operation: 42-19=23, Resulting Numbers: [58, 23]
Generated Node #0,0,0: 67:[58, 23] Operation: 42-19=23
Exploring Operation: 19+42=61, Resulting Numbers: [58, 61]
Generated Node #0,0,1: 67:[58, 61] Operation: 19+42=61
Exploring Operation: 19+58=77, Resulting Numbers: [42, 77]
Generated Node #0,0,2: 67:[42, 77] Operation: 19+58=77
Moving to Node #0,0,1
Current State: 67:[58, 61], Operations: ['51+7=58', '19+42=61']
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,67 unequal: No Solution
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[42, 77], Operations: ['51+7=58', '19+58=77']
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,67 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[58, 23], Operations: ['51+7=58', '42-19=23']
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,67 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[51, 19, 49], Operations: ['7+42=49']
Exploring Operation: 51-19=32, Resulting Numbers: [49, 32]
Generated Node #0,1,0: 67:[49, 32] Operation: 51-19=32
Exploring Operation: 19+49=68, Resulting Numbers: [51, 68]
Generated Node #0,1,1: 67:[51, 68] Operation: 19+49=68
Exploring Operation: 51+19=70, Resulting Numbers: [49, 70]
Generated Node #0,1,2: 67:[49, 70] Operation: 51+19=70
Moving to Node #0,1,1
Current State: 67:[51, 68], Operations: ['7+42=49', '19+49=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[49, 70], Operations: ['7+42=49', '51+19=70']
Exploring Operation: 49*70=3430, Resulting Numbers: [3430]
3430,67 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[49, 32], Operations: ['7+42=49', '51-19=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,67 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[51, 42, 26], Operations: ['7+19=26']
Exploring Operation: 51+26=77, Resulting Numbers: [42, 77]
Generated Node #0,2,0: 67:[42, 77] Operation: 51+26=77
Exploring Operation: 51+42=93, Resulting Numbers: [26, 93]
Generated Node #0,2,1: 67:[26, 93] Operation: 51+42=93
Exploring Operation: 42+26=68, Resulting Numbers: [51, 68]
Generated Node #0,2,2: 67:[51, 68] Operation: 42+26=68
Moving to Node #0,2,2
Current State: 67:[51, 68], Operations: ['7+19=26', '42+26=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,67 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[42, 77], Operations: ['7+19=26', '51+26=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,67 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[26, 93], Operations: ['7+19=26', '51+42=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,67 unequal: No Solution
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[51, 7, 19, 42], Operations: []
Exploring Operation: 7+19=26, Resulting Numbers: [51, 42, 26]
Generated Node #0,2: 67:[51, 42, 26] Operation: 7+19=26
Moving to Node #0,2
Current State: 67:[51, 42, 26], Operations: ['7+19=26']
Exploring Operation: 51+42=93, Resulting Numbers: [26, 93]
Generated Node #0,2,1: 67:[26, 93] Operation: 51+42=93
Moving to Node #0,2,1
Current State: 67:[26, 93], Operations: ['7+19=26', '51+42=93']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | sum_heuristic |
[
31,
14,
44,
79
] | 80 | [
"31+14=45",
"79-44=35",
"45+35=80"
] | Current State: 80:[31, 14, 44, 79], Operations: []
Exploring Operation: 31+14=45, Resulting Numbers: [44, 79, 45]
Generated Node #2: [44, 79, 45] from Operation: 31+14=45
Current State: 80:[44, 79, 45], Operations: ['31+14=45']
Exploring Operation: 79-44=35, Resulting Numbers: [45, 35]
Generated Node #3: [45, 35] from Operation: 79-44=35
Current State: 80:[45, 35], Operations: ['31+14=45', '79-44=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[31, 14, 44, 79], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [44, 79, 17]
Generated Node #0,0: 80:[44, 79, 17] Operation: 31-14=17
Exploring Operation: 44-31=13, Resulting Numbers: [14, 79, 13]
Generated Node #0,1: 80:[14, 79, 13] Operation: 44-31=13
Exploring Operation: 31+44=75, Resulting Numbers: [14, 79, 75]
Generated Node #0,2: 80:[14, 79, 75] Operation: 31+44=75
Exploring Operation: 31+14=45, Resulting Numbers: [44, 79, 45]
Generated Node #0,3: 80:[44, 79, 45] Operation: 31+14=45
Moving to Node #0,0
Current State: 80:[44, 79, 17], Operations: ['31-14=17']
Exploring Operation: 79-44=35, Resulting Numbers: [17, 35]
Generated Node #0,0,0: 80:[17, 35] Operation: 79-44=35
Exploring Operation: 44-17=27, Resulting Numbers: [79, 27]
Generated Node #0,0,1: 80:[79, 27] Operation: 44-17=27
Exploring Operation: 79+17=96, Resulting Numbers: [44, 96]
Generated Node #0,0,2: 80:[44, 96] Operation: 79+17=96
Exploring Operation: 44+17=61, Resulting Numbers: [79, 61]
Generated Node #0,0,3: 80:[79, 61] Operation: 44+17=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[17, 35], Operations: ['31-14=17', '79-44=35']
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,80 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[79, 27], Operations: ['31-14=17', '44-17=27']
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,80 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[44, 96], Operations: ['31-14=17', '79+17=96']
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,80 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[79, 61], Operations: ['31-14=17', '44+17=61']
Exploring Operation: 79*61=4819, Resulting Numbers: [4819]
4819,80 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 79+61=140, Resulting Numbers: [140]
140,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[14, 79, 13], Operations: ['44-31=13']
Exploring Operation: 14+13=27, Resulting Numbers: [79, 27]
Generated Node #0,1,0: 80:[79, 27] Operation: 14+13=27
Exploring Operation: 14+79=93, Resulting Numbers: [13, 93]
Generated Node #0,1,1: 80:[13, 93] Operation: 14+79=93
Exploring Operation: 14-13=1, Resulting Numbers: [79, 1]
Generated Node #0,1,2: 80:[79, 1] Operation: 14-13=1
Exploring Operation: 79+13=92, Resulting Numbers: [14, 92]
Generated Node #0,1,3: 80:[14, 92] Operation: 79+13=92
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[79, 1], Operations: ['44-31=13', '14-13=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[31, 14, 44, 79], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [14, 79, 13]
Generated Node #0,1: 80:[14, 79, 13] Operation: 44-31=13
Moving to Node #0,1
Current State: 80:[14, 79, 13], Operations: ['44-31=13']
Exploring Operation: 14-13=1, Resulting Numbers: [79, 1]
Generated Node #0,1,2: 80:[79, 1] Operation: 14-13=1
Moving to Node #0,1,2
Current State: 80:[79, 1], Operations: ['44-31=13', '14-13=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
90,
79,
70,
56
] | 25 | [
"90-79=11",
"70-56=14",
"11+14=25"
] | Current State: 25:[90, 79, 70, 56], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [70, 56, 11]
Generated Node #2: [70, 56, 11] from Operation: 90-79=11
Current State: 25:[70, 56, 11], Operations: ['90-79=11']
Exploring Operation: 70-56=14, Resulting Numbers: [11, 14]
Generated Node #3: [11, 14] from Operation: 70-56=14
Current State: 25:[11, 14], Operations: ['90-79=11', '70-56=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[90, 79, 70, 56], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [79, 56, 20]
Generated Node #0,0: 25:[79, 56, 20] Operation: 90-70=20
Exploring Operation: 90-79=11, Resulting Numbers: [70, 56, 11]
Generated Node #0,1: 25:[70, 56, 11] Operation: 90-79=11
Exploring Operation: 79-70=9, Resulting Numbers: [90, 56, 9]
Generated Node #0,2: 25:[90, 56, 9] Operation: 79-70=9
Exploring Operation: 79-56=23, Resulting Numbers: [90, 70, 23]
Generated Node #0,3: 25:[90, 70, 23] Operation: 79-56=23
Exploring Operation: 90-56=34, Resulting Numbers: [79, 70, 34]
Generated Node #0,4: 25:[79, 70, 34] Operation: 90-56=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[70, 56, 11], Operations: ['90-79=11']
Exploring Operation: 56-11=45, Resulting Numbers: [70, 45]
Generated Node #0,1,0: 25:[70, 45] Operation: 56-11=45
Exploring Operation: 56+11=67, Resulting Numbers: [70, 67]
Generated Node #0,1,1: 25:[70, 67] Operation: 56+11=67
Exploring Operation: 70-11=59, Resulting Numbers: [56, 59]
Generated Node #0,1,2: 25:[56, 59] Operation: 70-11=59
Exploring Operation: 70-56=14, Resulting Numbers: [11, 14]
Generated Node #0,1,3: 25:[11, 14] Operation: 70-56=14
Exploring Operation: 70+11=81, Resulting Numbers: [56, 81]
Generated Node #0,1,4: 25:[56, 81] Operation: 70+11=81
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[11, 14], Operations: ['90-79=11', '70-56=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,25 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[90, 79, 70, 56], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [70, 56, 11]
Generated Node #0,1: 25:[70, 56, 11] Operation: 90-79=11
Moving to Node #0,1
Current State: 25:[70, 56, 11], Operations: ['90-79=11']
Exploring Operation: 70-56=14, Resulting Numbers: [11, 14]
Generated Node #0,1,3: 25:[11, 14] Operation: 70-56=14
Moving to Node #0,1,3
Current State: 25:[11, 14], Operations: ['90-79=11', '70-56=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
21,
63,
55,
70
] | 18 | [
"63/21=3",
"70-55=15",
"3+15=18"
] | Current State: 18:[21, 63, 55, 70], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [55, 70, 3]
Generated Node #2: [55, 70, 3] from Operation: 63/21=3
Current State: 18:[55, 70, 3], Operations: ['63/21=3']
Exploring Operation: 70-55=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 70-55=15
Current State: 18:[3, 15], Operations: ['63/21=3', '70-55=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[21, 63, 55, 70], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [21, 63, 15]
Generated Node #0,0: 18:[21, 63, 15] Operation: 70-55=15
Exploring Operation: 63/21=3, Resulting Numbers: [55, 70, 3]
Generated Node #0,1: 18:[55, 70, 3] Operation: 63/21=3
Exploring Operation: 63-55=8, Resulting Numbers: [21, 70, 8]
Generated Node #0,2: 18:[21, 70, 8] Operation: 63-55=8
Exploring Operation: 70-63=7, Resulting Numbers: [21, 55, 7]
Generated Node #0,3: 18:[21, 55, 7] Operation: 70-63=7
Moving to Node #0,3
Current State: 18:[21, 55, 7], Operations: ['70-63=7']
Exploring Operation: 21/7=3, Resulting Numbers: [55, 3]
Generated Node #0,3,0: 18:[55, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [55, 14]
Generated Node #0,3,1: 18:[55, 14] Operation: 21-7=14
Exploring Operation: 55-21=34, Resulting Numbers: [7, 34]
Generated Node #0,3,2: 18:[7, 34] Operation: 55-21=34
Exploring Operation: 55-7=48, Resulting Numbers: [21, 48]
Generated Node #0,3,3: 18:[21, 48] Operation: 55-7=48
Moving to Node #0,0
Current State: 18:[21, 63, 15], Operations: ['70-55=15']
Exploring Operation: 21-15=6, Resulting Numbers: [63, 6]
Generated Node #0,0,0: 18:[63, 6] Operation: 21-15=6
Exploring Operation: 63/21=3, Resulting Numbers: [15, 3]
Generated Node #0,0,1: 18:[15, 3] Operation: 63/21=3
Exploring Operation: 63-15=48, Resulting Numbers: [21, 48]
Generated Node #0,0,2: 18:[21, 48] Operation: 63-15=48
Exploring Operation: 63-21=42, Resulting Numbers: [15, 42]
Generated Node #0,0,3: 18:[15, 42] Operation: 63-21=42
Moving to Node #0,2
Current State: 18:[21, 70, 8], Operations: ['63-55=8']
Exploring Operation: 70-8=62, Resulting Numbers: [21, 62]
Generated Node #0,2,0: 18:[21, 62] Operation: 70-8=62
Exploring Operation: 21-8=13, Resulting Numbers: [70, 13]
Generated Node #0,2,1: 18:[70, 13] Operation: 21-8=13
Exploring Operation: 21+8=29, Resulting Numbers: [70, 29]
Generated Node #0,2,2: 18:[70, 29] Operation: 21+8=29
Exploring Operation: 70-21=49, Resulting Numbers: [8, 49]
Generated Node #0,2,3: 18:[8, 49] Operation: 70-21=49
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 18:[8, 49], Operations: ['63-55=8', '70-21=49']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[21, 62], Operations: ['63-55=8', '70-8=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,18 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[70, 13], Operations: ['63-55=8', '21-8=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,18 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[70, 29], Operations: ['63-55=8', '21+8=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,18 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,18 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: 18:[55, 70, 3], Operations: ['63/21=3']
Exploring Operation: 55-3=52, Resulting Numbers: [70, 52]
Generated Node #0,1,0: 18:[70, 52] Operation: 55-3=52
Exploring Operation: 70-55=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 18:[3, 15] Operation: 70-55=15
Exploring Operation: 55+3=58, Resulting Numbers: [70, 58]
Generated Node #0,1,2: 18:[70, 58] Operation: 55+3=58
Exploring Operation: 70-3=67, Resulting Numbers: [55, 67]
Generated Node #0,1,3: 18:[55, 67] Operation: 70-3=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[3, 15], Operations: ['63/21=3', '70-55=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[21, 63, 55, 70], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [55, 70, 3]
Generated Node #0,1: 18:[55, 70, 3] Operation: 63/21=3
Moving to Node #0,1
Current State: 18:[55, 70, 3], Operations: ['63/21=3']
Exploring Operation: 70-55=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 18:[3, 15] Operation: 70-55=15
Moving to Node #0,1,1
Current State: 18:[3, 15], Operations: ['63/21=3', '70-55=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
42,
2,
45,
45
] | 96 | [
"45-42=3",
"45+3=48",
"2*48=96"
] | Current State: 96:[42, 2, 45, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [2, 3]
Generated Node #2: [2, 3] from Operation: 45-42=3
Current State: 96:[2, 3], Operations: ['45-42=3']
Exploring Operation: 45+3=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 45+3=48
Current State: 96:[2, 48], Operations: ['45-42=3', '45+3=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[42, 2, 45, 45], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [42, 2, 1]
Generated Node #0,0: 96:[42, 2, 1] Operation: 45/45=1
Exploring Operation: 45-42=3, Resulting Numbers: [2, 45, 3]
Generated Node #0,1: 96:[2, 45, 3] Operation: 45-42=3
Exploring Operation: 45-45=0, Resulting Numbers: [42, 2, 0]
Generated Node #0,2: 96:[42, 2, 0] Operation: 45-45=0
Exploring Operation: 45-42=3, Resulting Numbers: [2, 45, 3]
Generated Node #0,3: 96:[2, 45, 3] Operation: 45-42=3
Moving to Node #0,1
Current State: 96:[2, 45, 3], Operations: ['45-42=3']
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 96:[2, 15] Operation: 45/3=15
Exploring Operation: 45+3=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 96:[2, 48] Operation: 45+3=48
Exploring Operation: 2*3=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 96:[45, 6] Operation: 2*3=6
Exploring Operation: 2+45=47, Resulting Numbers: [3, 47]
Generated Node #0,1,3: 96:[3, 47] Operation: 2+45=47
Moving to Node #0,3
Current State: 96:[2, 45, 3], Operations: ['45-42=3']
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 96:[2, 15] Operation: 45/3=15
Exploring Operation: 45+3=48, Resulting Numbers: [2, 48]
Generated Node #0,3,1: 96:[2, 48] Operation: 45+3=48
Exploring Operation: 2*3=6, Resulting Numbers: [45, 6]
Generated Node #0,3,2: 96:[45, 6] Operation: 2*3=6
Exploring Operation: 2+45=47, Resulting Numbers: [3, 47]
Generated Node #0,3,3: 96:[3, 47] Operation: 2+45=47
Moving to Node #0,0
Current State: 96:[42, 2, 1], Operations: ['45/45=1']
Exploring Operation: 42+1=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 96:[2, 43] Operation: 42+1=43
Exploring Operation: 42*1=42, Resulting Numbers: [2, 42]
Generated Node #0,0,1: 96:[2, 42] Operation: 42*1=42
Exploring Operation: 42/2=21, Resulting Numbers: [1, 21]
Generated Node #0,0,2: 96:[1, 21] Operation: 42/2=21
Exploring Operation: 42+2=44, Resulting Numbers: [1, 44]
Generated Node #0,0,3: 96:[1, 44] Operation: 42+2=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[1, 21], Operations: ['45/45=1', '42/2=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[2, 43], Operations: ['45/45=1', '42+1=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[1, 44], Operations: ['45/45=1', '42+2=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[2, 42], Operations: ['45/45=1', '42*1=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,96 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: 96:[42, 2, 0], Operations: ['45-45=0']
Exploring Operation: 42+0=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 96:[2, 42] Operation: 42+0=42
Exploring Operation: 42*0=0, Resulting Numbers: [2, 0]
Generated Node #0,2,1: 96:[2, 0] Operation: 42*0=0
Exploring Operation: 42+2=44, Resulting Numbers: [0, 44]
Generated Node #0,2,2: 96:[0, 44] Operation: 42+2=44
Exploring Operation: 42/2=21, Resulting Numbers: [0, 21]
Generated Node #0,2,3: 96:[0, 21] Operation: 42/2=21
Moving to Node #0,1,1
Current State: 96:[2, 48], Operations: ['45-42=3', '45+3=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[42, 2, 45, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [2, 45, 3]
Generated Node #0,1: 96:[2, 45, 3] Operation: 45-42=3
Moving to Node #0,1
Current State: 96:[2, 45, 3], Operations: ['45-42=3']
Exploring Operation: 45+3=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 96:[2, 48] Operation: 45+3=48
Moving to Node #0,1,1
Current State: 96:[2, 48], Operations: ['45-42=3', '45+3=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
9,
52,
59,
59
] | 44 | [
"52-9=43",
"59/59=1",
"43+1=44"
] | Current State: 44:[9, 52, 59, 59], Operations: []
Exploring Operation: 52-9=43, Resulting Numbers: [59, 59, 43]
Generated Node #2: [59, 59, 43] from Operation: 52-9=43
Current State: 44:[59, 59, 43], Operations: ['52-9=43']
Exploring Operation: 59/59=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 59/59=1
Current State: 44:[43, 1], Operations: ['52-9=43', '59/59=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[9, 52, 59, 59], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [9, 59, 7]
Generated Node #0,0: 44:[9, 59, 7] Operation: 59-52=7
Exploring Operation: 59/59=1, Resulting Numbers: [9, 52, 1]
Generated Node #0,1: 44:[9, 52, 1] Operation: 59/59=1
Exploring Operation: 59-59=0, Resulting Numbers: [9, 52, 0]
Generated Node #0,2: 44:[9, 52, 0] Operation: 59-59=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[9, 52, 1], Operations: ['59/59=1']
Exploring Operation: 52-9=43, Resulting Numbers: [1, 43]
Generated Node #0,1,0: 44:[1, 43] Operation: 52-9=43
Exploring Operation: 9+1=10, Resulting Numbers: [52, 10]
Generated Node #0,1,1: 44:[52, 10] Operation: 9+1=10
Exploring Operation: 52-1=51, Resulting Numbers: [9, 51]
Generated Node #0,1,2: 44:[9, 51] Operation: 52-1=51
Moving to Node #0,1,0
Current State: 44:[1, 43], Operations: ['59/59=1', '52-9=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[9, 52, 59, 59], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [9, 52, 1]
Generated Node #0,1: 44:[9, 52, 1] Operation: 59/59=1
Moving to Node #0,1
Current State: 44:[9, 52, 1], Operations: ['59/59=1']
Exploring Operation: 52-9=43, Resulting Numbers: [1, 43]
Generated Node #0,1,0: 44:[1, 43] Operation: 52-9=43
Moving to Node #0,1,0
Current State: 44:[1, 43], Operations: ['59/59=1', '52-9=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
64,
95,
89,
93
] | 35 | [
"95-64=31",
"93-89=4",
"31+4=35"
] | Current State: 35:[64, 95, 89, 93], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [89, 93, 31]
Generated Node #2: [89, 93, 31] from Operation: 95-64=31
Current State: 35:[89, 93, 31], Operations: ['95-64=31']
Exploring Operation: 93-89=4, Resulting Numbers: [31, 4]
Generated Node #3: [31, 4] from Operation: 93-89=4
Current State: 35:[31, 4], Operations: ['95-64=31', '93-89=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[64, 95, 89, 93], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [64, 93, 6]
Generated Node #0,0: 35:[64, 93, 6] Operation: 95-89=6
Exploring Operation: 93-89=4, Resulting Numbers: [64, 95, 4]
Generated Node #0,1: 35:[64, 95, 4] Operation: 93-89=4
Exploring Operation: 95-93=2, Resulting Numbers: [64, 89, 2]
Generated Node #0,2: 35:[64, 89, 2] Operation: 95-93=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[64, 89, 2], Operations: ['95-93=2']
Exploring Operation: 64-2=62, Resulting Numbers: [89, 62]
Generated Node #0,2,0: 35:[89, 62] Operation: 64-2=62
Exploring Operation: 64/2=32, Resulting Numbers: [89, 32]
Generated Node #0,2,1: 35:[89, 32] Operation: 64/2=32
Exploring Operation: 89-64=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 35:[2, 25] Operation: 89-64=25
Moving to Node #0,2,2
Current State: 35:[2, 25], Operations: ['95-93=2', '89-64=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[89, 32], Operations: ['95-93=2', '64/2=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,35 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[89, 62], Operations: ['95-93=2', '64-2=62']
Exploring Operation: 89*62=5518, Resulting Numbers: [5518]
5518,35 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 89+62=151, Resulting Numbers: [151]
151,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
Current State: 35:[64, 93, 6], Operations: ['95-89=6']
Exploring Operation: 93-64=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 35:[6, 29] Operation: 93-64=29
Exploring Operation: 93-6=87, Resulting Numbers: [64, 87]
Generated Node #0,0,1: 35:[64, 87] Operation: 93-6=87
Exploring Operation: 64-6=58, Resulting Numbers: [93, 58]
Generated Node #0,0,2: 35:[93, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[6, 29], Operations: ['95-89=6', '93-64=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,35 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[64, 95, 89, 93], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [64, 93, 6]
Generated Node #0,0: 35:[64, 93, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 35:[64, 93, 6], Operations: ['95-89=6']
Exploring Operation: 93-64=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 35:[6, 29] Operation: 93-64=29
Moving to Node #0,0,0
Current State: 35:[6, 29], Operations: ['95-89=6', '93-64=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
75,
74,
55,
37
] | 35 | [
"74*55=4070",
"4070/37=110",
"110-75=35"
] | Current State: 35:[75, 74, 55, 37], Operations: []
Exploring Operation: 74*55=4070, Resulting Numbers: [75, 37, 4070]
Generated Node #2: [75, 37, 4070] from Operation: 74*55=4070
Current State: 35:[75, 37, 4070], Operations: ['74*55=4070']
Exploring Operation: 4070/37=110, Resulting Numbers: [75, 110]
Generated Node #3: [75, 110] from Operation: 4070/37=110
Current State: 35:[75, 110], Operations: ['74*55=4070', '4070/37=110']
Exploring Operation: 110-75=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[75, 74, 55, 37], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [74, 37, 20]
Generated Node #0,0: 35:[74, 37, 20] Operation: 75-55=20
Exploring Operation: 75-37=38, Resulting Numbers: [74, 55, 38]
Generated Node #0,1: 35:[74, 55, 38] Operation: 75-37=38
Exploring Operation: 74-37=37, Resulting Numbers: [75, 55, 37]
Generated Node #0,2: 35:[75, 55, 37] Operation: 74-37=37
Exploring Operation: 75-74=1, Resulting Numbers: [55, 37, 1]
Generated Node #0,3: 35:[55, 37, 1] Operation: 75-74=1
Exploring Operation: 74-55=19, Resulting Numbers: [75, 37, 19]
Generated Node #0,4: 35:[75, 37, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[55, 37, 1], Operations: ['75-74=1']
Exploring Operation: 37-1=36, Resulting Numbers: [55, 36]
Generated Node #0,3,0: 35:[55, 36] Operation: 37-1=36
Exploring Operation: 55/1=55, Resulting Numbers: [37, 55]
Generated Node #0,3,1: 35:[37, 55] Operation: 55/1=55
Exploring Operation: 55-1=54, Resulting Numbers: [37, 54]
Generated Node #0,3,2: 35:[37, 54] Operation: 55-1=54
Exploring Operation: 55*1=55, Resulting Numbers: [37, 55]
Generated Node #0,3,3: 35:[37, 55] Operation: 55*1=55
Exploring Operation: 55-37=18, Resulting Numbers: [1, 18]
Generated Node #0,3,4: 35:[1, 18] Operation: 55-37=18
Moving to Node #0,3,4
Current State: 35:[1, 18], Operations: ['75-74=1', '55-37=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[37, 54], Operations: ['75-74=1', '55-1=54']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[55, 36], Operations: ['75-74=1', '37-1=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[37, 55], Operations: ['75-74=1', '55/1=55']
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,35 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[37, 55], Operations: ['75-74=1', '55*1=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,35 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,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
Current State: 35:[74, 37, 20], Operations: ['75-55=20']
Exploring Operation: 74+20=94, Resulting Numbers: [37, 94]
Generated Node #0,0,0: 35:[37, 94] Operation: 74+20=94
Exploring Operation: 37-20=17, Resulting Numbers: [74, 17]
Generated Node #0,0,1: 35:[74, 17] Operation: 37-20=17
Exploring Operation: 74-20=54, Resulting Numbers: [37, 54]
Generated Node #0,0,2: 35:[37, 54] Operation: 74-20=54
Exploring Operation: 74/37=2, Resulting Numbers: [20, 2]
Generated Node #0,0,3: 35:[20, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [20, 37]
Generated Node #0,0,4: 35:[20, 37] Operation: 74-37=37
Moving to Node #0,0,4
Current State: 35:[20, 37], Operations: ['75-55=20', '74-37=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,35 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[20, 2], Operations: ['75-55=20', '74/37=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[37, 54], Operations: ['75-55=20', '74-20=54']
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,35 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[74, 17], Operations: ['75-55=20', '37-20=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,35 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[37, 94], Operations: ['75-55=20', '74+20=94']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[75, 37, 19], Operations: ['74-55=19']
Exploring Operation: 37+19=56, Resulting Numbers: [75, 56]
Generated Node #0,4,0: 35:[75, 56] Operation: 37+19=56
Exploring Operation: 75+19=94, Resulting Numbers: [37, 94]
Generated Node #0,4,1: 35:[37, 94] Operation: 75+19=94
Exploring Operation: 75-37=38, Resulting Numbers: [19, 38]
Generated Node #0,4,2: 35:[19, 38] Operation: 75-37=38
Exploring Operation: 37-19=18, Resulting Numbers: [75, 18]
Generated Node #0,4,3: 35:[75, 18] Operation: 37-19=18
Exploring Operation: 75-19=56, Resulting Numbers: [37, 56]
Generated Node #0,4,4: 35:[37, 56] Operation: 75-19=56
Moving to Node #0,4,2
Current State: 35:[19, 38], Operations: ['74-55=19', '75-37=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,35 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[37, 56], Operations: ['74-55=19', '75-19=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,35 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[75, 18], Operations: ['74-55=19', '37-19=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,35 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[75, 56], Operations: ['74-55=19', '37+19=56']
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,35 unequal: No Solution
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[37, 94], Operations: ['74-55=19', '75+19=94']
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,35 unequal: No Solution
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,35 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[74, 55, 38], Operations: ['75-37=38']
Exploring Operation: 55-38=17, Resulting Numbers: [74, 17]
Generated Node #0,1,0: 35:[74, 17] Operation: 55-38=17
Exploring Operation: 74-55=19, Resulting Numbers: [38, 19]
Generated Node #0,1,1: 35:[38, 19] Operation: 74-55=19
Exploring Operation: 74+38=112, Resulting Numbers: [55, 112]
Generated Node #0,1,2: 35:[55, 112] Operation: 74+38=112
Exploring Operation: 74-38=36, Resulting Numbers: [55, 36]
Generated Node #0,1,3: 35:[55, 36] Operation: 74-38=36
Exploring Operation: 74+55=129, Resulting Numbers: [38, 129]
Generated Node #0,1,4: 35:[38, 129] Operation: 74+55=129
Moving to Node #0,1,1
Current State: 35:[38, 19], Operations: ['75-37=38', '74-55=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[55, 36], Operations: ['75-37=38', '74-38=36']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,35 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[74, 17], Operations: ['75-37=38', '55-38=17']
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,35 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[55, 112], Operations: ['75-37=38', '74+38=112']
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,35 unequal: No Solution
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[38, 129], Operations: ['75-37=38', '74+55=129']
Exploring Operation: 38*129=4902, Resulting Numbers: [4902]
4902,35 unequal: No Solution
Exploring Operation: 129-38=91, Resulting Numbers: [91]
91,35 unequal: No Solution
Exploring Operation: 38+129=167, Resulting Numbers: [167]
167,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
Current State: 35:[75, 55, 37], Operations: ['74-37=37']
Exploring Operation: 55-37=18, Resulting Numbers: [75, 18]
Generated Node #0,2,0: 35:[75, 18] Operation: 55-37=18
Exploring Operation: 75+37=112, Resulting Numbers: [55, 112]
Generated Node #0,2,1: 35:[55, 112] Operation: 75+37=112
Exploring Operation: 75-37=38, Resulting Numbers: [55, 38]
Generated Node #0,2,2: 35:[55, 38] Operation: 75-37=38
Exploring Operation: 75-55=20, Resulting Numbers: [37, 20]
Generated Node #0,2,3: 35:[37, 20] Operation: 75-55=20
Exploring Operation: 75+55=130, Resulting Numbers: [37, 130]
Generated Node #0,2,4: 35:[37, 130] Operation: 75+55=130
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[37, 20], Operations: ['74-37=37', '75-55=20']
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[55, 38], Operations: ['74-37=37', '75-37=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,35 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[75, 18], Operations: ['74-37=37', '55-37=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[55, 112], Operations: ['74-37=37', '75+37=112']
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,35 unequal: No Solution
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[37, 130], Operations: ['74-37=37', '75+55=130']
Exploring Operation: 130-37=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 37+130=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 37*130=4810, Resulting Numbers: [4810]
4810,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
38,
55,
69,
67
] | 21 | [
"69-67=2",
"38*2=76",
"76-55=21"
] | Current State: 21:[38, 55, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [38, 55, 2]
Generated Node #2: [38, 55, 2] from Operation: 69-67=2
Current State: 21:[38, 55, 2], Operations: ['69-67=2']
Exploring Operation: 38*2=76, Resulting Numbers: [55, 76]
Generated Node #3: [55, 76] from Operation: 38*2=76
Current State: 21:[55, 76], Operations: ['69-67=2', '38*2=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[38, 55, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [38, 55, 2]
Generated Node #0,0: 21:[38, 55, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[38, 55, 2], Operations: ['69-67=2']
Exploring Operation: 55-38=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 21:[2, 17] Operation: 55-38=17
Moving to Node #0,0,0
Current State: 21:[2, 17], Operations: ['69-67=2', '55-38=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
4,
65,
39
] | 70 | [
"40+4=44",
"65-39=26",
"44+26=70"
] | Current State: 70:[40, 4, 65, 39], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [65, 39, 44]
Generated Node #2: [65, 39, 44] from Operation: 40+4=44
Current State: 70:[65, 39, 44], Operations: ['40+4=44']
Exploring Operation: 65-39=26, Resulting Numbers: [44, 26]
Generated Node #3: [44, 26] from Operation: 65-39=26
Current State: 70:[44, 26], Operations: ['40+4=44', '65-39=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[40, 4, 65, 39], Operations: []
Exploring Operation: 4+65=69, Resulting Numbers: [40, 39, 69]
Generated Node #0,0: 70:[40, 39, 69] Operation: 4+65=69
Exploring Operation: 40-4=36, Resulting Numbers: [65, 39, 36]
Generated Node #0,1: 70:[65, 39, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [65, 39, 10]
Generated Node #0,2: 70:[65, 39, 10] Operation: 40/4=10
Exploring Operation: 40-39=1, Resulting Numbers: [4, 65, 1]
Generated Node #0,3: 70:[4, 65, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[4, 65, 1], Operations: ['40-39=1']
Exploring Operation: 4+1=5, Resulting Numbers: [65, 5]
Generated Node #0,3,0: 70:[65, 5] Operation: 4+1=5
Exploring Operation: 65+1=66, Resulting Numbers: [4, 66]
Generated Node #0,3,1: 70:[4, 66] Operation: 65+1=66
Exploring Operation: 4+65=69, Resulting Numbers: [1, 69]
Generated Node #0,3,2: 70:[1, 69] Operation: 4+65=69
Exploring Operation: 4*1=4, Resulting Numbers: [65, 4]
Generated Node #0,3,3: 70:[65, 4] Operation: 4*1=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[1, 69], Operations: ['40-39=1', '4+65=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[40, 4, 65, 39], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [4, 65, 1]
Generated Node #0,3: 70:[4, 65, 1] Operation: 40-39=1
Moving to Node #0,3
Current State: 70:[4, 65, 1], Operations: ['40-39=1']
Exploring Operation: 4+65=69, Resulting Numbers: [1, 69]
Generated Node #0,3,2: 70:[1, 69] Operation: 4+65=69
Moving to Node #0,3,2
Current State: 70:[1, 69], Operations: ['40-39=1', '4+65=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
80,
25,
81,
40
] | 64 | [
"80+25=105",
"81-40=41",
"105-41=64"
] | Current State: 64:[80, 25, 81, 40], Operations: []
Exploring Operation: 80+25=105, Resulting Numbers: [81, 40, 105]
Generated Node #2: [81, 40, 105] from Operation: 80+25=105
Current State: 64:[81, 40, 105], Operations: ['80+25=105']
Exploring Operation: 81-40=41, Resulting Numbers: [105, 41]
Generated Node #3: [105, 41] from Operation: 81-40=41
Current State: 64:[105, 41], Operations: ['80+25=105', '81-40=41']
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[80, 25, 81, 40], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [25, 81, 2]
Generated Node #0,0: 64:[25, 81, 2] Operation: 80/40=2
Exploring Operation: 81-25=56, Resulting Numbers: [80, 40, 56]
Generated Node #0,1: 64:[80, 40, 56] Operation: 81-25=56
Exploring Operation: 81-80=1, Resulting Numbers: [25, 40, 1]
Generated Node #0,2: 64:[25, 40, 1] Operation: 81-80=1
Exploring Operation: 81-40=41, Resulting Numbers: [80, 25, 41]
Generated Node #0,3: 64:[80, 25, 41] Operation: 81-40=41
Exploring Operation: 80-40=40, Resulting Numbers: [25, 81, 40]
Generated Node #0,4: 64:[25, 81, 40] Operation: 80-40=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[25, 40, 1], Operations: ['81-80=1']
Exploring Operation: 25*1=25, Resulting Numbers: [40, 25]
Generated Node #0,2,0: 64:[40, 25] Operation: 25*1=25
Exploring Operation: 25+1=26, Resulting Numbers: [40, 26]
Generated Node #0,2,1: 64:[40, 26] Operation: 25+1=26
Exploring Operation: 40-1=39, Resulting Numbers: [25, 39]
Generated Node #0,2,2: 64:[25, 39] Operation: 40-1=39
Exploring Operation: 25+40=65, Resulting Numbers: [1, 65]
Generated Node #0,2,3: 64:[1, 65] Operation: 25+40=65
Exploring Operation: 40-25=15, Resulting Numbers: [1, 15]
Generated Node #0,2,4: 64:[1, 15] Operation: 40-25=15
Moving to Node #0,2,3
Current State: 64:[1, 65], Operations: ['81-80=1', '25+40=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[80, 25, 81, 40], Operations: []
Exploring Operation: 81-80=1, Resulting Numbers: [25, 40, 1]
Generated Node #0,2: 64:[25, 40, 1] Operation: 81-80=1
Moving to Node #0,2
Current State: 64:[25, 40, 1], Operations: ['81-80=1']
Exploring Operation: 25+40=65, Resulting Numbers: [1, 65]
Generated Node #0,2,3: 64:[1, 65] Operation: 25+40=65
Moving to Node #0,2,3
Current State: 64:[1, 65], Operations: ['81-80=1', '25+40=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
68,
60,
62,
22
] | 76 | [
"68-60=8",
"62+22=84",
"84-8=76"
] | Current State: 76:[68, 60, 62, 22], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [62, 22, 8]
Generated Node #2: [62, 22, 8] from Operation: 68-60=8
Current State: 76:[62, 22, 8], Operations: ['68-60=8']
Exploring Operation: 62+22=84, Resulting Numbers: [8, 84]
Generated Node #3: [8, 84] from Operation: 62+22=84
Current State: 76:[8, 84], Operations: ['68-60=8', '62+22=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[68, 60, 62, 22], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [68, 22, 2]
Generated Node #0,0: 76:[68, 22, 2] Operation: 62-60=2
Exploring Operation: 68-62=6, Resulting Numbers: [60, 22, 6]
Generated Node #0,1: 76:[60, 22, 6] Operation: 68-62=6
Exploring Operation: 68-60=8, Resulting Numbers: [62, 22, 8]
Generated Node #0,2: 76:[62, 22, 8] Operation: 68-60=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[68, 22, 2], Operations: ['62-60=2']
Exploring Operation: 68+2=70, Resulting Numbers: [22, 70]
Generated Node #0,0,0: 76:[22, 70] Operation: 68+2=70
Exploring Operation: 68/2=34, Resulting Numbers: [22, 34]
Generated Node #0,0,1: 76:[22, 34] Operation: 68/2=34
Exploring Operation: 68-22=46, Resulting Numbers: [2, 46]
Generated Node #0,0,2: 76:[2, 46] Operation: 68-22=46
Moving to Node #0,0,1
Current State: 76:[22, 34], Operations: ['62-60=2', '68/2=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,76 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[2, 46], Operations: ['62-60=2', '68-22=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[22, 70], Operations: ['62-60=2', '68+2=70']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[60, 22, 6], Operations: ['68-62=6']
Exploring Operation: 60-22=38, Resulting Numbers: [6, 38]
Generated Node #0,1,0: 76:[6, 38] Operation: 60-22=38
Exploring Operation: 60+22=82, Resulting Numbers: [6, 82]
Generated Node #0,1,1: 76:[6, 82] Operation: 60+22=82
Exploring Operation: 60/6=10, Resulting Numbers: [22, 10]
Generated Node #0,1,2: 76:[22, 10] Operation: 60/6=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[6, 38], Operations: ['68-62=6', '60-22=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,76 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[6, 82], Operations: ['68-62=6', '60+22=82']
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,76 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[68, 60, 62, 22], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [60, 22, 6]
Generated Node #0,1: 76:[60, 22, 6] Operation: 68-62=6
Moving to Node #0,1
Current State: 76:[60, 22, 6], Operations: ['68-62=6']
Exploring Operation: 60+22=82, Resulting Numbers: [6, 82]
Generated Node #0,1,1: 76:[6, 82] Operation: 60+22=82
Moving to Node #0,1,1
Current State: 76:[6, 82], Operations: ['68-62=6', '60+22=82']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
71,
21,
46,
77
] | 31 | [
"71+21=92",
"46+77=123",
"123-92=31"
] | Current State: 31:[71, 21, 46, 77], Operations: []
Exploring Operation: 71+21=92, Resulting Numbers: [46, 77, 92]
Generated Node #2: [46, 77, 92] from Operation: 71+21=92
Current State: 31:[46, 77, 92], Operations: ['71+21=92']
Exploring Operation: 46+77=123, Resulting Numbers: [92, 123]
Generated Node #3: [92, 123] from Operation: 46+77=123
Current State: 31:[92, 123], Operations: ['71+21=92', '46+77=123']
Exploring Operation: 123-92=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[71, 21, 46, 77], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [71, 21, 31]
Generated Node #0,0: 31:[71, 21, 31] Operation: 77-46=31
Exploring Operation: 71-46=25, Resulting Numbers: [21, 77, 25]
Generated Node #0,1: 31:[21, 77, 25] Operation: 71-46=25
Exploring Operation: 77-71=6, Resulting Numbers: [21, 46, 6]
Generated Node #0,2: 31:[21, 46, 6] Operation: 77-71=6
Moving to Node #0,0
Current State: 31:[71, 21, 31], Operations: ['77-46=31']
Exploring Operation: 71+21=92, Resulting Numbers: [31, 92]
Generated Node #0,0,0: 31:[31, 92] Operation: 71+21=92
Exploring Operation: 71-31=40, Resulting Numbers: [21, 40]
Generated Node #0,0,1: 31:[21, 40] Operation: 71-31=40
Exploring Operation: 71-21=50, Resulting Numbers: [31, 50]
Generated Node #0,0,2: 31:[31, 50] Operation: 71-21=50
Moving to Node #0,2
Current State: 31:[21, 46, 6], Operations: ['77-71=6']
Exploring Operation: 46-21=25, Resulting Numbers: [6, 25]
Generated Node #0,2,0: 31:[6, 25] Operation: 46-21=25
Exploring Operation: 46-6=40, Resulting Numbers: [21, 40]
Generated Node #0,2,1: 31:[21, 40] Operation: 46-6=40
Exploring Operation: 21+6=27, Resulting Numbers: [46, 27]
Generated Node #0,2,2: 31:[46, 27] Operation: 21+6=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[21, 40], Operations: ['77-71=6', '46-6=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[46, 27], Operations: ['77-71=6', '21+6=27']
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,31 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[6, 25], Operations: ['77-71=6', '46-21=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[71, 21, 46, 77], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [21, 46, 6]
Generated Node #0,2: 31:[21, 46, 6] Operation: 77-71=6
Moving to Node #0,2
Current State: 31:[21, 46, 6], Operations: ['77-71=6']
Exploring Operation: 46-21=25, Resulting Numbers: [6, 25]
Generated Node #0,2,0: 31:[6, 25] Operation: 46-21=25
Moving to Node #0,2,0
Current State: 31:[6, 25], Operations: ['77-71=6', '46-21=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | mult_heuristic |
[
10,
9,
39,
1
] | 37 | [
"10-9=1",
"39-1=38",
"38-1=37"
] | Current State: 37:[10, 9, 39, 1], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [39, 1, 1]
Generated Node #2: [39, 1, 1] from Operation: 10-9=1
Current State: 37:[39, 1, 1], Operations: ['10-9=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,37 equal: Goal Reached
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[10, 9, 39, 1], Operations: []
Exploring Operation: 10+9=19, Resulting Numbers: [39, 1, 19]
Generated Node #0,0: 37:[39, 1, 19] Operation: 10+9=19
Exploring Operation: 10+1=11, Resulting Numbers: [9, 39, 11]
Generated Node #0,1: 37:[9, 39, 11] Operation: 10+1=11
Exploring Operation: 9+1=10, Resulting Numbers: [10, 39, 10]
Generated Node #0,2: 37:[10, 39, 10] Operation: 9+1=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[39, 1, 19], Operations: ['10+9=19']
Exploring Operation: 39*1=39, Resulting Numbers: [19, 39]
Generated Node #0,0,0: 37:[19, 39] Operation: 39*1=39
Exploring Operation: 39-1=38, Resulting Numbers: [19, 38]
Generated Node #0,0,1: 37:[19, 38] Operation: 39-1=38
Exploring Operation: 1+19=20, Resulting Numbers: [39, 20]
Generated Node #0,0,2: 37:[39, 20] Operation: 1+19=20
Moving to Node #0,0,1
Current State: 37:[19, 38], Operations: ['10+9=19', '39-1=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[39, 20], Operations: ['10+9=19', '1+19=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,37 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[19, 39], Operations: ['10+9=19', '39*1=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[9, 39, 11], Operations: ['10+1=11']
Exploring Operation: 9+39=48, Resulting Numbers: [11, 48]
Generated Node #0,1,0: 37:[11, 48] Operation: 9+39=48
Exploring Operation: 9+11=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 37:[39, 20] Operation: 9+11=20
Exploring Operation: 39-9=30, Resulting Numbers: [11, 30]
Generated Node #0,1,2: 37:[11, 30] Operation: 39-9=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[39, 20], Operations: ['10+1=11', '9+11=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,37 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[11, 30], Operations: ['10+1=11', '39-9=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,37 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,37 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[11, 48], Operations: ['10+1=11', '9+39=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[10, 9, 39, 1], Operations: []
Exploring Operation: 10+1=11, Resulting Numbers: [9, 39, 11]
Generated Node #0,1: 37:[9, 39, 11] Operation: 10+1=11
Moving to Node #0,1
Current State: 37:[9, 39, 11], Operations: ['10+1=11']
Exploring Operation: 9+39=48, Resulting Numbers: [11, 48]
Generated Node #0,1,0: 37:[11, 48] Operation: 9+39=48
Moving to Node #0,1,0
Current State: 37:[11, 48], Operations: ['10+1=11', '9+39=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
83,
13,
34,
94
] | 17 | [
"83+13=96",
"96-94=2",
"34/2=17"
] | Current State: 17:[83, 13, 34, 94], Operations: []
Exploring Operation: 83+13=96, Resulting Numbers: [34, 94, 96]
Generated Node #2: [34, 94, 96] from Operation: 83+13=96
Current State: 17:[34, 94, 96], Operations: ['83+13=96']
Exploring Operation: 96-94=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 96-94=2
Current State: 17:[34, 2], Operations: ['83+13=96', '96-94=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[83, 13, 34, 94], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [13, 34, 11]
Generated Node #0,0: 17:[13, 34, 11] Operation: 94-83=11
Moving to Node #0,0
Current State: 17:[13, 34, 11], Operations: ['94-83=11']
Exploring Operation: 34-13=21, Resulting Numbers: [11, 21]
Generated Node #0,0,0: 17:[11, 21] Operation: 34-13=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[11, 21], Operations: ['94-83=11', '34-13=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,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 |
[
39,
78,
18,
78
] | 14 | [
"78+78=156",
"156/39=4",
"18-4=14"
] | Current State: 14:[39, 78, 18, 78], Operations: []
Exploring Operation: 78+78=156, Resulting Numbers: [39, 18, 156]
Generated Node #2: [39, 18, 156] from Operation: 78+78=156
Current State: 14:[39, 18, 156], Operations: ['78+78=156']
Exploring Operation: 156/39=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 156/39=4
Current State: 14:[18, 4], Operations: ['78+78=156', '156/39=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[39, 78, 18, 78], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [78, 18, 2]
Generated Node #0,0: 14:[78, 18, 2] Operation: 78/39=2
Exploring Operation: 78-39=39, Resulting Numbers: [18, 78, 39]
Generated Node #0,1: 14:[18, 78, 39] Operation: 78-39=39
Exploring Operation: 78-78=0, Resulting Numbers: [39, 18, 0]
Generated Node #0,2: 14:[39, 18, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [39, 18, 1]
Generated Node #0,3: 14:[39, 18, 1] Operation: 78/78=1
Exploring Operation: 78/39=2, Resulting Numbers: [18, 78, 2]
Generated Node #0,4: 14:[18, 78, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[39, 18, 1], Operations: ['78/78=1']
Exploring Operation: 39*1=39, Resulting Numbers: [18, 39]
Generated Node #0,3,0: 14:[18, 39] Operation: 39*1=39
Exploring Operation: 39-1=38, Resulting Numbers: [18, 38]
Generated Node #0,3,1: 14:[18, 38] Operation: 39-1=38
Exploring Operation: 18-1=17, Resulting Numbers: [39, 17]
Generated Node #0,3,2: 14:[39, 17] Operation: 18-1=17
Exploring Operation: 39/1=39, Resulting Numbers: [18, 39]
Generated Node #0,3,3: 14:[18, 39] Operation: 39/1=39
Exploring Operation: 39-18=21, Resulting Numbers: [1, 21]
Generated Node #0,3,4: 14:[1, 21] Operation: 39-18=21
Moving to Node #0,3,4
Current State: 14:[1, 21], Operations: ['78/78=1', '39-18=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[39, 17], Operations: ['78/78=1', '18-1=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,14 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[18, 38], Operations: ['78/78=1', '39-1=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[18, 39], Operations: ['78/78=1', '39*1=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[18, 39], Operations: ['78/78=1', '39/1=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[39, 18, 0], Operations: ['78-78=0']
Exploring Operation: 39+0=39, Resulting Numbers: [18, 39]
Generated Node #0,2,0: 14:[18, 39] Operation: 39+0=39
Exploring Operation: 18*0=0, Resulting Numbers: [39, 0]
Generated Node #0,2,1: 14:[39, 0] Operation: 18*0=0
Exploring Operation: 39-18=21, Resulting Numbers: [0, 21]
Generated Node #0,2,2: 14:[0, 21] Operation: 39-18=21
Exploring Operation: 39-0=39, Resulting Numbers: [18, 39]
Generated Node #0,2,3: 14:[18, 39] Operation: 39-0=39
Exploring Operation: 39*0=0, Resulting Numbers: [18, 0]
Generated Node #0,2,4: 14:[18, 0] Operation: 39*0=0
Moving to Node #0,2,4
Current State: 14:[18, 0], Operations: ['78-78=0', '39*0=0']
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[0, 21], Operations: ['78-78=0', '39-18=21']
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 0+21=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 0*21=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[39, 0], Operations: ['78-78=0', '18*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[18, 39], Operations: ['78-78=0', '39+0=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[18, 39], Operations: ['78-78=0', '39-0=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[78, 18, 2], Operations: ['78/39=2']
Exploring Operation: 78-18=60, Resulting Numbers: [2, 60]
Generated Node #0,0,0: 14:[2, 60] Operation: 78-18=60
Exploring Operation: 18/2=9, Resulting Numbers: [78, 9]
Generated Node #0,0,1: 14:[78, 9] Operation: 18/2=9
Exploring Operation: 78-2=76, Resulting Numbers: [18, 76]
Generated Node #0,0,2: 14:[18, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [18, 39]
Generated Node #0,0,3: 14:[18, 39] Operation: 78/2=39
Exploring Operation: 18-2=16, Resulting Numbers: [78, 16]
Generated Node #0,0,4: 14:[78, 16] Operation: 18-2=16
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[18, 39], Operations: ['78/39=2', '78/2=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
No 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: 14:[2, 60], Operations: ['78/39=2', '78-18=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No 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: 14:[78, 9], Operations: ['78/39=2', '18/2=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,14 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No 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: 14:[18, 76], Operations: ['78/39=2', '78-2=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,14 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,14 unequal: No Solution
No 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: 14:[78, 16], Operations: ['78/39=2', '18-2=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,14 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[18, 78, 2], Operations: ['78/39=2']
Exploring Operation: 18/2=9, Resulting Numbers: [78, 9]
Generated Node #0,4,0: 14:[78, 9] Operation: 18/2=9
Exploring Operation: 78-18=60, Resulting Numbers: [2, 60]
Generated Node #0,4,1: 14:[2, 60] Operation: 78-18=60
Exploring Operation: 18-2=16, Resulting Numbers: [78, 16]
Generated Node #0,4,2: 14:[78, 16] Operation: 18-2=16
Exploring Operation: 78/2=39, Resulting Numbers: [18, 39]
Generated Node #0,4,3: 14:[18, 39] Operation: 78/2=39
Exploring Operation: 78-2=76, Resulting Numbers: [18, 76]
Generated Node #0,4,4: 14:[18, 76] Operation: 78-2=76
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 14:[18, 39], Operations: ['78/39=2', '78/2=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 14:[2, 60], Operations: ['78/39=2', '78-18=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,14 unequal: No Solution
No 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: 14:[78, 9], Operations: ['78/39=2', '18/2=9']
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,14 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No 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: 14:[78, 16], Operations: ['78/39=2', '18-2=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,14 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,14 unequal: No Solution
No 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: 14:[18, 76], Operations: ['78/39=2', '78-2=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,14 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[18, 78, 39], Operations: ['78-39=39']
Exploring Operation: 18+78=96, Resulting Numbers: [39, 96]
Generated Node #0,1,0: 14:[39, 96] Operation: 18+78=96
Exploring Operation: 78/39=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 14:[18, 2] Operation: 78/39=2
Exploring Operation: 78-39=39, Resulting Numbers: [18, 39]
Generated Node #0,1,2: 14:[18, 39] Operation: 78-39=39
Exploring Operation: 78-18=60, Resulting Numbers: [39, 60]
Generated Node #0,1,3: 14:[39, 60] Operation: 78-18=60
Exploring Operation: 39-18=21, Resulting Numbers: [78, 21]
Generated Node #0,1,4: 14:[78, 21] Operation: 39-18=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[18, 2], Operations: ['78-39=39', '78/39=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,14 unequal: No Solution
No 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: 14:[18, 39], Operations: ['78-39=39', '78-39=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,14 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,14 unequal: No Solution
No 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: 14:[39, 60], Operations: ['78-39=39', '78-18=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,14 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,14 unequal: No Solution
No 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: 14:[78, 21], Operations: ['78-39=39', '39-18=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,14 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,14 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,14 unequal: No Solution
No 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: 14:[39, 96], Operations: ['78-39=39', '18+78=96']
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,14 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
92,
65,
34
] | 80 | [
"19+92=111",
"65-34=31",
"111-31=80"
] | Current State: 80:[19, 92, 65, 34], Operations: []
Exploring Operation: 19+92=111, Resulting Numbers: [65, 34, 111]
Generated Node #2: [65, 34, 111] from Operation: 19+92=111
Current State: 80:[65, 34, 111], Operations: ['19+92=111']
Exploring Operation: 65-34=31, Resulting Numbers: [111, 31]
Generated Node #3: [111, 31] from Operation: 65-34=31
Current State: 80:[111, 31], Operations: ['19+92=111', '65-34=31']
Exploring Operation: 111-31=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[19, 92, 65, 34], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [19, 92, 31]
Generated Node #0,0: 80:[19, 92, 31] Operation: 65-34=31
Exploring Operation: 92-65=27, Resulting Numbers: [19, 34, 27]
Generated Node #0,1: 80:[19, 34, 27] Operation: 92-65=27
Exploring Operation: 19+65=84, Resulting Numbers: [92, 34, 84]
Generated Node #0,2: 80:[92, 34, 84] Operation: 19+65=84
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[19, 34, 27], Operations: ['92-65=27']
Exploring Operation: 34-27=7, Resulting Numbers: [19, 7]
Generated Node #0,1,0: 80:[19, 7] Operation: 34-27=7
Exploring Operation: 34-19=15, Resulting Numbers: [27, 15]
Generated Node #0,1,1: 80:[27, 15] Operation: 34-19=15
Exploring Operation: 27-19=8, Resulting Numbers: [34, 8]
Generated Node #0,1,2: 80:[34, 8] Operation: 27-19=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[19, 7], Operations: ['92-65=27', '34-27=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,80 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[34, 8], Operations: ['92-65=27', '27-19=8']
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,80 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[27, 15], Operations: ['92-65=27', '34-19=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,80 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[19, 92, 31], Operations: ['65-34=31']
Exploring Operation: 92-19=73, Resulting Numbers: [31, 73]
Generated Node #0,0,0: 80:[31, 73] Operation: 92-19=73
Exploring Operation: 92-31=61, Resulting Numbers: [19, 61]
Generated Node #0,0,1: 80:[19, 61] Operation: 92-31=61
Exploring Operation: 31-19=12, Resulting Numbers: [92, 12]
Generated Node #0,0,2: 80:[92, 12] Operation: 31-19=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[92, 12], Operations: ['65-34=31', '31-19=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[19, 92, 65, 34], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [19, 92, 31]
Generated Node #0,0: 80:[19, 92, 31] Operation: 65-34=31
Moving to Node #0,0
Current State: 80:[19, 92, 31], Operations: ['65-34=31']
Exploring Operation: 31-19=12, Resulting Numbers: [92, 12]
Generated Node #0,0,2: 80:[92, 12] Operation: 31-19=12
Moving to Node #0,0,2
Current State: 80:[92, 12], Operations: ['65-34=31', '31-19=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
29,
58,
65,
1
] | 33 | [
"58/29=2",
"65+1=66",
"66/2=33"
] | Current State: 33:[29, 58, 65, 1], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [65, 1, 2]
Generated Node #2: [65, 1, 2] from Operation: 58/29=2
Current State: 33:[65, 1, 2], Operations: ['58/29=2']
Exploring Operation: 65+1=66, Resulting Numbers: [2, 66]
Generated Node #3: [2, 66] from Operation: 65+1=66
Current State: 33:[2, 66], Operations: ['58/29=2', '65+1=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[29, 58, 65, 1], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [65, 1, 2]
Generated Node #0,0: 33:[65, 1, 2] Operation: 58/29=2
Exploring Operation: 65-29=36, Resulting Numbers: [58, 1, 36]
Generated Node #0,1: 33:[58, 1, 36] Operation: 65-29=36
Exploring Operation: 65-58=7, Resulting Numbers: [29, 1, 7]
Generated Node #0,2: 33:[29, 1, 7] Operation: 65-58=7
Exploring Operation: 58-29=29, Resulting Numbers: [65, 1, 29]
Generated Node #0,3: 33:[65, 1, 29] Operation: 58-29=29
Exploring Operation: 29+1=30, Resulting Numbers: [58, 65, 30]
Generated Node #0,4: 33:[58, 65, 30] Operation: 29+1=30
Moving to Node #0,2
Current State: 33:[29, 1, 7], Operations: ['65-58=7']
Exploring Operation: 7-1=6, Resulting Numbers: [29, 6]
Generated Node #0,2,0: 33:[29, 6] Operation: 7-1=6
Exploring Operation: 29+1=30, Resulting Numbers: [7, 30]
Generated Node #0,2,1: 33:[7, 30] Operation: 29+1=30
Exploring Operation: 29+7=36, Resulting Numbers: [1, 36]
Generated Node #0,2,2: 33:[1, 36] Operation: 29+7=36
Exploring Operation: 1+7=8, Resulting Numbers: [29, 8]
Generated Node #0,2,3: 33:[29, 8] Operation: 1+7=8
Exploring Operation: 29*1=29, Resulting Numbers: [7, 29]
Generated Node #0,2,4: 33:[7, 29] Operation: 29*1=29
Moving to Node #0,1
Current State: 33:[58, 1, 36], Operations: ['65-29=36']
Exploring Operation: 58/1=58, Resulting Numbers: [36, 58]
Generated Node #0,1,0: 33:[36, 58] Operation: 58/1=58
Exploring Operation: 58*1=58, Resulting Numbers: [36, 58]
Generated Node #0,1,1: 33:[36, 58] Operation: 58*1=58
Exploring Operation: 36-1=35, Resulting Numbers: [58, 35]
Generated Node #0,1,2: 33:[58, 35] Operation: 36-1=35
Exploring Operation: 58-1=57, Resulting Numbers: [36, 57]
Generated Node #0,1,3: 33:[36, 57] Operation: 58-1=57
Exploring Operation: 58-36=22, Resulting Numbers: [1, 22]
Generated Node #0,1,4: 33:[1, 22] Operation: 58-36=22
Moving to Node #0,0
Current State: 33:[65, 1, 2], Operations: ['58/29=2']
Exploring Operation: 1+2=3, Resulting Numbers: [65, 3]
Generated Node #0,0,0: 33:[65, 3] Operation: 1+2=3
Exploring Operation: 65/1=65, Resulting Numbers: [2, 65]
Generated Node #0,0,1: 33:[2, 65] Operation: 65/1=65
Exploring Operation: 65*1=65, Resulting Numbers: [2, 65]
Generated Node #0,0,2: 33:[2, 65] Operation: 65*1=65
Exploring Operation: 65-2=63, Resulting Numbers: [1, 63]
Generated Node #0,0,3: 33:[1, 63] Operation: 65-2=63
Exploring Operation: 65-1=64, Resulting Numbers: [2, 64]
Generated Node #0,0,4: 33:[2, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[65, 3], Operations: ['58/29=2', '1+2=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,33 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[1, 63], Operations: ['58/29=2', '65-2=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,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,4
Current State: 33:[2, 64], Operations: ['58/29=2', '65-1=64']
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[2, 65], Operations: ['58/29=2', '65/1=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,33 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[2, 65], Operations: ['58/29=2', '65*1=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,33 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: 33:[65, 1, 29], Operations: ['58-29=29']
Exploring Operation: 65*1=65, Resulting Numbers: [29, 65]
Generated Node #0,3,0: 33:[29, 65] Operation: 65*1=65
Exploring Operation: 65-1=64, Resulting Numbers: [29, 64]
Generated Node #0,3,1: 33:[29, 64] Operation: 65-1=64
Exploring Operation: 65/1=65, Resulting Numbers: [29, 65]
Generated Node #0,3,2: 33:[29, 65] Operation: 65/1=65
Exploring Operation: 1+29=30, Resulting Numbers: [65, 30]
Generated Node #0,3,3: 33:[65, 30] Operation: 1+29=30
Exploring Operation: 65-29=36, Resulting Numbers: [1, 36]
Generated Node #0,3,4: 33:[1, 36] Operation: 65-29=36
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 33:[1, 36], Operations: ['58-29=29', '65-29=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[29, 64], Operations: ['58-29=29', '65-1=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,33 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[65, 30], Operations: ['58-29=29', '1+29=30']
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,33 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[29, 65], Operations: ['58-29=29', '65*1=65']
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,33 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[29, 65], Operations: ['58-29=29', '65/1=65']
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,33 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 33:[58, 65, 30], Operations: ['29+1=30']
Exploring Operation: 58+30=88, Resulting Numbers: [65, 88]
Generated Node #0,4,0: 33:[65, 88] Operation: 58+30=88
Exploring Operation: 65+30=95, Resulting Numbers: [58, 95]
Generated Node #0,4,1: 33:[58, 95] Operation: 65+30=95
Exploring Operation: 58-30=28, Resulting Numbers: [65, 28]
Generated Node #0,4,2: 33:[65, 28] Operation: 58-30=28
Exploring Operation: 65-58=7, Resulting Numbers: [30, 7]
Generated Node #0,4,3: 33:[30, 7] Operation: 65-58=7
Exploring Operation: 65-30=35, Resulting Numbers: [58, 35]
Generated Node #0,4,4: 33:[58, 35] Operation: 65-30=35
Moving to Node #0,2,2
Current State: 33:[1, 36], Operations: ['65-58=7', '29+7=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[7, 30], Operations: ['65-58=7', '29+1=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,33 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[29, 6], Operations: ['65-58=7', '7-1=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,33 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[30, 7], Operations: ['29+1=30', '65-58=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,33 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[29, 8], Operations: ['65-58=7', '1+7=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[7, 29], Operations: ['65-58=7', '29*1=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,33 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[1, 22], Operations: ['65-29=36', '58-36=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[58, 35], Operations: ['65-29=36', '36-1=35']
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,33 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[58, 35], Operations: ['29+1=30', '65-30=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,33 unequal: No Solution
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[36, 57], Operations: ['65-29=36', '58-1=57']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[36, 58], Operations: ['65-29=36', '58*1=58']
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[36, 58], Operations: ['65-29=36', '58/1=58']
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,33 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[65, 28], Operations: ['29+1=30', '58-30=28']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 65*28=1820, Resulting Numbers: [1820]
1820,33 unequal: No Solution
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[65, 88], Operations: ['29+1=30', '58+30=88']
Exploring Operation: 65*88=5720, Resulting Numbers: [5720]
5720,33 unequal: No Solution
Exploring Operation: 65+88=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[58, 95], Operations: ['29+1=30', '65+30=95']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,33 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,33 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
22,
95,
79,
2
] | 14 | [
"95-79=16",
"16/2=8",
"22-8=14"
] | Current State: 14:[22, 95, 79, 2], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [22, 2, 16]
Generated Node #2: [22, 2, 16] from Operation: 95-79=16
Current State: 14:[22, 2, 16], Operations: ['95-79=16']
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #3: [22, 8] from Operation: 16/2=8
Current State: 14:[22, 8], Operations: ['95-79=16', '16/2=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[22, 95, 79, 2], Operations: []
Exploring Operation: 22-2=20, Resulting Numbers: [95, 79, 20]
Generated Node #0,0: 14:[95, 79, 20] Operation: 22-2=20
Exploring Operation: 79-22=57, Resulting Numbers: [95, 2, 57]
Generated Node #0,1: 14:[95, 2, 57] Operation: 79-22=57
Exploring Operation: 22/2=11, Resulting Numbers: [95, 79, 11]
Generated Node #0,2: 14:[95, 79, 11] Operation: 22/2=11
Exploring Operation: 95-22=73, Resulting Numbers: [79, 2, 73]
Generated Node #0,3: 14:[79, 2, 73] Operation: 95-22=73
Exploring Operation: 95-79=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,4: 14:[22, 2, 16] Operation: 95-79=16
Moving to Node #0,4
Current State: 14:[22, 2, 16], Operations: ['95-79=16']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,4,0: 14:[2, 6] Operation: 22-16=6
Exploring Operation: 22-2=20, Resulting Numbers: [16, 20]
Generated Node #0,4,1: 14:[16, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [16, 11]
Generated Node #0,4,2: 14:[16, 11] Operation: 22/2=11
Exploring Operation: 16-2=14, Resulting Numbers: [22, 14]
Generated Node #0,4,3: 14:[22, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 14:[22, 8] Operation: 16/2=8
Moving to Node #0,3
Current State: 14:[79, 2, 73], Operations: ['95-22=73']
Exploring Operation: 79-73=6, Resulting Numbers: [2, 6]
Generated Node #0,3,0: 14:[2, 6] Operation: 79-73=6
Exploring Operation: 73-2=71, Resulting Numbers: [79, 71]
Generated Node #0,3,1: 14:[79, 71] Operation: 73-2=71
Exploring Operation: 79+2=81, Resulting Numbers: [73, 81]
Generated Node #0,3,2: 14:[73, 81] Operation: 79+2=81
Exploring Operation: 2+73=75, Resulting Numbers: [79, 75]
Generated Node #0,3,3: 14:[79, 75] Operation: 2+73=75
Exploring Operation: 79-2=77, Resulting Numbers: [73, 77]
Generated Node #0,3,4: 14:[73, 77] Operation: 79-2=77
Moving to Node #0,1
Current State: 14:[95, 2, 57], Operations: ['79-22=57']
Exploring Operation: 57-2=55, Resulting Numbers: [95, 55]
Generated Node #0,1,0: 14:[95, 55] Operation: 57-2=55
Exploring Operation: 95-57=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 14:[2, 38] Operation: 95-57=38
Exploring Operation: 95-2=93, Resulting Numbers: [57, 93]
Generated Node #0,1,2: 14:[57, 93] Operation: 95-2=93
Exploring Operation: 95+2=97, Resulting Numbers: [57, 97]
Generated Node #0,1,3: 14:[57, 97] Operation: 95+2=97
Exploring Operation: 2+57=59, Resulting Numbers: [95, 59]
Generated Node #0,1,4: 14:[95, 59] Operation: 2+57=59
Moving to Node #0,2
Current State: 14:[95, 79, 11], Operations: ['22/2=11']
Exploring Operation: 95-79=16, Resulting Numbers: [11, 16]
Generated Node #0,2,0: 14:[11, 16] Operation: 95-79=16
Exploring Operation: 95+11=106, Resulting Numbers: [79, 106]
Generated Node #0,2,1: 14:[79, 106] Operation: 95+11=106
Exploring Operation: 95-11=84, Resulting Numbers: [79, 84]
Generated Node #0,2,2: 14:[79, 84] Operation: 95-11=84
Exploring Operation: 79-11=68, Resulting Numbers: [95, 68]
Generated Node #0,2,3: 14:[95, 68] Operation: 79-11=68
Exploring Operation: 79+11=90, Resulting Numbers: [95, 90]
Generated Node #0,2,4: 14:[95, 90] Operation: 79+11=90
Moving to Node #0,0
Current State: 14:[95, 79, 20], Operations: ['22-2=20']
Exploring Operation: 95-20=75, Resulting Numbers: [79, 75]
Generated Node #0,0,0: 14:[79, 75] Operation: 95-20=75
Exploring Operation: 95-79=16, Resulting Numbers: [20, 16]
Generated Node #0,0,1: 14:[20, 16] Operation: 95-79=16
Exploring Operation: 95+79=174, Resulting Numbers: [20, 174]
Generated Node #0,0,2: 14:[20, 174] Operation: 95+79=174
Exploring Operation: 95+20=115, Resulting Numbers: [79, 115]
Generated Node #0,0,3: 14:[79, 115] Operation: 95+20=115
Exploring Operation: 79-20=59, Resulting Numbers: [95, 59]
Generated Node #0,0,4: 14:[95, 59] Operation: 79-20=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[20, 16], Operations: ['22-2=20', '95-79=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[79, 75], Operations: ['22-2=20', '95-20=75']
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,14 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[95, 59], Operations: ['22-2=20', '79-20=59']
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,14 unequal: No Solution
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[20, 174], Operations: ['22-2=20', '95+79=174']
Exploring Operation: 20+174=194, Resulting Numbers: [194]
194,14 unequal: No Solution
Exploring Operation: 20*174=3480, Resulting Numbers: [3480]
3480,14 unequal: No Solution
Exploring Operation: 174-20=154, Resulting Numbers: [154]
154,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[79, 115], Operations: ['22-2=20', '95+20=115']
Exploring Operation: 115-79=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 79+115=194, Resulting Numbers: [194]
194,14 unequal: No Solution
Exploring Operation: 79*115=9085, Resulting Numbers: [9085]
9085,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 14:[2, 6], Operations: ['95-79=16', '22-16=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[2, 6], Operations: ['95-22=73', '79-73=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,4,2
Current State: 14:[16, 11], Operations: ['95-79=16', '22/2=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,14 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[11, 16], Operations: ['22/2=11', '95-79=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,14 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,4,1
Current State: 14:[16, 20], Operations: ['95-79=16', '22-2=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[22, 14], Operations: ['95-79=16', '16-2=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,14 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[22, 8], Operations: ['95-79=16', '16/2=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,14 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[22, 95, 79, 2], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,4: 14:[22, 2, 16] Operation: 95-79=16
Moving to Node #0,4
Current State: 14:[22, 2, 16], Operations: ['95-79=16']
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 14:[22, 8] Operation: 16/2=8
Moving to Node #0,4,4
Current State: 14:[22, 8], Operations: ['95-79=16', '16/2=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
5,
3,
74,
31
] | 40 | [
"74+31=105",
"105/3=35",
"5+35=40"
] | Current State: 40:[5, 3, 74, 31], Operations: []
Exploring Operation: 74+31=105, Resulting Numbers: [5, 3, 105]
Generated Node #2: [5, 3, 105] from Operation: 74+31=105
Current State: 40:[5, 3, 105], Operations: ['74+31=105']
Exploring Operation: 105/3=35, Resulting Numbers: [5, 35]
Generated Node #3: [5, 35] from Operation: 105/3=35
Current State: 40:[5, 35], Operations: ['74+31=105', '105/3=35']
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 3, 74, 31], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [5, 3, 43]
Generated Node #0,0: 40:[5, 3, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[5, 3, 43], Operations: ['74-31=43']
Exploring Operation: 43-3=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 40:[5, 40] Operation: 43-3=40
Moving to Node #0,0,0
Current State: 40:[5, 40], Operations: ['74-31=43', '43-3=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
91,
73,
64
] | 34 | [
"80+91=171",
"73+64=137",
"171-137=34"
] | Current State: 34:[80, 91, 73, 64], Operations: []
Exploring Operation: 80+91=171, Resulting Numbers: [73, 64, 171]
Generated Node #2: [73, 64, 171] from Operation: 80+91=171
Current State: 34:[73, 64, 171], Operations: ['80+91=171']
Exploring Operation: 73+64=137, Resulting Numbers: [171, 137]
Generated Node #3: [171, 137] from Operation: 73+64=137
Current State: 34:[171, 137], Operations: ['80+91=171', '73+64=137']
Exploring Operation: 171-137=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[80, 91, 73, 64], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [80, 64, 18]
Generated Node #0,0: 34:[80, 64, 18] Operation: 91-73=18
Exploring Operation: 80-64=16, Resulting Numbers: [91, 73, 16]
Generated Node #0,1: 34:[91, 73, 16] Operation: 80-64=16
Exploring Operation: 80-73=7, Resulting Numbers: [91, 64, 7]
Generated Node #0,2: 34:[91, 64, 7] Operation: 80-73=7
Exploring Operation: 91-64=27, Resulting Numbers: [80, 73, 27]
Generated Node #0,3: 34:[80, 73, 27] Operation: 91-64=27
Exploring Operation: 91-80=11, Resulting Numbers: [73, 64, 11]
Generated Node #0,4: 34:[73, 64, 11] Operation: 91-80=11
Moving to Node #0,4
Current State: 34:[73, 64, 11], Operations: ['91-80=11']
Exploring Operation: 64-11=53, Resulting Numbers: [73, 53]
Generated Node #0,4,0: 34:[73, 53] Operation: 64-11=53
Exploring Operation: 73-64=9, Resulting Numbers: [11, 9]
Generated Node #0,4,1: 34:[11, 9] Operation: 73-64=9
Exploring Operation: 73-11=62, Resulting Numbers: [64, 62]
Generated Node #0,4,2: 34:[64, 62] Operation: 73-11=62
Exploring Operation: 73+11=84, Resulting Numbers: [64, 84]
Generated Node #0,4,3: 34:[64, 84] Operation: 73+11=84
Exploring Operation: 64+11=75, Resulting Numbers: [73, 75]
Generated Node #0,4,4: 34:[73, 75] Operation: 64+11=75
Moving to Node #0,0
Current State: 34:[80, 64, 18], Operations: ['91-73=18']
Exploring Operation: 64+18=82, Resulting Numbers: [80, 82]
Generated Node #0,0,0: 34:[80, 82] Operation: 64+18=82
Exploring Operation: 80-64=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 34:[18, 16] Operation: 80-64=16
Exploring Operation: 80-18=62, Resulting Numbers: [64, 62]
Generated Node #0,0,2: 34:[64, 62] Operation: 80-18=62
Exploring Operation: 64-18=46, Resulting Numbers: [80, 46]
Generated Node #0,0,3: 34:[80, 46] Operation: 64-18=46
Exploring Operation: 80+18=98, Resulting Numbers: [64, 98]
Generated Node #0,0,4: 34:[64, 98] Operation: 80+18=98
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[18, 16], Operations: ['91-73=18', '80-64=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[80, 91, 73, 64], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [80, 64, 18]
Generated Node #0,0: 34:[80, 64, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 34:[80, 64, 18], Operations: ['91-73=18']
Exploring Operation: 80-64=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 34:[18, 16] Operation: 80-64=16
Moving to Node #0,0,1
Current State: 34:[18, 16], Operations: ['91-73=18', '80-64=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
76,
4,
7,
6
] | 80 | [
"76+4=80",
"7-6=1",
"80*1=80"
] | Current State: 80:[76, 4, 7, 6], Operations: []
Exploring Operation: 76+4=80, Resulting Numbers: [7, 6, 80]
Generated Node #2: [7, 6, 80] from Operation: 76+4=80
Current State: 80:[7, 6, 80], Operations: ['76+4=80']
Exploring Operation: 7-6=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 7-6=1
Current State: 80:[80, 1], Operations: ['76+4=80', '7-6=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[76, 4, 7, 6], Operations: []
Exploring Operation: 76+4=80, Resulting Numbers: [7, 6, 80]
Generated Node #0,0: 80:[7, 6, 80] Operation: 76+4=80
Exploring Operation: 76/4=19, Resulting Numbers: [7, 6, 19]
Generated Node #0,1: 80:[7, 6, 19] Operation: 76/4=19
Moving to Node #0,0
Current State: 80:[7, 6, 80], Operations: ['76+4=80']
Exploring Operation: 7*6=42, Resulting Numbers: [80, 42]
Generated Node #0,0,0: 80:[80, 42] Operation: 7*6=42
Exploring Operation: 7-6=1, Resulting Numbers: [80, 1]
Generated Node #0,0,1: 80:[80, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[80, 1], Operations: ['76+4=80', '7-6=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[76, 4, 7, 6], Operations: []
Exploring Operation: 76+4=80, Resulting Numbers: [7, 6, 80]
Generated Node #0,0: 80:[7, 6, 80] Operation: 76+4=80
Moving to Node #0,0
Current State: 80:[7, 6, 80], Operations: ['76+4=80']
Exploring Operation: 7-6=1, Resulting Numbers: [80, 1]
Generated Node #0,0,1: 80:[80, 1] Operation: 7-6=1
Moving to Node #0,0,1
Current State: 80:[80, 1], Operations: ['76+4=80', '7-6=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
38,
4,
47,
55
] | 60 | [
"38+4=42",
"47+55=102",
"102-42=60"
] | Current State: 60:[38, 4, 47, 55], Operations: []
Exploring Operation: 38+4=42, Resulting Numbers: [47, 55, 42]
Generated Node #2: [47, 55, 42] from Operation: 38+4=42
Current State: 60:[47, 55, 42], Operations: ['38+4=42']
Exploring Operation: 47+55=102, Resulting Numbers: [42, 102]
Generated Node #3: [42, 102] from Operation: 47+55=102
Current State: 60:[42, 102], Operations: ['38+4=42', '47+55=102']
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[38, 4, 47, 55], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [4, 55, 9]
Generated Node #0,0: 60:[4, 55, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[4, 55, 9], Operations: ['47-38=9']
Exploring Operation: 4+55=59, Resulting Numbers: [9, 59]
Generated Node #0,0,0: 60:[9, 59] Operation: 4+55=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[9, 59], Operations: ['47-38=9', '4+55=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
98,
23,
73
] | 95 | [
"71*98=6958",
"6958-23=6935",
"6935/73=95"
] | Current State: 95:[71, 98, 23, 73], Operations: []
Exploring Operation: 71*98=6958, Resulting Numbers: [23, 73, 6958]
Generated Node #2: [23, 73, 6958] from Operation: 71*98=6958
Current State: 95:[23, 73, 6958], Operations: ['71*98=6958']
Exploring Operation: 6958-23=6935, Resulting Numbers: [73, 6935]
Generated Node #3: [73, 6935] from Operation: 6958-23=6935
Current State: 95:[73, 6935], Operations: ['71*98=6958', '6958-23=6935']
Exploring Operation: 6935/73=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[71, 98, 23, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [98, 23, 2]
Generated Node #0,0: 95:[98, 23, 2] Operation: 73-71=2
Exploring Operation: 23+73=96, Resulting Numbers: [71, 98, 96]
Generated Node #0,1: 95:[71, 98, 96] Operation: 23+73=96
Exploring Operation: 71+23=94, Resulting Numbers: [98, 73, 94]
Generated Node #0,2: 95:[98, 73, 94] Operation: 71+23=94
Moving to Node #0,0
Current State: 95:[98, 23, 2], Operations: ['73-71=2']
Exploring Operation: 23-2=21, Resulting Numbers: [98, 21]
Generated Node #0,0,0: 95:[98, 21] Operation: 23-2=21
Exploring Operation: 98-2=96, Resulting Numbers: [23, 96]
Generated Node #0,0,1: 95:[23, 96] Operation: 98-2=96
Exploring Operation: 98+2=100, Resulting Numbers: [23, 100]
Generated Node #0,0,2: 95:[23, 100] Operation: 98+2=100
Moving to Node #0,2
Current State: 95:[98, 73, 94], Operations: ['71+23=94']
Exploring Operation: 98-73=25, Resulting Numbers: [94, 25]
Generated Node #0,2,0: 95:[94, 25] Operation: 98-73=25
Exploring Operation: 98-94=4, Resulting Numbers: [73, 4]
Generated Node #0,2,1: 95:[73, 4] Operation: 98-94=4
Exploring Operation: 94-73=21, Resulting Numbers: [98, 21]
Generated Node #0,2,2: 95:[98, 21] Operation: 94-73=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[98, 21], Operations: ['71+23=94', '94-73=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,95 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,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:[94, 25], Operations: ['71+23=94', '98-73=25']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,95 unequal: No Solution
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,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:[73, 4], Operations: ['71+23=94', '98-94=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,95 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,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:[71, 98, 96], Operations: ['23+73=96']
Exploring Operation: 96-71=25, Resulting Numbers: [98, 25]
Generated Node #0,1,0: 95:[98, 25] Operation: 96-71=25
Exploring Operation: 98-71=27, Resulting Numbers: [96, 27]
Generated Node #0,1,1: 95:[96, 27] Operation: 98-71=27
Exploring Operation: 98-96=2, Resulting Numbers: [71, 2]
Generated Node #0,1,2: 95:[71, 2] Operation: 98-96=2
Moving to Node #0,0,0
Current State: 95:[98, 21], Operations: ['73-71=2', '23-2=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,95 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,95 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[23, 96], Operations: ['73-71=2', '98-2=96']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 23*96=2208, Resulting Numbers: [2208]
2208,95 unequal: No Solution
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[23, 100], Operations: ['73-71=2', '98+2=100']
Exploring Operation: 100-23=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 23+100=123, Resulting Numbers: [123]
123,95 unequal: No Solution
Exploring Operation: 23*100=2300, Resulting Numbers: [2300]
2300,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[96, 27], Operations: ['23+73=96', '98-71=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,95 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,95 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[98, 25], Operations: ['23+73=96', '96-71=25']
Exploring Operation: 98+25=123, Resulting Numbers: [123]
123,95 unequal: No Solution
Exploring Operation: 98*25=2450, Resulting Numbers: [2450]
2450,95 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[71, 2], Operations: ['23+73=96', '98-96=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
26,
44,
70
] | 30 | [
"31-26=5",
"70/5=14",
"44-14=30"
] | Current State: 30:[31, 26, 44, 70], Operations: []
Exploring Operation: 31-26=5, Resulting Numbers: [44, 70, 5]
Generated Node #2: [44, 70, 5] from Operation: 31-26=5
Current State: 30:[44, 70, 5], Operations: ['31-26=5']
Exploring Operation: 70/5=14, Resulting Numbers: [44, 14]
Generated Node #3: [44, 14] from Operation: 70/5=14
Current State: 30:[44, 14], Operations: ['31-26=5', '70/5=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[31, 26, 44, 70], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [31, 26, 26]
Generated Node #0,0: 30:[31, 26, 26] Operation: 70-44=26
Moving to Node #0,0
Current State: 30:[31, 26, 26], Operations: ['70-44=26']
Exploring Operation: 26/26=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 26/26=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['70-44=26', '26/26=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[31, 26, 44, 70], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [31, 26, 26]
Generated Node #0,0: 30:[31, 26, 26] Operation: 70-44=26
Moving to Node #0,0
Current State: 30:[31, 26, 26], Operations: ['70-44=26']
Exploring Operation: 26/26=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 26/26=1
Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['70-44=26', '26/26=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
10,
81,
21
] | 11 | [
"8+81=89",
"21+89=110",
"110/10=11"
] | Current State: 11:[8, 10, 81, 21], Operations: []
Exploring Operation: 8+81=89, Resulting Numbers: [10, 21, 89]
Generated Node #2: [10, 21, 89] from Operation: 8+81=89
Current State: 11:[10, 21, 89], Operations: ['8+81=89']
Exploring Operation: 21+89=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 21+89=110
Current State: 11:[10, 110], Operations: ['8+81=89', '21+89=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[8, 10, 81, 21], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [8, 21, 71]
Generated Node #0,0: 11:[8, 21, 71] Operation: 81-10=71
Exploring Operation: 21-10=11, Resulting Numbers: [8, 81, 11]
Generated Node #0,1: 11:[8, 81, 11] Operation: 21-10=11
Exploring Operation: 81-21=60, Resulting Numbers: [8, 10, 60]
Generated Node #0,2: 11:[8, 10, 60] Operation: 81-21=60
Exploring Operation: 21-8=13, Resulting Numbers: [10, 81, 13]
Generated Node #0,3: 11:[10, 81, 13] Operation: 21-8=13
Exploring Operation: 81-8=73, Resulting Numbers: [10, 21, 73]
Generated Node #0,4: 11:[10, 21, 73] Operation: 81-8=73
Moving to Node #0,2
Current State: 11:[8, 10, 60], Operations: ['81-21=60']
Exploring Operation: 60/10=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 11:[8, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [8, 50]
Generated Node #0,2,1: 11:[8, 50] Operation: 60-10=50
Exploring Operation: 10-8=2, Resulting Numbers: [60, 2]
Generated Node #0,2,2: 11:[60, 2] Operation: 10-8=2
Exploring Operation: 60-8=52, Resulting Numbers: [10, 52]
Generated Node #0,2,3: 11:[10, 52] Operation: 60-8=52
Exploring Operation: 8+10=18, Resulting Numbers: [60, 18]
Generated Node #0,2,4: 11:[60, 18] Operation: 8+10=18
Moving to Node #0,1
Current State: 11:[8, 81, 11], Operations: ['21-10=11']
Exploring Operation: 8+11=19, Resulting Numbers: [81, 19]
Generated Node #0,1,0: 11:[81, 19] Operation: 8+11=19
Exploring Operation: 8+81=89, Resulting Numbers: [11, 89]
Generated Node #0,1,1: 11:[11, 89] Operation: 8+81=89
Exploring Operation: 81-11=70, Resulting Numbers: [8, 70]
Generated Node #0,1,2: 11:[8, 70] Operation: 81-11=70
Exploring Operation: 81-8=73, Resulting Numbers: [11, 73]
Generated Node #0,1,3: 11:[11, 73] Operation: 81-8=73
Exploring Operation: 11-8=3, Resulting Numbers: [81, 3]
Generated Node #0,1,4: 11:[81, 3] Operation: 11-8=3
Moving to Node #0,4
Current State: 11:[10, 21, 73], Operations: ['81-8=73']
Exploring Operation: 10+73=83, Resulting Numbers: [21, 83]
Generated Node #0,4,0: 11:[21, 83] Operation: 10+73=83
Exploring Operation: 73-10=63, Resulting Numbers: [21, 63]
Generated Node #0,4,1: 11:[21, 63] Operation: 73-10=63
Exploring Operation: 73-21=52, Resulting Numbers: [10, 52]
Generated Node #0,4,2: 11:[10, 52] Operation: 73-21=52
Exploring Operation: 10+21=31, Resulting Numbers: [73, 31]
Generated Node #0,4,3: 11:[73, 31] Operation: 10+21=31
Exploring Operation: 21-10=11, Resulting Numbers: [73, 11]
Generated Node #0,4,4: 11:[73, 11] Operation: 21-10=11
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 11:[10, 52], Operations: ['81-8=73', '73-21=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,11 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,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,4,1
Current State: 11:[21, 63], Operations: ['81-8=73', '73-10=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,11 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,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,4,4
Current State: 11:[73, 11], Operations: ['81-8=73', '21-10=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,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,4,0
Current State: 11:[21, 83], Operations: ['81-8=73', '10+73=83']
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,11 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,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,4,3
Current State: 11:[73, 31], Operations: ['81-8=73', '10+21=31']
Exploring Operation: 73+31=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 73*31=2263, Resulting Numbers: [2263]
2263,11 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,11 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: 11:[8, 21, 71], Operations: ['81-10=71']
Exploring Operation: 8+21=29, Resulting Numbers: [71, 29]
Generated Node #0,0,0: 11:[71, 29] Operation: 8+21=29
Exploring Operation: 21-8=13, Resulting Numbers: [71, 13]
Generated Node #0,0,1: 11:[71, 13] Operation: 21-8=13
Exploring Operation: 71-8=63, Resulting Numbers: [21, 63]
Generated Node #0,0,2: 11:[21, 63] Operation: 71-8=63
Exploring Operation: 8+71=79, Resulting Numbers: [21, 79]
Generated Node #0,0,3: 11:[21, 79] Operation: 8+71=79
Exploring Operation: 71-21=50, Resulting Numbers: [8, 50]
Generated Node #0,0,4: 11:[8, 50] Operation: 71-21=50
Moving to Node #0,3
Current State: 11:[10, 81, 13], Operations: ['21-8=13']
Exploring Operation: 81-13=68, Resulting Numbers: [10, 68]
Generated Node #0,3,0: 11:[10, 68] Operation: 81-13=68
Exploring Operation: 81-10=71, Resulting Numbers: [13, 71]
Generated Node #0,3,1: 11:[13, 71] Operation: 81-10=71
Exploring Operation: 13-10=3, Resulting Numbers: [81, 3]
Generated Node #0,3,2: 11:[81, 3] Operation: 13-10=3
Exploring Operation: 10+13=23, Resulting Numbers: [81, 23]
Generated Node #0,3,3: 11:[81, 23] Operation: 10+13=23
Exploring Operation: 10+81=91, Resulting Numbers: [13, 91]
Generated Node #0,3,4: 11:[13, 91] Operation: 10+81=91
Moving to Node #0,2,0
Current State: 11:[8, 6], Operations: ['81-21=60', '60/10=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[10, 52], Operations: ['81-21=60', '60-8=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,11 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[8, 50], Operations: ['81-21=60', '60-10=50']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[8, 50], Operations: ['81-10=71', '71-21=50']
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,11 unequal: No Solution
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[60, 18], Operations: ['81-21=60', '8+10=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[60, 2], Operations: ['81-21=60', '10-8=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[10, 68], Operations: ['21-8=13', '81-13=68']
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,11 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[11, 73], Operations: ['21-10=11', '81-8=73']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,11 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[8, 70], Operations: ['21-10=11', '81-11=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[21, 63], Operations: ['81-10=71', '71-8=63']
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,11 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[71, 13], Operations: ['81-10=71', '21-8=13']
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,11 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[13, 71], Operations: ['21-8=13', '81-10=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,11 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[21, 79], Operations: ['81-10=71', '8+71=79']
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,11 unequal: No Solution
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[71, 29], Operations: ['81-10=71', '8+21=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,11 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[81, 19], Operations: ['21-10=11', '8+11=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,11 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[81, 3], Operations: ['21-10=11', '11-8=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,11 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[81, 3], Operations: ['21-8=13', '13-10=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,11 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[11, 89], Operations: ['21-10=11', '8+81=89']
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,11 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[81, 23], Operations: ['21-8=13', '10+13=23']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[13, 91], Operations: ['21-8=13', '10+81=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,11 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,11 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
83,
64,
85
] | 63 | [
"3+83=86",
"64+85=149",
"149-86=63"
] | Current State: 63:[3, 83, 64, 85], Operations: []
Exploring Operation: 3+83=86, Resulting Numbers: [64, 85, 86]
Generated Node #2: [64, 85, 86] from Operation: 3+83=86
Current State: 63:[64, 85, 86], Operations: ['3+83=86']
Exploring Operation: 64+85=149, Resulting Numbers: [86, 149]
Generated Node #3: [86, 149] from Operation: 64+85=149
Current State: 63:[86, 149], Operations: ['3+83=86', '64+85=149']
Exploring Operation: 149-86=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[3, 83, 64, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [3, 64, 2]
Generated Node #0,0: 63:[3, 64, 2] Operation: 85-83=2
Exploring Operation: 85-3=82, Resulting Numbers: [83, 64, 82]
Generated Node #0,1: 63:[83, 64, 82] Operation: 85-3=82
Exploring Operation: 85-64=21, Resulting Numbers: [3, 83, 21]
Generated Node #0,2: 63:[3, 83, 21] Operation: 85-64=21
Exploring Operation: 83-64=19, Resulting Numbers: [3, 85, 19]
Generated Node #0,3: 63:[3, 85, 19] Operation: 83-64=19
Exploring Operation: 83-3=80, Resulting Numbers: [64, 85, 80]
Generated Node #0,4: 63:[64, 85, 80] Operation: 83-3=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[3, 64, 2], Operations: ['85-83=2']
Exploring Operation: 3*2=6, Resulting Numbers: [64, 6]
Generated Node #0,0,0: 63:[64, 6] Operation: 3*2=6
Exploring Operation: 64-3=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 64-3=61
Exploring Operation: 64-2=62, Resulting Numbers: [3, 62]
Generated Node #0,0,2: 63:[3, 62] Operation: 64-2=62
Exploring Operation: 3-2=1, Resulting Numbers: [64, 1]
Generated Node #0,0,3: 63:[64, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [64, 5]
Generated Node #0,0,4: 63:[64, 5] Operation: 3+2=5
Moving to Node #0,0,2
Current State: 63:[3, 62], Operations: ['85-83=2', '64-2=62']
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,63 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[64, 6], Operations: ['85-83=2', '3*2=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,63 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['85-83=2', '64-3=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,63 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[3, 83, 64, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [3, 64, 2]
Generated Node #0,0: 63:[3, 64, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 63:[3, 64, 2], Operations: ['85-83=2']
Exploring Operation: 64-3=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 64-3=61
Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['85-83=2', '64-3=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
69,
49,
12,
3
] | 30 | [
"69-12=57",
"57/3=19",
"49-19=30"
] | Current State: 30:[69, 49, 12, 3], Operations: []
Exploring Operation: 69-12=57, Resulting Numbers: [49, 3, 57]
Generated Node #2: [49, 3, 57] from Operation: 69-12=57
Current State: 30:[49, 3, 57], Operations: ['69-12=57']
Exploring Operation: 57/3=19, Resulting Numbers: [49, 19]
Generated Node #3: [49, 19] from Operation: 57/3=19
Current State: 30:[49, 19], Operations: ['69-12=57', '57/3=19']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[69, 49, 12, 3], Operations: []
Exploring Operation: 69-12=57, Resulting Numbers: [49, 3, 57]
Generated Node #0,0: 30:[49, 3, 57] Operation: 69-12=57
Exploring Operation: 49-12=37, Resulting Numbers: [69, 3, 37]
Generated Node #0,1: 30:[69, 3, 37] Operation: 49-12=37
Exploring Operation: 69-49=20, Resulting Numbers: [12, 3, 20]
Generated Node #0,2: 30:[12, 3, 20] Operation: 69-49=20
Exploring Operation: 69-3=66, Resulting Numbers: [49, 12, 66]
Generated Node #0,3: 30:[49, 12, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [49, 12, 23]
Generated Node #0,4: 30:[49, 12, 23] Operation: 69/3=23
Moving to Node #0,2
Current State: 30:[12, 3, 20], Operations: ['69-49=20']
Exploring Operation: 20-12=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 30:[3, 8] Operation: 20-12=8
Exploring Operation: 12+20=32, Resulting Numbers: [3, 32]
Generated Node #0,2,1: 30:[3, 32] Operation: 12+20=32
Exploring Operation: 12-3=9, Resulting Numbers: [20, 9]
Generated Node #0,2,2: 30:[20, 9] Operation: 12-3=9
Exploring Operation: 12+3=15, Resulting Numbers: [20, 15]
Generated Node #0,2,3: 30:[20, 15] Operation: 12+3=15
Exploring Operation: 20-3=17, Resulting Numbers: [12, 17]
Generated Node #0,2,4: 30:[12, 17] Operation: 20-3=17
Moving to Node #0,4
Current State: 30:[49, 12, 23], Operations: ['69/3=23']
Exploring Operation: 49-23=26, Resulting Numbers: [12, 26]
Generated Node #0,4,0: 30:[12, 26] Operation: 49-23=26
Exploring Operation: 49+12=61, Resulting Numbers: [23, 61]
Generated Node #0,4,1: 30:[23, 61] Operation: 49+12=61
Exploring Operation: 49-12=37, Resulting Numbers: [23, 37]
Generated Node #0,4,2: 30:[23, 37] Operation: 49-12=37
Exploring Operation: 12+23=35, Resulting Numbers: [49, 35]
Generated Node #0,4,3: 30:[49, 35] Operation: 12+23=35
Exploring Operation: 23-12=11, Resulting Numbers: [49, 11]
Generated Node #0,4,4: 30:[49, 11] Operation: 23-12=11
Moving to Node #0,0
Current State: 30:[49, 3, 57], Operations: ['69-12=57']
Exploring Operation: 57-3=54, Resulting Numbers: [49, 54]
Generated Node #0,0,0: 30:[49, 54] Operation: 57-3=54
Exploring Operation: 49+3=52, Resulting Numbers: [57, 52]
Generated Node #0,0,1: 30:[57, 52] Operation: 49+3=52
Exploring Operation: 57/3=19, Resulting Numbers: [49, 19]
Generated Node #0,0,2: 30:[49, 19] Operation: 57/3=19
Exploring Operation: 57-49=8, Resulting Numbers: [3, 8]
Generated Node #0,0,3: 30:[3, 8] Operation: 57-49=8
Exploring Operation: 49-3=46, Resulting Numbers: [57, 46]
Generated Node #0,0,4: 30:[57, 46] Operation: 49-3=46
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[3, 8], Operations: ['69-12=57', '57-49=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[49, 19], Operations: ['69-12=57', '57/3=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,30 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[69, 49, 12, 3], Operations: []
Exploring Operation: 69-12=57, Resulting Numbers: [49, 3, 57]
Generated Node #0,0: 30:[49, 3, 57] Operation: 69-12=57
Moving to Node #0,0
Current State: 30:[49, 3, 57], Operations: ['69-12=57']
Exploring Operation: 57/3=19, Resulting Numbers: [49, 19]
Generated Node #0,0,2: 30:[49, 19] Operation: 57/3=19
Moving to Node #0,0,2
Current State: 30:[49, 19], Operations: ['69-12=57', '57/3=19']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
10,
5,
42,
26
] | 10 | [
"10/5=2",
"26*2=52",
"52-42=10"
] | Current State: 10:[10, 5, 42, 26], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [42, 26, 2]
Generated Node #2: [42, 26, 2] from Operation: 10/5=2
Current State: 10:[42, 26, 2], Operations: ['10/5=2']
Exploring Operation: 26*2=52, Resulting Numbers: [42, 52]
Generated Node #3: [42, 52] from Operation: 26*2=52
Current State: 10:[42, 52], Operations: ['10/5=2', '26*2=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[10, 5, 42, 26], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [5, 42, 16]
Generated Node #0,0: 10:[5, 42, 16] Operation: 26-10=16
Exploring Operation: 42-10=32, Resulting Numbers: [5, 26, 32]
Generated Node #0,1: 10:[5, 26, 32] Operation: 42-10=32
Exploring Operation: 42-26=16, Resulting Numbers: [10, 5, 16]
Generated Node #0,2: 10:[10, 5, 16] Operation: 42-26=16
Moving to Node #0,2
Current State: 10:[10, 5, 16], Operations: ['42-26=16']
Exploring Operation: 16-5=11, Resulting Numbers: [10, 11]
Generated Node #0,2,0: 10:[10, 11] Operation: 16-5=11
Exploring Operation: 10-5=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 10:[16, 5] Operation: 10-5=5
Exploring Operation: 16-10=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 10:[5, 6] Operation: 16-10=6
Moving to Node #0,0
Current State: 10:[5, 42, 16], Operations: ['26-10=16']
Exploring Operation: 42-5=37, Resulting Numbers: [16, 37]
Generated Node #0,0,0: 10:[16, 37] Operation: 42-5=37
Exploring Operation: 42-16=26, Resulting Numbers: [5, 26]
Generated Node #0,0,1: 10:[5, 26] Operation: 42-16=26
Exploring Operation: 16-5=11, Resulting Numbers: [42, 11]
Generated Node #0,0,2: 10:[42, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[5, 26], Operations: ['26-10=16', '42-16=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[16, 37], Operations: ['26-10=16', '42-5=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,10 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[42, 11], Operations: ['26-10=16', '16-5=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,10 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: 10:[5, 26, 32], Operations: ['42-10=32']
Exploring Operation: 26-5=21, Resulting Numbers: [32, 21]
Generated Node #0,1,0: 10:[32, 21] Operation: 26-5=21
Exploring Operation: 32-26=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 10:[5, 6] Operation: 32-26=6
Exploring Operation: 32-5=27, Resulting Numbers: [26, 27]
Generated Node #0,1,2: 10:[26, 27] Operation: 32-5=27
Moving to Node #0,2,0
Current State: 10:[10, 11], Operations: ['42-26=16', '16-5=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[5, 6], Operations: ['42-26=16', '16-10=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[5, 6], Operations: ['42-10=32', '32-26=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[16, 5], Operations: ['42-26=16', '10-5=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[26, 27], Operations: ['42-10=32', '32-5=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,10 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[32, 21], Operations: ['42-10=32', '26-5=21']
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,10 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
59,
8,
3,
75
] | 24 | [
"59+8=67",
"75-67=8",
"3*8=24"
] | Current State: 24:[59, 8, 3, 75], Operations: []
Exploring Operation: 59+8=67, Resulting Numbers: [3, 75, 67]
Generated Node #2: [3, 75, 67] from Operation: 59+8=67
Current State: 24:[3, 75, 67], Operations: ['59+8=67']
Exploring Operation: 75-67=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 75-67=8
Current State: 24:[3, 8], Operations: ['59+8=67', '75-67=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[59, 8, 3, 75], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [59, 8, 25]
Generated Node #0,0: 24:[59, 8, 25] Operation: 75/3=25
Exploring Operation: 75-59=16, Resulting Numbers: [8, 3, 16]
Generated Node #0,1: 24:[8, 3, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[8, 3, 16], Operations: ['75-59=16']
Exploring Operation: 8+16=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 24:[3, 24] Operation: 8+16=24
Exploring Operation: 16-8=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 24:[3, 8] Operation: 16-8=8
Moving to Node #0,1,0
Current State: 24:[3, 24], Operations: ['75-59=16', '8+16=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[3, 8], Operations: ['75-59=16', '16-8=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[59, 8, 3, 75], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [8, 3, 16]
Generated Node #0,1: 24:[8, 3, 16] Operation: 75-59=16
Moving to Node #0,1
Current State: 24:[8, 3, 16], Operations: ['75-59=16']
Exploring Operation: 16-8=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 24:[3, 8] Operation: 16-8=8
Moving to Node #0,1,1
Current State: 24:[3, 8], Operations: ['75-59=16', '16-8=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
75,
47,
90,
81
] | 37 | [
"75-47=28",
"90-81=9",
"28+9=37"
] | Current State: 37:[75, 47, 90, 81], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [90, 81, 28]
Generated Node #2: [90, 81, 28] from Operation: 75-47=28
Current State: 37:[90, 81, 28], Operations: ['75-47=28']
Exploring Operation: 90-81=9, Resulting Numbers: [28, 9]
Generated Node #3: [28, 9] from Operation: 90-81=9
Current State: 37:[28, 9], Operations: ['75-47=28', '90-81=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[75, 47, 90, 81], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [47, 81, 15]
Generated Node #0,0: 37:[47, 81, 15] Operation: 90-75=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[47, 81, 15], Operations: ['90-75=15']
Exploring Operation: 81-47=34, Resulting Numbers: [15, 34]
Generated Node #0,0,0: 37:[15, 34] Operation: 81-47=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[15, 34], Operations: ['90-75=15', '81-47=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
17,
3,
23
] | 52 | [
"36/3=12",
"17+23=40",
"12+40=52"
] | Current State: 52:[36, 17, 3, 23], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [17, 23, 12]
Generated Node #2: [17, 23, 12] from Operation: 36/3=12
Current State: 52:[17, 23, 12], Operations: ['36/3=12']
Exploring Operation: 17+23=40, Resulting Numbers: [12, 40]
Generated Node #3: [12, 40] from Operation: 17+23=40
Current State: 52:[12, 40], Operations: ['36/3=12', '17+23=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[36, 17, 3, 23], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [17, 3, 13]
Generated Node #0,0: 52:[17, 3, 13] Operation: 36-23=13
Exploring Operation: 36+17=53, Resulting Numbers: [3, 23, 53]
Generated Node #0,1: 52:[3, 23, 53] Operation: 36+17=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[17, 3, 13], Operations: ['36-23=13']
Exploring Operation: 17-3=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 52:[13, 14] Operation: 17-3=14
Exploring Operation: 17*3=51, Resulting Numbers: [13, 51]
Generated Node #0,0,1: 52:[13, 51] Operation: 17*3=51
Moving to Node #0,0,0
Current State: 52:[13, 14], Operations: ['36-23=13', '17-3=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[13, 51], Operations: ['36-23=13', '17*3=51']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,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
Current State: 52:[3, 23, 53], Operations: ['36+17=53']
Exploring Operation: 3+23=26, Resulting Numbers: [53, 26]
Generated Node #0,1,0: 52:[53, 26] Operation: 3+23=26
Exploring Operation: 53-3=50, Resulting Numbers: [23, 50]
Generated Node #0,1,1: 52:[23, 50] Operation: 53-3=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[53, 26], Operations: ['36+17=53', '3+23=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,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,1,1
Current State: 52:[23, 50], Operations: ['36+17=53', '53-3=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
3,
11,
56
] | 98 | [
"81-11=70",
"3*56=168",
"168-70=98"
] | Current State: 98:[81, 3, 11, 56], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [3, 56, 70]
Generated Node #2: [3, 56, 70] from Operation: 81-11=70
Current State: 98:[3, 56, 70], Operations: ['81-11=70']
Exploring Operation: 3*56=168, Resulting Numbers: [70, 168]
Generated Node #3: [70, 168] from Operation: 3*56=168
Current State: 98:[70, 168], Operations: ['81-11=70', '3*56=168']
Exploring Operation: 168-70=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[81, 3, 11, 56], Operations: []
Exploring Operation: 81+11=92, Resulting Numbers: [3, 56, 92]
Generated Node #0,0: 98:[3, 56, 92] Operation: 81+11=92
Exploring Operation: 81-56=25, Resulting Numbers: [3, 11, 25]
Generated Node #0,1: 98:[3, 11, 25] Operation: 81-56=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 56, 92], Operations: ['81+11=92']
Exploring Operation: 56-3=53, Resulting Numbers: [92, 53]
Generated Node #0,0,0: 98:[92, 53] Operation: 56-3=53
Exploring Operation: 3+92=95, Resulting Numbers: [56, 95]
Generated Node #0,0,1: 98:[56, 95] Operation: 3+92=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[92, 53], Operations: ['81+11=92', '56-3=53']
Exploring Operation: 92+53=145, Resulting Numbers: [145]
145,98 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,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,0,1
Current State: 98:[56, 95], Operations: ['81+11=92', '3+92=95']
Exploring Operation: 56+95=151, Resulting Numbers: [151]
151,98 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,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,1
Current State: 98:[3, 11, 25], Operations: ['81-56=25']
Exploring Operation: 3+11=14, Resulting Numbers: [25, 14]
Generated Node #0,1,0: 98:[25, 14] Operation: 3+11=14
Exploring Operation: 25-11=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 98:[3, 14] Operation: 25-11=14
Moving to Node #0,1,1
Current State: 98:[3, 14], Operations: ['81-56=25', '25-11=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[25, 14], Operations: ['81-56=25', '3+11=14']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,98 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 |
[
56,
4,
4,
16
] | 59 | [
"16-4=12",
"12/4=3",
"56+3=59"
] | Current State: 59:[56, 4, 4, 16], Operations: []
Exploring Operation: 16-4=12, Resulting Numbers: [56, 12]
Generated Node #2: [56, 12] from Operation: 16-4=12
Current State: 59:[56, 12], Operations: ['16-4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 12/4=3
Current State: 59:[56, 3], Operations: ['16-4=12', '12/4=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[56, 4, 4, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [56, 4, 64]
Generated Node #0,0: 59:[56, 4, 64] Operation: 4*16=64
Exploring Operation: 4*16=64, Resulting Numbers: [56, 4, 64]
Generated Node #0,1: 59:[56, 4, 64] Operation: 4*16=64
Exploring Operation: 4*4=16, Resulting Numbers: [56, 16, 16]
Generated Node #0,2: 59:[56, 16, 16] Operation: 4*4=16
Moving to Node #0,0
Current State: 59:[56, 4, 64], Operations: ['4*16=64']
Exploring Operation: 56+4=60, Resulting Numbers: [64, 60]
Generated Node #0,0,0: 59:[64, 60] Operation: 56+4=60
Exploring Operation: 56-4=52, Resulting Numbers: [64, 52]
Generated Node #0,0,1: 59:[64, 52] Operation: 56-4=52
Exploring Operation: 64-4=60, Resulting Numbers: [56, 60]
Generated Node #0,0,2: 59:[56, 60] Operation: 64-4=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[56, 60], Operations: ['4*16=64', '64-4=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,59 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[64, 60], Operations: ['4*16=64', '56+4=60']
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,59 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[64, 52], Operations: ['4*16=64', '56-4=52']
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,59 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,59 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: 59:[56, 4, 64], Operations: ['4*16=64']
Exploring Operation: 56-4=52, Resulting Numbers: [64, 52]
Generated Node #0,1,0: 59:[64, 52] Operation: 56-4=52
Exploring Operation: 64-4=60, Resulting Numbers: [56, 60]
Generated Node #0,1,1: 59:[56, 60] Operation: 64-4=60
Exploring Operation: 56+4=60, Resulting Numbers: [64, 60]
Generated Node #0,1,2: 59:[64, 60] Operation: 56+4=60
Moving to Node #0,2
Current State: 59:[56, 16, 16], Operations: ['4*4=16']
Exploring Operation: 56+16=72, Resulting Numbers: [16, 72]
Generated Node #0,2,0: 59:[16, 72] Operation: 56+16=72
Exploring Operation: 56+16=72, Resulting Numbers: [16, 72]
Generated Node #0,2,1: 59:[16, 72] Operation: 56+16=72
Exploring Operation: 16+16=32, Resulting Numbers: [56, 32]
Generated Node #0,2,2: 59:[56, 32] Operation: 16+16=32
Moving to Node #0,1,1
Current State: 59:[56, 60], Operations: ['4*16=64', '64-4=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[64, 60], Operations: ['4*16=64', '56+4=60']
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,59 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[64, 52], Operations: ['4*16=64', '56-4=52']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,59 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[56, 32], Operations: ['4*4=16', '16+16=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[16, 72], Operations: ['4*4=16', '56+16=72']
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,59 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[16, 72], Operations: ['4*4=16', '56+16=72']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,59 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,59 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
25,
69,
38
] | 16 | [
"72-25=47",
"69-38=31",
"47-31=16"
] | Current State: 16:[72, 25, 69, 38], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [69, 38, 47]
Generated Node #2: [69, 38, 47] from Operation: 72-25=47
Current State: 16:[69, 38, 47], Operations: ['72-25=47']
Exploring Operation: 69-38=31, Resulting Numbers: [47, 31]
Generated Node #3: [47, 31] from Operation: 69-38=31
Current State: 16:[47, 31], Operations: ['72-25=47', '69-38=31']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[72, 25, 69, 38], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [25, 38, 3]
Generated Node #0,0: 16:[25, 38, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 16:[25, 38, 3], Operations: ['72-69=3']
Exploring Operation: 38-25=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 16:[3, 13] Operation: 38-25=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[3, 13], Operations: ['72-69=3', '38-25=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[72, 25, 69, 38], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [25, 38, 3]
Generated Node #0,0: 16:[25, 38, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 16:[25, 38, 3], Operations: ['72-69=3']
Exploring Operation: 38-25=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 16:[3, 13] Operation: 38-25=13
Moving to Node #0,0,0
Current State: 16:[3, 13], Operations: ['72-69=3', '38-25=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
94,
12,
61,
19
] | 73 | [
"94+61=155",
"12*19=228",
"228-155=73"
] | Current State: 73:[94, 12, 61, 19], Operations: []
Exploring Operation: 94+61=155, Resulting Numbers: [12, 19, 155]
Generated Node #2: [12, 19, 155] from Operation: 94+61=155
Current State: 73:[12, 19, 155], Operations: ['94+61=155']
Exploring Operation: 12*19=228, Resulting Numbers: [155, 228]
Generated Node #3: [155, 228] from Operation: 12*19=228
Current State: 73:[155, 228], Operations: ['94+61=155', '12*19=228']
Exploring Operation: 228-155=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[94, 12, 61, 19], Operations: []
Exploring Operation: 94-12=82, Resulting Numbers: [61, 19, 82]
Generated Node #0,0: 73:[61, 19, 82] Operation: 94-12=82
Exploring Operation: 12+61=73, Resulting Numbers: [94, 19, 73]
Generated Node #0,1: 73:[94, 19, 73] Operation: 12+61=73
Exploring Operation: 12+19=31, Resulting Numbers: [94, 61, 31]
Generated Node #0,2: 73:[94, 61, 31] Operation: 12+19=31
Exploring Operation: 94-19=75, Resulting Numbers: [12, 61, 75]
Generated Node #0,3: 73:[12, 61, 75] Operation: 94-19=75
Moving to Node #0,0
Current State: 73:[61, 19, 82], Operations: ['94-12=82']
Exploring Operation: 19+82=101, Resulting Numbers: [61, 101]
Generated Node #0,0,0: 73:[61, 101] Operation: 19+82=101
Exploring Operation: 61-19=42, Resulting Numbers: [82, 42]
Generated Node #0,0,1: 73:[82, 42] Operation: 61-19=42
Exploring Operation: 82-19=63, Resulting Numbers: [61, 63]
Generated Node #0,0,2: 73:[61, 63] Operation: 82-19=63
Exploring Operation: 61+19=80, Resulting Numbers: [82, 80]
Generated Node #0,0,3: 73:[82, 80] Operation: 61+19=80
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[82, 80], Operations: ['94-12=82', '61+19=80']
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 82+80=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 82*80=6560, Resulting Numbers: [6560]
6560,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[61, 63], Operations: ['94-12=82', '82-19=63']
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,73 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[61, 101], Operations: ['94-12=82', '19+82=101']
Exploring Operation: 61*101=6161, Resulting Numbers: [6161]
6161,73 unequal: No Solution
Exploring Operation: 101-61=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 61+101=162, Resulting Numbers: [162]
162,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[82, 42], Operations: ['94-12=82', '61-19=42']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,73 unequal: No Solution
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,73 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: 73:[94, 61, 31], Operations: ['12+19=31']
Exploring Operation: 94+31=125, Resulting Numbers: [61, 125]
Generated Node #0,2,0: 73:[61, 125] Operation: 94+31=125
Exploring Operation: 61-31=30, Resulting Numbers: [94, 30]
Generated Node #0,2,1: 73:[94, 30] Operation: 61-31=30
Exploring Operation: 61+31=92, Resulting Numbers: [94, 92]
Generated Node #0,2,2: 73:[94, 92] Operation: 61+31=92
Exploring Operation: 94-31=63, Resulting Numbers: [61, 63]
Generated Node #0,2,3: 73:[61, 63] Operation: 94-31=63
Moving to Node #0,1
Current State: 73:[94, 19, 73], Operations: ['12+61=73']
Exploring Operation: 19+73=92, Resulting Numbers: [94, 92]
Generated Node #0,1,0: 73:[94, 92] Operation: 19+73=92
Exploring Operation: 94-19=75, Resulting Numbers: [73, 75]
Generated Node #0,1,1: 73:[73, 75] Operation: 94-19=75
Exploring Operation: 73-19=54, Resulting Numbers: [94, 54]
Generated Node #0,1,2: 73:[94, 54] Operation: 73-19=54
Exploring Operation: 94+19=113, Resulting Numbers: [73, 113]
Generated Node #0,1,3: 73:[73, 113] Operation: 94+19=113
Moving to Node #0,3
Current State: 73:[12, 61, 75], Operations: ['94-19=75']
Exploring Operation: 12+75=87, Resulting Numbers: [61, 87]
Generated Node #0,3,0: 73:[61, 87] Operation: 12+75=87
Exploring Operation: 61-12=49, Resulting Numbers: [75, 49]
Generated Node #0,3,1: 73:[75, 49] Operation: 61-12=49
Exploring Operation: 75-12=63, Resulting Numbers: [61, 63]
Generated Node #0,3,2: 73:[61, 63] Operation: 75-12=63
Exploring Operation: 12+61=73, Resulting Numbers: [75, 73]
Generated Node #0,3,3: 73:[75, 73] Operation: 12+61=73
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[75, 73], Operations: ['94-19=75', '12+61=73']
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,73 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[61, 63], Operations: ['94-19=75', '75-12=63']
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[61, 87], Operations: ['94-19=75', '12+75=87']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,73 unequal: No Solution
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[75, 49], Operations: ['94-19=75', '61-12=49']
Exploring Operation: 75*49=3675, Resulting Numbers: [3675]
3675,73 unequal: No Solution
Exploring Operation: 75+49=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,73 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: 73:[73, 75], Operations: ['12+61=73', '94-19=75']
Exploring Operation: 73*75=5475, Resulting Numbers: [5475]
5475,73 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 73+75=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[61, 63], Operations: ['12+19=31', '94-31=63']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[94, 92], Operations: ['12+61=73', '19+73=92']
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,73 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[94, 54], Operations: ['12+61=73', '73-19=54']
Exploring Operation: 94+54=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 94*54=5076, Resulting Numbers: [5076]
5076,73 unequal: No Solution
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[94, 92], Operations: ['12+19=31', '61+31=92']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,73 unequal: No Solution
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[73, 113], Operations: ['12+61=73', '94+19=113']
Exploring Operation: 113-73=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 73*113=8249, Resulting Numbers: [8249]
8249,73 unequal: No Solution
Exploring Operation: 73+113=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[94, 30], Operations: ['12+19=31', '61-31=30']
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,73 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[61, 125], Operations: ['12+19=31', '94+31=125']
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 61+125=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Exploring Operation: 61*125=7625, Resulting Numbers: [7625]
7625,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
25,
55,
16
] | 34 | [
"4*16=64",
"55-25=30",
"64-30=34"
] | Current State: 34:[4, 25, 55, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [25, 55, 64]
Generated Node #2: [25, 55, 64] from Operation: 4*16=64
Current State: 34:[25, 55, 64], Operations: ['4*16=64']
Exploring Operation: 55-25=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 55-25=30
Current State: 34:[64, 30], Operations: ['4*16=64', '55-25=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[4, 25, 55, 16], Operations: []
Exploring Operation: 55-16=39, Resulting Numbers: [4, 25, 39]
Generated Node #0,0: 34:[4, 25, 39] Operation: 55-16=39
Exploring Operation: 25-4=21, Resulting Numbers: [55, 16, 21]
Generated Node #0,1: 34:[55, 16, 21] Operation: 25-4=21
Exploring Operation: 55-25=30, Resulting Numbers: [4, 16, 30]
Generated Node #0,2: 34:[4, 16, 30] Operation: 55-25=30
Moving to Node #0,2
Current State: 34:[4, 16, 30], Operations: ['55-25=30']
Exploring Operation: 16/4=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 34:[30, 4] Operation: 16/4=4
Exploring Operation: 30-16=14, Resulting Numbers: [4, 14]
Generated Node #0,2,1: 34:[4, 14] Operation: 30-16=14
Exploring Operation: 4+30=34, Resulting Numbers: [16, 34]
Generated Node #0,2,2: 34:[16, 34] Operation: 4+30=34
Moving to Node #0,0
Current State: 34:[4, 25, 39], Operations: ['55-16=39']
Exploring Operation: 25-4=21, Resulting Numbers: [39, 21]
Generated Node #0,0,0: 34:[39, 21] Operation: 25-4=21
Exploring Operation: 39-25=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 34:[4, 14] Operation: 39-25=14
Exploring Operation: 39-4=35, Resulting Numbers: [25, 35]
Generated Node #0,0,2: 34:[25, 35] Operation: 39-4=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[4, 14], Operations: ['55-16=39', '39-25=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[39, 21], Operations: ['55-16=39', '25-4=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,34 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[25, 35], Operations: ['55-16=39', '39-4=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,34 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: 34:[55, 16, 21], Operations: ['25-4=21']
Exploring Operation: 55-21=34, Resulting Numbers: [16, 34]
Generated Node #0,1,0: 34:[16, 34] Operation: 55-21=34
Exploring Operation: 16+21=37, Resulting Numbers: [55, 37]
Generated Node #0,1,1: 34:[55, 37] Operation: 16+21=37
Exploring Operation: 55-16=39, Resulting Numbers: [21, 39]
Generated Node #0,1,2: 34:[21, 39] Operation: 55-16=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[16, 34], Operations: ['25-4=21', '55-21=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[21, 39], Operations: ['25-4=21', '55-16=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,34 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[55, 37], Operations: ['25-4=21', '16+21=37']
Exploring Operation: 55*37=2035, Resulting Numbers: [2035]
2035,34 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 34:[16, 34], Operations: ['55-25=30', '4+30=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[4, 14], Operations: ['55-25=30', '30-16=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[30, 4], Operations: ['55-25=30', '16/4=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[4, 25, 55, 16], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [4, 16, 30]
Generated Node #0,2: 34:[4, 16, 30] Operation: 55-25=30
Moving to Node #0,2
Current State: 34:[4, 16, 30], Operations: ['55-25=30']
Exploring Operation: 16/4=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 34:[30, 4] Operation: 16/4=4
Moving to Node #0,2,0
Current State: 34:[30, 4], Operations: ['55-25=30', '16/4=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
16,
74,
65,
73
] | 82 | [
"16+74=90",
"73-65=8",
"90-8=82"
] | Current State: 82:[16, 74, 65, 73], Operations: []
Exploring Operation: 16+74=90, Resulting Numbers: [65, 73, 90]
Generated Node #2: [65, 73, 90] from Operation: 16+74=90
Current State: 82:[65, 73, 90], Operations: ['16+74=90']
Exploring Operation: 73-65=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 73-65=8
Current State: 82:[90, 8], Operations: ['16+74=90', '73-65=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[16, 74, 65, 73], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [74, 73, 49]
Generated Node #0,0: 82:[74, 73, 49] Operation: 65-16=49
Exploring Operation: 16+65=81, Resulting Numbers: [74, 73, 81]
Generated Node #0,1: 82:[74, 73, 81] Operation: 16+65=81
Moving to Node #0,1
Current State: 82:[74, 73, 81], Operations: ['16+65=81']
Exploring Operation: 74-73=1, Resulting Numbers: [81, 1]
Generated Node #0,1,0: 82:[81, 1] Operation: 74-73=1
Exploring Operation: 81-74=7, Resulting Numbers: [73, 7]
Generated Node #0,1,1: 82:[73, 7] Operation: 81-74=7
Moving to Node #0,0
Current State: 82:[74, 73, 49], Operations: ['65-16=49']
Exploring Operation: 74-73=1, Resulting Numbers: [49, 1]
Generated Node #0,0,0: 82:[49, 1] Operation: 74-73=1
Exploring Operation: 74-49=25, Resulting Numbers: [73, 25]
Generated Node #0,0,1: 82:[73, 25] Operation: 74-49=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[49, 1], Operations: ['65-16=49', '74-73=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,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,0,1
Current State: 82:[73, 25], Operations: ['65-16=49', '74-49=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,82 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: 82:[81, 1], Operations: ['16+65=81', '74-73=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[16, 74, 65, 73], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [74, 73, 81]
Generated Node #0,1: 82:[74, 73, 81] Operation: 16+65=81
Moving to Node #0,1
Current State: 82:[74, 73, 81], Operations: ['16+65=81']
Exploring Operation: 74-73=1, Resulting Numbers: [81, 1]
Generated Node #0,1,0: 82:[81, 1] Operation: 74-73=1
Moving to Node #0,1,0
Current State: 82:[81, 1], Operations: ['16+65=81', '74-73=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.