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 |
|---|---|---|---|---|---|---|---|---|
[
30,
88,
63,
83
] | 28 | [
"30+88=118",
"63+83=146",
"146-118=28"
] | Current State: 28:[30, 88, 63, 83], Operations: []
Exploring Operation: 30+88=118, Resulting Numbers: [63, 83, 118]
Generated Node #2: [63, 83, 118] from Operation: 30+88=118
Current State: 28:[63, 83, 118], Operations: ['30+88=118']
Exploring Operation: 63+83=146, Resulting Numbers: [118, 146]
Generated Node #3: [118, 146] from Operation: 63+83=146
Current State: 28:[118, 146], Operations: ['30+88=118', '63+83=146']
Exploring Operation: 146-118=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[30, 88, 63, 83], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [88, 83, 33]
Generated Node #0,0: 28:[88, 83, 33] Operation: 63-30=33
Exploring Operation: 83-63=20, Resulting Numbers: [30, 88, 20]
Generated Node #0,1: 28:[30, 88, 20] Operation: 83-63=20
Exploring Operation: 88-83=5, Resulting Numbers: [30, 63, 5]
Generated Node #0,2: 28:[30, 63, 5] Operation: 88-83=5
Exploring Operation: 88-63=25, Resulting Numbers: [30, 83, 25]
Generated Node #0,3: 28:[30, 83, 25] Operation: 88-63=25
Exploring Operation: 88-30=58, Resulting Numbers: [63, 83, 58]
Generated Node #0,4: 28:[63, 83, 58] Operation: 88-30=58
Moving to Node #0,2
Current State: 28:[30, 63, 5], Operations: ['88-83=5']
Exploring Operation: 30-5=25, Resulting Numbers: [63, 25]
Generated Node #0,2,0: 28:[63, 25] Operation: 30-5=25
Exploring Operation: 63-30=33, Resulting Numbers: [5, 33]
Generated Node #0,2,1: 28:[5, 33] Operation: 63-30=33
Exploring Operation: 30/5=6, Resulting Numbers: [63, 6]
Generated Node #0,2,2: 28:[63, 6] Operation: 30/5=6
Exploring Operation: 63-5=58, Resulting Numbers: [30, 58]
Generated Node #0,2,3: 28:[30, 58] Operation: 63-5=58
Exploring Operation: 30+5=35, Resulting Numbers: [63, 35]
Generated Node #0,2,4: 28:[63, 35] Operation: 30+5=35
Moving to Node #0,3
Current State: 28:[30, 83, 25], Operations: ['88-63=25']
Exploring Operation: 30+25=55, Resulting Numbers: [83, 55]
Generated Node #0,3,0: 28:[83, 55] Operation: 30+25=55
Exploring Operation: 83-30=53, Resulting Numbers: [25, 53]
Generated Node #0,3,1: 28:[25, 53] Operation: 83-30=53
Exploring Operation: 83-25=58, Resulting Numbers: [30, 58]
Generated Node #0,3,2: 28:[30, 58] Operation: 83-25=58
Exploring Operation: 83+25=108, Resulting Numbers: [30, 108]
Generated Node #0,3,3: 28:[30, 108] Operation: 83+25=108
Exploring Operation: 30-25=5, Resulting Numbers: [83, 5]
Generated Node #0,3,4: 28:[83, 5] Operation: 30-25=5
Moving to Node #0,1
Current State: 28:[30, 88, 20], Operations: ['83-63=20']
Exploring Operation: 30+20=50, Resulting Numbers: [88, 50]
Generated Node #0,1,0: 28:[88, 50] Operation: 30+20=50
Exploring Operation: 30-20=10, Resulting Numbers: [88, 10]
Generated Node #0,1,1: 28:[88, 10] Operation: 30-20=10
Exploring Operation: 88-30=58, Resulting Numbers: [20, 58]
Generated Node #0,1,2: 28:[20, 58] Operation: 88-30=58
Exploring Operation: 88-20=68, Resulting Numbers: [30, 68]
Generated Node #0,1,3: 28:[30, 68] Operation: 88-20=68
Exploring Operation: 88+20=108, Resulting Numbers: [30, 108]
Generated Node #0,1,4: 28:[30, 108] Operation: 88+20=108
Moving to Node #0,0
Current State: 28:[88, 83, 33], Operations: ['63-30=33']
Exploring Operation: 88-33=55, Resulting Numbers: [83, 55]
Generated Node #0,0,0: 28:[83, 55] Operation: 88-33=55
Exploring Operation: 88-83=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 28:[33, 5] Operation: 88-83=5
Exploring Operation: 88+83=171, Resulting Numbers: [33, 171]
Generated Node #0,0,2: 28:[33, 171] Operation: 88+83=171
Exploring Operation: 88+33=121, Resulting Numbers: [83, 121]
Generated Node #0,0,3: 28:[83, 121] Operation: 88+33=121
Exploring Operation: 83-33=50, Resulting Numbers: [88, 50]
Generated Node #0,0,4: 28:[88, 50] Operation: 83-33=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[33, 5], Operations: ['63-30=33', '88-83=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[30, 88, 63, 83], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [88, 83, 33]
Generated Node #0,0: 28:[88, 83, 33] Operation: 63-30=33
Moving to Node #0,0
Current State: 28:[88, 83, 33], Operations: ['63-30=33']
Exploring Operation: 88-83=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 28:[33, 5] Operation: 88-83=5
Moving to Node #0,0,1
Current State: 28:[33, 5], Operations: ['63-30=33', '88-83=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
53,
75,
96,
50
] | 68 | [
"75-53=22",
"96-50=46",
"22+46=68"
] | Current State: 68:[53, 75, 96, 50], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [96, 50, 22]
Generated Node #2: [96, 50, 22] from Operation: 75-53=22
Current State: 68:[96, 50, 22], Operations: ['75-53=22']
Exploring Operation: 96-50=46, Resulting Numbers: [22, 46]
Generated Node #3: [22, 46] from Operation: 96-50=46
Current State: 68:[22, 46], Operations: ['75-53=22', '96-50=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[53, 75, 96, 50], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [75, 50, 43]
Generated Node #0,0: 68:[75, 50, 43] Operation: 96-53=43
Exploring Operation: 96-75=21, Resulting Numbers: [53, 50, 21]
Generated Node #0,1: 68:[53, 50, 21] Operation: 96-75=21
Exploring Operation: 96-50=46, Resulting Numbers: [53, 75, 46]
Generated Node #0,2: 68:[53, 75, 46] Operation: 96-50=46
Exploring Operation: 53-50=3, Resulting Numbers: [75, 96, 3]
Generated Node #0,3: 68:[75, 96, 3] Operation: 53-50=3
Exploring Operation: 75-53=22, Resulting Numbers: [96, 50, 22]
Generated Node #0,4: 68:[96, 50, 22] Operation: 75-53=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[75, 50, 43], Operations: ['96-53=43']
Exploring Operation: 75-50=25, Resulting Numbers: [43, 25]
Generated Node #0,0,0: 68:[43, 25] Operation: 75-50=25
Exploring Operation: 50+43=93, Resulting Numbers: [75, 93]
Generated Node #0,0,1: 68:[75, 93] Operation: 50+43=93
Exploring Operation: 50-43=7, Resulting Numbers: [75, 7]
Generated Node #0,0,2: 68:[75, 7] Operation: 50-43=7
Exploring Operation: 75+50=125, Resulting Numbers: [43, 125]
Generated Node #0,0,3: 68:[43, 125] Operation: 75+50=125
Exploring Operation: 75-43=32, Resulting Numbers: [50, 32]
Generated Node #0,0,4: 68:[50, 32] Operation: 75-43=32
Moving to Node #0,0,2
Current State: 68:[75, 7], Operations: ['96-53=43', '50-43=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,68 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[53, 75, 96, 50], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [75, 50, 43]
Generated Node #0,0: 68:[75, 50, 43] Operation: 96-53=43
Moving to Node #0,0
Current State: 68:[75, 50, 43], Operations: ['96-53=43']
Exploring Operation: 50-43=7, Resulting Numbers: [75, 7]
Generated Node #0,0,2: 68:[75, 7] Operation: 50-43=7
Moving to Node #0,0,2
Current State: 68:[75, 7], Operations: ['96-53=43', '50-43=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
62,
6,
7,
56
] | 36 | [
"62-56=6",
"6*7=42",
"42-6=36"
] | Current State: 36:[62, 6, 7, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [6, 7, 6]
Generated Node #2: [6, 7, 6] from Operation: 62-56=6
Current State: 36:[6, 7, 6], Operations: ['62-56=6']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,36 equal: Goal Reached
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[62, 6, 7, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [6, 7, 6]
Generated Node #0,0: 36:[6, 7, 6] Operation: 62-56=6
Moving to Node #0,0
Current State: 36:[6, 7, 6], Operations: ['62-56=6']
Exploring Operation: 6+7=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 36:[6, 13] Operation: 6+7=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[6, 13], Operations: ['62-56=6', '6+7=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,36 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 |
[
29,
30,
57,
86
] | 30 | [
"29+30=59",
"86-57=29",
"59-29=30"
] | Current State: 30:[29, 30, 57, 86], Operations: []
Exploring Operation: 29+30=59, Resulting Numbers: [57, 86, 59]
Generated Node #2: [57, 86, 59] from Operation: 29+30=59
Current State: 30:[57, 86, 59], Operations: ['29+30=59']
Exploring Operation: 86-57=29, Resulting Numbers: [59, 29]
Generated Node #3: [59, 29] from Operation: 86-57=29
Current State: 30:[59, 29], Operations: ['29+30=59', '86-57=29']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[29, 30, 57, 86], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [29, 30, 29]
Generated Node #0,0: 30:[29, 30, 29] Operation: 86-57=29
Exploring Operation: 57-29=28, Resulting Numbers: [30, 86, 28]
Generated Node #0,1: 30:[30, 86, 28] Operation: 57-29=28
Exploring Operation: 86-29=57, Resulting Numbers: [30, 57, 57]
Generated Node #0,2: 30:[30, 57, 57] Operation: 86-29=57
Exploring Operation: 86-30=56, Resulting Numbers: [29, 57, 56]
Generated Node #0,3: 30:[29, 57, 56] Operation: 86-30=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[29, 30, 29], Operations: ['86-57=29']
Exploring Operation: 29-29=0, Resulting Numbers: [30, 0]
Generated Node #0,0,0: 30:[30, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 30:[30, 1] Operation: 29/29=1
Exploring Operation: 30-29=1, Resulting Numbers: [29, 1]
Generated Node #0,0,2: 30:[29, 1] Operation: 30-29=1
Exploring Operation: 30-29=1, Resulting Numbers: [29, 1]
Generated Node #0,0,3: 30:[29, 1] Operation: 30-29=1
Moving to Node #0,0,1
Current State: 30:[30, 1], Operations: ['86-57=29', '29/29=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[29, 30, 57, 86], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [29, 30, 29]
Generated Node #0,0: 30:[29, 30, 29] Operation: 86-57=29
Moving to Node #0,0
Current State: 30:[29, 30, 29], Operations: ['86-57=29']
Exploring Operation: 29/29=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 30:[30, 1] Operation: 29/29=1
Moving to Node #0,0,1
Current State: 30:[30, 1], Operations: ['86-57=29', '29/29=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
40,
1,
65,
25
] | 40 | [
"65-1=64",
"25*64=1600",
"1600/40=40"
] | Current State: 40:[40, 1, 65, 25], Operations: []
Exploring Operation: 65-1=64, Resulting Numbers: [40, 25, 64]
Generated Node #2: [40, 25, 64] from Operation: 65-1=64
Current State: 40:[40, 25, 64], Operations: ['65-1=64']
Exploring Operation: 25*64=1600, Resulting Numbers: [40, 1600]
Generated Node #3: [40, 1600] from Operation: 25*64=1600
Current State: 40:[40, 1600], Operations: ['65-1=64', '25*64=1600']
Exploring Operation: 1600/40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[40, 1, 65, 25], Operations: []
Exploring Operation: 65-25=40, Resulting Numbers: [40, 1, 40]
Generated Node #0,0: 40:[40, 1, 40] Operation: 65-25=40
Exploring Operation: 65-40=25, Resulting Numbers: [1, 25, 25]
Generated Node #0,1: 40:[1, 25, 25] Operation: 65-40=25
Exploring Operation: 25-1=24, Resulting Numbers: [40, 65, 24]
Generated Node #0,2: 40:[40, 65, 24] Operation: 25-1=24
Exploring Operation: 65-1=64, Resulting Numbers: [40, 25, 64]
Generated Node #0,3: 40:[40, 25, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[40, 1, 40], Operations: ['65-25=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40, 40]
Generated Node #0,0,0: 40:[40, 40] Operation: 40/1=40
Exploring Operation: 1*40=40, Resulting Numbers: [40, 40]
Generated Node #0,0,1: 40:[40, 40] Operation: 1*40=40
Exploring Operation: 40*1=40, Resulting Numbers: [40, 40]
Generated Node #0,0,2: 40:[40, 40] Operation: 40*1=40
Exploring Operation: 40/1=40, Resulting Numbers: [40, 40]
Generated Node #0,0,3: 40:[40, 40] Operation: 40/1=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[40, 40], Operations: ['65-25=40', '40/1=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,40 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[40, 40], Operations: ['65-25=40', '1*40=40']
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,40 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,40 unequal: No Solution
No 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: 40:[40, 40], Operations: ['65-25=40', '40*1=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,40 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[40, 40], Operations: ['65-25=40', '40/1=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,40 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,40 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: 40:[1, 25, 25], Operations: ['65-40=25']
Exploring Operation: 25-25=0, Resulting Numbers: [1, 0]
Generated Node #0,1,0: 40:[1, 0] Operation: 25-25=0
Exploring Operation: 25-1=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 40:[25, 24] Operation: 25-1=24
Exploring Operation: 25/25=1, Resulting Numbers: [1, 1]
Generated Node #0,1,2: 40:[1, 1] Operation: 25/25=1
Exploring Operation: 25-1=24, Resulting Numbers: [25, 24]
Generated Node #0,1,3: 40:[25, 24] Operation: 25-1=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[1, 1], Operations: ['65-40=25', '25/25=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[1, 0], Operations: ['65-40=25', '25-25=0']
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[25, 24], Operations: ['65-40=25', '25-1=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,40 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,40 unequal: No Solution
No 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: 40:[25, 24], Operations: ['65-40=25', '25-1=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,40 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: 40:[40, 65, 24], Operations: ['25-1=24']
Exploring Operation: 40-24=16, Resulting Numbers: [65, 16]
Generated Node #0,2,0: 40:[65, 16] Operation: 40-24=16
Exploring Operation: 40+24=64, Resulting Numbers: [65, 64]
Generated Node #0,2,1: 40:[65, 64] Operation: 40+24=64
Exploring Operation: 65-24=41, Resulting Numbers: [40, 41]
Generated Node #0,2,2: 40:[40, 41] Operation: 65-24=41
Exploring Operation: 65-40=25, Resulting Numbers: [24, 25]
Generated Node #0,2,3: 40:[24, 25] Operation: 65-40=25
Moving to Node #0,2,2
Current State: 40:[40, 41], Operations: ['25-1=24', '65-24=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,40 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[24, 25], Operations: ['25-1=24', '65-40=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[65, 16], Operations: ['25-1=24', '40-24=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[65, 64], Operations: ['25-1=24', '40+24=64']
Exploring Operation: 65+64=129, Resulting Numbers: [129]
129,40 unequal: No Solution
Exploring Operation: 65*64=4160, Resulting Numbers: [4160]
4160,40 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[40, 25, 64], Operations: ['65-1=64']
Exploring Operation: 64-40=24, Resulting Numbers: [25, 24]
Generated Node #0,3,0: 40:[25, 24] Operation: 64-40=24
Exploring Operation: 40-25=15, Resulting Numbers: [64, 15]
Generated Node #0,3,1: 40:[64, 15] Operation: 40-25=15
Exploring Operation: 40+25=65, Resulting Numbers: [64, 65]
Generated Node #0,3,2: 40:[64, 65] Operation: 40+25=65
Exploring Operation: 64-25=39, Resulting Numbers: [40, 39]
Generated Node #0,3,3: 40:[40, 39] Operation: 64-25=39
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[40, 39], Operations: ['65-1=64', '64-25=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,40 unequal: No Solution
No 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: 40:[25, 24], Operations: ['65-1=64', '64-40=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,40 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[64, 15], Operations: ['65-1=64', '40-25=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,40 unequal: No Solution
No 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: 40:[64, 65], Operations: ['65-1=64', '40+25=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,40 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
27,
68,
66
] | 99 | [
"8+27=35",
"68+66=134",
"134-35=99"
] | Current State: 99:[8, 27, 68, 66], Operations: []
Exploring Operation: 8+27=35, Resulting Numbers: [68, 66, 35]
Generated Node #2: [68, 66, 35] from Operation: 8+27=35
Current State: 99:[68, 66, 35], Operations: ['8+27=35']
Exploring Operation: 68+66=134, Resulting Numbers: [35, 134]
Generated Node #3: [35, 134] from Operation: 68+66=134
Current State: 99:[35, 134], Operations: ['8+27=35', '68+66=134']
Exploring Operation: 134-35=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[8, 27, 68, 66], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [8, 27, 2]
Generated Node #0,0: 99:[8, 27, 2] Operation: 68-66=2
Exploring Operation: 27+68=95, Resulting Numbers: [8, 66, 95]
Generated Node #0,1: 99:[8, 66, 95] Operation: 27+68=95
Exploring Operation: 66-27=39, Resulting Numbers: [8, 68, 39]
Generated Node #0,2: 99:[8, 68, 39] Operation: 66-27=39
Exploring Operation: 27+66=93, Resulting Numbers: [8, 68, 93]
Generated Node #0,3: 99:[8, 68, 93] Operation: 27+66=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[8, 27, 2], Operations: ['68-66=2']
Exploring Operation: 27+2=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 99:[8, 29] Operation: 27+2=29
Exploring Operation: 8+2=10, Resulting Numbers: [27, 10]
Generated Node #0,0,1: 99:[27, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [27, 4]
Generated Node #0,0,2: 99:[27, 4] Operation: 8/2=4
Exploring Operation: 8+27=35, Resulting Numbers: [2, 35]
Generated Node #0,0,3: 99:[2, 35] Operation: 8+27=35
Moving to Node #0,0,3
Current State: 99:[2, 35], Operations: ['68-66=2', '8+27=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[8, 29], Operations: ['68-66=2', '27+2=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,99 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[27, 4], Operations: ['68-66=2', '8/2=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[27, 10], Operations: ['68-66=2', '8+2=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,99 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[8, 66, 95], Operations: ['27+68=95']
Exploring Operation: 66-8=58, Resulting Numbers: [95, 58]
Generated Node #0,1,0: 99:[95, 58] Operation: 66-8=58
Exploring Operation: 95-66=29, Resulting Numbers: [8, 29]
Generated Node #0,1,1: 99:[8, 29] Operation: 95-66=29
Exploring Operation: 8+95=103, Resulting Numbers: [66, 103]
Generated Node #0,1,2: 99:[66, 103] Operation: 8+95=103
Exploring Operation: 8+66=74, Resulting Numbers: [95, 74]
Generated Node #0,1,3: 99:[95, 74] Operation: 8+66=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[8, 29], Operations: ['27+68=95', '95-66=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,99 unequal: No Solution
No 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: 99:[95, 58], Operations: ['27+68=95', '66-8=58']
Exploring Operation: 95*58=5510, Resulting Numbers: [5510]
5510,99 unequal: No Solution
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No 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: 99:[95, 74], Operations: ['27+68=95', '8+66=74']
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,99 unequal: No Solution
Exploring Operation: 95*74=7030, Resulting Numbers: [7030]
7030,99 unequal: No Solution
No 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: 99:[66, 103], Operations: ['27+68=95', '8+95=103']
Exploring Operation: 66+103=169, Resulting Numbers: [169]
169,99 unequal: No Solution
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 66*103=6798, Resulting Numbers: [6798]
6798,99 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: 99:[8, 68, 39], Operations: ['66-27=39']
Exploring Operation: 68+39=107, Resulting Numbers: [8, 107]
Generated Node #0,2,0: 99:[8, 107] Operation: 68+39=107
Exploring Operation: 68-39=29, Resulting Numbers: [8, 29]
Generated Node #0,2,1: 99:[8, 29] Operation: 68-39=29
Exploring Operation: 8+68=76, Resulting Numbers: [39, 76]
Generated Node #0,2,2: 99:[39, 76] Operation: 8+68=76
Exploring Operation: 68-8=60, Resulting Numbers: [39, 60]
Generated Node #0,2,3: 99:[39, 60] Operation: 68-8=60
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[8, 29], Operations: ['66-27=39', '68-39=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,99 unequal: No Solution
No 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: 99:[8, 107], Operations: ['66-27=39', '68+39=107']
Exploring Operation: 8*107=856, Resulting Numbers: [856]
856,99 unequal: No Solution
Exploring Operation: 8+107=115, Resulting Numbers: [115]
115,99 unequal: No Solution
Exploring Operation: 107-8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[8, 27, 68, 66], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [8, 68, 39]
Generated Node #0,2: 99:[8, 68, 39] Operation: 66-27=39
Moving to Node #0,2
Current State: 99:[8, 68, 39], Operations: ['66-27=39']
Exploring Operation: 68+39=107, Resulting Numbers: [8, 107]
Generated Node #0,2,0: 99:[8, 107] Operation: 68+39=107
Moving to Node #0,2,0
Current State: 99:[8, 107], Operations: ['66-27=39', '68+39=107']
Exploring Operation: 107-8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
76,
27,
8,
82
] | 54 | [
"76+8=84",
"84-82=2",
"27*2=54"
] | Current State: 54:[76, 27, 8, 82], Operations: []
Exploring Operation: 76+8=84, Resulting Numbers: [27, 82, 84]
Generated Node #2: [27, 82, 84] from Operation: 76+8=84
Current State: 54:[27, 82, 84], Operations: ['76+8=84']
Exploring Operation: 84-82=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 84-82=2
Current State: 54:[27, 2], Operations: ['76+8=84', '84-82=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[76, 27, 8, 82], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [8, 82, 49]
Generated Node #0,0: 54:[8, 82, 49] Operation: 76-27=49
Exploring Operation: 82-27=55, Resulting Numbers: [76, 8, 55]
Generated Node #0,1: 54:[76, 8, 55] Operation: 82-27=55
Exploring Operation: 82-76=6, Resulting Numbers: [27, 8, 6]
Generated Node #0,2: 54:[27, 8, 6] Operation: 82-76=6
Moving to Node #0,2
Current State: 54:[27, 8, 6], Operations: ['82-76=6']
Exploring Operation: 27-8=19, Resulting Numbers: [6, 19]
Generated Node #0,2,0: 54:[6, 19] Operation: 27-8=19
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,2,1: 54:[8, 21] Operation: 27-6=21
Exploring Operation: 8-6=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 54:[27, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[27, 2], Operations: ['82-76=6', '8-6=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[76, 27, 8, 82], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [27, 8, 6]
Generated Node #0,2: 54:[27, 8, 6] Operation: 82-76=6
Moving to Node #0,2
Current State: 54:[27, 8, 6], Operations: ['82-76=6']
Exploring Operation: 8-6=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 54:[27, 2] Operation: 8-6=2
Moving to Node #0,2,2
Current State: 54:[27, 2], Operations: ['82-76=6', '8-6=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
29,
1,
98,
94
] | 32 | [
"29-1=28",
"98-94=4",
"28+4=32"
] | Current State: 32:[29, 1, 98, 94], Operations: []
Exploring Operation: 29-1=28, Resulting Numbers: [98, 94, 28]
Generated Node #2: [98, 94, 28] from Operation: 29-1=28
Current State: 32:[98, 94, 28], Operations: ['29-1=28']
Exploring Operation: 98-94=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 98-94=4
Current State: 32:[28, 4], Operations: ['29-1=28', '98-94=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[29, 1, 98, 94], Operations: []
Exploring Operation: 98-29=69, Resulting Numbers: [1, 94, 69]
Generated Node #0,0: 32:[1, 94, 69] Operation: 98-29=69
Exploring Operation: 94-29=65, Resulting Numbers: [1, 98, 65]
Generated Node #0,1: 32:[1, 98, 65] Operation: 94-29=65
Exploring Operation: 98-94=4, Resulting Numbers: [29, 1, 4]
Generated Node #0,2: 32:[29, 1, 4] Operation: 98-94=4
Exploring Operation: 29+1=30, Resulting Numbers: [98, 94, 30]
Generated Node #0,3: 32:[98, 94, 30] Operation: 29+1=30
Moving to Node #0,2
Current State: 32:[29, 1, 4], Operations: ['98-94=4']
Exploring Operation: 29*1=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 32:[4, 29] Operation: 29*1=29
Exploring Operation: 29+1=30, Resulting Numbers: [4, 30]
Generated Node #0,2,1: 32:[4, 30] Operation: 29+1=30
Exploring Operation: 29+4=33, Resulting Numbers: [1, 33]
Generated Node #0,2,2: 32:[1, 33] Operation: 29+4=33
Exploring Operation: 29/1=29, Resulting Numbers: [4, 29]
Generated Node #0,2,3: 32:[4, 29] Operation: 29/1=29
Moving to Node #0,1
Current State: 32:[1, 98, 65], Operations: ['94-29=65']
Exploring Operation: 98-1=97, Resulting Numbers: [65, 97]
Generated Node #0,1,0: 32:[65, 97] Operation: 98-1=97
Exploring Operation: 98-65=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 98-65=33
Exploring Operation: 1*98=98, Resulting Numbers: [65, 98]
Generated Node #0,1,2: 32:[65, 98] Operation: 1*98=98
Exploring Operation: 65-1=64, Resulting Numbers: [98, 64]
Generated Node #0,1,3: 32:[98, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['94-29=65', '98-65=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[29, 1, 98, 94], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [1, 98, 65]
Generated Node #0,1: 32:[1, 98, 65] Operation: 94-29=65
Moving to Node #0,1
Current State: 32:[1, 98, 65], Operations: ['94-29=65']
Exploring Operation: 98-65=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 98-65=33
Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['94-29=65', '98-65=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
39,
87,
47,
37
] | 80 | [
"39-37=2",
"87-47=40",
"2*40=80"
] | Current State: 80:[39, 87, 47, 37], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [87, 47, 2]
Generated Node #2: [87, 47, 2] from Operation: 39-37=2
Current State: 80:[87, 47, 2], Operations: ['39-37=2']
Exploring Operation: 87-47=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 87-47=40
Current State: 80:[2, 40], Operations: ['39-37=2', '87-47=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[39, 87, 47, 37], Operations: []
Exploring Operation: 87-47=40, Resulting Numbers: [39, 37, 40]
Generated Node #0,0: 80:[39, 37, 40] Operation: 87-47=40
Exploring Operation: 47-37=10, Resulting Numbers: [39, 87, 10]
Generated Node #0,1: 80:[39, 87, 10] Operation: 47-37=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[39, 37, 40], Operations: ['87-47=40']
Exploring Operation: 39-37=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 80:[40, 2] Operation: 39-37=2
Exploring Operation: 40-37=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 80:[39, 3] Operation: 40-37=3
Moving to Node #0,0,0
Current State: 80:[40, 2], Operations: ['87-47=40', '39-37=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[39, 87, 47, 37], Operations: []
Exploring Operation: 87-47=40, Resulting Numbers: [39, 37, 40]
Generated Node #0,0: 80:[39, 37, 40] Operation: 87-47=40
Moving to Node #0,0
Current State: 80:[39, 37, 40], Operations: ['87-47=40']
Exploring Operation: 39-37=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 80:[40, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 80:[40, 2], Operations: ['87-47=40', '39-37=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
20,
22,
18,
60
] | 84 | [
"20+22=42",
"60-18=42",
"42+42=84"
] | Current State: 84:[20, 22, 18, 60], Operations: []
Exploring Operation: 20+22=42, Resulting Numbers: [18, 60, 42]
Generated Node #2: [18, 60, 42] from Operation: 20+22=42
Current State: 84:[18, 60, 42], Operations: ['20+22=42']
Exploring Operation: 60-18=42, Resulting Numbers: [42, 42]
Generated Node #3: [42, 42] from Operation: 60-18=42
Current State: 84:[42, 42], Operations: ['20+22=42', '60-18=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[20, 22, 18, 60], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [20, 22, 42]
Generated Node #0,0: 84:[20, 22, 42] Operation: 60-18=42
Moving to Node #0,0
Current State: 84:[20, 22, 42], Operations: ['60-18=42']
Exploring Operation: 20+22=42, Resulting Numbers: [42, 42]
Generated Node #0,0,0: 84:[42, 42] Operation: 20+22=42
Moving to Node #0,0,0
Current State: 84:[42, 42], Operations: ['60-18=42', '20+22=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[20, 22, 18, 60], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [20, 22, 42]
Generated Node #0,0: 84:[20, 22, 42] Operation: 60-18=42
Moving to Node #0,0
Current State: 84:[20, 22, 42], Operations: ['60-18=42']
Exploring Operation: 20+22=42, Resulting Numbers: [42, 42]
Generated Node #0,0,0: 84:[42, 42] Operation: 20+22=42
Moving to Node #0,0,0
Current State: 84:[42, 42], Operations: ['60-18=42', '20+22=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
89,
12,
76,
53
] | 53 | [
"89-12=77",
"77-76=1",
"53*1=53"
] | Current State: 53:[89, 12, 76, 53], Operations: []
Exploring Operation: 89-12=77, Resulting Numbers: [76, 53, 77]
Generated Node #2: [76, 53, 77] from Operation: 89-12=77
Current State: 53:[76, 53, 77], Operations: ['89-12=77']
Exploring Operation: 77-76=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 77-76=1
Current State: 53:[53, 1], Operations: ['89-12=77', '77-76=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[89, 12, 76, 53], Operations: []
Exploring Operation: 89-12=77, Resulting Numbers: [76, 53, 77]
Generated Node #0,0: 53:[76, 53, 77] Operation: 89-12=77
Exploring Operation: 76-12=64, Resulting Numbers: [89, 53, 64]
Generated Node #0,1: 53:[89, 53, 64] Operation: 76-12=64
Exploring Operation: 89+12=101, Resulting Numbers: [76, 53, 101]
Generated Node #0,2: 53:[76, 53, 101] Operation: 89+12=101
Moving to Node #0,0
Current State: 53:[76, 53, 77], Operations: ['89-12=77']
Exploring Operation: 77-53=24, Resulting Numbers: [76, 24]
Generated Node #0,0,0: 53:[76, 24] Operation: 77-53=24
Exploring Operation: 77-76=1, Resulting Numbers: [53, 1]
Generated Node #0,0,1: 53:[53, 1] Operation: 77-76=1
Exploring Operation: 76-53=23, Resulting Numbers: [77, 23]
Generated Node #0,0,2: 53:[77, 23] Operation: 76-53=23
Moving to Node #0,1
Current State: 53:[89, 53, 64], Operations: ['76-12=64']
Exploring Operation: 89-53=36, Resulting Numbers: [64, 36]
Generated Node #0,1,0: 53:[64, 36] Operation: 89-53=36
Exploring Operation: 89-64=25, Resulting Numbers: [53, 25]
Generated Node #0,1,1: 53:[53, 25] Operation: 89-64=25
Exploring Operation: 64-53=11, Resulting Numbers: [89, 11]
Generated Node #0,1,2: 53:[89, 11] Operation: 64-53=11
Moving to Node #0,2
Current State: 53:[76, 53, 101], Operations: ['89+12=101']
Exploring Operation: 101-76=25, Resulting Numbers: [53, 25]
Generated Node #0,2,0: 53:[53, 25] Operation: 101-76=25
Exploring Operation: 76-53=23, Resulting Numbers: [101, 23]
Generated Node #0,2,1: 53:[101, 23] Operation: 76-53=23
Exploring Operation: 101-53=48, Resulting Numbers: [76, 48]
Generated Node #0,2,2: 53:[76, 48] Operation: 101-53=48
Moving to Node #0,1,0
Current State: 53:[64, 36], Operations: ['76-12=64', '89-53=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[53, 25], Operations: ['89+12=101', '101-76=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,53 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[53, 25], Operations: ['76-12=64', '89-64=25']
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,53 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[76, 48], Operations: ['89+12=101', '101-53=48']
Exploring Operation: 76*48=3648, Resulting Numbers: [3648]
3648,53 unequal: No Solution
Exploring Operation: 76+48=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[76, 24], Operations: ['89-12=77', '77-53=24']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[53, 1], Operations: ['89-12=77', '77-76=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[89, 12, 76, 53], Operations: []
Exploring Operation: 89-12=77, Resulting Numbers: [76, 53, 77]
Generated Node #0,0: 53:[76, 53, 77] Operation: 89-12=77
Moving to Node #0,0
Current State: 53:[76, 53, 77], Operations: ['89-12=77']
Exploring Operation: 77-76=1, Resulting Numbers: [53, 1]
Generated Node #0,0,1: 53:[53, 1] Operation: 77-76=1
Moving to Node #0,0,1
Current State: 53:[53, 1], Operations: ['89-12=77', '77-76=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.972222 | hs_3 | sum_heuristic |
[
34,
7,
40,
97
] | 97 | [
"34+7=41",
"41-40=1",
"97*1=97"
] | Current State: 97:[34, 7, 40, 97], Operations: []
Exploring Operation: 34+7=41, Resulting Numbers: [40, 97, 41]
Generated Node #2: [40, 97, 41] from Operation: 34+7=41
Current State: 97:[40, 97, 41], Operations: ['34+7=41']
Exploring Operation: 41-40=1, Resulting Numbers: [97, 1]
Generated Node #3: [97, 1] from Operation: 41-40=1
Current State: 97:[97, 1], Operations: ['34+7=41', '41-40=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[34, 7, 40, 97], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [40, 97, 27]
Generated Node #0,0: 97:[40, 97, 27] Operation: 34-7=27
Exploring Operation: 40-7=33, Resulting Numbers: [34, 97, 33]
Generated Node #0,1: 97:[34, 97, 33] Operation: 40-7=33
Exploring Operation: 34+7=41, Resulting Numbers: [40, 97, 41]
Generated Node #0,2: 97:[40, 97, 41] Operation: 34+7=41
Exploring Operation: 34+40=74, Resulting Numbers: [7, 97, 74]
Generated Node #0,3: 97:[7, 97, 74] Operation: 34+40=74
Exploring Operation: 7+40=47, Resulting Numbers: [34, 97, 47]
Generated Node #0,4: 97:[34, 97, 47] Operation: 7+40=47
Moving to Node #0,2
Current State: 97:[40, 97, 41], Operations: ['34+7=41']
Exploring Operation: 97+41=138, Resulting Numbers: [40, 138]
Generated Node #0,2,0: 97:[40, 138] Operation: 97+41=138
Exploring Operation: 97-40=57, Resulting Numbers: [41, 57]
Generated Node #0,2,1: 97:[41, 57] Operation: 97-40=57
Exploring Operation: 40+97=137, Resulting Numbers: [41, 137]
Generated Node #0,2,2: 97:[41, 137] Operation: 40+97=137
Exploring Operation: 40+41=81, Resulting Numbers: [97, 81]
Generated Node #0,2,3: 97:[97, 81] Operation: 40+41=81
Exploring Operation: 41-40=1, Resulting Numbers: [97, 1]
Generated Node #0,2,4: 97:[97, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[97, 81], Operations: ['34+7=41', '40+41=81']
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 97*81=7857, Resulting Numbers: [7857]
7857,97 unequal: No Solution
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[41, 57], Operations: ['34+7=41', '97-40=57']
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,97 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[41, 137], Operations: ['34+7=41', '40+97=137']
Exploring Operation: 137-41=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 41+137=178, Resulting Numbers: [178]
178,97 unequal: No Solution
Exploring Operation: 41*137=5617, Resulting Numbers: [5617]
5617,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[97, 1], Operations: ['34+7=41', '41-40=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[34, 7, 40, 97], Operations: []
Exploring Operation: 34+7=41, Resulting Numbers: [40, 97, 41]
Generated Node #0,2: 97:[40, 97, 41] Operation: 34+7=41
Moving to Node #0,2
Current State: 97:[40, 97, 41], Operations: ['34+7=41']
Exploring Operation: 41-40=1, Resulting Numbers: [97, 1]
Generated Node #0,2,4: 97:[97, 1] Operation: 41-40=1
Moving to Node #0,2,4
Current State: 97:[97, 1], Operations: ['34+7=41', '41-40=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
4,
80,
3,
92
] | 76 | [
"4*80=320",
"320-92=228",
"228/3=76"
] | Current State: 76:[4, 80, 3, 92], Operations: []
Exploring Operation: 4*80=320, Resulting Numbers: [3, 92, 320]
Generated Node #2: [3, 92, 320] from Operation: 4*80=320
Current State: 76:[3, 92, 320], Operations: ['4*80=320']
Exploring Operation: 320-92=228, Resulting Numbers: [3, 228]
Generated Node #3: [3, 228] from Operation: 320-92=228
Current State: 76:[3, 228], Operations: ['4*80=320', '320-92=228']
Exploring Operation: 228/3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 80, 3, 92], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [4, 3, 12]
Generated Node #0,0: 76:[4, 3, 12] Operation: 92-80=12
Exploring Operation: 80-4=76, Resulting Numbers: [3, 92, 76]
Generated Node #0,1: 76:[3, 92, 76] Operation: 80-4=76
Exploring Operation: 92/4=23, Resulting Numbers: [80, 3, 23]
Generated Node #0,2: 76:[80, 3, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[4, 3, 12], Operations: ['92-80=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 76:[4, 4] Operation: 12/3=4
Exploring Operation: 3*12=36, Resulting Numbers: [4, 36]
Generated Node #0,0,1: 76:[4, 36] Operation: 3*12=36
Exploring Operation: 12/4=3, Resulting Numbers: [3, 3]
Generated Node #0,0,2: 76:[3, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[4, 4], Operations: ['92-80=12', '12/3=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,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,0,1
Current State: 76:[4, 36], Operations: ['92-80=12', '3*12=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,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,0,2
Current State: 76:[3, 3], Operations: ['92-80=12', '12/4=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[80, 3, 23], Operations: ['92/4=23']
Exploring Operation: 23-3=20, Resulting Numbers: [80, 20]
Generated Node #0,2,0: 76:[80, 20] Operation: 23-3=20
Exploring Operation: 80-3=77, Resulting Numbers: [23, 77]
Generated Node #0,2,1: 76:[23, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [23, 83]
Generated Node #0,2,2: 76:[23, 83] Operation: 80+3=83
Moving to Node #0,2,0
Current State: 76:[80, 20], Operations: ['92/4=23', '23-3=20']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[23, 77], Operations: ['92/4=23', '80-3=77']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,76 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[23, 83], Operations: ['92/4=23', '80+3=83']
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,76 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,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:[3, 92, 76], Operations: ['80-4=76']
Exploring Operation: 92-3=89, Resulting Numbers: [76, 89]
Generated Node #0,1,0: 76:[76, 89] Operation: 92-3=89
Exploring Operation: 92-76=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 76:[3, 16] Operation: 92-76=16
Exploring Operation: 3+92=95, Resulting Numbers: [76, 95]
Generated Node #0,1,2: 76:[76, 95] Operation: 3+92=95
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[3, 16], Operations: ['80-4=76', '92-76=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[76, 89], Operations: ['80-4=76', '92-3=89']
Exploring Operation: 76+89=165, Resulting Numbers: [165]
165,76 unequal: No Solution
Exploring Operation: 76*89=6764, Resulting Numbers: [6764]
6764,76 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,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,2
Current State: 76:[76, 95], Operations: ['80-4=76', '3+92=95']
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,76 unequal: No Solution
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
36,
88,
39,
95
] | 12 | [
"36*95=3420",
"88*39=3432",
"3432-3420=12"
] | Current State: 12:[36, 88, 39, 95], Operations: []
Exploring Operation: 36*95=3420, Resulting Numbers: [88, 39, 3420]
Generated Node #2: [88, 39, 3420] from Operation: 36*95=3420
Current State: 12:[88, 39, 3420], Operations: ['36*95=3420']
Exploring Operation: 88*39=3432, Resulting Numbers: [3420, 3432]
Generated Node #3: [3420, 3432] from Operation: 88*39=3432
Current State: 12:[3420, 3432], Operations: ['36*95=3420', '88*39=3432']
Exploring Operation: 3432-3420=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[36, 88, 39, 95], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [36, 39, 7]
Generated Node #0,0: 12:[36, 39, 7] Operation: 95-88=7
Moving to Node #0,0
Current State: 12:[36, 39, 7], Operations: ['95-88=7']
Exploring Operation: 39-36=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 12:[7, 3] Operation: 39-36=3
Moving to Node #0,0,0
Current State: 12:[7, 3], Operations: ['95-88=7', '39-36=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,12 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
21,
17,
22
] | 29 | [
"63/21=3",
"17*3=51",
"51-22=29"
] | Current State: 29:[63, 21, 17, 22], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [17, 22, 3]
Generated Node #2: [17, 22, 3] from Operation: 63/21=3
Current State: 29:[17, 22, 3], Operations: ['63/21=3']
Exploring Operation: 17*3=51, Resulting Numbers: [22, 51]
Generated Node #3: [22, 51] from Operation: 17*3=51
Current State: 29:[22, 51], Operations: ['63/21=3', '17*3=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[63, 21, 17, 22], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [17, 22, 3]
Generated Node #0,0: 29:[17, 22, 3] Operation: 63/21=3
Exploring Operation: 63-17=46, Resulting Numbers: [21, 22, 46]
Generated Node #0,1: 29:[21, 22, 46] Operation: 63-17=46
Exploring Operation: 63-22=41, Resulting Numbers: [21, 17, 41]
Generated Node #0,2: 29:[21, 17, 41] Operation: 63-22=41
Exploring Operation: 63-21=42, Resulting Numbers: [17, 22, 42]
Generated Node #0,3: 29:[17, 22, 42] Operation: 63-21=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[21, 22, 46], Operations: ['63-17=46']
Exploring Operation: 22-21=1, Resulting Numbers: [46, 1]
Generated Node #0,1,0: 29:[46, 1] Operation: 22-21=1
Exploring Operation: 21+22=43, Resulting Numbers: [46, 43]
Generated Node #0,1,1: 29:[46, 43] Operation: 21+22=43
Exploring Operation: 46-21=25, Resulting Numbers: [22, 25]
Generated Node #0,1,2: 29:[22, 25] Operation: 46-21=25
Exploring Operation: 46-22=24, Resulting Numbers: [21, 24]
Generated Node #0,1,3: 29:[21, 24] Operation: 46-22=24
Moving to Node #0,1,2
Current State: 29:[22, 25], Operations: ['63-17=46', '46-21=25']
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,29 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[21, 24], Operations: ['63-17=46', '46-22=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,29 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[46, 43], Operations: ['63-17=46', '21+22=43']
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,29 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,29 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[46, 1], Operations: ['63-17=46', '22-21=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[21, 17, 41], Operations: ['63-22=41']
Exploring Operation: 41-21=20, Resulting Numbers: [17, 20]
Generated Node #0,2,0: 29:[17, 20] Operation: 41-21=20
Exploring Operation: 21+17=38, Resulting Numbers: [41, 38]
Generated Node #0,2,1: 29:[41, 38] Operation: 21+17=38
Exploring Operation: 41-17=24, Resulting Numbers: [21, 24]
Generated Node #0,2,2: 29:[21, 24] Operation: 41-17=24
Exploring Operation: 21-17=4, Resulting Numbers: [41, 4]
Generated Node #0,2,3: 29:[41, 4] Operation: 21-17=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[21, 24], Operations: ['63-22=41', '41-17=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,29 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[17, 20], Operations: ['63-22=41', '41-21=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,29 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[41, 38], Operations: ['63-22=41', '21+17=38']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,29 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[41, 4], Operations: ['63-22=41', '21-17=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[17, 22, 42], Operations: ['63-21=42']
Exploring Operation: 22-17=5, Resulting Numbers: [42, 5]
Generated Node #0,3,0: 29:[42, 5] Operation: 22-17=5
Exploring Operation: 42-22=20, Resulting Numbers: [17, 20]
Generated Node #0,3,1: 29:[17, 20] Operation: 42-22=20
Exploring Operation: 42-17=25, Resulting Numbers: [22, 25]
Generated Node #0,3,2: 29:[22, 25] Operation: 42-17=25
Exploring Operation: 17+22=39, Resulting Numbers: [42, 39]
Generated Node #0,3,3: 29:[42, 39] Operation: 17+22=39
Moving to Node #0,3,2
Current State: 29:[22, 25], Operations: ['63-21=42', '42-17=25']
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,29 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[17, 20], Operations: ['63-21=42', '42-22=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[42, 39], Operations: ['63-21=42', '17+22=39']
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[42, 5], Operations: ['63-21=42', '22-17=5']
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,29 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[17, 22, 3], Operations: ['63/21=3']
Exploring Operation: 22-3=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 29:[17, 19] Operation: 22-3=19
Exploring Operation: 17+3=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 29:[22, 20] Operation: 17+3=20
Exploring Operation: 22+3=25, Resulting Numbers: [17, 25]
Generated Node #0,0,2: 29:[17, 25] Operation: 22+3=25
Exploring Operation: 17-3=14, Resulting Numbers: [22, 14]
Generated Node #0,0,3: 29:[22, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[22, 20], Operations: ['63/21=3', '17+3=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[17, 25], Operations: ['63/21=3', '22+3=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,29 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[17, 19], Operations: ['63/21=3', '22-3=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[22, 14], Operations: ['63/21=3', '17-3=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
88,
61,
37
] | 98 | [
"58*61=3538",
"88+3538=3626",
"3626/37=98"
] | Current State: 98:[58, 88, 61, 37], Operations: []
Exploring Operation: 58*61=3538, Resulting Numbers: [88, 37, 3538]
Generated Node #2: [88, 37, 3538] from Operation: 58*61=3538
Current State: 98:[88, 37, 3538], Operations: ['58*61=3538']
Exploring Operation: 88+3538=3626, Resulting Numbers: [37, 3626]
Generated Node #3: [37, 3626] from Operation: 88+3538=3626
Current State: 98:[37, 3626], Operations: ['58*61=3538', '88+3538=3626']
Exploring Operation: 3626/37=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[58, 88, 61, 37], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [58, 61, 51]
Generated Node #0,0: 98:[58, 61, 51] Operation: 88-37=51
Exploring Operation: 61-58=3, Resulting Numbers: [88, 37, 3]
Generated Node #0,1: 98:[88, 37, 3] Operation: 61-58=3
Exploring Operation: 61+37=98, Resulting Numbers: [58, 88, 98]
Generated Node #0,2: 98:[58, 88, 98] Operation: 61+37=98
Moving to Node #0,2
Current State: 98:[58, 88, 98], Operations: ['61+37=98']
Exploring Operation: 98-88=10, Resulting Numbers: [58, 10]
Generated Node #0,2,0: 98:[58, 10] Operation: 98-88=10
Exploring Operation: 88-58=30, Resulting Numbers: [98, 30]
Generated Node #0,2,1: 98:[98, 30] Operation: 88-58=30
Exploring Operation: 98-58=40, Resulting Numbers: [88, 40]
Generated Node #0,2,2: 98:[88, 40] Operation: 98-58=40
Moving to Node #0,0
Current State: 98:[58, 61, 51], Operations: ['88-37=51']
Exploring Operation: 61-58=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 98:[51, 3] Operation: 61-58=3
Exploring Operation: 58-51=7, Resulting Numbers: [61, 7]
Generated Node #0,0,1: 98:[61, 7] Operation: 58-51=7
Exploring Operation: 61-51=10, Resulting Numbers: [58, 10]
Generated Node #0,0,2: 98:[58, 10] Operation: 61-51=10
Moving to Node #0,1
Current State: 98:[88, 37, 3], Operations: ['61-58=3']
Exploring Operation: 88+3=91, Resulting Numbers: [37, 91]
Generated Node #0,1,0: 98:[37, 91] Operation: 88+3=91
Exploring Operation: 88-37=51, Resulting Numbers: [3, 51]
Generated Node #0,1,1: 98:[3, 51] Operation: 88-37=51
Exploring Operation: 37+3=40, Resulting Numbers: [88, 40]
Generated Node #0,1,2: 98:[88, 40] Operation: 37+3=40
Moving to Node #0,0,0
Current State: 98:[51, 3], Operations: ['88-37=51', '61-58=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[3, 51], Operations: ['61-58=3', '88-37=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[58, 10], Operations: ['88-37=51', '61-51=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[58, 10], Operations: ['61+37=98', '98-88=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[61, 7], Operations: ['88-37=51', '58-51=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,98 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[98, 30], Operations: ['61+37=98', '88-58=30']
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,98 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[88, 40], Operations: ['61-58=3', '37+3=40']
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[88, 40], Operations: ['61+37=98', '98-58=40']
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,98 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[37, 91], Operations: ['61-58=3', '88+3=91']
Exploring Operation: 37*91=3367, Resulting Numbers: [3367]
3367,98 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 37+91=128, Resulting Numbers: [128]
128,98 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
76,
15,
68,
48
] | 71 | [
"76+15=91",
"68-48=20",
"91-20=71"
] | Current State: 71:[76, 15, 68, 48], Operations: []
Exploring Operation: 76+15=91, Resulting Numbers: [68, 48, 91]
Generated Node #2: [68, 48, 91] from Operation: 76+15=91
Current State: 71:[68, 48, 91], Operations: ['76+15=91']
Exploring Operation: 68-48=20, Resulting Numbers: [91, 20]
Generated Node #3: [91, 20] from Operation: 68-48=20
Current State: 71:[91, 20], Operations: ['76+15=91', '68-48=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[76, 15, 68, 48], Operations: []
Exploring Operation: 15+48=63, Resulting Numbers: [76, 68, 63]
Generated Node #0,0: 71:[76, 68, 63] Operation: 15+48=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[76, 68, 63], Operations: ['15+48=63']
Exploring Operation: 76-63=13, Resulting Numbers: [68, 13]
Generated Node #0,0,0: 71:[68, 13] Operation: 76-63=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[68, 13], Operations: ['15+48=63', '76-63=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
37,
72,
6
] | 76 | [
"74/37=2",
"72+6=78",
"78-2=76"
] | Current State: 76:[74, 37, 72, 6], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [72, 6, 2]
Generated Node #2: [72, 6, 2] from Operation: 74/37=2
Current State: 76:[72, 6, 2], Operations: ['74/37=2']
Exploring Operation: 72+6=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 72+6=78
Current State: 76:[2, 78], Operations: ['74/37=2', '72+6=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[74, 37, 72, 6], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [37, 6, 2]
Generated Node #0,0: 76:[37, 6, 2] Operation: 74-72=2
Exploring Operation: 74-37=37, Resulting Numbers: [72, 6, 37]
Generated Node #0,1: 76:[72, 6, 37] Operation: 74-37=37
Exploring Operation: 74/37=2, Resulting Numbers: [72, 6, 2]
Generated Node #0,2: 76:[72, 6, 2] Operation: 74/37=2
Exploring Operation: 72-37=35, Resulting Numbers: [74, 6, 35]
Generated Node #0,3: 76:[74, 6, 35] Operation: 72-37=35
Exploring Operation: 72+6=78, Resulting Numbers: [74, 37, 78]
Generated Node #0,4: 76:[74, 37, 78] Operation: 72+6=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[37, 6, 2], Operations: ['74-72=2']
Exploring Operation: 6/2=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 76:[37, 3] Operation: 6/2=3
Exploring Operation: 37+2=39, Resulting Numbers: [6, 39]
Generated Node #0,0,1: 76:[6, 39] Operation: 37+2=39
Exploring Operation: 6-2=4, Resulting Numbers: [37, 4]
Generated Node #0,0,2: 76:[37, 4] Operation: 6-2=4
Exploring Operation: 37+6=43, Resulting Numbers: [2, 43]
Generated Node #0,0,3: 76:[2, 43] Operation: 37+6=43
Exploring Operation: 37*2=74, Resulting Numbers: [6, 74]
Generated Node #0,0,4: 76:[6, 74] Operation: 37*2=74
Moving to Node #0,0,2
Current State: 76:[37, 4], Operations: ['74-72=2', '6-2=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[37, 3], Operations: ['74-72=2', '6/2=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[6, 39], Operations: ['74-72=2', '37+2=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,76 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[6, 74], Operations: ['74-72=2', '37*2=74']
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,76 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[2, 43], Operations: ['74-72=2', '37+6=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[74, 37, 78], Operations: ['72+6=78']
Exploring Operation: 74-37=37, Resulting Numbers: [78, 37]
Generated Node #0,4,0: 76:[78, 37] Operation: 74-37=37
Exploring Operation: 74+37=111, Resulting Numbers: [78, 111]
Generated Node #0,4,1: 76:[78, 111] Operation: 74+37=111
Exploring Operation: 78-74=4, Resulting Numbers: [37, 4]
Generated Node #0,4,2: 76:[37, 4] Operation: 78-74=4
Exploring Operation: 78-37=41, Resulting Numbers: [74, 41]
Generated Node #0,4,3: 76:[74, 41] Operation: 78-37=41
Exploring Operation: 74/37=2, Resulting Numbers: [78, 2]
Generated Node #0,4,4: 76:[78, 2] Operation: 74/37=2
Moving to Node #0,4,2
Current State: 76:[37, 4], Operations: ['72+6=78', '78-74=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[78, 2], Operations: ['72+6=78', '74/37=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[74, 37, 72, 6], Operations: []
Exploring Operation: 72+6=78, Resulting Numbers: [74, 37, 78]
Generated Node #0,4: 76:[74, 37, 78] Operation: 72+6=78
Moving to Node #0,4
Current State: 76:[74, 37, 78], Operations: ['72+6=78']
Exploring Operation: 74/37=2, Resulting Numbers: [78, 2]
Generated Node #0,4,4: 76:[78, 2] Operation: 74/37=2
Moving to Node #0,4,4
Current State: 76:[78, 2], Operations: ['72+6=78', '74/37=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
1,
90,
22,
41
] | 70 | [
"90-1=89",
"41-22=19",
"89-19=70"
] | Current State: 70:[1, 90, 22, 41], Operations: []
Exploring Operation: 90-1=89, Resulting Numbers: [22, 41, 89]
Generated Node #2: [22, 41, 89] from Operation: 90-1=89
Current State: 70:[22, 41, 89], Operations: ['90-1=89']
Exploring Operation: 41-22=19, Resulting Numbers: [89, 19]
Generated Node #3: [89, 19] from Operation: 41-22=19
Current State: 70:[89, 19], Operations: ['90-1=89', '41-22=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[1, 90, 22, 41], Operations: []
Exploring Operation: 22+41=63, Resulting Numbers: [1, 90, 63]
Generated Node #0,0: 70:[1, 90, 63] Operation: 22+41=63
Exploring Operation: 90-22=68, Resulting Numbers: [1, 41, 68]
Generated Node #0,1: 70:[1, 41, 68] Operation: 90-22=68
Exploring Operation: 41-22=19, Resulting Numbers: [1, 90, 19]
Generated Node #0,2: 70:[1, 90, 19] Operation: 41-22=19
Exploring Operation: 90-41=49, Resulting Numbers: [1, 22, 49]
Generated Node #0,3: 70:[1, 22, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[1, 41, 68], Operations: ['90-22=68']
Exploring Operation: 41-1=40, Resulting Numbers: [68, 40]
Generated Node #0,1,0: 70:[68, 40] Operation: 41-1=40
Exploring Operation: 41/1=41, Resulting Numbers: [68, 41]
Generated Node #0,1,1: 70:[68, 41] Operation: 41/1=41
Exploring Operation: 1*41=41, Resulting Numbers: [68, 41]
Generated Node #0,1,2: 70:[68, 41] Operation: 1*41=41
Exploring Operation: 1+68=69, Resulting Numbers: [41, 69]
Generated Node #0,1,3: 70:[41, 69] Operation: 1+68=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[68, 40], Operations: ['90-22=68', '41-1=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,70 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[41, 69], Operations: ['90-22=68', '1+68=69']
Exploring Operation: 41*69=2829, Resulting Numbers: [2829]
2829,70 unequal: No Solution
Exploring Operation: 41+69=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[68, 41], Operations: ['90-22=68', '41/1=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[68, 41], Operations: ['90-22=68', '1*41=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[1, 22, 49], Operations: ['90-41=49']
Exploring Operation: 22+49=71, Resulting Numbers: [1, 71]
Generated Node #0,3,0: 70:[1, 71] Operation: 22+49=71
Exploring Operation: 49-1=48, Resulting Numbers: [22, 48]
Generated Node #0,3,1: 70:[22, 48] Operation: 49-1=48
Exploring Operation: 22-1=21, Resulting Numbers: [49, 21]
Generated Node #0,3,2: 70:[49, 21] Operation: 22-1=21
Exploring Operation: 49-22=27, Resulting Numbers: [1, 27]
Generated Node #0,3,3: 70:[1, 27] Operation: 49-22=27
Moving to Node #0,3,0
Current State: 70:[1, 71], Operations: ['90-41=49', '22+49=71']
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[1, 90, 22, 41], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [1, 22, 49]
Generated Node #0,3: 70:[1, 22, 49] Operation: 90-41=49
Moving to Node #0,3
Current State: 70:[1, 22, 49], Operations: ['90-41=49']
Exploring Operation: 22+49=71, Resulting Numbers: [1, 71]
Generated Node #0,3,0: 70:[1, 71] Operation: 22+49=71
Moving to Node #0,3,0
Current State: 70:[1, 71], Operations: ['90-41=49', '22+49=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
80,
64,
26,
78
] | 45 | [
"80-78=2",
"64+26=90",
"90/2=45"
] | Current State: 45:[80, 64, 26, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [64, 26, 2]
Generated Node #2: [64, 26, 2] from Operation: 80-78=2
Current State: 45:[64, 26, 2], Operations: ['80-78=2']
Exploring Operation: 64+26=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 64+26=90
Current State: 45:[2, 90], Operations: ['80-78=2', '64+26=90']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[80, 64, 26, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [64, 26, 2]
Generated Node #0,0: 45:[64, 26, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 45:[64, 26, 2], Operations: ['80-78=2']
Exploring Operation: 64-26=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 45:[2, 38] Operation: 64-26=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[2, 38], Operations: ['80-78=2', '64-26=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
17,
88,
40
] | 22 | [
"43-17=26",
"88-40=48",
"48-26=22"
] | Current State: 22:[43, 17, 88, 40], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [88, 40, 26]
Generated Node #2: [88, 40, 26] from Operation: 43-17=26
Current State: 22:[88, 40, 26], Operations: ['43-17=26']
Exploring Operation: 88-40=48, Resulting Numbers: [26, 48]
Generated Node #3: [26, 48] from Operation: 88-40=48
Current State: 22:[26, 48], Operations: ['43-17=26', '88-40=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[43, 17, 88, 40], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [17, 40, 45]
Generated Node #0,0: 22:[17, 40, 45] Operation: 88-43=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[17, 40, 45], Operations: ['88-43=45']
Exploring Operation: 45-40=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 22:[17, 5] Operation: 45-40=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[17, 5], Operations: ['88-43=45', '45-40=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[43, 17, 88, 40], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [17, 40, 45]
Generated Node #0,0: 22:[17, 40, 45] Operation: 88-43=45
Moving to Node #0,0
Current State: 22:[17, 40, 45], Operations: ['88-43=45']
Exploring Operation: 45-40=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 22:[17, 5] Operation: 45-40=5
Moving to Node #0,0,0
Current State: 22:[17, 5], Operations: ['88-43=45', '45-40=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
47,
11,
83,
34
] | 36 | [
"11+83=94",
"94/47=2",
"34+2=36"
] | Current State: 36:[47, 11, 83, 34], Operations: []
Exploring Operation: 11+83=94, Resulting Numbers: [47, 34, 94]
Generated Node #2: [47, 34, 94] from Operation: 11+83=94
Current State: 36:[47, 34, 94], Operations: ['11+83=94']
Exploring Operation: 94/47=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 94/47=2
Current State: 36:[34, 2], Operations: ['11+83=94', '94/47=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[47, 11, 83, 34], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [47, 11, 49]
Generated Node #0,0: 36:[47, 11, 49] Operation: 83-34=49
Exploring Operation: 83-47=36, Resulting Numbers: [11, 34, 36]
Generated Node #0,1: 36:[11, 34, 36] Operation: 83-47=36
Moving to Node #0,1
Current State: 36:[11, 34, 36], Operations: ['83-47=36']
Exploring Operation: 36-34=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 36:[11, 2] Operation: 36-34=2
Exploring Operation: 34-11=23, Resulting Numbers: [36, 23]
Generated Node #0,1,1: 36:[36, 23] Operation: 34-11=23
Moving to Node #0,0
Current State: 36:[47, 11, 49], Operations: ['83-34=49']
Exploring Operation: 47-11=36, Resulting Numbers: [49, 36]
Generated Node #0,0,0: 36:[49, 36] Operation: 47-11=36
Exploring Operation: 49-47=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 36:[11, 2] Operation: 49-47=2
Moving to Node #0,1,0
Current State: 36:[11, 2], Operations: ['83-47=36', '36-34=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[11, 2], Operations: ['83-34=49', '49-47=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[36, 23], Operations: ['83-47=36', '34-11=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[49, 36], Operations: ['83-34=49', '47-11=36']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,36 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
27,
65,
3
] | 35 | [
"1*27=27",
"65-3=62",
"62-27=35"
] | Current State: 35:[1, 27, 65, 3], Operations: []
Exploring Operation: 1*27=27, Resulting Numbers: [65, 3, 27]
Generated Node #2: [65, 3, 27] from Operation: 1*27=27
Current State: 35:[65, 3, 27], Operations: ['1*27=27']
Exploring Operation: 65-3=62, Resulting Numbers: [27, 62]
Generated Node #3: [27, 62] from Operation: 65-3=62
Current State: 35:[27, 62], Operations: ['1*27=27', '65-3=62']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[1, 27, 65, 3], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [1, 65, 9]
Generated Node #0,0: 35:[1, 65, 9] Operation: 27/3=9
Exploring Operation: 65-27=38, Resulting Numbers: [1, 3, 38]
Generated Node #0,1: 35:[1, 3, 38] Operation: 65-27=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[1, 3, 38], Operations: ['65-27=38']
Exploring Operation: 1+3=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 35:[38, 4] Operation: 1+3=4
Exploring Operation: 38-1=37, Resulting Numbers: [3, 37]
Generated Node #0,1,1: 35:[3, 37] Operation: 38-1=37
Moving to Node #0,1,0
Current State: 35:[38, 4], Operations: ['65-27=38', '1+3=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[3, 37], Operations: ['65-27=38', '38-1=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,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:[1, 65, 9], Operations: ['27/3=9']
Exploring Operation: 65-9=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 35:[1, 56] Operation: 65-9=56
Exploring Operation: 65-1=64, Resulting Numbers: [9, 64]
Generated Node #0,0,1: 35:[9, 64] Operation: 65-1=64
Moving to Node #0,0,0
Current State: 35:[1, 56], Operations: ['27/3=9', '65-9=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[9, 64], Operations: ['27/3=9', '65-1=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,35 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 |
[
82,
27,
54,
46
] | 59 | [
"54/27=2",
"46/2=23",
"82-23=59"
] | Current State: 59:[82, 27, 54, 46], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [82, 46, 2]
Generated Node #2: [82, 46, 2] from Operation: 54/27=2
Current State: 59:[82, 46, 2], Operations: ['54/27=2']
Exploring Operation: 46/2=23, Resulting Numbers: [82, 23]
Generated Node #3: [82, 23] from Operation: 46/2=23
Current State: 59:[82, 23], Operations: ['54/27=2', '46/2=23']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[82, 27, 54, 46], Operations: []
Exploring Operation: 82+27=109, Resulting Numbers: [54, 46, 109]
Generated Node #0,0: 59:[54, 46, 109] Operation: 82+27=109
Exploring Operation: 82-27=55, Resulting Numbers: [54, 46, 55]
Generated Node #0,1: 59:[54, 46, 55] Operation: 82-27=55
Exploring Operation: 27+46=73, Resulting Numbers: [82, 54, 73]
Generated Node #0,2: 59:[82, 54, 73] Operation: 27+46=73
Exploring Operation: 27+54=81, Resulting Numbers: [82, 46, 81]
Generated Node #0,3: 59:[82, 46, 81] Operation: 27+54=81
Exploring Operation: 82-46=36, Resulting Numbers: [27, 54, 36]
Generated Node #0,4: 59:[27, 54, 36] Operation: 82-46=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[54, 46, 55], Operations: ['82-27=55']
Exploring Operation: 54+46=100, Resulting Numbers: [55, 100]
Generated Node #0,1,0: 59:[55, 100] Operation: 54+46=100
Exploring Operation: 54+55=109, Resulting Numbers: [46, 109]
Generated Node #0,1,1: 59:[46, 109] Operation: 54+55=109
Exploring Operation: 46+55=101, Resulting Numbers: [54, 101]
Generated Node #0,1,2: 59:[54, 101] Operation: 46+55=101
Exploring Operation: 55-46=9, Resulting Numbers: [54, 9]
Generated Node #0,1,3: 59:[54, 9] Operation: 55-46=9
Exploring Operation: 54-46=8, Resulting Numbers: [55, 8]
Generated Node #0,1,4: 59:[55, 8] Operation: 54-46=8
Moving to Node #0,1,0
Current State: 59:[55, 100], Operations: ['82-27=55', '54+46=100']
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Exploring Operation: 55*100=5500, Resulting Numbers: [5500]
5500,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[54, 101], Operations: ['82-27=55', '46+55=101']
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,59 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[54, 9], Operations: ['82-27=55', '55-46=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,59 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,59 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[55, 8], Operations: ['82-27=55', '54-46=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,59 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[46, 109], Operations: ['82-27=55', '54+55=109']
Exploring Operation: 46+109=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Exploring Operation: 46*109=5014, Resulting Numbers: [5014]
5014,59 unequal: No Solution
Exploring Operation: 109-46=63, Resulting Numbers: [63]
63,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,2
Current State: 59:[82, 54, 73], Operations: ['27+46=73']
Exploring Operation: 82-73=9, Resulting Numbers: [54, 9]
Generated Node #0,2,0: 59:[54, 9] Operation: 82-73=9
Exploring Operation: 73-54=19, Resulting Numbers: [82, 19]
Generated Node #0,2,1: 59:[82, 19] Operation: 73-54=19
Exploring Operation: 82-54=28, Resulting Numbers: [73, 28]
Generated Node #0,2,2: 59:[73, 28] Operation: 82-54=28
Exploring Operation: 54+73=127, Resulting Numbers: [82, 127]
Generated Node #0,2,3: 59:[82, 127] Operation: 54+73=127
Exploring Operation: 82+54=136, Resulting Numbers: [73, 136]
Generated Node #0,2,4: 59:[73, 136] Operation: 82+54=136
Moving to Node #0,2,2
Current State: 59:[73, 28], Operations: ['27+46=73', '82-54=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,59 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[54, 9], Operations: ['27+46=73', '82-73=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,59 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[82, 19], Operations: ['27+46=73', '73-54=19']
Exploring Operation: 82*19=1558, Resulting Numbers: [1558]
1558,59 unequal: No Solution
Exploring Operation: 82+19=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[82, 127], Operations: ['27+46=73', '54+73=127']
Exploring Operation: 82+127=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 127-82=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 82*127=10414, Resulting Numbers: [10414]
10414,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[73, 136], Operations: ['27+46=73', '82+54=136']
Exploring Operation: 136-73=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 73*136=9928, Resulting Numbers: [9928]
9928,59 unequal: No Solution
Exploring Operation: 73+136=209, Resulting Numbers: [209]
209,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,3
Current State: 59:[82, 46, 81], Operations: ['27+54=81']
Exploring Operation: 82-46=36, Resulting Numbers: [81, 36]
Generated Node #0,3,0: 59:[81, 36] Operation: 82-46=36
Exploring Operation: 46+81=127, Resulting Numbers: [82, 127]
Generated Node #0,3,1: 59:[82, 127] Operation: 46+81=127
Exploring Operation: 82+46=128, Resulting Numbers: [81, 128]
Generated Node #0,3,2: 59:[81, 128] Operation: 82+46=128
Exploring Operation: 82-81=1, Resulting Numbers: [46, 1]
Generated Node #0,3,3: 59:[46, 1] Operation: 82-81=1
Exploring Operation: 81-46=35, Resulting Numbers: [82, 35]
Generated Node #0,3,4: 59:[82, 35] Operation: 81-46=35
Moving to Node #0,3,0
Current State: 59:[81, 36], Operations: ['27+54=81', '82-46=36']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[82, 35], Operations: ['27+54=81', '81-46=35']
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[46, 1], Operations: ['27+54=81', '82-81=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[82, 127], Operations: ['27+54=81', '46+81=127']
Exploring Operation: 127-82=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 82+127=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 82*127=10414, Resulting Numbers: [10414]
10414,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[81, 128], Operations: ['27+54=81', '82+46=128']
Exploring Operation: 128-81=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 81*128=10368, Resulting Numbers: [10368]
10368,59 unequal: No Solution
Exploring Operation: 81+128=209, Resulting Numbers: [209]
209,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,4
Current State: 59:[27, 54, 36], Operations: ['82-46=36']
Exploring Operation: 54-27=27, Resulting Numbers: [36, 27]
Generated Node #0,4,0: 59:[36, 27] Operation: 54-27=27
Exploring Operation: 27+54=81, Resulting Numbers: [36, 81]
Generated Node #0,4,1: 59:[36, 81] Operation: 27+54=81
Exploring Operation: 27+36=63, Resulting Numbers: [54, 63]
Generated Node #0,4,2: 59:[54, 63] Operation: 27+36=63
Exploring Operation: 36-27=9, Resulting Numbers: [54, 9]
Generated Node #0,4,3: 59:[54, 9] Operation: 36-27=9
Exploring Operation: 54+36=90, Resulting Numbers: [27, 90]
Generated Node #0,4,4: 59:[27, 90] Operation: 54+36=90
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[54, 63], Operations: ['82-46=36', '27+36=63']
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,59 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,59 unequal: No Solution
No 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: 59:[36, 81], Operations: ['82-46=36', '27+54=81']
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,59 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No 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: 59:[36, 27], Operations: ['82-46=36', '54-27=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,59 unequal: No Solution
No 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: 59:[54, 9], Operations: ['82-46=36', '36-27=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,59 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,59 unequal: No Solution
No 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: 59:[27, 90], Operations: ['82-46=36', '54+36=90']
Exploring Operation: 27+90=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 27*90=2430, Resulting Numbers: [2430]
2430,59 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,59 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: 59:[54, 46, 109], Operations: ['82+27=109']
Exploring Operation: 109-54=55, Resulting Numbers: [46, 55]
Generated Node #0,0,0: 59:[46, 55] Operation: 109-54=55
Exploring Operation: 46+109=155, Resulting Numbers: [54, 155]
Generated Node #0,0,1: 59:[54, 155] Operation: 46+109=155
Exploring Operation: 54+46=100, Resulting Numbers: [109, 100]
Generated Node #0,0,2: 59:[109, 100] Operation: 54+46=100
Exploring Operation: 54-46=8, Resulting Numbers: [109, 8]
Generated Node #0,0,3: 59:[109, 8] Operation: 54-46=8
Exploring Operation: 109-46=63, Resulting Numbers: [54, 63]
Generated Node #0,0,4: 59:[54, 63] Operation: 109-46=63
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 59:[54, 63], Operations: ['82+27=109', '109-46=63']
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,59 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,59 unequal: No Solution
No 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: 59:[46, 55], Operations: ['82+27=109', '109-54=55']
Exploring Operation: 46*55=2530, Resulting Numbers: [2530]
2530,59 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No 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: 59:[109, 100], Operations: ['82+27=109', '54+46=100']
Exploring Operation: 109+100=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 109*100=10900, Resulting Numbers: [10900]
10900,59 unequal: No Solution
Exploring Operation: 109-100=9, Resulting Numbers: [9]
9,59 unequal: No Solution
No 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: 59:[54, 155], Operations: ['82+27=109', '46+109=155']
Exploring Operation: 54*155=8370, Resulting Numbers: [8370]
8370,59 unequal: No Solution
Exploring Operation: 54+155=209, Resulting Numbers: [209]
209,59 unequal: No Solution
Exploring Operation: 155-54=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No 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: 59:[109, 8], Operations: ['82+27=109', '54-46=8']
Exploring Operation: 109-8=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 109*8=872, Resulting Numbers: [872]
872,59 unequal: No Solution
Exploring Operation: 109+8=117, Resulting Numbers: [117]
117,59 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 |
[
78,
10,
17,
49
] | 85 | [
"17-10=7",
"49/7=7",
"78+7=85"
] | Current State: 85:[78, 10, 17, 49], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [78, 49, 7]
Generated Node #2: [78, 49, 7] from Operation: 17-10=7
Current State: 85:[78, 49, 7], Operations: ['17-10=7']
Exploring Operation: 49/7=7, Resulting Numbers: [78, 7]
Generated Node #3: [78, 7] from Operation: 49/7=7
Current State: 85:[78, 7], Operations: ['17-10=7', '49/7=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[78, 10, 17, 49], Operations: []
Exploring Operation: 49-10=39, Resulting Numbers: [78, 17, 39]
Generated Node #0,0: 85:[78, 17, 39] Operation: 49-10=39
Exploring Operation: 49-17=32, Resulting Numbers: [78, 10, 32]
Generated Node #0,1: 85:[78, 10, 32] Operation: 49-17=32
Exploring Operation: 78-49=29, Resulting Numbers: [10, 17, 29]
Generated Node #0,2: 85:[10, 17, 29] Operation: 78-49=29
Moving to Node #0,2
Current State: 85:[10, 17, 29], Operations: ['78-49=29']
Exploring Operation: 29-10=19, Resulting Numbers: [17, 19]
Generated Node #0,2,0: 85:[17, 19] Operation: 29-10=19
Exploring Operation: 17-10=7, Resulting Numbers: [29, 7]
Generated Node #0,2,1: 85:[29, 7] Operation: 17-10=7
Exploring Operation: 29-17=12, Resulting Numbers: [10, 12]
Generated Node #0,2,2: 85:[10, 12] Operation: 29-17=12
Moving to Node #0,1
Current State: 85:[78, 10, 32], Operations: ['49-17=32']
Exploring Operation: 32-10=22, Resulting Numbers: [78, 22]
Generated Node #0,1,0: 85:[78, 22] Operation: 32-10=22
Exploring Operation: 78+10=88, Resulting Numbers: [32, 88]
Generated Node #0,1,1: 85:[32, 88] Operation: 78+10=88
Exploring Operation: 78+32=110, Resulting Numbers: [10, 110]
Generated Node #0,1,2: 85:[10, 110] Operation: 78+32=110
Moving to Node #0,0
Current State: 85:[78, 17, 39], Operations: ['49-10=39']
Exploring Operation: 78/39=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 85:[17, 2] Operation: 78/39=2
Exploring Operation: 39-17=22, Resulting Numbers: [78, 22]
Generated Node #0,0,1: 85:[78, 22] Operation: 39-17=22
Exploring Operation: 78-39=39, Resulting Numbers: [17, 39]
Generated Node #0,0,2: 85:[17, 39] Operation: 78-39=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[17, 2], Operations: ['49-10=39', '78/39=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[78, 22], Operations: ['49-10=39', '39-17=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,85 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[17, 39], Operations: ['49-10=39', '78-39=39']
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,85 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,85 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: 85:[17, 19], Operations: ['78-49=29', '29-10=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[10, 12], Operations: ['78-49=29', '29-17=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[78, 22], Operations: ['49-17=32', '32-10=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,85 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[29, 7], Operations: ['78-49=29', '17-10=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,85 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[32, 88], Operations: ['49-17=32', '78+10=88']
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,85 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[10, 110], Operations: ['49-17=32', '78+32=110']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 10+110=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
60,
56,
5
] | 69 | [
"13*5=65",
"60-56=4",
"65+4=69"
] | Current State: 69:[13, 60, 56, 5], Operations: []
Exploring Operation: 13*5=65, Resulting Numbers: [60, 56, 65]
Generated Node #2: [60, 56, 65] from Operation: 13*5=65
Current State: 69:[60, 56, 65], Operations: ['13*5=65']
Exploring Operation: 60-56=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 60-56=4
Current State: 69:[65, 4], Operations: ['13*5=65', '60-56=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[13, 60, 56, 5], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [13, 5, 4]
Generated Node #0,0: 69:[13, 5, 4] Operation: 60-56=4
Exploring Operation: 13+56=69, Resulting Numbers: [60, 5, 69]
Generated Node #0,1: 69:[60, 5, 69] Operation: 13+56=69
Moving to Node #0,1
Current State: 69:[60, 5, 69], Operations: ['13+56=69']
Exploring Operation: 60+5=65, Resulting Numbers: [69, 65]
Generated Node #0,1,0: 69:[69, 65] Operation: 60+5=65
Exploring Operation: 69-60=9, Resulting Numbers: [5, 9]
Generated Node #0,1,1: 69:[5, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 69:[13, 5, 4], Operations: ['60-56=4']
Exploring Operation: 13*5=65, Resulting Numbers: [4, 65]
Generated Node #0,0,0: 69:[4, 65] Operation: 13*5=65
Exploring Operation: 13+5=18, Resulting Numbers: [4, 18]
Generated Node #0,0,1: 69:[4, 18] Operation: 13+5=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[4, 65], Operations: ['60-56=4', '13*5=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[13, 60, 56, 5], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [13, 5, 4]
Generated Node #0,0: 69:[13, 5, 4] Operation: 60-56=4
Moving to Node #0,0
Current State: 69:[13, 5, 4], Operations: ['60-56=4']
Exploring Operation: 13*5=65, Resulting Numbers: [4, 65]
Generated Node #0,0,0: 69:[4, 65] Operation: 13*5=65
Moving to Node #0,0,0
Current State: 69:[4, 65], Operations: ['60-56=4', '13*5=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
5,
7,
43,
52
] | 97 | [
"7-5=2",
"43+52=95",
"2+95=97"
] | Current State: 97:[5, 7, 43, 52], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [43, 52, 2]
Generated Node #2: [43, 52, 2] from Operation: 7-5=2
Current State: 97:[43, 52, 2], Operations: ['7-5=2']
Exploring Operation: 43+52=95, Resulting Numbers: [2, 95]
Generated Node #3: [2, 95] from Operation: 43+52=95
Current State: 97:[2, 95], Operations: ['7-5=2', '43+52=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[5, 7, 43, 52], Operations: []
Exploring Operation: 5+52=57, Resulting Numbers: [7, 43, 57]
Generated Node #0,0: 97:[7, 43, 57] Operation: 5+52=57
Exploring Operation: 5+7=12, Resulting Numbers: [43, 52, 12]
Generated Node #0,1: 97:[43, 52, 12] Operation: 5+7=12
Exploring Operation: 5+43=48, Resulting Numbers: [7, 52, 48]
Generated Node #0,2: 97:[7, 52, 48] Operation: 5+43=48
Exploring Operation: 5*7=35, Resulting Numbers: [43, 52, 35]
Generated Node #0,3: 97:[43, 52, 35] Operation: 5*7=35
Exploring Operation: 7+43=50, Resulting Numbers: [5, 52, 50]
Generated Node #0,4: 97:[5, 52, 50] Operation: 7+43=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[43, 52, 35], Operations: ['5*7=35']
Exploring Operation: 52-35=17, Resulting Numbers: [43, 17]
Generated Node #0,3,0: 97:[43, 17] Operation: 52-35=17
Exploring Operation: 43-35=8, Resulting Numbers: [52, 8]
Generated Node #0,3,1: 97:[52, 8] Operation: 43-35=8
Exploring Operation: 52+35=87, Resulting Numbers: [43, 87]
Generated Node #0,3,2: 97:[43, 87] Operation: 52+35=87
Exploring Operation: 43+35=78, Resulting Numbers: [52, 78]
Generated Node #0,3,3: 97:[52, 78] Operation: 43+35=78
Exploring Operation: 43+52=95, Resulting Numbers: [35, 95]
Generated Node #0,3,4: 97:[35, 95] Operation: 43+52=95
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[43, 87], Operations: ['5*7=35', '52+35=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,97 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[52, 78], Operations: ['5*7=35', '43+35=78']
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,97 unequal: No Solution
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 97:[35, 95], Operations: ['5*7=35', '43+52=95']
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,97 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[43, 17], Operations: ['5*7=35', '52-35=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,97 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[52, 8], Operations: ['5*7=35', '43-35=8']
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,97 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[7, 43, 57], Operations: ['5+52=57']
Exploring Operation: 43+57=100, Resulting Numbers: [7, 100]
Generated Node #0,0,0: 97:[7, 100] Operation: 43+57=100
Exploring Operation: 43-7=36, Resulting Numbers: [57, 36]
Generated Node #0,0,1: 97:[57, 36] Operation: 43-7=36
Exploring Operation: 7+57=64, Resulting Numbers: [43, 64]
Generated Node #0,0,2: 97:[43, 64] Operation: 7+57=64
Exploring Operation: 7+43=50, Resulting Numbers: [57, 50]
Generated Node #0,0,3: 97:[57, 50] Operation: 7+43=50
Exploring Operation: 57-7=50, Resulting Numbers: [43, 50]
Generated Node #0,0,4: 97:[43, 50] Operation: 57-7=50
Moving to Node #0,0,2
Current State: 97:[43, 64], Operations: ['5+52=57', '7+57=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,97 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[57, 50], Operations: ['5+52=57', '7+43=50']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,97 unequal: No Solution
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[7, 100], Operations: ['5+52=57', '43+57=100']
Exploring Operation: 7+100=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 7*100=700, Resulting Numbers: [700]
700,97 unequal: No Solution
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[57, 36], Operations: ['5+52=57', '43-7=36']
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,97 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,97 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[43, 50], Operations: ['5+52=57', '57-7=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[43, 52, 12], Operations: ['5+7=12']
Exploring Operation: 43-12=31, Resulting Numbers: [52, 31]
Generated Node #0,1,0: 97:[52, 31] Operation: 43-12=31
Exploring Operation: 52+12=64, Resulting Numbers: [43, 64]
Generated Node #0,1,1: 97:[43, 64] Operation: 52+12=64
Exploring Operation: 43+52=95, Resulting Numbers: [12, 95]
Generated Node #0,1,2: 97:[12, 95] Operation: 43+52=95
Exploring Operation: 43+12=55, Resulting Numbers: [52, 55]
Generated Node #0,1,3: 97:[52, 55] Operation: 43+12=55
Exploring Operation: 52-12=40, Resulting Numbers: [43, 40]
Generated Node #0,1,4: 97:[43, 40] Operation: 52-12=40
Moving to Node #0,1,1
Current State: 97:[43, 64], Operations: ['5+7=12', '52+12=64']
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,97 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,97 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[52, 55], Operations: ['5+7=12', '43+12=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[12, 95], Operations: ['5+7=12', '43+52=95']
Exploring Operation: 12*95=1140, Resulting Numbers: [1140]
1140,97 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 12+95=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[52, 31], Operations: ['5+7=12', '43-12=31']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,97 unequal: No Solution
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[43, 40], Operations: ['5+7=12', '52-12=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,97 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[7, 52, 48], Operations: ['5+43=48']
Exploring Operation: 52+48=100, Resulting Numbers: [7, 100]
Generated Node #0,2,0: 97:[7, 100] Operation: 52+48=100
Exploring Operation: 7+48=55, Resulting Numbers: [52, 55]
Generated Node #0,2,1: 97:[52, 55] Operation: 7+48=55
Exploring Operation: 52-7=45, Resulting Numbers: [48, 45]
Generated Node #0,2,2: 97:[48, 45] Operation: 52-7=45
Exploring Operation: 48-7=41, Resulting Numbers: [52, 41]
Generated Node #0,2,3: 97:[52, 41] Operation: 48-7=41
Exploring Operation: 7+52=59, Resulting Numbers: [48, 59]
Generated Node #0,2,4: 97:[48, 59] Operation: 7+52=59
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[52, 55], Operations: ['5+43=48', '7+48=55']
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 97:[48, 59], Operations: ['5+43=48', '7+52=59']
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,97 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[7, 100], Operations: ['5+43=48', '52+48=100']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 7+100=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 7*100=700, Resulting Numbers: [700]
700,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[48, 45], Operations: ['5+43=48', '52-7=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[52, 41], Operations: ['5+43=48', '48-7=41']
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,97 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[5, 52, 50], Operations: ['7+43=50']
Exploring Operation: 50-5=45, Resulting Numbers: [52, 45]
Generated Node #0,4,0: 97:[52, 45] Operation: 50-5=45
Exploring Operation: 52-5=47, Resulting Numbers: [50, 47]
Generated Node #0,4,1: 97:[50, 47] Operation: 52-5=47
Exploring Operation: 5+50=55, Resulting Numbers: [52, 55]
Generated Node #0,4,2: 97:[52, 55] Operation: 5+50=55
Exploring Operation: 5+52=57, Resulting Numbers: [50, 57]
Generated Node #0,4,3: 97:[50, 57] Operation: 5+52=57
Exploring Operation: 52+50=102, Resulting Numbers: [5, 102]
Generated Node #0,4,4: 97:[5, 102] Operation: 52+50=102
Moving to Node #0,4,2
Current State: 97:[52, 55], Operations: ['7+43=50', '5+50=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[50, 57], Operations: ['7+43=50', '5+52=57']
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,97 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[52, 45], Operations: ['7+43=50', '50-5=45']
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[5, 7, 43, 52], Operations: []
Exploring Operation: 7+43=50, Resulting Numbers: [5, 52, 50]
Generated Node #0,4: 97:[5, 52, 50] Operation: 7+43=50
Moving to Node #0,4
Current State: 97:[5, 52, 50], Operations: ['7+43=50']
Exploring Operation: 50-5=45, Resulting Numbers: [52, 45]
Generated Node #0,4,0: 97:[52, 45] Operation: 50-5=45
Moving to Node #0,4,0
Current State: 97:[52, 45], Operations: ['7+43=50', '50-5=45']
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.912326 | hs_5 | sum_heuristic |
[
25,
2,
48,
76
] | 87 | [
"48+76=124",
"124/2=62",
"25+62=87"
] | Current State: 87:[25, 2, 48, 76], Operations: []
Exploring Operation: 48+76=124, Resulting Numbers: [25, 2, 124]
Generated Node #2: [25, 2, 124] from Operation: 48+76=124
Current State: 87:[25, 2, 124], Operations: ['48+76=124']
Exploring Operation: 124/2=62, Resulting Numbers: [25, 62]
Generated Node #3: [25, 62] from Operation: 124/2=62
Current State: 87:[25, 62], Operations: ['48+76=124', '124/2=62']
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[25, 2, 48, 76], Operations: []
Exploring Operation: 2*48=96, Resulting Numbers: [25, 76, 96]
Generated Node #0,0: 87:[25, 76, 96] Operation: 2*48=96
Exploring Operation: 48/2=24, Resulting Numbers: [25, 76, 24]
Generated Node #0,1: 87:[25, 76, 24] Operation: 48/2=24
Exploring Operation: 48-25=23, Resulting Numbers: [2, 76, 23]
Generated Node #0,2: 87:[2, 76, 23] Operation: 48-25=23
Exploring Operation: 25+48=73, Resulting Numbers: [2, 76, 73]
Generated Node #0,3: 87:[2, 76, 73] Operation: 25+48=73
Exploring Operation: 76-48=28, Resulting Numbers: [25, 2, 28]
Generated Node #0,4: 87:[25, 2, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[25, 2, 28], Operations: ['76-48=28']
Exploring Operation: 28-2=26, Resulting Numbers: [25, 26]
Generated Node #0,4,0: 87:[25, 26] Operation: 28-2=26
Exploring Operation: 2+28=30, Resulting Numbers: [25, 30]
Generated Node #0,4,1: 87:[25, 30] Operation: 2+28=30
Exploring Operation: 28-25=3, Resulting Numbers: [2, 3]
Generated Node #0,4,2: 87:[2, 3] Operation: 28-25=3
Exploring Operation: 25+2=27, Resulting Numbers: [28, 27]
Generated Node #0,4,3: 87:[28, 27] Operation: 25+2=27
Exploring Operation: 25-2=23, Resulting Numbers: [28, 23]
Generated Node #0,4,4: 87:[28, 23] Operation: 25-2=23
Moving to Node #0,4,2
Current State: 87:[2, 3], Operations: ['76-48=28', '28-25=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[28, 27], Operations: ['76-48=28', '25+2=27']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[25, 30], Operations: ['76-48=28', '2+28=30']
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,87 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[25, 26], Operations: ['76-48=28', '28-2=26']
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[28, 23], Operations: ['76-48=28', '25-2=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,87 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[2, 76, 23], Operations: ['48-25=23']
Exploring Operation: 76+23=99, Resulting Numbers: [2, 99]
Generated Node #0,2,0: 87:[2, 99] Operation: 76+23=99
Exploring Operation: 2+23=25, Resulting Numbers: [76, 25]
Generated Node #0,2,1: 87:[76, 25] Operation: 2+23=25
Exploring Operation: 2+76=78, Resulting Numbers: [23, 78]
Generated Node #0,2,2: 87:[23, 78] Operation: 2+76=78
Exploring Operation: 76/2=38, Resulting Numbers: [23, 38]
Generated Node #0,2,3: 87:[23, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [23, 74]
Generated Node #0,2,4: 87:[23, 74] Operation: 76-2=74
Moving to Node #0,2,0
Current State: 87:[2, 99], Operations: ['48-25=23', '76+23=99']
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[23, 78], Operations: ['48-25=23', '2+76=78']
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,87 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[76, 25], Operations: ['48-25=23', '2+23=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[23, 38], Operations: ['48-25=23', '76/2=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,87 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[23, 74], Operations: ['48-25=23', '76-2=74']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 23*74=1702, Resulting Numbers: [1702]
1702,87 unequal: No Solution
Exploring Operation: 23+74=97, Resulting Numbers: [97]
97,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[25, 76, 24], Operations: ['48/2=24']
Exploring Operation: 76-24=52, Resulting Numbers: [25, 52]
Generated Node #0,1,0: 87:[25, 52] Operation: 76-24=52
Exploring Operation: 25+76=101, Resulting Numbers: [24, 101]
Generated Node #0,1,1: 87:[24, 101] Operation: 25+76=101
Exploring Operation: 25-24=1, Resulting Numbers: [76, 1]
Generated Node #0,1,2: 87:[76, 1] Operation: 25-24=1
Exploring Operation: 76-25=51, Resulting Numbers: [24, 51]
Generated Node #0,1,3: 87:[24, 51] Operation: 76-25=51
Exploring Operation: 76+24=100, Resulting Numbers: [25, 100]
Generated Node #0,1,4: 87:[25, 100] Operation: 76+24=100
Moving to Node #0,1,2
Current State: 87:[76, 1], Operations: ['48/2=24', '25-24=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[25, 100], Operations: ['48/2=24', '76+24=100']
Exploring Operation: 25*100=2500, Resulting Numbers: [2500]
2500,87 unequal: No Solution
Exploring Operation: 25+100=125, Resulting Numbers: [125]
125,87 unequal: No Solution
Exploring Operation: 100/25=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 100-25=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[24, 101], Operations: ['48/2=24', '25+76=101']
Exploring Operation: 24*101=2424, Resulting Numbers: [2424]
2424,87 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 24+101=125, Resulting Numbers: [125]
125,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[25, 52], Operations: ['48/2=24', '76-24=52']
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,87 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[24, 51], Operations: ['48/2=24', '76-25=51']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,87 unequal: No Solution
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[25, 76, 96], Operations: ['2*48=96']
Exploring Operation: 96-76=20, Resulting Numbers: [25, 20]
Generated Node #0,0,0: 87:[25, 20] Operation: 96-76=20
Exploring Operation: 76-25=51, Resulting Numbers: [96, 51]
Generated Node #0,0,1: 87:[96, 51] Operation: 76-25=51
Exploring Operation: 96-25=71, Resulting Numbers: [76, 71]
Generated Node #0,0,2: 87:[76, 71] Operation: 96-25=71
Exploring Operation: 25+76=101, Resulting Numbers: [96, 101]
Generated Node #0,0,3: 87:[96, 101] Operation: 25+76=101
Exploring Operation: 25+96=121, Resulting Numbers: [76, 121]
Generated Node #0,0,4: 87:[76, 121] Operation: 25+96=121
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[25, 20], Operations: ['2*48=96', '96-76=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,87 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[96, 101], Operations: ['2*48=96', '25+76=101']
Exploring Operation: 101-96=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 96*101=9696, Resulting Numbers: [9696]
9696,87 unequal: No Solution
Exploring Operation: 96+101=197, Resulting Numbers: [197]
197,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[76, 71], Operations: ['2*48=96', '96-25=71']
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,87 unequal: No Solution
Exploring Operation: 76*71=5396, Resulting Numbers: [5396]
5396,87 unequal: No Solution
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[96, 51], Operations: ['2*48=96', '76-25=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,87 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,87 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 87:[76, 121], Operations: ['2*48=96', '25+96=121']
Exploring Operation: 76+121=197, Resulting Numbers: [197]
197,87 unequal: No Solution
Exploring Operation: 76*121=9196, Resulting Numbers: [9196]
9196,87 unequal: No Solution
Exploring Operation: 121-76=45, Resulting Numbers: [45]
45,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[2, 76, 73], Operations: ['25+48=73']
Exploring Operation: 76-2=74, Resulting Numbers: [73, 74]
Generated Node #0,3,0: 87:[73, 74] Operation: 76-2=74
Exploring Operation: 76-73=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 87:[2, 3] Operation: 76-73=3
Exploring Operation: 76/2=38, Resulting Numbers: [73, 38]
Generated Node #0,3,2: 87:[73, 38] Operation: 76/2=38
Exploring Operation: 2+73=75, Resulting Numbers: [76, 75]
Generated Node #0,3,3: 87:[76, 75] Operation: 2+73=75
Exploring Operation: 2+76=78, Resulting Numbers: [73, 78]
Generated Node #0,3,4: 87:[73, 78] Operation: 2+76=78
Moving to Node #0,3,1
Current State: 87:[2, 3], Operations: ['25+48=73', '76-73=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[76, 75], Operations: ['25+48=73', '2+73=75']
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[73, 38], Operations: ['25+48=73', '76/2=38']
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,87 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[73, 78], Operations: ['25+48=73', '2+76=78']
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 73*78=5694, Resulting Numbers: [5694]
5694,87 unequal: No Solution
Exploring Operation: 73+78=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[73, 74], Operations: ['25+48=73', '76-2=74']
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,87 unequal: No Solution
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,87 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
33,
61,
73
] | 100 | [
"61+73=134",
"134/2=67",
"33+67=100"
] | Current State: 100:[2, 33, 61, 73], Operations: []
Exploring Operation: 61+73=134, Resulting Numbers: [2, 33, 134]
Generated Node #2: [2, 33, 134] from Operation: 61+73=134
Current State: 100:[2, 33, 134], Operations: ['61+73=134']
Exploring Operation: 134/2=67, Resulting Numbers: [33, 67]
Generated Node #3: [33, 67] from Operation: 134/2=67
Current State: 100:[33, 67], Operations: ['61+73=134', '134/2=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[2, 33, 61, 73], Operations: []
Exploring Operation: 33+73=106, Resulting Numbers: [2, 61, 106]
Generated Node #0,0: 100:[2, 61, 106] Operation: 33+73=106
Exploring Operation: 73-61=12, Resulting Numbers: [2, 33, 12]
Generated Node #0,1: 100:[2, 33, 12] Operation: 73-61=12
Exploring Operation: 73-33=40, Resulting Numbers: [2, 61, 40]
Generated Node #0,2: 100:[2, 61, 40] Operation: 73-33=40
Exploring Operation: 33+61=94, Resulting Numbers: [2, 73, 94]
Generated Node #0,3: 100:[2, 73, 94] Operation: 33+61=94
Exploring Operation: 61-33=28, Resulting Numbers: [2, 73, 28]
Generated Node #0,4: 100:[2, 73, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[2, 33, 12], Operations: ['73-61=12']
Exploring Operation: 33+12=45, Resulting Numbers: [2, 45]
Generated Node #0,1,0: 100:[2, 45] Operation: 33+12=45
Exploring Operation: 12-2=10, Resulting Numbers: [33, 10]
Generated Node #0,1,1: 100:[33, 10] Operation: 12-2=10
Exploring Operation: 2*12=24, Resulting Numbers: [33, 24]
Generated Node #0,1,2: 100:[33, 24] Operation: 2*12=24
Exploring Operation: 33-2=31, Resulting Numbers: [12, 31]
Generated Node #0,1,3: 100:[12, 31] Operation: 33-2=31
Exploring Operation: 33-12=21, Resulting Numbers: [2, 21]
Generated Node #0,1,4: 100:[2, 21] Operation: 33-12=21
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 100:[2, 21], Operations: ['73-61=12', '33-12=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[2, 45], Operations: ['73-61=12', '33+12=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[33, 10], Operations: ['73-61=12', '12-2=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,100 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[12, 31], Operations: ['73-61=12', '33-2=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,100 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[33, 24], Operations: ['73-61=12', '2*12=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 61, 106], Operations: ['33+73=106']
Exploring Operation: 2+61=63, Resulting Numbers: [106, 63]
Generated Node #0,0,0: 100:[106, 63] Operation: 2+61=63
Exploring Operation: 106-2=104, Resulting Numbers: [61, 104]
Generated Node #0,0,1: 100:[61, 104] Operation: 106-2=104
Exploring Operation: 106-61=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 100:[2, 45] Operation: 106-61=45
Exploring Operation: 61-2=59, Resulting Numbers: [106, 59]
Generated Node #0,0,3: 100:[106, 59] Operation: 61-2=59
Exploring Operation: 106/2=53, Resulting Numbers: [61, 53]
Generated Node #0,0,4: 100:[61, 53] Operation: 106/2=53
Moving to Node #0,0,2
Current State: 100:[2, 45], Operations: ['33+73=106', '106-61=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[61, 53], Operations: ['33+73=106', '106/2=53']
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 61*53=3233, Resulting Numbers: [3233]
3233,100 unequal: No Solution
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[61, 104], Operations: ['33+73=106', '106-2=104']
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 61*104=6344, Resulting Numbers: [6344]
6344,100 unequal: No Solution
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[106, 59], Operations: ['33+73=106', '61-2=59']
Exploring Operation: 106+59=165, Resulting Numbers: [165]
165,100 unequal: No Solution
Exploring Operation: 106-59=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 106*59=6254, Resulting Numbers: [6254]
6254,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[106, 63], Operations: ['33+73=106', '2+61=63']
Exploring Operation: 106+63=169, Resulting Numbers: [169]
169,100 unequal: No Solution
Exploring Operation: 106-63=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 106*63=6678, Resulting Numbers: [6678]
6678,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[2, 61, 40], Operations: ['73-33=40']
Exploring Operation: 61-2=59, Resulting Numbers: [40, 59]
Generated Node #0,2,0: 100:[40, 59] Operation: 61-2=59
Exploring Operation: 2+40=42, Resulting Numbers: [61, 42]
Generated Node #0,2,1: 100:[61, 42] Operation: 2+40=42
Exploring Operation: 61-40=21, Resulting Numbers: [2, 21]
Generated Node #0,2,2: 100:[2, 21] Operation: 61-40=21
Exploring Operation: 40/2=20, Resulting Numbers: [61, 20]
Generated Node #0,2,3: 100:[61, 20] Operation: 40/2=20
Exploring Operation: 61+40=101, Resulting Numbers: [2, 101]
Generated Node #0,2,4: 100:[2, 101] Operation: 61+40=101
Moving to Node #0,2,2
Current State: 100:[2, 21], Operations: ['73-33=40', '61-40=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Moving to Node #0,2,4
Current State: 100:[2, 101], Operations: ['73-33=40', '61+40=101']
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[61, 20], Operations: ['73-33=40', '40/2=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[40, 59], Operations: ['73-33=40', '61-2=59']
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,100 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[61, 42], Operations: ['73-33=40', '2+40=42']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,100 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[2, 73, 28], Operations: ['61-33=28']
Exploring Operation: 28-2=26, Resulting Numbers: [73, 26]
Generated Node #0,4,0: 100:[73, 26] Operation: 28-2=26
Exploring Operation: 73-2=71, Resulting Numbers: [28, 71]
Generated Node #0,4,1: 100:[28, 71] Operation: 73-2=71
Exploring Operation: 73+28=101, Resulting Numbers: [2, 101]
Generated Node #0,4,2: 100:[2, 101] Operation: 73+28=101
Exploring Operation: 28/2=14, Resulting Numbers: [73, 14]
Generated Node #0,4,3: 100:[73, 14] Operation: 28/2=14
Exploring Operation: 73-28=45, Resulting Numbers: [2, 45]
Generated Node #0,4,4: 100:[2, 45] Operation: 73-28=45
Moving to Node #0,4,2
Current State: 100:[2, 101], Operations: ['61-33=28', '73+28=101']
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[2, 45], Operations: ['61-33=28', '73-28=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[73, 26], Operations: ['61-33=28', '28-2=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,100 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[28, 71], Operations: ['61-33=28', '73-2=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,100 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[73, 14], Operations: ['61-33=28', '28/2=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,100 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[2, 73, 94], Operations: ['33+61=94']
Exploring Operation: 94-73=21, Resulting Numbers: [2, 21]
Generated Node #0,3,0: 100:[2, 21] Operation: 94-73=21
Exploring Operation: 2+73=75, Resulting Numbers: [94, 75]
Generated Node #0,3,1: 100:[94, 75] Operation: 2+73=75
Exploring Operation: 73-2=71, Resulting Numbers: [94, 71]
Generated Node #0,3,2: 100:[94, 71] Operation: 73-2=71
Exploring Operation: 94/2=47, Resulting Numbers: [73, 47]
Generated Node #0,3,3: 100:[73, 47] Operation: 94/2=47
Exploring Operation: 2+94=96, Resulting Numbers: [73, 96]
Generated Node #0,3,4: 100:[73, 96] Operation: 2+94=96
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[2, 21], Operations: ['33+61=94', '94-73=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[73, 47], Operations: ['33+61=94', '94/2=47']
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,100 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[94, 71], Operations: ['33+61=94', '73-2=71']
Exploring Operation: 94*71=6674, Resulting Numbers: [6674]
6674,100 unequal: No Solution
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 94+71=165, Resulting Numbers: [165]
165,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 100:[73, 96], Operations: ['33+61=94', '2+94=96']
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,100 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[94, 75], Operations: ['33+61=94', '2+73=75']
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 94+75=169, Resulting Numbers: [169]
169,100 unequal: No Solution
Exploring Operation: 94*75=7050, Resulting Numbers: [7050]
7050,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
92,
64,
79
] | 45 | [
"92-89=3",
"79-64=15",
"3*15=45"
] | Current State: 45:[89, 92, 64, 79], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [64, 79, 3]
Generated Node #2: [64, 79, 3] from Operation: 92-89=3
Current State: 45:[64, 79, 3], Operations: ['92-89=3']
Exploring Operation: 79-64=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 79-64=15
Current State: 45:[3, 15], Operations: ['92-89=3', '79-64=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[89, 92, 64, 79], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [64, 79, 3]
Generated Node #0,0: 45:[64, 79, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 45:[64, 79, 3], Operations: ['92-89=3']
Exploring Operation: 79-64=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 79-64=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['92-89=3', '79-64=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[89, 92, 64, 79], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [64, 79, 3]
Generated Node #0,0: 45:[64, 79, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 45:[64, 79, 3], Operations: ['92-89=3']
Exploring Operation: 79-64=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 79-64=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['92-89=3', '79-64=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
25,
44,
45,
50
] | 25 | [
"50-25=25",
"45-44=1",
"25*1=25"
] | Current State: 25:[25, 44, 45, 50], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [44, 45, 25]
Generated Node #2: [44, 45, 25] from Operation: 50-25=25
Current State: 25:[44, 45, 25], Operations: ['50-25=25']
Exploring Operation: 45-44=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 45-44=1
Current State: 25:[25, 1], Operations: ['50-25=25', '45-44=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 44, 45, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [44, 45, 2]
Generated Node #0,0: 25:[44, 45, 2] Operation: 50/25=2
Exploring Operation: 50-45=5, Resulting Numbers: [25, 44, 5]
Generated Node #0,1: 25:[25, 44, 5] Operation: 50-45=5
Exploring Operation: 45-44=1, Resulting Numbers: [25, 50, 1]
Generated Node #0,2: 25:[25, 50, 1] Operation: 45-44=1
Exploring Operation: 50-25=25, Resulting Numbers: [44, 45, 25]
Generated Node #0,3: 25:[44, 45, 25] Operation: 50-25=25
Exploring Operation: 50-44=6, Resulting Numbers: [25, 45, 6]
Generated Node #0,4: 25:[25, 45, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[25, 44, 5], Operations: ['50-45=5']
Exploring Operation: 25-5=20, Resulting Numbers: [44, 20]
Generated Node #0,1,0: 25:[44, 20] Operation: 25-5=20
Exploring Operation: 25+5=30, Resulting Numbers: [44, 30]
Generated Node #0,1,1: 25:[44, 30] Operation: 25+5=30
Exploring Operation: 44-25=19, Resulting Numbers: [5, 19]
Generated Node #0,1,2: 25:[5, 19] Operation: 44-25=19
Exploring Operation: 44-5=39, Resulting Numbers: [25, 39]
Generated Node #0,1,3: 25:[25, 39] Operation: 44-5=39
Exploring Operation: 25/5=5, Resulting Numbers: [44, 5]
Generated Node #0,1,4: 25:[44, 5] Operation: 25/5=5
Moving to Node #0,1,2
Current State: 25:[5, 19], Operations: ['50-45=5', '44-25=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[25, 39], Operations: ['50-45=5', '44-5=39']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,25 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[44, 5], Operations: ['50-45=5', '25/5=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,25 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[44, 20], Operations: ['50-45=5', '25-5=20']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,25 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[44, 30], Operations: ['50-45=5', '25+5=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,25 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,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:[25, 45, 6], Operations: ['50-44=6']
Exploring Operation: 45-25=20, Resulting Numbers: [6, 20]
Generated Node #0,4,0: 25:[6, 20] Operation: 45-25=20
Exploring Operation: 25-6=19, Resulting Numbers: [45, 19]
Generated Node #0,4,1: 25:[45, 19] Operation: 25-6=19
Exploring Operation: 45-6=39, Resulting Numbers: [25, 39]
Generated Node #0,4,2: 25:[25, 39] Operation: 45-6=39
Exploring Operation: 25+6=31, Resulting Numbers: [45, 31]
Generated Node #0,4,3: 25:[45, 31] Operation: 25+6=31
Exploring Operation: 45+6=51, Resulting Numbers: [25, 51]
Generated Node #0,4,4: 25:[25, 51] Operation: 45+6=51
Moving to Node #0,4,0
Current State: 25:[6, 20], Operations: ['50-44=6', '45-25=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[25, 39], Operations: ['50-44=6', '45-6=39']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[45, 19], Operations: ['50-44=6', '25-6=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,25 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[45, 31], Operations: ['50-44=6', '25+6=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[25, 51], Operations: ['50-44=6', '45+6=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,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:[25, 50, 1], Operations: ['45-44=1']
Exploring Operation: 50-1=49, Resulting Numbers: [25, 49]
Generated Node #0,2,0: 25:[25, 49] Operation: 50-1=49
Exploring Operation: 50-25=25, Resulting Numbers: [1, 25]
Generated Node #0,2,1: 25:[1, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [1, 2]
Generated Node #0,2,2: 25:[1, 2] Operation: 50/25=2
Exploring Operation: 25/1=25, Resulting Numbers: [50, 25]
Generated Node #0,2,3: 25:[50, 25] Operation: 25/1=25
Exploring Operation: 25*1=25, Resulting Numbers: [50, 25]
Generated Node #0,2,4: 25:[50, 25] Operation: 25*1=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[1, 25], Operations: ['45-44=1', '50-25=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[25, 44, 45, 50], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [25, 50, 1]
Generated Node #0,2: 25:[25, 50, 1] Operation: 45-44=1
Moving to Node #0,2
Current State: 25:[25, 50, 1], Operations: ['45-44=1']
Exploring Operation: 50-25=25, Resulting Numbers: [1, 25]
Generated Node #0,2,1: 25:[1, 25] Operation: 50-25=25
Moving to Node #0,2,1
Current State: 25:[1, 25], Operations: ['45-44=1', '50-25=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
74,
18,
36,
1
] | 92 | [
"74-18=56",
"36*1=36",
"56+36=92"
] | Current State: 92:[74, 18, 36, 1], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [36, 1, 56]
Generated Node #2: [36, 1, 56] from Operation: 74-18=56
Current State: 92:[36, 1, 56], Operations: ['74-18=56']
Exploring Operation: 36*1=36, Resulting Numbers: [56, 36]
Generated Node #3: [56, 36] from Operation: 36*1=36
Current State: 92:[56, 36], Operations: ['74-18=56', '36*1=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[74, 18, 36, 1], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [18, 1, 38]
Generated Node #0,0: 92:[18, 1, 38] Operation: 74-36=38
Exploring Operation: 74+18=92, Resulting Numbers: [36, 1, 92]
Generated Node #0,1: 92:[36, 1, 92] Operation: 74+18=92
Moving to Node #0,1
Current State: 92:[36, 1, 92], Operations: ['74+18=92']
Exploring Operation: 36+1=37, Resulting Numbers: [92, 37]
Generated Node #0,1,0: 92:[92, 37] Operation: 36+1=37
Exploring Operation: 36*1=36, Resulting Numbers: [92, 36]
Generated Node #0,1,1: 92:[92, 36] Operation: 36*1=36
Moving to Node #0,0
Current State: 92:[18, 1, 38], Operations: ['74-36=38']
Exploring Operation: 38-18=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 92:[1, 20] Operation: 38-18=20
Exploring Operation: 18+38=56, Resulting Numbers: [1, 56]
Generated Node #0,0,1: 92:[1, 56] Operation: 18+38=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[1, 20], Operations: ['74-36=38', '38-18=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[1, 56], Operations: ['74-36=38', '18+38=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,92 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: 92:[92, 37], Operations: ['74+18=92', '36+1=37']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[92, 36], Operations: ['74+18=92', '36*1=36']
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
73,
19,
21,
83
] | 20 | [
"83-73=10",
"21-19=2",
"10*2=20"
] | Current State: 20:[73, 19, 21, 83], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [19, 21, 10]
Generated Node #2: [19, 21, 10] from Operation: 83-73=10
Current State: 20:[19, 21, 10], Operations: ['83-73=10']
Exploring Operation: 21-19=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 21-19=2
Current State: 20:[10, 2], Operations: ['83-73=10', '21-19=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[73, 19, 21, 83], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [19, 21, 10]
Generated Node #0,0: 20:[19, 21, 10] Operation: 83-73=10
Exploring Operation: 73-21=52, Resulting Numbers: [19, 83, 52]
Generated Node #0,1: 20:[19, 83, 52] Operation: 73-21=52
Exploring Operation: 83-21=62, Resulting Numbers: [73, 19, 62]
Generated Node #0,2: 20:[73, 19, 62] Operation: 83-21=62
Exploring Operation: 73-19=54, Resulting Numbers: [21, 83, 54]
Generated Node #0,3: 20:[21, 83, 54] Operation: 73-19=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[19, 21, 10], Operations: ['83-73=10']
Exploring Operation: 21-10=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 20:[19, 11] Operation: 21-10=11
Exploring Operation: 19-10=9, Resulting Numbers: [21, 9]
Generated Node #0,0,1: 20:[21, 9] Operation: 19-10=9
Exploring Operation: 21-19=2, Resulting Numbers: [10, 2]
Generated Node #0,0,2: 20:[10, 2] Operation: 21-19=2
Exploring Operation: 19+10=29, Resulting Numbers: [21, 29]
Generated Node #0,0,3: 20:[21, 29] Operation: 19+10=29
Moving to Node #0,0,2
Current State: 20:[10, 2], Operations: ['83-73=10', '21-19=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[73, 19, 21, 83], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [19, 21, 10]
Generated Node #0,0: 20:[19, 21, 10] Operation: 83-73=10
Moving to Node #0,0
Current State: 20:[19, 21, 10], Operations: ['83-73=10']
Exploring Operation: 21-19=2, Resulting Numbers: [10, 2]
Generated Node #0,0,2: 20:[10, 2] Operation: 21-19=2
Moving to Node #0,0,2
Current State: 20:[10, 2], Operations: ['83-73=10', '21-19=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
73,
91,
29,
29
] | 17 | [
"91-73=18",
"29/29=1",
"18-1=17"
] | Current State: 17:[73, 91, 29, 29], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [29, 29, 18]
Generated Node #2: [29, 29, 18] from Operation: 91-73=18
Current State: 17:[29, 29, 18], Operations: ['91-73=18']
Exploring Operation: 29/29=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 29/29=1
Current State: 17:[18, 1], Operations: ['91-73=18', '29/29=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[73, 91, 29, 29], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [29, 29, 18]
Generated Node #0,0: 17:[29, 29, 18] Operation: 91-73=18
Exploring Operation: 73-29=44, Resulting Numbers: [91, 29, 44]
Generated Node #0,1: 17:[91, 29, 44] Operation: 73-29=44
Exploring Operation: 91-29=62, Resulting Numbers: [73, 29, 62]
Generated Node #0,2: 17:[73, 29, 62] Operation: 91-29=62
Exploring Operation: 73-29=44, Resulting Numbers: [91, 29, 44]
Generated Node #0,3: 17:[91, 29, 44] Operation: 73-29=44
Moving to Node #0,0
Current State: 17:[29, 29, 18], Operations: ['91-73=18']
Exploring Operation: 29-18=11, Resulting Numbers: [29, 11]
Generated Node #0,0,0: 17:[29, 11] Operation: 29-18=11
Exploring Operation: 29-18=11, Resulting Numbers: [29, 11]
Generated Node #0,0,1: 17:[29, 11] Operation: 29-18=11
Exploring Operation: 29-29=0, Resulting Numbers: [18, 0]
Generated Node #0,0,2: 17:[18, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [18, 1]
Generated Node #0,0,3: 17:[18, 1] Operation: 29/29=1
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[18, 1], Operations: ['91-73=18', '29/29=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[73, 91, 29, 29], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [29, 29, 18]
Generated Node #0,0: 17:[29, 29, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 17:[29, 29, 18], Operations: ['91-73=18']
Exploring Operation: 29/29=1, Resulting Numbers: [18, 1]
Generated Node #0,0,3: 17:[18, 1] Operation: 29/29=1
Moving to Node #0,0,3
Current State: 17:[18, 1], Operations: ['91-73=18', '29/29=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
41,
12,
98,
14
] | 16 | [
"14-12=2",
"41*2=82",
"98-82=16"
] | Current State: 16:[41, 12, 98, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [41, 98, 2]
Generated Node #2: [41, 98, 2] from Operation: 14-12=2
Current State: 16:[41, 98, 2], Operations: ['14-12=2']
Exploring Operation: 41*2=82, Resulting Numbers: [98, 82]
Generated Node #3: [98, 82] from Operation: 41*2=82
Current State: 16:[98, 82], Operations: ['14-12=2', '41*2=82']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[41, 12, 98, 14], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [98, 14, 29]
Generated Node #0,0: 16:[98, 14, 29] Operation: 41-12=29
Exploring Operation: 98-12=86, Resulting Numbers: [41, 14, 86]
Generated Node #0,1: 16:[41, 14, 86] Operation: 98-12=86
Exploring Operation: 41-14=27, Resulting Numbers: [12, 98, 27]
Generated Node #0,2: 16:[12, 98, 27] Operation: 41-14=27
Exploring Operation: 98-41=57, Resulting Numbers: [12, 14, 57]
Generated Node #0,3: 16:[12, 14, 57] Operation: 98-41=57
Exploring Operation: 98/14=7, Resulting Numbers: [41, 12, 7]
Generated Node #0,4: 16:[41, 12, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[41, 12, 7], Operations: ['98/14=7']
Exploring Operation: 41-12=29, Resulting Numbers: [7, 29]
Generated Node #0,4,0: 16:[7, 29] Operation: 41-12=29
Exploring Operation: 12+7=19, Resulting Numbers: [41, 19]
Generated Node #0,4,1: 16:[41, 19] Operation: 12+7=19
Exploring Operation: 41-7=34, Resulting Numbers: [12, 34]
Generated Node #0,4,2: 16:[12, 34] Operation: 41-7=34
Exploring Operation: 12-7=5, Resulting Numbers: [41, 5]
Generated Node #0,4,3: 16:[41, 5] Operation: 12-7=5
Exploring Operation: 41+7=48, Resulting Numbers: [12, 48]
Generated Node #0,4,4: 16:[12, 48] Operation: 41+7=48
Moving to Node #0,4,0
Current State: 16:[7, 29], Operations: ['98/14=7', '41-12=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[12, 34], Operations: ['98/14=7', '41-7=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,16 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[41, 5], Operations: ['98/14=7', '12-7=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,16 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[41, 19], Operations: ['98/14=7', '12+7=19']
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[12, 48], Operations: ['98/14=7', '41+7=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,16 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[12, 14, 57], Operations: ['98-41=57']
Exploring Operation: 57-12=45, Resulting Numbers: [14, 45]
Generated Node #0,3,0: 16:[14, 45] Operation: 57-12=45
Exploring Operation: 12+57=69, Resulting Numbers: [14, 69]
Generated Node #0,3,1: 16:[14, 69] Operation: 12+57=69
Exploring Operation: 14-12=2, Resulting Numbers: [57, 2]
Generated Node #0,3,2: 16:[57, 2] Operation: 14-12=2
Exploring Operation: 57-14=43, Resulting Numbers: [12, 43]
Generated Node #0,3,3: 16:[12, 43] Operation: 57-14=43
Exploring Operation: 12+14=26, Resulting Numbers: [57, 26]
Generated Node #0,3,4: 16:[57, 26] Operation: 12+14=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[14, 45], Operations: ['98-41=57', '57-12=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,16 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[12, 43], Operations: ['98-41=57', '57-14=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,16 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[57, 2], Operations: ['98-41=57', '14-12=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 16:[57, 26], Operations: ['98-41=57', '12+14=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,16 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 16:[14, 69], Operations: ['98-41=57', '12+57=69']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,16 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[98, 14, 29], Operations: ['41-12=29']
Exploring Operation: 98-14=84, Resulting Numbers: [29, 84]
Generated Node #0,0,0: 16:[29, 84] Operation: 98-14=84
Exploring Operation: 98-29=69, Resulting Numbers: [14, 69]
Generated Node #0,0,1: 16:[14, 69] Operation: 98-29=69
Exploring Operation: 29-14=15, Resulting Numbers: [98, 15]
Generated Node #0,0,2: 16:[98, 15] Operation: 29-14=15
Exploring Operation: 98+14=112, Resulting Numbers: [29, 112]
Generated Node #0,0,3: 16:[29, 112] Operation: 98+14=112
Exploring Operation: 98/14=7, Resulting Numbers: [29, 7]
Generated Node #0,0,4: 16:[29, 7] Operation: 98/14=7
Moving to Node #0,0,4
Current State: 16:[29, 7], Operations: ['41-12=29', '98/14=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[14, 69], Operations: ['41-12=29', '98-29=69']
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,16 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[29, 84], Operations: ['41-12=29', '98-14=84']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,16 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[98, 15], Operations: ['41-12=29', '29-14=15']
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[29, 112], Operations: ['41-12=29', '98+14=112']
Exploring Operation: 112-29=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 29*112=3248, Resulting Numbers: [3248]
3248,16 unequal: No Solution
Exploring Operation: 29+112=141, Resulting Numbers: [141]
141,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:[41, 14, 86], Operations: ['98-12=86']
Exploring Operation: 86-14=72, Resulting Numbers: [41, 72]
Generated Node #0,1,0: 16:[41, 72] Operation: 86-14=72
Exploring Operation: 86-41=45, Resulting Numbers: [14, 45]
Generated Node #0,1,1: 16:[14, 45] Operation: 86-41=45
Exploring Operation: 14+86=100, Resulting Numbers: [41, 100]
Generated Node #0,1,2: 16:[41, 100] Operation: 14+86=100
Exploring Operation: 41-14=27, Resulting Numbers: [86, 27]
Generated Node #0,1,3: 16:[86, 27] Operation: 41-14=27
Exploring Operation: 41+14=55, Resulting Numbers: [86, 55]
Generated Node #0,1,4: 16:[86, 55] Operation: 41+14=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[14, 45], Operations: ['98-12=86', '86-41=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[41, 72], Operations: ['98-12=86', '86-14=72']
Exploring Operation: 41*72=2952, Resulting Numbers: [2952]
2952,16 unequal: No Solution
Exploring Operation: 41+72=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[86, 27], Operations: ['98-12=86', '41-14=27']
Exploring Operation: 86+27=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 86*27=2322, Resulting Numbers: [2322]
2322,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[41, 100], Operations: ['98-12=86', '14+86=100']
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,16 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 16:[86, 55], Operations: ['98-12=86', '41+14=55']
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 86*55=4730, Resulting Numbers: [4730]
4730,16 unequal: No Solution
Exploring Operation: 86+55=141, Resulting Numbers: [141]
141,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[12, 98, 27], Operations: ['41-14=27']
Exploring Operation: 12+27=39, Resulting Numbers: [98, 39]
Generated Node #0,2,0: 16:[98, 39] Operation: 12+27=39
Exploring Operation: 27-12=15, Resulting Numbers: [98, 15]
Generated Node #0,2,1: 16:[98, 15] Operation: 27-12=15
Exploring Operation: 98-27=71, Resulting Numbers: [12, 71]
Generated Node #0,2,2: 16:[12, 71] Operation: 98-27=71
Exploring Operation: 98-12=86, Resulting Numbers: [27, 86]
Generated Node #0,2,3: 16:[27, 86] Operation: 98-12=86
Exploring Operation: 12+98=110, Resulting Numbers: [27, 110]
Generated Node #0,2,4: 16:[27, 110] Operation: 12+98=110
Moving to Node #0,2,2
Current State: 16:[12, 71], Operations: ['41-14=27', '98-27=71']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[27, 86], Operations: ['41-14=27', '98-12=86']
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,16 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[98, 15], Operations: ['41-14=27', '27-12=15']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[98, 39], Operations: ['41-14=27', '12+27=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,16 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[27, 110], Operations: ['41-14=27', '12+98=110']
Exploring Operation: 27+110=137, Resulting Numbers: [137]
137,16 unequal: No Solution
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Exploring Operation: 27*110=2970, Resulting Numbers: [2970]
2970,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
64,
8,
78,
62
] | 47 | [
"64-62=2",
"78/2=39",
"8+39=47"
] | Current State: 47:[64, 8, 78, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [8, 78, 2]
Generated Node #2: [8, 78, 2] from Operation: 64-62=2
Current State: 47:[8, 78, 2], Operations: ['64-62=2']
Exploring Operation: 78/2=39, Resulting Numbers: [8, 39]
Generated Node #3: [8, 39] from Operation: 78/2=39
Current State: 47:[8, 39], Operations: ['64-62=2', '78/2=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[64, 8, 78, 62], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [78, 62, 56]
Generated Node #0,0: 47:[78, 62, 56] Operation: 64-8=56
Exploring Operation: 78-8=70, Resulting Numbers: [64, 62, 70]
Generated Node #0,1: 47:[64, 62, 70] Operation: 78-8=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[78, 62, 56], Operations: ['64-8=56']
Exploring Operation: 78-62=16, Resulting Numbers: [56, 16]
Generated Node #0,0,0: 47:[56, 16] Operation: 78-62=16
Exploring Operation: 78-56=22, Resulting Numbers: [62, 22]
Generated Node #0,0,1: 47:[62, 22] Operation: 78-56=22
Moving to Node #0,0,0
Current State: 47:[56, 16], Operations: ['64-8=56', '78-62=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[62, 22], Operations: ['64-8=56', '78-56=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 62+22=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,1
Current State: 47:[64, 62, 70], Operations: ['78-8=70']
Exploring Operation: 70-62=8, Resulting Numbers: [64, 8]
Generated Node #0,1,0: 47:[64, 8] Operation: 70-62=8
Exploring Operation: 70-64=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 47:[62, 6] Operation: 70-64=6
Moving to Node #0,1,0
Current State: 47:[64, 8], Operations: ['78-8=70', '70-62=8']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[62, 6], Operations: ['78-8=70', '70-64=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,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 |
[
25,
5,
92,
12
] | 84 | [
"25-5=20",
"92+12=104",
"104-20=84"
] | Current State: 84:[25, 5, 92, 12], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [92, 12, 20]
Generated Node #2: [92, 12, 20] from Operation: 25-5=20
Current State: 84:[92, 12, 20], Operations: ['25-5=20']
Exploring Operation: 92+12=104, Resulting Numbers: [20, 104]
Generated Node #3: [20, 104] from Operation: 92+12=104
Current State: 84:[20, 104], Operations: ['25-5=20', '92+12=104']
Exploring Operation: 104-20=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[25, 5, 92, 12], Operations: []
Exploring Operation: 92-5=87, Resulting Numbers: [25, 12, 87]
Generated Node #0,0: 84:[25, 12, 87] Operation: 92-5=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[25, 12, 87], Operations: ['92-5=87']
Exploring Operation: 25-12=13, Resulting Numbers: [87, 13]
Generated Node #0,0,0: 84:[87, 13] Operation: 25-12=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[87, 13], Operations: ['92-5=87', '25-12=13']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,84 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 |
[
6,
62,
19,
12
] | 87 | [
"62-6=56",
"19+12=31",
"56+31=87"
] | Current State: 87:[6, 62, 19, 12], Operations: []
Exploring Operation: 62-6=56, Resulting Numbers: [19, 12, 56]
Generated Node #2: [19, 12, 56] from Operation: 62-6=56
Current State: 87:[19, 12, 56], Operations: ['62-6=56']
Exploring Operation: 19+12=31, Resulting Numbers: [56, 31]
Generated Node #3: [56, 31] from Operation: 19+12=31
Current State: 87:[56, 31], Operations: ['62-6=56', '19+12=31']
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[6, 62, 19, 12], Operations: []
Exploring Operation: 62+12=74, Resulting Numbers: [6, 19, 74]
Generated Node #0,0: 87:[6, 19, 74] Operation: 62+12=74
Exploring Operation: 62-19=43, Resulting Numbers: [6, 12, 43]
Generated Node #0,1: 87:[6, 12, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [6, 12, 81]
Generated Node #0,2: 87:[6, 12, 81] Operation: 62+19=81
Moving to Node #0,2
Current State: 87:[6, 12, 81], Operations: ['62+19=81']
Exploring Operation: 6+81=87, Resulting Numbers: [12, 87]
Generated Node #0,2,0: 87:[12, 87] Operation: 6+81=87
Exploring Operation: 12/6=2, Resulting Numbers: [81, 2]
Generated Node #0,2,1: 87:[81, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [81, 6]
Generated Node #0,2,2: 87:[81, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[81, 2], Operations: ['62+19=81', '12/6=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,87 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[12, 87], Operations: ['62+19=81', '6+81=87']
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,87 unequal: No Solution
Exploring Operation: 12*87=1044, Resulting Numbers: [1044]
1044,87 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[81, 6], Operations: ['62+19=81', '12-6=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[6, 62, 19, 12], Operations: []
Exploring Operation: 62+19=81, Resulting Numbers: [6, 12, 81]
Generated Node #0,2: 87:[6, 12, 81] Operation: 62+19=81
Moving to Node #0,2
Current State: 87:[6, 12, 81], Operations: ['62+19=81']
Exploring Operation: 12-6=6, Resulting Numbers: [81, 6]
Generated Node #0,2,2: 87:[81, 6] Operation: 12-6=6
Moving to Node #0,2,2
Current State: 87:[81, 6], Operations: ['62+19=81', '12-6=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
40,
6,
6,
18
] | 70 | [
"40+6=46",
"6+18=24",
"46+24=70"
] | Current State: 70:[40, 6, 6, 18], Operations: []
Exploring Operation: 40+6=46, Resulting Numbers: [18, 46]
Generated Node #2: [18, 46] from Operation: 40+6=46
Current State: 70:[18, 46], Operations: ['40+6=46']
Exploring Operation: 6+18=24, Resulting Numbers: [46, 24]
Generated Node #3: [46, 24] from Operation: 6+18=24
Current State: 70:[46, 24], Operations: ['40+6=46', '6+18=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[40, 6, 6, 18], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [6, 18, 34]
Generated Node #0,0: 70:[6, 18, 34] Operation: 40-6=34
Exploring Operation: 40-6=34, Resulting Numbers: [6, 18, 34]
Generated Node #0,1: 70:[6, 18, 34] Operation: 40-6=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[6, 18, 34], Operations: ['40-6=34']
Exploring Operation: 18-6=12, Resulting Numbers: [34, 12]
Generated Node #0,0,0: 70:[34, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [34, 3]
Generated Node #0,0,1: 70:[34, 3] Operation: 18/6=3
Moving to Node #0,0,1
Current State: 70:[34, 3], Operations: ['40-6=34', '18/6=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[34, 12], Operations: ['40-6=34', '18-6=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[6, 18, 34], Operations: ['40-6=34']
Exploring Operation: 18-6=12, Resulting Numbers: [34, 12]
Generated Node #0,1,0: 70:[34, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 70:[34, 3] Operation: 18/6=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[34, 3], Operations: ['40-6=34', '18/6=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[34, 12], Operations: ['40-6=34', '18-6=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
55,
77,
84
] | 19 | [
"84-55=29",
"2*29=58",
"77-58=19"
] | Current State: 19:[2, 55, 77, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [2, 77, 29]
Generated Node #2: [2, 77, 29] from Operation: 84-55=29
Current State: 19:[2, 77, 29], Operations: ['84-55=29']
Exploring Operation: 2*29=58, Resulting Numbers: [77, 58]
Generated Node #3: [77, 58] from Operation: 2*29=58
Current State: 19:[77, 58], Operations: ['84-55=29', '2*29=58']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 55, 77, 84], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [2, 84, 22]
Generated Node #0,0: 19:[2, 84, 22] Operation: 77-55=22
Exploring Operation: 84-55=29, Resulting Numbers: [2, 77, 29]
Generated Node #0,1: 19:[2, 77, 29] Operation: 84-55=29
Exploring Operation: 84/2=42, Resulting Numbers: [55, 77, 42]
Generated Node #0,2: 19:[55, 77, 42] Operation: 84/2=42
Exploring Operation: 84-77=7, Resulting Numbers: [2, 55, 7]
Generated Node #0,3: 19:[2, 55, 7] Operation: 84-77=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[2, 55, 7], Operations: ['84-77=7']
Exploring Operation: 55-2=53, Resulting Numbers: [7, 53]
Generated Node #0,3,0: 19:[7, 53] Operation: 55-2=53
Exploring Operation: 2*7=14, Resulting Numbers: [55, 14]
Generated Node #0,3,1: 19:[55, 14] Operation: 2*7=14
Exploring Operation: 55-7=48, Resulting Numbers: [2, 48]
Generated Node #0,3,2: 19:[2, 48] Operation: 55-7=48
Exploring Operation: 2+7=9, Resulting Numbers: [55, 9]
Generated Node #0,3,3: 19:[55, 9] Operation: 2+7=9
Moving to Node #0,3,1
Current State: 19:[55, 14], Operations: ['84-77=7', '2*7=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[2, 48], Operations: ['84-77=7', '55-7=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[7, 53], Operations: ['84-77=7', '55-2=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[55, 9], Operations: ['84-77=7', '2+7=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 84, 22], Operations: ['77-55=22']
Exploring Operation: 22-2=20, Resulting Numbers: [84, 20]
Generated Node #0,0,0: 19:[84, 20] Operation: 22-2=20
Exploring Operation: 84/2=42, Resulting Numbers: [22, 42]
Generated Node #0,0,1: 19:[22, 42] Operation: 84/2=42
Exploring Operation: 84-22=62, Resulting Numbers: [2, 62]
Generated Node #0,0,2: 19:[2, 62] Operation: 84-22=62
Exploring Operation: 84-2=82, Resulting Numbers: [22, 82]
Generated Node #0,0,3: 19:[22, 82] Operation: 84-2=82
Moving to Node #0,0,1
Current State: 19:[22, 42], Operations: ['77-55=22', '84/2=42']
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[2, 62], Operations: ['77-55=22', '84-22=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,19 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[22, 82], Operations: ['77-55=22', '84-2=82']
Exploring Operation: 22*82=1804, Resulting Numbers: [1804]
1804,19 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 22+82=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[84, 20], Operations: ['77-55=22', '22-2=20']
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,19 unequal: No Solution
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[2, 77, 29], Operations: ['84-55=29']
Exploring Operation: 77-29=48, Resulting Numbers: [2, 48]
Generated Node #0,1,0: 19:[2, 48] Operation: 77-29=48
Exploring Operation: 29-2=27, Resulting Numbers: [77, 27]
Generated Node #0,1,1: 19:[77, 27] Operation: 29-2=27
Exploring Operation: 77-2=75, Resulting Numbers: [29, 75]
Generated Node #0,1,2: 19:[29, 75] Operation: 77-2=75
Exploring Operation: 2+77=79, Resulting Numbers: [29, 79]
Generated Node #0,1,3: 19:[29, 79] Operation: 2+77=79
Moving to Node #0,1,0
Current State: 19:[2, 48], Operations: ['84-55=29', '77-29=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[29, 75], Operations: ['84-55=29', '77-2=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[77, 27], Operations: ['84-55=29', '29-2=27']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[29, 79], Operations: ['84-55=29', '2+77=79']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[55, 77, 42], Operations: ['84/2=42']
Exploring Operation: 55-42=13, Resulting Numbers: [77, 13]
Generated Node #0,2,0: 19:[77, 13] Operation: 55-42=13
Exploring Operation: 77-55=22, Resulting Numbers: [42, 22]
Generated Node #0,2,1: 19:[42, 22] Operation: 77-55=22
Exploring Operation: 55+77=132, Resulting Numbers: [42, 132]
Generated Node #0,2,2: 19:[42, 132] Operation: 55+77=132
Exploring Operation: 77-42=35, Resulting Numbers: [55, 35]
Generated Node #0,2,3: 19:[55, 35] Operation: 77-42=35
Moving to Node #0,2,1
Current State: 19:[42, 22], Operations: ['84/2=42', '77-55=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[55, 35], Operations: ['84/2=42', '77-42=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,19 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[77, 13], Operations: ['84/2=42', '55-42=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[42, 132], Operations: ['84/2=42', '55+77=132']
Exploring Operation: 42+132=174, Resulting Numbers: [174]
174,19 unequal: No Solution
Exploring Operation: 42*132=5544, Resulting Numbers: [5544]
5544,19 unequal: No Solution
Exploring Operation: 132-42=90, Resulting Numbers: [90]
90,19 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 |
[
63,
50,
73,
86
] | 100 | [
"63+50=113",
"86-73=13",
"113-13=100"
] | Current State: 100:[63, 50, 73, 86], Operations: []
Exploring Operation: 63+50=113, Resulting Numbers: [73, 86, 113]
Generated Node #2: [73, 86, 113] from Operation: 63+50=113
Current State: 100:[73, 86, 113], Operations: ['63+50=113']
Exploring Operation: 86-73=13, Resulting Numbers: [113, 13]
Generated Node #3: [113, 13] from Operation: 86-73=13
Current State: 100:[113, 13], Operations: ['63+50=113', '86-73=13']
Exploring Operation: 113-13=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[63, 50, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [63, 50, 13]
Generated Node #0,0: 100:[63, 50, 13] Operation: 86-73=13
Exploring Operation: 73-63=10, Resulting Numbers: [50, 86, 10]
Generated Node #0,1: 100:[50, 86, 10] Operation: 73-63=10
Exploring Operation: 86-63=23, Resulting Numbers: [50, 73, 23]
Generated Node #0,2: 100:[50, 73, 23] Operation: 86-63=23
Exploring Operation: 73-50=23, Resulting Numbers: [63, 86, 23]
Generated Node #0,3: 100:[63, 86, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[50, 86, 10], Operations: ['73-63=10']
Exploring Operation: 86-50=36, Resulting Numbers: [10, 36]
Generated Node #0,1,0: 100:[10, 36] Operation: 86-50=36
Exploring Operation: 50+10=60, Resulting Numbers: [86, 60]
Generated Node #0,1,1: 100:[86, 60] Operation: 50+10=60
Exploring Operation: 50/10=5, Resulting Numbers: [86, 5]
Generated Node #0,1,2: 100:[86, 5] Operation: 50/10=5
Exploring Operation: 86+10=96, Resulting Numbers: [50, 96]
Generated Node #0,1,3: 100:[50, 96] Operation: 86+10=96
Moving to Node #0,1,3
Current State: 100:[50, 96], Operations: ['73-63=10', '86+10=96']
Exploring Operation: 50*96=4800, Resulting Numbers: [4800]
4800,100 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 50+96=146, Resulting Numbers: [146]
146,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[10, 36], Operations: ['73-63=10', '86-50=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[86, 5], Operations: ['73-63=10', '50/10=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[86, 60], Operations: ['73-63=10', '50+10=60']
Exploring Operation: 86+60=146, Resulting Numbers: [146]
146,100 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 86*60=5160, Resulting Numbers: [5160]
5160,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[63, 50, 13], Operations: ['86-73=13']
Exploring Operation: 63+13=76, Resulting Numbers: [50, 76]
Generated Node #0,0,0: 100:[50, 76] Operation: 63+13=76
Exploring Operation: 63+50=113, Resulting Numbers: [13, 113]
Generated Node #0,0,1: 100:[13, 113] Operation: 63+50=113
Exploring Operation: 63-50=13, Resulting Numbers: [13, 13]
Generated Node #0,0,2: 100:[13, 13] Operation: 63-50=13
Exploring Operation: 63-13=50, Resulting Numbers: [50, 50]
Generated Node #0,0,3: 100:[50, 50] Operation: 63-13=50
Moving to Node #0,0,3
Current State: 100:[50, 50], Operations: ['86-73=13', '63-13=50']
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[63, 50, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [63, 50, 13]
Generated Node #0,0: 100:[63, 50, 13] Operation: 86-73=13
Moving to Node #0,0
Current State: 100:[63, 50, 13], Operations: ['86-73=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50, 50]
Generated Node #0,0,3: 100:[50, 50] Operation: 63-13=50
Moving to Node #0,0,3
Current State: 100:[50, 50], Operations: ['86-73=13', '63-13=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
13,
45,
11,
96
] | 41 | [
"13+11=24",
"96/24=4",
"45-4=41"
] | Current State: 41:[13, 45, 11, 96], Operations: []
Exploring Operation: 13+11=24, Resulting Numbers: [45, 96, 24]
Generated Node #2: [45, 96, 24] from Operation: 13+11=24
Current State: 41:[45, 96, 24], Operations: ['13+11=24']
Exploring Operation: 96/24=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 96/24=4
Current State: 41:[45, 4], Operations: ['13+11=24', '96/24=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[13, 45, 11, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [13, 11, 51]
Generated Node #0,0: 41:[13, 11, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 41:[13, 11, 51], Operations: ['96-45=51']
Exploring Operation: 13+11=24, Resulting Numbers: [51, 24]
Generated Node #0,0,0: 41:[51, 24] Operation: 13+11=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[51, 24], Operations: ['96-45=51', '13+11=24']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
80,
51,
47
] | 71 | [
"51-47=4",
"80/4=20",
"51+20=71"
] | Current State: 71:[51, 80, 51, 47], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [80, 4]
Generated Node #2: [80, 4] from Operation: 51-47=4
Current State: 71:[80, 4], Operations: ['51-47=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,71 equal: Goal Reached
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[51, 80, 51, 47], Operations: []
Exploring Operation: 51+47=98, Resulting Numbers: [80, 51, 98]
Generated Node #0,0: 71:[80, 51, 98] Operation: 51+47=98
Exploring Operation: 51+47=98, Resulting Numbers: [51, 80, 98]
Generated Node #0,1: 71:[51, 80, 98] Operation: 51+47=98
Moving to Node #0,0
Current State: 71:[80, 51, 98], Operations: ['51+47=98']
Exploring Operation: 98-51=47, Resulting Numbers: [80, 47]
Generated Node #0,0,0: 71:[80, 47] Operation: 98-51=47
Exploring Operation: 80-51=29, Resulting Numbers: [98, 29]
Generated Node #0,0,1: 71:[98, 29] Operation: 80-51=29
Moving to Node #0,1
Current State: 71:[51, 80, 98], Operations: ['51+47=98']
Exploring Operation: 80-51=29, Resulting Numbers: [98, 29]
Generated Node #0,1,0: 71:[98, 29] Operation: 80-51=29
Exploring Operation: 98-51=47, Resulting Numbers: [80, 47]
Generated Node #0,1,1: 71:[80, 47] Operation: 98-51=47
Moving to Node #0,0,0
Current State: 71:[80, 47], Operations: ['51+47=98', '98-51=47']
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[80, 47], Operations: ['51+47=98', '98-51=47']
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[98, 29], Operations: ['51+47=98', '80-51=29']
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[98, 29], Operations: ['51+47=98', '80-51=29']
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,71 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
35,
23,
25
] | 29 | [
"35-4=31",
"25-23=2",
"31-2=29"
] | Current State: 29:[4, 35, 23, 25], Operations: []
Exploring Operation: 35-4=31, Resulting Numbers: [23, 25, 31]
Generated Node #2: [23, 25, 31] from Operation: 35-4=31
Current State: 29:[23, 25, 31], Operations: ['35-4=31']
Exploring Operation: 25-23=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 25-23=2
Current State: 29:[31, 2], Operations: ['35-4=31', '25-23=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[4, 35, 23, 25], Operations: []
Exploring Operation: 35-4=31, Resulting Numbers: [23, 25, 31]
Generated Node #0,0: 29:[23, 25, 31] Operation: 35-4=31
Moving to Node #0,0
Current State: 29:[23, 25, 31], Operations: ['35-4=31']
Exploring Operation: 23+25=48, Resulting Numbers: [31, 48]
Generated Node #0,0,0: 29:[31, 48] Operation: 23+25=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[31, 48], Operations: ['35-4=31', '23+25=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
28,
90,
76
] | 98 | [
"28+76=104",
"104/13=8",
"90+8=98"
] | Current State: 98:[13, 28, 90, 76], Operations: []
Exploring Operation: 28+76=104, Resulting Numbers: [13, 90, 104]
Generated Node #2: [13, 90, 104] from Operation: 28+76=104
Current State: 98:[13, 90, 104], Operations: ['28+76=104']
Exploring Operation: 104/13=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 104/13=8
Current State: 98:[90, 8], Operations: ['28+76=104', '104/13=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[13, 28, 90, 76], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [13, 90, 48]
Generated Node #0,0: 98:[13, 90, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[13, 90, 48], Operations: ['76-28=48']
Exploring Operation: 13+90=103, Resulting Numbers: [48, 103]
Generated Node #0,0,0: 98:[48, 103] Operation: 13+90=103
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[48, 103], Operations: ['76-28=48', '13+90=103']
Exploring Operation: 103-48=55, Resulting Numbers: [55]
55,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
3,
34,
15
] | 58 | [
"15-7=8",
"3*8=24",
"34+24=58"
] | Current State: 58:[7, 3, 34, 15], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [3, 34, 8]
Generated Node #2: [3, 34, 8] from Operation: 15-7=8
Current State: 58:[3, 34, 8], Operations: ['15-7=8']
Exploring Operation: 3*8=24, Resulting Numbers: [34, 24]
Generated Node #3: [34, 24] from Operation: 3*8=24
Current State: 58:[34, 24], Operations: ['15-7=8', '3*8=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 3, 34, 15], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [3, 34, 8]
Generated Node #0,0: 58:[3, 34, 8] Operation: 15-7=8
Exploring Operation: 15/3=5, Resulting Numbers: [7, 34, 5]
Generated Node #0,1: 58:[7, 34, 5] Operation: 15/3=5
Exploring Operation: 34+15=49, Resulting Numbers: [7, 3, 49]
Generated Node #0,2: 58:[7, 3, 49] Operation: 34+15=49
Exploring Operation: 7+15=22, Resulting Numbers: [3, 34, 22]
Generated Node #0,3: 58:[3, 34, 22] Operation: 7+15=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[3, 34, 8], Operations: ['15-7=8']
Exploring Operation: 34-8=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 58:[3, 26] Operation: 34-8=26
Exploring Operation: 34-3=31, Resulting Numbers: [8, 31]
Generated Node #0,0,1: 58:[8, 31] Operation: 34-3=31
Exploring Operation: 8-3=5, Resulting Numbers: [34, 5]
Generated Node #0,0,2: 58:[34, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [34, 24]
Generated Node #0,0,3: 58:[34, 24] Operation: 3*8=24
Moving to Node #0,0,0
Current State: 58:[3, 26], Operations: ['15-7=8', '34-8=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[34, 5], Operations: ['15-7=8', '8-3=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[8, 31], Operations: ['15-7=8', '34-3=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,58 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[34, 24], Operations: ['15-7=8', '3*8=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,58 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[7, 3, 34, 15], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [3, 34, 8]
Generated Node #0,0: 58:[3, 34, 8] Operation: 15-7=8
Moving to Node #0,0
Current State: 58:[3, 34, 8], Operations: ['15-7=8']
Exploring Operation: 3*8=24, Resulting Numbers: [34, 24]
Generated Node #0,0,3: 58:[34, 24] Operation: 3*8=24
Moving to Node #0,0,3
Current State: 58:[34, 24], Operations: ['15-7=8', '3*8=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
74,
12,
65,
41
] | 76 | [
"65-41=24",
"24/12=2",
"74+2=76"
] | Current State: 76:[74, 12, 65, 41], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [74, 12, 24]
Generated Node #2: [74, 12, 24] from Operation: 65-41=24
Current State: 76:[74, 12, 24], Operations: ['65-41=24']
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 24/12=2
Current State: 76:[74, 2], Operations: ['65-41=24', '24/12=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[74, 12, 65, 41], Operations: []
Exploring Operation: 12+65=77, Resulting Numbers: [74, 41, 77]
Generated Node #0,0: 76:[74, 41, 77] Operation: 12+65=77
Moving to Node #0,0
Current State: 76:[74, 41, 77], Operations: ['12+65=77']
Exploring Operation: 77-74=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 76:[41, 3] Operation: 77-74=3
Moving to Node #0,0,0
Current State: 76:[41, 3], Operations: ['12+65=77', '77-74=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
47,
31,
68
] | 60 | [
"50+47=97",
"68-31=37",
"97-37=60"
] | Current State: 60:[50, 47, 31, 68], Operations: []
Exploring Operation: 50+47=97, Resulting Numbers: [31, 68, 97]
Generated Node #2: [31, 68, 97] from Operation: 50+47=97
Current State: 60:[31, 68, 97], Operations: ['50+47=97']
Exploring Operation: 68-31=37, Resulting Numbers: [97, 37]
Generated Node #3: [97, 37] from Operation: 68-31=37
Current State: 60:[97, 37], Operations: ['50+47=97', '68-31=37']
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 47, 31, 68], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [31, 68, 3]
Generated Node #0,0: 60:[31, 68, 3] Operation: 50-47=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[31, 68, 3], Operations: ['50-47=3']
Exploring Operation: 68-3=65, Resulting Numbers: [31, 65]
Generated Node #0,0,0: 60:[31, 65] Operation: 68-3=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[31, 65], Operations: ['50-47=3', '68-3=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,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 | sum_heuristic |
[
8,
65,
17,
70
] | 19 | [
"65+17=82",
"70+82=152",
"152/8=19"
] | Current State: 19:[8, 65, 17, 70], Operations: []
Exploring Operation: 65+17=82, Resulting Numbers: [8, 70, 82]
Generated Node #2: [8, 70, 82] from Operation: 65+17=82
Current State: 19:[8, 70, 82], Operations: ['65+17=82']
Exploring Operation: 70+82=152, Resulting Numbers: [8, 152]
Generated Node #3: [8, 152] from Operation: 70+82=152
Current State: 19:[8, 152], Operations: ['65+17=82', '70+82=152']
Exploring Operation: 152/8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[8, 65, 17, 70], Operations: []
Exploring Operation: 70-8=62, Resulting Numbers: [65, 17, 62]
Generated Node #0,0: 19:[65, 17, 62] Operation: 70-8=62
Exploring Operation: 65-8=57, Resulting Numbers: [17, 70, 57]
Generated Node #0,1: 19:[17, 70, 57] Operation: 65-8=57
Exploring Operation: 70-65=5, Resulting Numbers: [8, 17, 5]
Generated Node #0,2: 19:[8, 17, 5] Operation: 70-65=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[8, 17, 5], Operations: ['70-65=5']
Exploring Operation: 8-5=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 19:[17, 3] Operation: 8-5=3
Exploring Operation: 17+5=22, Resulting Numbers: [8, 22]
Generated Node #0,2,1: 19:[8, 22] Operation: 17+5=22
Exploring Operation: 8+5=13, Resulting Numbers: [17, 13]
Generated Node #0,2,2: 19:[17, 13] Operation: 8+5=13
Moving to Node #0,2,2
Current State: 19:[17, 13], Operations: ['70-65=5', '8+5=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,19 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[8, 22], Operations: ['70-65=5', '17+5=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[17, 3], Operations: ['70-65=5', '8-5=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[65, 17, 62], Operations: ['70-8=62']
Exploring Operation: 65-62=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 19:[17, 3] Operation: 65-62=3
Exploring Operation: 65-17=48, Resulting Numbers: [62, 48]
Generated Node #0,0,1: 19:[62, 48] Operation: 65-17=48
Exploring Operation: 62-17=45, Resulting Numbers: [65, 45]
Generated Node #0,0,2: 19:[65, 45] Operation: 62-17=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[17, 3], Operations: ['70-8=62', '65-62=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[62, 48], Operations: ['70-8=62', '65-17=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,19 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[65, 45], Operations: ['70-8=62', '62-17=45']
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,19 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: 19:[17, 70, 57], Operations: ['65-8=57']
Exploring Operation: 70-17=53, Resulting Numbers: [57, 53]
Generated Node #0,1,0: 19:[57, 53] Operation: 70-17=53
Exploring Operation: 70-57=13, Resulting Numbers: [17, 13]
Generated Node #0,1,1: 19:[17, 13] Operation: 70-57=13
Exploring Operation: 57-17=40, Resulting Numbers: [70, 40]
Generated Node #0,1,2: 19:[70, 40] Operation: 57-17=40
Moving to Node #0,1,1
Current State: 19:[17, 13], Operations: ['65-8=57', '70-57=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,19 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[57, 53], Operations: ['65-8=57', '70-17=53']
Exploring Operation: 57+53=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Exploring Operation: 57*53=3021, Resulting Numbers: [3021]
3021,19 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[70, 40], Operations: ['65-8=57', '57-17=40']
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,19 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
23,
38,
70
] | 25 | [
"38+70=108",
"108/54=2",
"23+2=25"
] | Current State: 25:[54, 23, 38, 70], Operations: []
Exploring Operation: 38+70=108, Resulting Numbers: [54, 23, 108]
Generated Node #2: [54, 23, 108] from Operation: 38+70=108
Current State: 25:[54, 23, 108], Operations: ['38+70=108']
Exploring Operation: 108/54=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 108/54=2
Current State: 25:[23, 2], Operations: ['38+70=108', '108/54=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[54, 23, 38, 70], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [23, 38, 16]
Generated Node #0,0: 25:[23, 38, 16] Operation: 70-54=16
Exploring Operation: 70-38=32, Resulting Numbers: [54, 23, 32]
Generated Node #0,1: 25:[54, 23, 32] Operation: 70-38=32
Exploring Operation: 54-38=16, Resulting Numbers: [23, 70, 16]
Generated Node #0,2: 25:[23, 70, 16] Operation: 54-38=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 38, 16], Operations: ['70-54=16']
Exploring Operation: 23-16=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 25:[38, 7] Operation: 23-16=7
Exploring Operation: 38-16=22, Resulting Numbers: [23, 22]
Generated Node #0,0,1: 25:[23, 22] Operation: 38-16=22
Exploring Operation: 38-23=15, Resulting Numbers: [16, 15]
Generated Node #0,0,2: 25:[16, 15] Operation: 38-23=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[23, 22], Operations: ['70-54=16', '38-16=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,25 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 23-22=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,0,0
Current State: 25:[38, 7], Operations: ['70-54=16', '23-16=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,25 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,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:[16, 15], Operations: ['70-54=16', '38-23=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,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:[54, 23, 32], Operations: ['70-38=32']
Exploring Operation: 54-32=22, Resulting Numbers: [23, 22]
Generated Node #0,1,0: 25:[23, 22] Operation: 54-32=22
Exploring Operation: 32-23=9, Resulting Numbers: [54, 9]
Generated Node #0,1,1: 25:[54, 9] Operation: 32-23=9
Exploring Operation: 54-23=31, Resulting Numbers: [32, 31]
Generated Node #0,1,2: 25:[32, 31] Operation: 54-23=31
Moving to Node #0,1,0
Current State: 25:[23, 22], Operations: ['70-38=32', '54-32=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,25 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[32, 31], Operations: ['70-38=32', '54-23=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[54, 9], Operations: ['70-38=32', '32-23=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,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:[23, 70, 16], Operations: ['54-38=16']
Exploring Operation: 70-16=54, Resulting Numbers: [23, 54]
Generated Node #0,2,0: 25:[23, 54] Operation: 70-16=54
Exploring Operation: 70-23=47, Resulting Numbers: [16, 47]
Generated Node #0,2,1: 25:[16, 47] Operation: 70-23=47
Exploring Operation: 23-16=7, Resulting Numbers: [70, 7]
Generated Node #0,2,2: 25:[70, 7] Operation: 23-16=7
Moving to Node #0,2,0
Current State: 25:[23, 54], Operations: ['54-38=16', '70-16=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,25 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[16, 47], Operations: ['54-38=16', '70-23=47']
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,25 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[70, 7], Operations: ['54-38=16', '23-16=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
45,
48,
83
] | 55 | [
"2*45=90",
"83-48=35",
"90-35=55"
] | Current State: 55:[2, 45, 48, 83], Operations: []
Exploring Operation: 2*45=90, Resulting Numbers: [48, 83, 90]
Generated Node #2: [48, 83, 90] from Operation: 2*45=90
Current State: 55:[48, 83, 90], Operations: ['2*45=90']
Exploring Operation: 83-48=35, Resulting Numbers: [90, 35]
Generated Node #3: [90, 35] from Operation: 83-48=35
Current State: 55:[90, 35], Operations: ['2*45=90', '83-48=35']
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[2, 45, 48, 83], Operations: []
Exploring Operation: 83-45=38, Resulting Numbers: [2, 48, 38]
Generated Node #0,0: 55:[2, 48, 38] Operation: 83-45=38
Moving to Node #0,0
Current State: 55:[2, 48, 38], Operations: ['83-45=38']
Exploring Operation: 48-38=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 55:[2, 10] Operation: 48-38=10
Moving to Node #0,0,0
Current State: 55:[2, 10], Operations: ['83-45=38', '48-38=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
62,
7,
63
] | 38 | [
"63-61=2",
"62/2=31",
"7+31=38"
] | Current State: 38:[61, 62, 7, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [62, 7, 2]
Generated Node #2: [62, 7, 2] from Operation: 63-61=2
Current State: 38:[62, 7, 2], Operations: ['63-61=2']
Exploring Operation: 62/2=31, Resulting Numbers: [7, 31]
Generated Node #3: [7, 31] from Operation: 62/2=31
Current State: 38:[7, 31], Operations: ['63-61=2', '62/2=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[61, 62, 7, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [62, 7, 2]
Generated Node #0,0: 38:[62, 7, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[62, 7, 2], Operations: ['63-61=2']
Exploring Operation: 62/2=31, Resulting Numbers: [7, 31]
Generated Node #0,0,0: 38:[7, 31] Operation: 62/2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[7, 31], Operations: ['63-61=2', '62/2=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[61, 62, 7, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [62, 7, 2]
Generated Node #0,0: 38:[62, 7, 2] Operation: 63-61=2
Moving to Node #0,0
Current State: 38:[62, 7, 2], Operations: ['63-61=2']
Exploring Operation: 62/2=31, Resulting Numbers: [7, 31]
Generated Node #0,0,0: 38:[7, 31] Operation: 62/2=31
Moving to Node #0,0,0
Current State: 38:[7, 31], Operations: ['63-61=2', '62/2=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
11,
93,
10,
88
] | 39 | [
"93-88=5",
"10*5=50",
"50-11=39"
] | Current State: 39:[11, 93, 10, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [11, 10, 5]
Generated Node #2: [11, 10, 5] from Operation: 93-88=5
Current State: 39:[11, 10, 5], Operations: ['93-88=5']
Exploring Operation: 10*5=50, Resulting Numbers: [11, 50]
Generated Node #3: [11, 50] from Operation: 10*5=50
Current State: 39:[11, 50], Operations: ['93-88=5', '10*5=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[11, 93, 10, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [11, 10, 5]
Generated Node #0,0: 39:[11, 10, 5] Operation: 93-88=5
Exploring Operation: 93-11=82, Resulting Numbers: [10, 88, 82]
Generated Node #0,1: 39:[10, 88, 82] Operation: 93-11=82
Exploring Operation: 88-11=77, Resulting Numbers: [93, 10, 77]
Generated Node #0,2: 39:[93, 10, 77] Operation: 88-11=77
Exploring Operation: 88/11=8, Resulting Numbers: [93, 10, 8]
Generated Node #0,3: 39:[93, 10, 8] Operation: 88/11=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[11, 10, 5], Operations: ['93-88=5']
Exploring Operation: 10+5=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 39:[11, 15] Operation: 10+5=15
Exploring Operation: 10/5=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 39:[11, 2] Operation: 10/5=2
Exploring Operation: 11-10=1, Resulting Numbers: [5, 1]
Generated Node #0,0,2: 39:[5, 1] Operation: 11-10=1
Exploring Operation: 10-5=5, Resulting Numbers: [11, 5]
Generated Node #0,0,3: 39:[11, 5] Operation: 10-5=5
Moving to Node #0,0,1
Current State: 39:[11, 2], Operations: ['93-88=5', '10/5=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[5, 1], Operations: ['93-88=5', '11-10=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[11, 15], Operations: ['93-88=5', '10+5=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[11, 5], Operations: ['93-88=5', '10-5=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[93, 10, 8], Operations: ['88/11=8']
Exploring Operation: 10-8=2, Resulting Numbers: [93, 2]
Generated Node #0,3,0: 39:[93, 2] Operation: 10-8=2
Exploring Operation: 93-10=83, Resulting Numbers: [8, 83]
Generated Node #0,3,1: 39:[8, 83] Operation: 93-10=83
Exploring Operation: 93-8=85, Resulting Numbers: [10, 85]
Generated Node #0,3,2: 39:[10, 85] Operation: 93-8=85
Exploring Operation: 10+8=18, Resulting Numbers: [93, 18]
Generated Node #0,3,3: 39:[93, 18] Operation: 10+8=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[8, 83], Operations: ['88/11=8', '93-10=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[10, 85], Operations: ['88/11=8', '93-8=85']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[93, 2], Operations: ['88/11=8', '10-8=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,39 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[93, 18], Operations: ['88/11=8', '10+8=18']
Exploring Operation: 93+18=111, Resulting Numbers: [111]
111,39 unequal: No Solution
Exploring Operation: 93*18=1674, Resulting Numbers: [1674]
1674,39 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[10, 88, 82], Operations: ['93-11=82']
Exploring Operation: 82-10=72, Resulting Numbers: [88, 72]
Generated Node #0,1,0: 39:[88, 72] Operation: 82-10=72
Exploring Operation: 88-10=78, Resulting Numbers: [82, 78]
Generated Node #0,1,1: 39:[82, 78] Operation: 88-10=78
Exploring Operation: 10+88=98, Resulting Numbers: [82, 98]
Generated Node #0,1,2: 39:[82, 98] Operation: 10+88=98
Exploring Operation: 88-82=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 39:[10, 6] Operation: 88-82=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[10, 6], Operations: ['93-11=82', '88-82=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[88, 72], Operations: ['93-11=82', '82-10=72']
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,39 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[82, 78], Operations: ['93-11=82', '88-10=78']
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[82, 98], Operations: ['93-11=82', '10+88=98']
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,39 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,39 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[93, 10, 77], Operations: ['88-11=77']
Exploring Operation: 93-77=16, Resulting Numbers: [10, 16]
Generated Node #0,2,0: 39:[10, 16] Operation: 93-77=16
Exploring Operation: 93-10=83, Resulting Numbers: [77, 83]
Generated Node #0,2,1: 39:[77, 83] Operation: 93-10=83
Exploring Operation: 77-10=67, Resulting Numbers: [93, 67]
Generated Node #0,2,2: 39:[93, 67] Operation: 77-10=67
Exploring Operation: 93+10=103, Resulting Numbers: [77, 103]
Generated Node #0,2,3: 39:[77, 103] Operation: 93+10=103
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[10, 16], Operations: ['88-11=77', '93-77=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[77, 83], Operations: ['88-11=77', '93-10=83']
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 77*83=6391, Resulting Numbers: [6391]
6391,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[93, 67], Operations: ['88-11=77', '77-10=67']
Exploring Operation: 93+67=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 93*67=6231, Resulting Numbers: [6231]
6231,39 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[77, 103], Operations: ['88-11=77', '93+10=103']
Exploring Operation: 77*103=7931, Resulting Numbers: [7931]
7931,39 unequal: No Solution
Exploring Operation: 103-77=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 77+103=180, Resulting Numbers: [180]
180,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
73,
85,
53
] | 33 | [
"73-72=1",
"85-53=32",
"1+32=33"
] | Current State: 33:[72, 73, 85, 53], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [85, 53, 1]
Generated Node #2: [85, 53, 1] from Operation: 73-72=1
Current State: 33:[85, 53, 1], Operations: ['73-72=1']
Exploring Operation: 85-53=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 85-53=32
Current State: 33:[1, 32], Operations: ['73-72=1', '85-53=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 73, 85, 53], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [72, 53, 12]
Generated Node #0,0: 33:[72, 53, 12] Operation: 85-73=12
Exploring Operation: 85-72=13, Resulting Numbers: [73, 53, 13]
Generated Node #0,1: 33:[73, 53, 13] Operation: 85-72=13
Exploring Operation: 73-72=1, Resulting Numbers: [85, 53, 1]
Generated Node #0,2: 33:[85, 53, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[72, 53, 12], Operations: ['85-73=12']
Exploring Operation: 72/12=6, Resulting Numbers: [53, 6]
Generated Node #0,0,0: 33:[53, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [53, 60]
Generated Node #0,0,1: 33:[53, 60] Operation: 72-12=60
Exploring Operation: 72-53=19, Resulting Numbers: [12, 19]
Generated Node #0,0,2: 33:[12, 19] Operation: 72-53=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[12, 19], Operations: ['85-73=12', '72-53=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,33 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[53, 6], Operations: ['85-73=12', '72/12=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,33 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,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:[53, 60], Operations: ['85-73=12', '72-12=60']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,33 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[73, 53, 13], Operations: ['85-72=13']
Exploring Operation: 53-13=40, Resulting Numbers: [73, 40]
Generated Node #0,1,0: 33:[73, 40] Operation: 53-13=40
Exploring Operation: 73-53=20, Resulting Numbers: [13, 20]
Generated Node #0,1,1: 33:[13, 20] Operation: 73-53=20
Exploring Operation: 73-13=60, Resulting Numbers: [53, 60]
Generated Node #0,1,2: 33:[53, 60] Operation: 73-13=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[13, 20], Operations: ['85-72=13', '73-53=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[72, 73, 85, 53], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [73, 53, 13]
Generated Node #0,1: 33:[73, 53, 13] Operation: 85-72=13
Moving to Node #0,1
Current State: 33:[73, 53, 13], Operations: ['85-72=13']
Exploring Operation: 73-53=20, Resulting Numbers: [13, 20]
Generated Node #0,1,1: 33:[13, 20] Operation: 73-53=20
Moving to Node #0,1,1
Current State: 33:[13, 20], Operations: ['85-72=13', '73-53=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
23,
51,
77,
80
] | 71 | [
"23+51=74",
"80-77=3",
"74-3=71"
] | Current State: 71:[23, 51, 77, 80], Operations: []
Exploring Operation: 23+51=74, Resulting Numbers: [77, 80, 74]
Generated Node #2: [77, 80, 74] from Operation: 23+51=74
Current State: 71:[77, 80, 74], Operations: ['23+51=74']
Exploring Operation: 80-77=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 80-77=3
Current State: 71:[74, 3], Operations: ['23+51=74', '80-77=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[23, 51, 77, 80], Operations: []
Exploring Operation: 23+51=74, Resulting Numbers: [77, 80, 74]
Generated Node #0,0: 71:[77, 80, 74] Operation: 23+51=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[77, 80, 74], Operations: ['23+51=74']
Exploring Operation: 80-77=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 71:[74, 3] Operation: 80-77=3
Moving to Node #0,0,0
Current State: 71:[74, 3], Operations: ['23+51=74', '80-77=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[23, 51, 77, 80], Operations: []
Exploring Operation: 23+51=74, Resulting Numbers: [77, 80, 74]
Generated Node #0,0: 71:[77, 80, 74] Operation: 23+51=74
Moving to Node #0,0
Current State: 71:[77, 80, 74], Operations: ['23+51=74']
Exploring Operation: 80-77=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 71:[74, 3] Operation: 80-77=3
Moving to Node #0,0,0
Current State: 71:[74, 3], Operations: ['23+51=74', '80-77=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
84,
51,
16,
82
] | 70 | [
"84-82=2",
"51-16=35",
"2*35=70"
] | Current State: 70:[84, 51, 16, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [51, 16, 2]
Generated Node #2: [51, 16, 2] from Operation: 84-82=2
Current State: 70:[51, 16, 2], Operations: ['84-82=2']
Exploring Operation: 51-16=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 51-16=35
Current State: 70:[2, 35], Operations: ['84-82=2', '51-16=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[84, 51, 16, 82], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [16, 82, 33]
Generated Node #0,0: 70:[16, 82, 33] Operation: 84-51=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[16, 82, 33], Operations: ['84-51=33']
Exploring Operation: 82-16=66, Resulting Numbers: [33, 66]
Generated Node #0,0,0: 70:[33, 66] Operation: 82-16=66
Moving to Node #0,0,0
Current State: 70:[33, 66], Operations: ['84-51=33', '82-16=66']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,70 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 |
[
98,
45,
13,
76
] | 65 | [
"98+45=143",
"143/13=11",
"76-11=65"
] | Current State: 65:[98, 45, 13, 76], Operations: []
Exploring Operation: 98+45=143, Resulting Numbers: [13, 76, 143]
Generated Node #2: [13, 76, 143] from Operation: 98+45=143
Current State: 65:[13, 76, 143], Operations: ['98+45=143']
Exploring Operation: 143/13=11, Resulting Numbers: [76, 11]
Generated Node #3: [76, 11] from Operation: 143/13=11
Current State: 65:[76, 11], Operations: ['98+45=143', '143/13=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 45, 13, 76], Operations: []
Exploring Operation: 45+13=58, Resulting Numbers: [98, 76, 58]
Generated Node #0,0: 65:[98, 76, 58] Operation: 45+13=58
Exploring Operation: 98-45=53, Resulting Numbers: [13, 76, 53]
Generated Node #0,1: 65:[13, 76, 53] Operation: 98-45=53
Exploring Operation: 98-13=85, Resulting Numbers: [45, 76, 85]
Generated Node #0,2: 65:[45, 76, 85] Operation: 98-13=85
Exploring Operation: 98-76=22, Resulting Numbers: [45, 13, 22]
Generated Node #0,3: 65:[45, 13, 22] Operation: 98-76=22
Exploring Operation: 76-45=31, Resulting Numbers: [98, 13, 31]
Generated Node #0,4: 65:[98, 13, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[13, 76, 53], Operations: ['98-45=53']
Exploring Operation: 13+53=66, Resulting Numbers: [76, 66]
Generated Node #0,1,0: 65:[76, 66] Operation: 13+53=66
Exploring Operation: 76-13=63, Resulting Numbers: [53, 63]
Generated Node #0,1,1: 65:[53, 63] Operation: 76-13=63
Exploring Operation: 53-13=40, Resulting Numbers: [76, 40]
Generated Node #0,1,2: 65:[76, 40] Operation: 53-13=40
Exploring Operation: 13+76=89, Resulting Numbers: [53, 89]
Generated Node #0,1,3: 65:[53, 89] Operation: 13+76=89
Exploring Operation: 76-53=23, Resulting Numbers: [13, 23]
Generated Node #0,1,4: 65:[13, 23] Operation: 76-53=23
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 65:[13, 23], Operations: ['98-45=53', '76-53=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,65 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[76, 66], Operations: ['98-45=53', '13+53=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,65 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[53, 63], Operations: ['98-45=53', '76-13=63']
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[76, 40], Operations: ['98-45=53', '53-13=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,65 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[53, 89], Operations: ['98-45=53', '13+76=89']
Exploring Operation: 53+89=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 53*89=4717, Resulting Numbers: [4717]
4717,65 unequal: No Solution
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[45, 13, 22], Operations: ['98-76=22']
Exploring Operation: 22-13=9, Resulting Numbers: [45, 9]
Generated Node #0,3,0: 65:[45, 9] Operation: 22-13=9
Exploring Operation: 45-22=23, Resulting Numbers: [13, 23]
Generated Node #0,3,1: 65:[13, 23] Operation: 45-22=23
Exploring Operation: 45+22=67, Resulting Numbers: [13, 67]
Generated Node #0,3,2: 65:[13, 67] Operation: 45+22=67
Exploring Operation: 45-13=32, Resulting Numbers: [22, 32]
Generated Node #0,3,3: 65:[22, 32] Operation: 45-13=32
Exploring Operation: 45+13=58, Resulting Numbers: [22, 58]
Generated Node #0,3,4: 65:[22, 58] Operation: 45+13=58
Moving to Node #0,3,2
Current State: 65:[13, 67], Operations: ['98-76=22', '45+22=67']
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,65 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[13, 23], Operations: ['98-76=22', '45-22=23']
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,65 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[22, 58], Operations: ['98-76=22', '45+13=58']
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 22*58=1276, Resulting Numbers: [1276]
1276,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[45, 9], Operations: ['98-76=22', '22-13=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,65 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[22, 32], Operations: ['98-76=22', '45-13=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,65 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[98, 76, 58], Operations: ['45+13=58']
Exploring Operation: 98+58=156, Resulting Numbers: [76, 156]
Generated Node #0,0,0: 65:[76, 156] Operation: 98+58=156
Exploring Operation: 98-76=22, Resulting Numbers: [58, 22]
Generated Node #0,0,1: 65:[58, 22] Operation: 98-76=22
Exploring Operation: 98-58=40, Resulting Numbers: [76, 40]
Generated Node #0,0,2: 65:[76, 40] Operation: 98-58=40
Exploring Operation: 76+58=134, Resulting Numbers: [98, 134]
Generated Node #0,0,3: 65:[98, 134] Operation: 76+58=134
Exploring Operation: 76-58=18, Resulting Numbers: [98, 18]
Generated Node #0,0,4: 65:[98, 18] Operation: 76-58=18
Moving to Node #0,0,1
Current State: 65:[58, 22], Operations: ['45+13=58', '98-76=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[76, 40], Operations: ['45+13=58', '98-58=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[98, 18], Operations: ['45+13=58', '76-58=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[76, 156], Operations: ['45+13=58', '98+58=156']
Exploring Operation: 156-76=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 76*156=11856, Resulting Numbers: [11856]
11856,65 unequal: No Solution
Exploring Operation: 76+156=232, Resulting Numbers: [232]
232,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[98, 134], Operations: ['45+13=58', '76+58=134']
Exploring Operation: 134-98=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 98+134=232, Resulting Numbers: [232]
232,65 unequal: No Solution
Exploring Operation: 98*134=13132, Resulting Numbers: [13132]
13132,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[45, 76, 85], Operations: ['98-13=85']
Exploring Operation: 45+85=130, Resulting Numbers: [76, 130]
Generated Node #0,2,0: 65:[76, 130] Operation: 45+85=130
Exploring Operation: 45+76=121, Resulting Numbers: [85, 121]
Generated Node #0,2,1: 65:[85, 121] Operation: 45+76=121
Exploring Operation: 76-45=31, Resulting Numbers: [85, 31]
Generated Node #0,2,2: 65:[85, 31] Operation: 76-45=31
Exploring Operation: 85-76=9, Resulting Numbers: [45, 9]
Generated Node #0,2,3: 65:[45, 9] Operation: 85-76=9
Exploring Operation: 85-45=40, Resulting Numbers: [76, 40]
Generated Node #0,2,4: 65:[76, 40] Operation: 85-45=40
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[45, 9], Operations: ['98-13=85', '85-76=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,65 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[76, 40], Operations: ['98-13=85', '85-45=40']
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[85, 31], Operations: ['98-13=85', '76-45=31']
Exploring Operation: 85*31=2635, Resulting Numbers: [2635]
2635,65 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 85+31=116, Resulting Numbers: [116]
116,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[76, 130], Operations: ['98-13=85', '45+85=130']
Exploring Operation: 76*130=9880, Resulting Numbers: [9880]
9880,65 unequal: No Solution
Exploring Operation: 130-76=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 76+130=206, Resulting Numbers: [206]
206,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[85, 121], Operations: ['98-13=85', '45+76=121']
Exploring Operation: 85+121=206, Resulting Numbers: [206]
206,65 unequal: No Solution
Exploring Operation: 121-85=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 85*121=10285, Resulting Numbers: [10285]
10285,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[98, 13, 31], Operations: ['76-45=31']
Exploring Operation: 98-31=67, Resulting Numbers: [13, 67]
Generated Node #0,4,0: 65:[13, 67] Operation: 98-31=67
Exploring Operation: 98-13=85, Resulting Numbers: [31, 85]
Generated Node #0,4,1: 65:[31, 85] Operation: 98-13=85
Exploring Operation: 31-13=18, Resulting Numbers: [98, 18]
Generated Node #0,4,2: 65:[98, 18] Operation: 31-13=18
Exploring Operation: 13+31=44, Resulting Numbers: [98, 44]
Generated Node #0,4,3: 65:[98, 44] Operation: 13+31=44
Exploring Operation: 98+13=111, Resulting Numbers: [31, 111]
Generated Node #0,4,4: 65:[31, 111] Operation: 98+13=111
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[13, 67], Operations: ['76-45=31', '98-31=67']
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 65:[31, 85], Operations: ['76-45=31', '98-13=85']
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,65 unequal: No Solution
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[98, 18], Operations: ['76-45=31', '31-13=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 65:[98, 44], Operations: ['76-45=31', '13+31=44']
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 98+44=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 98*44=4312, Resulting Numbers: [4312]
4312,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 65:[31, 111], Operations: ['76-45=31', '98+13=111']
Exploring Operation: 111-31=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 31+111=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 31*111=3441, Resulting Numbers: [3441]
3441,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
72,
61,
10,
34
] | 35 | [
"72-61=11",
"34-10=24",
"11+24=35"
] | Current State: 35:[72, 61, 10, 34], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [10, 34, 11]
Generated Node #2: [10, 34, 11] from Operation: 72-61=11
Current State: 35:[10, 34, 11], Operations: ['72-61=11']
Exploring Operation: 34-10=24, Resulting Numbers: [11, 24]
Generated Node #3: [11, 24] from Operation: 34-10=24
Current State: 35:[11, 24], Operations: ['72-61=11', '34-10=24']
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[72, 61, 10, 34], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [10, 34, 11]
Generated Node #0,0: 35:[10, 34, 11] Operation: 72-61=11
Exploring Operation: 72-34=38, Resulting Numbers: [61, 10, 38]
Generated Node #0,1: 35:[61, 10, 38] Operation: 72-34=38
Moving to Node #0,0
Current State: 35:[10, 34, 11], Operations: ['72-61=11']
Exploring Operation: 11-10=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 35:[34, 1] Operation: 11-10=1
Exploring Operation: 10+34=44, Resulting Numbers: [11, 44]
Generated Node #0,0,1: 35:[11, 44] Operation: 10+34=44
Moving to Node #0,1
Current State: 35:[61, 10, 38], Operations: ['72-34=38']
Exploring Operation: 61-38=23, Resulting Numbers: [10, 23]
Generated Node #0,1,0: 35:[10, 23] Operation: 61-38=23
Exploring Operation: 61-10=51, Resulting Numbers: [38, 51]
Generated Node #0,1,1: 35:[38, 51] Operation: 61-10=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[10, 23], Operations: ['72-34=38', '61-38=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,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,1
Current State: 35:[38, 51], Operations: ['72-34=38', '61-10=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,35 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: 35:[34, 1], Operations: ['72-61=11', '11-10=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[72, 61, 10, 34], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [10, 34, 11]
Generated Node #0,0: 35:[10, 34, 11] Operation: 72-61=11
Moving to Node #0,0
Current State: 35:[10, 34, 11], Operations: ['72-61=11']
Exploring Operation: 11-10=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 35:[34, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 35:[34, 1], Operations: ['72-61=11', '11-10=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
24,
87,
89,
41
] | 89 | [
"89-87=2",
"24*2=48",
"41+48=89"
] | Current State: 89:[24, 87, 89, 41], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [24, 41, 2]
Generated Node #2: [24, 41, 2] from Operation: 89-87=2
Current State: 89:[24, 41, 2], Operations: ['89-87=2']
Exploring Operation: 24*2=48, Resulting Numbers: [41, 48]
Generated Node #3: [41, 48] from Operation: 24*2=48
Current State: 89:[41, 48], Operations: ['89-87=2', '24*2=48']
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[24, 87, 89, 41], Operations: []
Exploring Operation: 24+41=65, Resulting Numbers: [87, 89, 65]
Generated Node #0,0: 89:[87, 89, 65] Operation: 24+41=65
Exploring Operation: 24+87=111, Resulting Numbers: [89, 41, 111]
Generated Node #0,1: 89:[89, 41, 111] Operation: 24+87=111
Moving to Node #0,0
Current State: 89:[87, 89, 65], Operations: ['24+41=65']
Exploring Operation: 87+65=152, Resulting Numbers: [89, 152]
Generated Node #0,0,0: 89:[89, 152] Operation: 87+65=152
Exploring Operation: 87-65=22, Resulting Numbers: [89, 22]
Generated Node #0,0,1: 89:[89, 22] Operation: 87-65=22
Moving to Node #0,1
Current State: 89:[89, 41, 111], Operations: ['24+87=111']
Exploring Operation: 111-41=70, Resulting Numbers: [89, 70]
Generated Node #0,1,0: 89:[89, 70] Operation: 111-41=70
Exploring Operation: 89+41=130, Resulting Numbers: [111, 130]
Generated Node #0,1,1: 89:[111, 130] Operation: 89+41=130
Moving to Node #0,1,0
Current State: 89:[89, 70], Operations: ['24+87=111', '111-41=70']
Exploring Operation: 89+70=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[89, 152], Operations: ['24+41=65', '87+65=152']
Exploring Operation: 89+152=241, Resulting Numbers: [241]
241,89 unequal: No Solution
Exploring Operation: 152-89=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[111, 130], Operations: ['24+87=111', '89+41=130']
Exploring Operation: 111+130=241, Resulting Numbers: [241]
241,89 unequal: No Solution
Exploring Operation: 130-111=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[89, 22], Operations: ['24+41=65', '87-65=22']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
13,
26,
77
] | 11 | [
"65+26=91",
"13*77=1001",
"1001/91=11"
] | Current State: 11:[65, 13, 26, 77], Operations: []
Exploring Operation: 65+26=91, Resulting Numbers: [13, 77, 91]
Generated Node #2: [13, 77, 91] from Operation: 65+26=91
Current State: 11:[13, 77, 91], Operations: ['65+26=91']
Exploring Operation: 13*77=1001, Resulting Numbers: [91, 1001]
Generated Node #3: [91, 1001] from Operation: 13*77=1001
Current State: 11:[91, 1001], Operations: ['65+26=91', '13*77=1001']
Exploring Operation: 1001/91=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[65, 13, 26, 77], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [13, 26, 12]
Generated Node #0,0: 11:[13, 26, 12] Operation: 77-65=12
Exploring Operation: 65/13=5, Resulting Numbers: [26, 77, 5]
Generated Node #0,1: 11:[26, 77, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[13, 26, 12], Operations: ['77-65=12']
Exploring Operation: 26-12=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 11:[13, 14] Operation: 26-12=14
Exploring Operation: 26-13=13, Resulting Numbers: [12, 13]
Generated Node #0,0,1: 11:[12, 13] Operation: 26-13=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[12, 13], Operations: ['77-65=12', '26-13=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[13, 14], Operations: ['77-65=12', '26-12=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[26, 77, 5], Operations: ['65/13=5']
Exploring Operation: 26-5=21, Resulting Numbers: [77, 21]
Generated Node #0,1,0: 11:[77, 21] Operation: 26-5=21
Exploring Operation: 77-26=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 11:[5, 51] Operation: 77-26=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[5, 51], Operations: ['65/13=5', '77-26=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[77, 21], Operations: ['65/13=5', '26-5=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,11 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
74,
79,
94
] | 31 | [
"74-58=16",
"94-79=15",
"16+15=31"
] | Current State: 31:[58, 74, 79, 94], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [79, 94, 16]
Generated Node #2: [79, 94, 16] from Operation: 74-58=16
Current State: 31:[79, 94, 16], Operations: ['74-58=16']
Exploring Operation: 94-79=15, Resulting Numbers: [16, 15]
Generated Node #3: [16, 15] from Operation: 94-79=15
Current State: 31:[16, 15], Operations: ['74-58=16', '94-79=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[58, 74, 79, 94], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [58, 74, 15]
Generated Node #0,0: 31:[58, 74, 15] Operation: 94-79=15
Exploring Operation: 94-58=36, Resulting Numbers: [74, 79, 36]
Generated Node #0,1: 31:[74, 79, 36] Operation: 94-58=36
Exploring Operation: 94-74=20, Resulting Numbers: [58, 79, 20]
Generated Node #0,2: 31:[58, 79, 20] Operation: 94-74=20
Moving to Node #0,0
Current State: 31:[58, 74, 15], Operations: ['94-79=15']
Exploring Operation: 74-15=59, Resulting Numbers: [58, 59]
Generated Node #0,0,0: 31:[58, 59] Operation: 74-15=59
Exploring Operation: 58-15=43, Resulting Numbers: [74, 43]
Generated Node #0,0,1: 31:[74, 43] Operation: 58-15=43
Exploring Operation: 74-58=16, Resulting Numbers: [15, 16]
Generated Node #0,0,2: 31:[15, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[15, 16], Operations: ['94-79=15', '74-58=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[58, 74, 79, 94], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [58, 74, 15]
Generated Node #0,0: 31:[58, 74, 15] Operation: 94-79=15
Moving to Node #0,0
Current State: 31:[58, 74, 15], Operations: ['94-79=15']
Exploring Operation: 74-58=16, Resulting Numbers: [15, 16]
Generated Node #0,0,2: 31:[15, 16] Operation: 74-58=16
Moving to Node #0,0,2
Current State: 31:[15, 16], Operations: ['94-79=15', '74-58=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
53,
2,
73,
54
] | 32 | [
"53-2=51",
"73-54=19",
"51-19=32"
] | Current State: 32:[53, 2, 73, 54], Operations: []
Exploring Operation: 53-2=51, Resulting Numbers: [73, 54, 51]
Generated Node #2: [73, 54, 51] from Operation: 53-2=51
Current State: 32:[73, 54, 51], Operations: ['53-2=51']
Exploring Operation: 73-54=19, Resulting Numbers: [51, 19]
Generated Node #3: [51, 19] from Operation: 73-54=19
Current State: 32:[51, 19], Operations: ['53-2=51', '73-54=19']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[53, 2, 73, 54], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [53, 2, 19]
Generated Node #0,0: 32:[53, 2, 19] Operation: 73-54=19
Exploring Operation: 73-53=20, Resulting Numbers: [2, 54, 20]
Generated Node #0,1: 32:[2, 54, 20] Operation: 73-53=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[53, 2, 19], Operations: ['73-54=19']
Exploring Operation: 53-2=51, Resulting Numbers: [19, 51]
Generated Node #0,0,0: 32:[19, 51] Operation: 53-2=51
Exploring Operation: 53-19=34, Resulting Numbers: [2, 34]
Generated Node #0,0,1: 32:[2, 34] Operation: 53-19=34
Moving to Node #0,0,1
Current State: 32:[2, 34], Operations: ['73-54=19', '53-19=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[53, 2, 73, 54], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [53, 2, 19]
Generated Node #0,0: 32:[53, 2, 19] Operation: 73-54=19
Moving to Node #0,0
Current State: 32:[53, 2, 19], Operations: ['73-54=19']
Exploring Operation: 53-19=34, Resulting Numbers: [2, 34]
Generated Node #0,0,1: 32:[2, 34] Operation: 53-19=34
Moving to Node #0,0,1
Current State: 32:[2, 34], Operations: ['73-54=19', '53-19=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
64,
74,
85,
93
] | 66 | [
"93-85=8",
"64/8=8",
"74-8=66"
] | Current State: 66:[64, 74, 85, 93], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [64, 74, 8]
Generated Node #2: [64, 74, 8] from Operation: 93-85=8
Current State: 66:[64, 74, 8], Operations: ['93-85=8']
Exploring Operation: 64/8=8, Resulting Numbers: [74, 8]
Generated Node #3: [74, 8] from Operation: 64/8=8
Current State: 66:[74, 8], Operations: ['93-85=8', '64/8=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[64, 74, 85, 93], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [64, 74, 8]
Generated Node #0,0: 66:[64, 74, 8] Operation: 93-85=8
Moving to Node #0,0
Current State: 66:[64, 74, 8], Operations: ['93-85=8']
Exploring Operation: 74-8=66, Resulting Numbers: [64, 66]
Generated Node #0,0,0: 66:[64, 66] Operation: 74-8=66
Moving to Node #0,0,0
Current State: 66:[64, 66], Operations: ['93-85=8', '74-8=66']
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
4,
53,
67
] | 84 | [
"35+53=88",
"88-67=21",
"4*21=84"
] | Current State: 84:[35, 4, 53, 67], Operations: []
Exploring Operation: 35+53=88, Resulting Numbers: [4, 67, 88]
Generated Node #2: [4, 67, 88] from Operation: 35+53=88
Current State: 84:[4, 67, 88], Operations: ['35+53=88']
Exploring Operation: 88-67=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 88-67=21
Current State: 84:[4, 21], Operations: ['35+53=88', '88-67=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[35, 4, 53, 67], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [35, 4, 14]
Generated Node #0,0: 84:[35, 4, 14] Operation: 67-53=14
Exploring Operation: 67-35=32, Resulting Numbers: [4, 53, 32]
Generated Node #0,1: 84:[4, 53, 32] Operation: 67-35=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[35, 4, 14], Operations: ['67-53=14']
Exploring Operation: 35+4=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 84:[14, 39] Operation: 35+4=39
Exploring Operation: 35-14=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 84:[4, 21] Operation: 35-14=21
Moving to Node #0,0,1
Current State: 84:[4, 21], Operations: ['67-53=14', '35-14=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[35, 4, 53, 67], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [35, 4, 14]
Generated Node #0,0: 84:[35, 4, 14] Operation: 67-53=14
Moving to Node #0,0
Current State: 84:[35, 4, 14], Operations: ['67-53=14']
Exploring Operation: 35-14=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 84:[4, 21] Operation: 35-14=21
Moving to Node #0,0,1
Current State: 84:[4, 21], Operations: ['67-53=14', '35-14=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
9,
87,
99,
5
] | 71 | [
"99/9=11",
"87-5=82",
"82-11=71"
] | Current State: 71:[9, 87, 99, 5], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [87, 5, 11]
Generated Node #2: [87, 5, 11] from Operation: 99/9=11
Current State: 71:[87, 5, 11], Operations: ['99/9=11']
Exploring Operation: 87-5=82, Resulting Numbers: [11, 82]
Generated Node #3: [11, 82] from Operation: 87-5=82
Current State: 71:[11, 82], Operations: ['99/9=11', '87-5=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[9, 87, 99, 5], Operations: []
Exploring Operation: 87-9=78, Resulting Numbers: [99, 5, 78]
Generated Node #0,0: 71:[99, 5, 78] Operation: 87-9=78
Exploring Operation: 99-9=90, Resulting Numbers: [87, 5, 90]
Generated Node #0,1: 71:[87, 5, 90] Operation: 99-9=90
Exploring Operation: 87-5=82, Resulting Numbers: [9, 99, 82]
Generated Node #0,2: 71:[9, 99, 82] Operation: 87-5=82
Exploring Operation: 9*5=45, Resulting Numbers: [87, 99, 45]
Generated Node #0,3: 71:[87, 99, 45] Operation: 9*5=45
Exploring Operation: 9+5=14, Resulting Numbers: [87, 99, 14]
Generated Node #0,4: 71:[87, 99, 14] Operation: 9+5=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[87, 99, 45], Operations: ['9*5=45']
Exploring Operation: 87+45=132, Resulting Numbers: [99, 132]
Generated Node #0,3,0: 71:[99, 132] Operation: 87+45=132
Exploring Operation: 99-87=12, Resulting Numbers: [45, 12]
Generated Node #0,3,1: 71:[45, 12] Operation: 99-87=12
Exploring Operation: 99+45=144, Resulting Numbers: [87, 144]
Generated Node #0,3,2: 71:[87, 144] Operation: 99+45=144
Exploring Operation: 87-45=42, Resulting Numbers: [99, 42]
Generated Node #0,3,3: 71:[99, 42] Operation: 87-45=42
Exploring Operation: 99-45=54, Resulting Numbers: [87, 54]
Generated Node #0,3,4: 71:[87, 54] Operation: 99-45=54
Moving to Node #0,3,4
Current State: 71:[87, 54], Operations: ['9*5=45', '99-45=54']
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,71 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[99, 42], Operations: ['9*5=45', '87-45=42']
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,71 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[45, 12], Operations: ['9*5=45', '99-87=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[99, 132], Operations: ['9*5=45', '87+45=132']
Exploring Operation: 99*132=13068, Resulting Numbers: [13068]
13068,71 unequal: No Solution
Exploring Operation: 132-99=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 99+132=231, Resulting Numbers: [231]
231,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[87, 144], Operations: ['9*5=45', '99+45=144']
Exploring Operation: 87*144=12528, Resulting Numbers: [12528]
12528,71 unequal: No Solution
Exploring Operation: 144-87=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 87+144=231, Resulting Numbers: [231]
231,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[99, 5, 78], Operations: ['87-9=78']
Exploring Operation: 99-5=94, Resulting Numbers: [78, 94]
Generated Node #0,0,0: 71:[78, 94] Operation: 99-5=94
Exploring Operation: 78-5=73, Resulting Numbers: [99, 73]
Generated Node #0,0,1: 71:[99, 73] Operation: 78-5=73
Exploring Operation: 5+78=83, Resulting Numbers: [99, 83]
Generated Node #0,0,2: 71:[99, 83] Operation: 5+78=83
Exploring Operation: 99-78=21, Resulting Numbers: [5, 21]
Generated Node #0,0,3: 71:[5, 21] Operation: 99-78=21
Exploring Operation: 99+5=104, Resulting Numbers: [78, 104]
Generated Node #0,0,4: 71:[78, 104] Operation: 99+5=104
Moving to Node #0,0,0
Current State: 71:[78, 94], Operations: ['87-9=78', '99-5=94']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 78+94=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 78*94=7332, Resulting Numbers: [7332]
7332,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[99, 73], Operations: ['87-9=78', '78-5=73']
Exploring Operation: 99*73=7227, Resulting Numbers: [7227]
7227,71 unequal: No Solution
Exploring Operation: 99+73=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[99, 83], Operations: ['87-9=78', '5+78=83']
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 99*83=8217, Resulting Numbers: [8217]
8217,71 unequal: No Solution
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[78, 104], Operations: ['87-9=78', '99+5=104']
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,71 unequal: No Solution
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[5, 21], Operations: ['87-9=78', '99-78=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[87, 5, 90], Operations: ['99-9=90']
Exploring Operation: 5+90=95, Resulting Numbers: [87, 95]
Generated Node #0,1,0: 71:[87, 95] Operation: 5+90=95
Exploring Operation: 90-5=85, Resulting Numbers: [87, 85]
Generated Node #0,1,1: 71:[87, 85] Operation: 90-5=85
Exploring Operation: 87+5=92, Resulting Numbers: [90, 92]
Generated Node #0,1,2: 71:[90, 92] Operation: 87+5=92
Exploring Operation: 90/5=18, Resulting Numbers: [87, 18]
Generated Node #0,1,3: 71:[87, 18] Operation: 90/5=18
Exploring Operation: 87-5=82, Resulting Numbers: [90, 82]
Generated Node #0,1,4: 71:[90, 82] Operation: 87-5=82
Moving to Node #0,1,1
Current State: 71:[87, 85], Operations: ['99-9=90', '90-5=85']
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 87*85=7395, Resulting Numbers: [7395]
7395,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[90, 82], Operations: ['99-9=90', '87-5=82']
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,71 unequal: No Solution
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[87, 95], Operations: ['99-9=90', '5+90=95']
Exploring Operation: 87*95=8265, Resulting Numbers: [8265]
8265,71 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 87+95=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[90, 92], Operations: ['99-9=90', '87+5=92']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[87, 18], Operations: ['99-9=90', '90/5=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[9, 99, 82], Operations: ['87-5=82']
Exploring Operation: 9+99=108, Resulting Numbers: [82, 108]
Generated Node #0,2,0: 71:[82, 108] Operation: 9+99=108
Exploring Operation: 99-9=90, Resulting Numbers: [82, 90]
Generated Node #0,2,1: 71:[82, 90] Operation: 99-9=90
Exploring Operation: 99/9=11, Resulting Numbers: [82, 11]
Generated Node #0,2,2: 71:[82, 11] Operation: 99/9=11
Exploring Operation: 82-9=73, Resulting Numbers: [99, 73]
Generated Node #0,2,3: 71:[99, 73] Operation: 82-9=73
Exploring Operation: 9+82=91, Resulting Numbers: [99, 91]
Generated Node #0,2,4: 71:[99, 91] Operation: 9+82=91
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[82, 90], Operations: ['87-5=82', '99-9=90']
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[99, 73], Operations: ['87-5=82', '82-9=73']
Exploring Operation: 99*73=7227, Resulting Numbers: [7227]
7227,71 unequal: No Solution
Exploring Operation: 99+73=172, Resulting Numbers: [172]
172,71 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[82, 108], Operations: ['87-5=82', '9+99=108']
Exploring Operation: 82+108=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 108-82=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 82*108=8856, Resulting Numbers: [8856]
8856,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 71:[99, 91], Operations: ['87-5=82', '9+82=91']
Exploring Operation: 99*91=9009, Resulting Numbers: [9009]
9009,71 unequal: No Solution
Exploring Operation: 99-91=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 99+91=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[82, 11], Operations: ['87-5=82', '99/9=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[9, 87, 99, 5], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [9, 99, 82]
Generated Node #0,2: 71:[9, 99, 82] Operation: 87-5=82
Moving to Node #0,2
Current State: 71:[9, 99, 82], Operations: ['87-5=82']
Exploring Operation: 99/9=11, Resulting Numbers: [82, 11]
Generated Node #0,2,2: 71:[82, 11] Operation: 99/9=11
Moving to Node #0,2,2
Current State: 71:[82, 11], Operations: ['87-5=82', '99/9=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.923611 | hs_5 | mult_heuristic |
[
57,
95,
5,
74
] | 41 | [
"95-57=38",
"5+74=79",
"79-38=41"
] | Current State: 41:[57, 95, 5, 74], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [5, 74, 38]
Generated Node #2: [5, 74, 38] from Operation: 95-57=38
Current State: 41:[5, 74, 38], Operations: ['95-57=38']
Exploring Operation: 5+74=79, Resulting Numbers: [38, 79]
Generated Node #3: [38, 79] from Operation: 5+74=79
Current State: 41:[38, 79], Operations: ['95-57=38', '5+74=79']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[57, 95, 5, 74], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [57, 74, 19]
Generated Node #0,0: 41:[57, 74, 19] Operation: 95/5=19
Exploring Operation: 95-57=38, Resulting Numbers: [5, 74, 38]
Generated Node #0,1: 41:[5, 74, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[57, 74, 19], Operations: ['95/5=19']
Exploring Operation: 74-19=55, Resulting Numbers: [57, 55]
Generated Node #0,0,0: 41:[57, 55] Operation: 74-19=55
Exploring Operation: 57-19=38, Resulting Numbers: [74, 38]
Generated Node #0,0,1: 41:[74, 38] Operation: 57-19=38
Moving to Node #0,0,0
Current State: 41:[57, 55], Operations: ['95/5=19', '74-19=55']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[74, 38], Operations: ['95/5=19', '57-19=38']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[5, 74, 38], Operations: ['95-57=38']
Exploring Operation: 74-5=69, Resulting Numbers: [38, 69]
Generated Node #0,1,0: 41:[38, 69] Operation: 74-5=69
Exploring Operation: 5+38=43, Resulting Numbers: [74, 43]
Generated Node #0,1,1: 41:[74, 43] Operation: 5+38=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[38, 69], Operations: ['95-57=38', '74-5=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,41 unequal: No Solution
No 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: 41:[74, 43], Operations: ['95-57=38', '5+38=43']
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,41 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
89,
82,
10,
76
] | 29 | [
"82-76=6",
"10*6=60",
"89-60=29"
] | Current State: 29:[89, 82, 10, 76], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [89, 10, 6]
Generated Node #2: [89, 10, 6] from Operation: 82-76=6
Current State: 29:[89, 10, 6], Operations: ['82-76=6']
Exploring Operation: 10*6=60, Resulting Numbers: [89, 60]
Generated Node #3: [89, 60] from Operation: 10*6=60
Current State: 29:[89, 60], Operations: ['82-76=6', '10*6=60']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[89, 82, 10, 76], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [10, 76, 7]
Generated Node #0,0: 29:[10, 76, 7] Operation: 89-82=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[10, 76, 7], Operations: ['89-82=7']
Exploring Operation: 76-10=66, Resulting Numbers: [7, 66]
Generated Node #0,0,0: 29:[7, 66] Operation: 76-10=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[7, 66], Operations: ['89-82=7', '76-10=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
61,
37,
38
] | 29 | [
"61-32=29",
"38-37=1",
"29*1=29"
] | Current State: 29:[32, 61, 37, 38], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [37, 38, 29]
Generated Node #2: [37, 38, 29] from Operation: 61-32=29
Current State: 29:[37, 38, 29], Operations: ['61-32=29']
Exploring Operation: 38-37=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 38-37=1
Current State: 29:[29, 1], Operations: ['61-32=29', '38-37=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[32, 61, 37, 38], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [37, 38, 29]
Generated Node #0,0: 29:[37, 38, 29] Operation: 61-32=29
Exploring Operation: 61-37=24, Resulting Numbers: [32, 38, 24]
Generated Node #0,1: 29:[32, 38, 24] Operation: 61-37=24
Exploring Operation: 61-38=23, Resulting Numbers: [32, 37, 23]
Generated Node #0,2: 29:[32, 37, 23] Operation: 61-38=23
Moving to Node #0,0
Current State: 29:[37, 38, 29], Operations: ['61-32=29']
Exploring Operation: 38-37=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 38-37=1
Exploring Operation: 38-29=9, Resulting Numbers: [37, 9]
Generated Node #0,0,1: 29:[37, 9] Operation: 38-29=9
Exploring Operation: 37-29=8, Resulting Numbers: [38, 8]
Generated Node #0,0,2: 29:[38, 8] Operation: 37-29=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['61-32=29', '38-37=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[32, 61, 37, 38], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [37, 38, 29]
Generated Node #0,0: 29:[37, 38, 29] Operation: 61-32=29
Moving to Node #0,0
Current State: 29:[37, 38, 29], Operations: ['61-32=29']
Exploring Operation: 38-37=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 38-37=1
Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['61-32=29', '38-37=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
13,
63,
78,
47
] | 26 | [
"63-13=50",
"50-47=3",
"78/3=26"
] | Current State: 26:[13, 63, 78, 47], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [78, 47, 50]
Generated Node #2: [78, 47, 50] from Operation: 63-13=50
Current State: 26:[78, 47, 50], Operations: ['63-13=50']
Exploring Operation: 50-47=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 50-47=3
Current State: 26:[78, 3], Operations: ['63-13=50', '50-47=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 63, 78, 47], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [63, 47, 6]
Generated Node #0,0: 26:[63, 47, 6] Operation: 78/13=6
Exploring Operation: 78-63=15, Resulting Numbers: [13, 47, 15]
Generated Node #0,1: 26:[13, 47, 15] Operation: 78-63=15
Exploring Operation: 78-47=31, Resulting Numbers: [13, 63, 31]
Generated Node #0,2: 26:[13, 63, 31] Operation: 78-47=31
Exploring Operation: 63-13=50, Resulting Numbers: [78, 47, 50]
Generated Node #0,3: 26:[78, 47, 50] Operation: 63-13=50
Exploring Operation: 63-47=16, Resulting Numbers: [13, 78, 16]
Generated Node #0,4: 26:[13, 78, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[13, 47, 15], Operations: ['78-63=15']
Exploring Operation: 47-15=32, Resulting Numbers: [13, 32]
Generated Node #0,1,0: 26:[13, 32] Operation: 47-15=32
Exploring Operation: 13+47=60, Resulting Numbers: [15, 60]
Generated Node #0,1,1: 26:[15, 60] Operation: 13+47=60
Exploring Operation: 13+15=28, Resulting Numbers: [47, 28]
Generated Node #0,1,2: 26:[47, 28] Operation: 13+15=28
Exploring Operation: 15-13=2, Resulting Numbers: [47, 2]
Generated Node #0,1,3: 26:[47, 2] Operation: 15-13=2
Exploring Operation: 47-13=34, Resulting Numbers: [15, 34]
Generated Node #0,1,4: 26:[15, 34] Operation: 47-13=34
Moving to Node #0,1,0
Current State: 26:[13, 32], Operations: ['78-63=15', '47-15=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,26 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[15, 34], Operations: ['78-63=15', '47-13=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,26 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[47, 2], Operations: ['78-63=15', '15-13=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[47, 28], Operations: ['78-63=15', '13+15=28']
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,26 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[15, 60], Operations: ['78-63=15', '13+47=60']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,26 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No 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: 26:[13, 63, 31], Operations: ['78-47=31']
Exploring Operation: 31-13=18, Resulting Numbers: [63, 18]
Generated Node #0,2,0: 26:[63, 18] Operation: 31-13=18
Exploring Operation: 13+31=44, Resulting Numbers: [63, 44]
Generated Node #0,2,1: 26:[63, 44] Operation: 13+31=44
Exploring Operation: 63-31=32, Resulting Numbers: [13, 32]
Generated Node #0,2,2: 26:[13, 32] Operation: 63-31=32
Exploring Operation: 13+63=76, Resulting Numbers: [31, 76]
Generated Node #0,2,3: 26:[31, 76] Operation: 13+63=76
Exploring Operation: 63-13=50, Resulting Numbers: [31, 50]
Generated Node #0,2,4: 26:[31, 50] Operation: 63-13=50
Moving to Node #0,2,2
Current State: 26:[13, 32], Operations: ['78-47=31', '63-31=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,26 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[31, 50], Operations: ['78-47=31', '63-13=50']
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,26 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[63, 18], Operations: ['78-47=31', '31-13=18']
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,26 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[63, 44], Operations: ['78-47=31', '13+31=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,26 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[31, 76], Operations: ['78-47=31', '13+63=76']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,26 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No 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: 26:[13, 78, 16], Operations: ['63-47=16']
Exploring Operation: 16-13=3, Resulting Numbers: [78, 3]
Generated Node #0,4,0: 26:[78, 3] Operation: 16-13=3
Exploring Operation: 78/13=6, Resulting Numbers: [16, 6]
Generated Node #0,4,1: 26:[16, 6] Operation: 78/13=6
Exploring Operation: 78-16=62, Resulting Numbers: [13, 62]
Generated Node #0,4,2: 26:[13, 62] Operation: 78-16=62
Exploring Operation: 78-13=65, Resulting Numbers: [16, 65]
Generated Node #0,4,3: 26:[16, 65] Operation: 78-13=65
Exploring Operation: 13+16=29, Resulting Numbers: [78, 29]
Generated Node #0,4,4: 26:[78, 29] Operation: 13+16=29
Moving to Node #0,4,1
Current State: 26:[16, 6], Operations: ['63-47=16', '78/13=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[13, 62], Operations: ['63-47=16', '78-16=62']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,26 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[16, 65], Operations: ['63-47=16', '78-13=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,26 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[78, 3], Operations: ['63-47=16', '16-13=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[13, 63, 78, 47], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [13, 78, 16]
Generated Node #0,4: 26:[13, 78, 16] Operation: 63-47=16
Moving to Node #0,4
Current State: 26:[13, 78, 16], Operations: ['63-47=16']
Exploring Operation: 16-13=3, Resulting Numbers: [78, 3]
Generated Node #0,4,0: 26:[78, 3] Operation: 16-13=3
Moving to Node #0,4,0
Current State: 26:[78, 3], Operations: ['63-47=16', '16-13=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | sum_heuristic |
[
96,
19,
32,
2
] | 20 | [
"96/32=3",
"19-2=17",
"3+17=20"
] | Current State: 20:[96, 19, 32, 2], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [19, 2, 3]
Generated Node #2: [19, 2, 3] from Operation: 96/32=3
Current State: 20:[19, 2, 3], Operations: ['96/32=3']
Exploring Operation: 19-2=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 19-2=17
Current State: 20:[3, 17], Operations: ['96/32=3', '19-2=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[96, 19, 32, 2], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [19, 32, 48]
Generated Node #0,0: 20:[19, 32, 48] Operation: 96/2=48
Exploring Operation: 96/32=3, Resulting Numbers: [19, 2, 3]
Generated Node #0,1: 20:[19, 2, 3] Operation: 96/32=3
Exploring Operation: 96-32=64, Resulting Numbers: [19, 2, 64]
Generated Node #0,2: 20:[19, 2, 64] Operation: 96-32=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[19, 2, 3], Operations: ['96/32=3']
Exploring Operation: 19+2=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 20:[3, 21] Operation: 19+2=21
Exploring Operation: 19+3=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 20:[2, 22] Operation: 19+3=22
Exploring Operation: 2+3=5, Resulting Numbers: [19, 5]
Generated Node #0,1,2: 20:[19, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[19, 5], Operations: ['96/32=3', '2+3=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No 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: 20:[3, 21], Operations: ['96/32=3', '19+2=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No 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: 20:[2, 22], Operations: ['96/32=3', '19+3=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[96, 19, 32, 2], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [19, 2, 3]
Generated Node #0,1: 20:[19, 2, 3] Operation: 96/32=3
Moving to Node #0,1
Current State: 20:[19, 2, 3], Operations: ['96/32=3']
Exploring Operation: 19+3=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 20:[2, 22] Operation: 19+3=22
Moving to Node #0,1,1
Current State: 20:[2, 22], Operations: ['96/32=3', '19+3=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
31,
31,
69,
40
] | 29 | [
"31-31=0",
"69-40=29",
"0+29=29"
] | Current State: 29:[31, 31, 69, 40], Operations: []
Exploring Operation: 31-31=0, Resulting Numbers: [69, 40, 0]
Generated Node #2: [69, 40, 0] from Operation: 31-31=0
Current State: 29:[69, 40, 0], Operations: ['31-31=0']
Exploring Operation: 69-40=29, Resulting Numbers: [0, 29]
Generated Node #3: [0, 29] from Operation: 69-40=29
Current State: 29:[0, 29], Operations: ['31-31=0', '69-40=29']
Exploring Operation: 0+29=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 31, 69, 40], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [31, 31, 29]
Generated Node #0,0: 29:[31, 31, 29] Operation: 69-40=29
Exploring Operation: 69-31=38, Resulting Numbers: [31, 40, 38]
Generated Node #0,1: 29:[31, 40, 38] Operation: 69-31=38
Moving to Node #0,0
Current State: 29:[31, 31, 29], Operations: ['69-40=29']
Exploring Operation: 31/31=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 31/31=1
Exploring Operation: 31-31=0, Resulting Numbers: [29, 0]
Generated Node #0,0,1: 29:[29, 0] Operation: 31-31=0
Moving to Node #0,1
Current State: 29:[31, 40, 38], Operations: ['69-31=38']
Exploring Operation: 40-38=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 29:[31, 2] Operation: 40-38=2
Exploring Operation: 40-31=9, Resulting Numbers: [38, 9]
Generated Node #0,1,1: 29:[38, 9] Operation: 40-31=9
Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['69-40=29', '31/31=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[31, 31, 69, 40], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [31, 31, 29]
Generated Node #0,0: 29:[31, 31, 29] Operation: 69-40=29
Moving to Node #0,0
Current State: 29:[31, 31, 29], Operations: ['69-40=29']
Exploring Operation: 31/31=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 29:[29, 1] Operation: 31/31=1
Moving to Node #0,0,0
Current State: 29:[29, 1], Operations: ['69-40=29', '31/31=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
79,
32,
17,
16
] | 13 | [
"79+17=96",
"96/32=3",
"16-3=13"
] | Current State: 13:[79, 32, 17, 16], Operations: []
Exploring Operation: 79+17=96, Resulting Numbers: [32, 16, 96]
Generated Node #2: [32, 16, 96] from Operation: 79+17=96
Current State: 13:[32, 16, 96], Operations: ['79+17=96']
Exploring Operation: 96/32=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 96/32=3
Current State: 13:[16, 3], Operations: ['79+17=96', '96/32=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[79, 32, 17, 16], Operations: []
Exploring Operation: 79-32=47, Resulting Numbers: [17, 16, 47]
Generated Node #0,0: 13:[17, 16, 47] Operation: 79-32=47
Exploring Operation: 79-17=62, Resulting Numbers: [32, 16, 62]
Generated Node #0,1: 13:[32, 16, 62] Operation: 79-17=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[17, 16, 47], Operations: ['79-32=47']
Exploring Operation: 47-17=30, Resulting Numbers: [16, 30]
Generated Node #0,0,0: 13:[16, 30] Operation: 47-17=30
Exploring Operation: 47-16=31, Resulting Numbers: [17, 31]
Generated Node #0,0,1: 13:[17, 31] Operation: 47-16=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[16, 30], Operations: ['79-32=47', '47-17=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[17, 31], Operations: ['79-32=47', '47-16=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,13 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: 13:[32, 16, 62], Operations: ['79-17=62']
Exploring Operation: 62-32=30, Resulting Numbers: [16, 30]
Generated Node #0,1,0: 13:[16, 30] Operation: 62-32=30
Exploring Operation: 32-16=16, Resulting Numbers: [62, 16]
Generated Node #0,1,1: 13:[62, 16] Operation: 32-16=16
Moving to Node #0,1,0
Current State: 13:[16, 30], Operations: ['79-17=62', '62-32=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[62, 16], Operations: ['79-17=62', '32-16=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,13 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 |
[
30,
70,
31,
10
] | 60 | [
"31-30=1",
"70-10=60",
"1*60=60"
] | Current State: 60:[30, 70, 31, 10], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [70, 10, 1]
Generated Node #2: [70, 10, 1] from Operation: 31-30=1
Current State: 60:[70, 10, 1], Operations: ['31-30=1']
Exploring Operation: 70-10=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 70-10=60
Current State: 60:[1, 60], Operations: ['31-30=1', '70-10=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[30, 70, 31, 10], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [30, 31, 60]
Generated Node #0,0: 60:[30, 31, 60] Operation: 70-10=60
Moving to Node #0,0
Current State: 60:[30, 31, 60], Operations: ['70-10=60']
Exploring Operation: 30+31=61, Resulting Numbers: [60, 61]
Generated Node #0,0,0: 60:[60, 61] Operation: 30+31=61
Moving to Node #0,0,0
Current State: 60:[60, 61], Operations: ['70-10=60', '30+31=61']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
86,
7,
6
] | 57 | [
"86-42=44",
"7+6=13",
"44+13=57"
] | Current State: 57:[42, 86, 7, 6], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [7, 6, 44]
Generated Node #2: [7, 6, 44] from Operation: 86-42=44
Current State: 57:[7, 6, 44], Operations: ['86-42=44']
Exploring Operation: 7+6=13, Resulting Numbers: [44, 13]
Generated Node #3: [44, 13] from Operation: 7+6=13
Current State: 57:[44, 13], Operations: ['86-42=44', '7+6=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[42, 86, 7, 6], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [7, 6, 44]
Generated Node #0,0: 57:[7, 6, 44] Operation: 86-42=44
Exploring Operation: 86-7=79, Resulting Numbers: [42, 6, 79]
Generated Node #0,1: 57:[42, 6, 79] Operation: 86-7=79
Exploring Operation: 42+7=49, Resulting Numbers: [86, 6, 49]
Generated Node #0,2: 57:[86, 6, 49] Operation: 42+7=49
Exploring Operation: 42/7=6, Resulting Numbers: [86, 6, 6]
Generated Node #0,3: 57:[86, 6, 6] Operation: 42/7=6
Exploring Operation: 42/6=7, Resulting Numbers: [86, 7, 7]
Generated Node #0,4: 57:[86, 7, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 57:[7, 6, 44], Operations: ['86-42=44']
Exploring Operation: 7-6=1, Resulting Numbers: [44, 1]
Generated Node #0,0,0: 57:[44, 1] Operation: 7-6=1
Exploring Operation: 44-7=37, Resulting Numbers: [6, 37]
Generated Node #0,0,1: 57:[6, 37] Operation: 44-7=37
Exploring Operation: 7+44=51, Resulting Numbers: [6, 51]
Generated Node #0,0,2: 57:[6, 51] Operation: 7+44=51
Exploring Operation: 7+6=13, Resulting Numbers: [44, 13]
Generated Node #0,0,3: 57:[44, 13] Operation: 7+6=13
Exploring Operation: 6+44=50, Resulting Numbers: [7, 50]
Generated Node #0,0,4: 57:[7, 50] Operation: 6+44=50
Moving to Node #0,3
Current State: 57:[86, 6, 6], Operations: ['42/7=6']
Exploring Operation: 86-6=80, Resulting Numbers: [6, 80]
Generated Node #0,3,0: 57:[6, 80] Operation: 86-6=80
Exploring Operation: 6/6=1, Resulting Numbers: [86, 1]
Generated Node #0,3,1: 57:[86, 1] Operation: 6/6=1
Exploring Operation: 86-6=80, Resulting Numbers: [6, 80]
Generated Node #0,3,2: 57:[6, 80] Operation: 86-6=80
Exploring Operation: 6-6=0, Resulting Numbers: [86, 0]
Generated Node #0,3,3: 57:[86, 0] Operation: 6-6=0
Exploring Operation: 6+6=12, Resulting Numbers: [86, 12]
Generated Node #0,3,4: 57:[86, 12] Operation: 6+6=12
Moving to Node #0,4
Current State: 57:[86, 7, 7], Operations: ['42/6=7']
Exploring Operation: 86-7=79, Resulting Numbers: [7, 79]
Generated Node #0,4,0: 57:[7, 79] Operation: 86-7=79
Exploring Operation: 7+7=14, Resulting Numbers: [86, 14]
Generated Node #0,4,1: 57:[86, 14] Operation: 7+7=14
Exploring Operation: 7-7=0, Resulting Numbers: [86, 0]
Generated Node #0,4,2: 57:[86, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [86, 1]
Generated Node #0,4,3: 57:[86, 1] Operation: 7/7=1
Exploring Operation: 86-7=79, Resulting Numbers: [7, 79]
Generated Node #0,4,4: 57:[7, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[7, 79], Operations: ['42/6=7', '86-7=79']
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[7, 79], Operations: ['42/6=7', '86-7=79']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[86, 1], Operations: ['42/6=7', '7/7=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[86, 0], Operations: ['42/6=7', '7-7=0']
Exploring Operation: 86-0=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 86+0=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 86*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[86, 14], Operations: ['42/6=7', '7+7=14']
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,57 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[42, 6, 79], Operations: ['86-7=79']
Exploring Operation: 42/6=7, Resulting Numbers: [79, 7]
Generated Node #0,1,0: 57:[79, 7] Operation: 42/6=7
Exploring Operation: 42+6=48, Resulting Numbers: [79, 48]
Generated Node #0,1,1: 57:[79, 48] Operation: 42+6=48
Exploring Operation: 42-6=36, Resulting Numbers: [79, 36]
Generated Node #0,1,2: 57:[79, 36] Operation: 42-6=36
Exploring Operation: 79-6=73, Resulting Numbers: [42, 73]
Generated Node #0,1,3: 57:[42, 73] Operation: 79-6=73
Exploring Operation: 79-42=37, Resulting Numbers: [6, 37]
Generated Node #0,1,4: 57:[6, 37] Operation: 79-42=37
Moving to Node #0,2
Current State: 57:[86, 6, 49], Operations: ['42+7=49']
Exploring Operation: 49-6=43, Resulting Numbers: [86, 43]
Generated Node #0,2,0: 57:[86, 43] Operation: 49-6=43
Exploring Operation: 86-6=80, Resulting Numbers: [49, 80]
Generated Node #0,2,1: 57:[49, 80] Operation: 86-6=80
Exploring Operation: 86-49=37, Resulting Numbers: [6, 37]
Generated Node #0,2,2: 57:[6, 37] Operation: 86-49=37
Exploring Operation: 6+49=55, Resulting Numbers: [86, 55]
Generated Node #0,2,3: 57:[86, 55] Operation: 6+49=55
Exploring Operation: 86+6=92, Resulting Numbers: [49, 92]
Generated Node #0,2,4: 57:[49, 92] Operation: 86+6=92
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[6, 37], Operations: ['42+7=49', '86-49=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[49, 80], Operations: ['42+7=49', '86-6=80']
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,57 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[86, 55], Operations: ['42+7=49', '6+49=55']
Exploring Operation: 86*55=4730, Resulting Numbers: [4730]
4730,57 unequal: No Solution
Exploring Operation: 86+55=141, Resulting Numbers: [141]
141,57 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[86, 43], Operations: ['42+7=49', '49-6=43']
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,57 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[49, 92], Operations: ['42+7=49', '86+6=92']
Exploring Operation: 49+92=141, Resulting Numbers: [141]
141,57 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 49*92=4508, Resulting Numbers: [4508]
4508,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 57:[6, 51], Operations: ['86-42=44', '7+44=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,57 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[42, 86, 7, 6], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [7, 6, 44]
Generated Node #0,0: 57:[7, 6, 44] Operation: 86-42=44
Moving to Node #0,0
Current State: 57:[7, 6, 44], Operations: ['86-42=44']
Exploring Operation: 7+44=51, Resulting Numbers: [6, 51]
Generated Node #0,0,2: 57:[6, 51] Operation: 7+44=51
Moving to Node #0,0,2
Current State: 57:[6, 51], Operations: ['86-42=44', '7+44=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
47,
19,
12,
7
] | 14 | [
"47-12=35",
"35/7=5",
"19-5=14"
] | Current State: 14:[47, 19, 12, 7], Operations: []
Exploring Operation: 47-12=35, Resulting Numbers: [19, 7, 35]
Generated Node #2: [19, 7, 35] from Operation: 47-12=35
Current State: 14:[19, 7, 35], Operations: ['47-12=35']
Exploring Operation: 35/7=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 35/7=5
Current State: 14:[19, 5], Operations: ['47-12=35', '35/7=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[47, 19, 12, 7], Operations: []
Exploring Operation: 47-19=28, Resulting Numbers: [12, 7, 28]
Generated Node #0,0: 14:[12, 7, 28] Operation: 47-19=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[12, 7, 28], Operations: ['47-19=28']
Exploring Operation: 28-12=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 14:[7, 16] Operation: 28-12=16
Moving to Node #0,0,0
Current State: 14:[7, 16], Operations: ['47-19=28', '28-12=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,14 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 |
[
30,
1,
55,
54
] | 60 | [
"1+55=56",
"56-54=2",
"30*2=60"
] | Current State: 60:[30, 1, 55, 54], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [30, 54, 56]
Generated Node #2: [30, 54, 56] from Operation: 1+55=56
Current State: 60:[30, 54, 56], Operations: ['1+55=56']
Exploring Operation: 56-54=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 56-54=2
Current State: 60:[30, 2], Operations: ['1+55=56', '56-54=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[30, 1, 55, 54], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [30, 1, 1]
Generated Node #0,0: 60:[30, 1, 1] Operation: 55-54=1
Exploring Operation: 54-30=24, Resulting Numbers: [1, 55, 24]
Generated Node #0,1: 60:[1, 55, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[30, 1, 1], Operations: ['55-54=1']
Exploring Operation: 30*1=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 60:[1, 30] Operation: 30*1=30
Exploring Operation: 1+1=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 60:[30, 2] Operation: 1+1=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[30, 2], Operations: ['55-54=1', '1+1=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[30, 1, 55, 54], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [30, 1, 1]
Generated Node #0,0: 60:[30, 1, 1] Operation: 55-54=1
Moving to Node #0,0
Current State: 60:[30, 1, 1], Operations: ['55-54=1']
Exploring Operation: 1+1=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 60:[30, 2] Operation: 1+1=2
Moving to Node #0,0,1
Current State: 60:[30, 2], Operations: ['55-54=1', '1+1=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
97,
26,
24,
17
] | 85 | [
"24-17=7",
"26*7=182",
"182-97=85"
] | Current State: 85:[97, 26, 24, 17], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [97, 26, 7]
Generated Node #2: [97, 26, 7] from Operation: 24-17=7
Current State: 85:[97, 26, 7], Operations: ['24-17=7']
Exploring Operation: 26*7=182, Resulting Numbers: [97, 182]
Generated Node #3: [97, 182] from Operation: 26*7=182
Current State: 85:[97, 182], Operations: ['24-17=7', '26*7=182']
Exploring Operation: 182-97=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[97, 26, 24, 17], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [97, 17, 2]
Generated Node #0,0: 85:[97, 17, 2] Operation: 26-24=2
Exploring Operation: 97-26=71, Resulting Numbers: [24, 17, 71]
Generated Node #0,1: 85:[24, 17, 71] Operation: 97-26=71
Exploring Operation: 97-17=80, Resulting Numbers: [26, 24, 80]
Generated Node #0,2: 85:[26, 24, 80] Operation: 97-17=80
Exploring Operation: 97-24=73, Resulting Numbers: [26, 17, 73]
Generated Node #0,3: 85:[26, 17, 73] Operation: 97-24=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[97, 17, 2], Operations: ['26-24=2']
Exploring Operation: 97-2=95, Resulting Numbers: [17, 95]
Generated Node #0,0,0: 85:[17, 95] Operation: 97-2=95
Exploring Operation: 97-17=80, Resulting Numbers: [2, 80]
Generated Node #0,0,1: 85:[2, 80] Operation: 97-17=80
Exploring Operation: 17+2=19, Resulting Numbers: [97, 19]
Generated Node #0,0,2: 85:[97, 19] Operation: 17+2=19
Exploring Operation: 97+2=99, Resulting Numbers: [17, 99]
Generated Node #0,0,3: 85:[17, 99] Operation: 97+2=99
Moving to Node #0,0,1
Current State: 85:[2, 80], Operations: ['26-24=2', '97-17=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,85 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[17, 95], Operations: ['26-24=2', '97-2=95']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 17+95=112, Resulting Numbers: [112]
112,85 unequal: No Solution
Exploring Operation: 17*95=1615, Resulting Numbers: [1615]
1615,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[17, 99], Operations: ['26-24=2', '97+2=99']
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,85 unequal: No Solution
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[97, 19], Operations: ['26-24=2', '17+2=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,85 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,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:[24, 17, 71], Operations: ['97-26=71']
Exploring Operation: 24-17=7, Resulting Numbers: [71, 7]
Generated Node #0,1,0: 85:[71, 7] Operation: 24-17=7
Exploring Operation: 24+71=95, Resulting Numbers: [17, 95]
Generated Node #0,1,1: 85:[17, 95] Operation: 24+71=95
Exploring Operation: 17+71=88, Resulting Numbers: [24, 88]
Generated Node #0,1,2: 85:[24, 88] Operation: 17+71=88
Exploring Operation: 71-24=47, Resulting Numbers: [17, 47]
Generated Node #0,1,3: 85:[17, 47] Operation: 71-24=47
Moving to Node #0,1,1
Current State: 85:[17, 95], Operations: ['97-26=71', '24+71=95']
Exploring Operation: 17+95=112, Resulting Numbers: [112]
112,85 unequal: No Solution
Exploring Operation: 17*95=1615, Resulting Numbers: [1615]
1615,85 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[24, 88], Operations: ['97-26=71', '17+71=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,85 unequal: No Solution
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,85 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[71, 7], Operations: ['97-26=71', '24-17=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[17, 47], Operations: ['97-26=71', '71-24=47']
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,85 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,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,2
Current State: 85:[26, 24, 80], Operations: ['97-17=80']
Exploring Operation: 26+80=106, Resulting Numbers: [24, 106]
Generated Node #0,2,0: 85:[24, 106] Operation: 26+80=106
Exploring Operation: 24+80=104, Resulting Numbers: [26, 104]
Generated Node #0,2,1: 85:[26, 104] Operation: 24+80=104
Exploring Operation: 26-24=2, Resulting Numbers: [80, 2]
Generated Node #0,2,2: 85:[80, 2] Operation: 26-24=2
Exploring Operation: 26+24=50, Resulting Numbers: [80, 50]
Generated Node #0,2,3: 85:[80, 50] Operation: 26+24=50
Moving to Node #0,2,2
Current State: 85:[80, 2], Operations: ['97-17=80', '26-24=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,85 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[26, 104], Operations: ['97-17=80', '24+80=104']
Exploring Operation: 26+104=130, Resulting Numbers: [130]
130,85 unequal: No Solution
Exploring Operation: 104/26=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 104-26=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 26*104=2704, Resulting Numbers: [2704]
2704,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[24, 106], Operations: ['97-17=80', '26+80=106']
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 24+106=130, Resulting Numbers: [130]
130,85 unequal: No Solution
Exploring Operation: 24*106=2544, Resulting Numbers: [2544]
2544,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[80, 50], Operations: ['97-17=80', '26+24=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,85 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,85 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,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,3
Current State: 85:[26, 17, 73], Operations: ['97-24=73']
Exploring Operation: 26+73=99, Resulting Numbers: [17, 99]
Generated Node #0,3,0: 85:[17, 99] Operation: 26+73=99
Exploring Operation: 26-17=9, Resulting Numbers: [73, 9]
Generated Node #0,3,1: 85:[73, 9] Operation: 26-17=9
Exploring Operation: 17+73=90, Resulting Numbers: [26, 90]
Generated Node #0,3,2: 85:[26, 90] Operation: 17+73=90
Exploring Operation: 73-26=47, Resulting Numbers: [17, 47]
Generated Node #0,3,3: 85:[17, 47] Operation: 73-26=47
Moving to Node #0,3,0
Current State: 85:[17, 99], Operations: ['97-24=73', '26+73=99']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[26, 90], Operations: ['97-24=73', '17+73=90']
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,85 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,85 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[73, 9], Operations: ['97-24=73', '26-17=9']
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,85 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[17, 47], Operations: ['97-24=73', '73-26=47']
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,85 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,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 | sum_heuristic |
[
81,
9,
88,
27
] | 91 | [
"81/9=9",
"27/9=3",
"88+3=91"
] | Current State: 91:[81, 9, 88, 27], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [88, 27, 9]
Generated Node #2: [88, 27, 9] from Operation: 81/9=9
Current State: 91:[88, 27, 9], Operations: ['81/9=9']
Exploring Operation: 27/9=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 27/9=3
Current State: 91:[88, 3], Operations: ['81/9=9', '27/9=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[81, 9, 88, 27], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [9, 27, 7]
Generated Node #0,0: 91:[9, 27, 7] Operation: 88-81=7
Exploring Operation: 81/27=3, Resulting Numbers: [9, 88, 3]
Generated Node #0,1: 91:[9, 88, 3] Operation: 81/27=3
Exploring Operation: 27/9=3, Resulting Numbers: [81, 88, 3]
Generated Node #0,2: 91:[81, 88, 3] Operation: 27/9=3
Moving to Node #0,1
Current State: 91:[9, 88, 3], Operations: ['81/27=3']
Exploring Operation: 9+3=12, Resulting Numbers: [88, 12]
Generated Node #0,1,0: 91:[88, 12] Operation: 9+3=12
Exploring Operation: 9-3=6, Resulting Numbers: [88, 6]
Generated Node #0,1,1: 91:[88, 6] Operation: 9-3=6
Exploring Operation: 88+3=91, Resulting Numbers: [9, 91]
Generated Node #0,1,2: 91:[9, 91] Operation: 88+3=91
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[9, 91], Operations: ['81/27=3', '88+3=91']
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,91 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[88, 12], Operations: ['81/27=3', '9+3=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,91 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[88, 6], Operations: ['81/27=3', '9-3=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,91 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: 91:[9, 27, 7], Operations: ['88-81=7']
Exploring Operation: 27-9=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 91:[7, 18] Operation: 27-9=18
Exploring Operation: 27-7=20, Resulting Numbers: [9, 20]
Generated Node #0,0,1: 91:[9, 20] Operation: 27-7=20
Exploring Operation: 27/9=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 91:[7, 3] Operation: 27/9=3
Moving to Node #0,2
Current State: 91:[81, 88, 3], Operations: ['27/9=3']
Exploring Operation: 81+3=84, Resulting Numbers: [88, 84]
Generated Node #0,2,0: 91:[88, 84] Operation: 81+3=84
Exploring Operation: 88-81=7, Resulting Numbers: [3, 7]
Generated Node #0,2,1: 91:[3, 7] Operation: 88-81=7
Exploring Operation: 88+3=91, Resulting Numbers: [81, 91]
Generated Node #0,2,2: 91:[81, 91] Operation: 88+3=91
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[3, 7], Operations: ['27/9=3', '88-81=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[88, 84], Operations: ['27/9=3', '81+3=84']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 88+84=172, Resulting Numbers: [172]
172,91 unequal: No Solution
Exploring Operation: 88*84=7392, Resulting Numbers: [7392]
7392,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[81, 91], Operations: ['27/9=3', '88+3=91']
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,91 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 91:[7, 3], Operations: ['88-81=7', '27/9=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[7, 18], Operations: ['88-81=7', '27-9=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,91 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[9, 20], Operations: ['88-81=7', '27-7=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,91 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
52,
9,
24
] | 30 | [
"11+52=63",
"9+24=33",
"63-33=30"
] | Current State: 30:[11, 52, 9, 24], Operations: []
Exploring Operation: 11+52=63, Resulting Numbers: [9, 24, 63]
Generated Node #2: [9, 24, 63] from Operation: 11+52=63
Current State: 30:[9, 24, 63], Operations: ['11+52=63']
Exploring Operation: 9+24=33, Resulting Numbers: [63, 33]
Generated Node #3: [63, 33] from Operation: 9+24=33
Current State: 30:[63, 33], Operations: ['11+52=63', '9+24=33']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[11, 52, 9, 24], Operations: []
Exploring Operation: 52-11=41, Resulting Numbers: [9, 24, 41]
Generated Node #0,0: 30:[9, 24, 41] Operation: 52-11=41
Exploring Operation: 52-24=28, Resulting Numbers: [11, 9, 28]
Generated Node #0,1: 30:[11, 9, 28] Operation: 52-24=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[11, 9, 28], Operations: ['52-24=28']
Exploring Operation: 11-9=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 30:[28, 2] Operation: 11-9=2
Exploring Operation: 28-11=17, Resulting Numbers: [9, 17]
Generated Node #0,1,1: 30:[9, 17] Operation: 28-11=17
Moving to Node #0,1,0
Current State: 30:[28, 2], Operations: ['52-24=28', '11-9=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[11, 52, 9, 24], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [11, 9, 28]
Generated Node #0,1: 30:[11, 9, 28] Operation: 52-24=28
Moving to Node #0,1
Current State: 30:[11, 9, 28], Operations: ['52-24=28']
Exploring Operation: 11-9=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 30:[28, 2] Operation: 11-9=2
Moving to Node #0,1,0
Current State: 30:[28, 2], Operations: ['52-24=28', '11-9=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
7,
50,
10,
64
] | 66 | [
"7+64=71",
"50/10=5",
"71-5=66"
] | Current State: 66:[7, 50, 10, 64], Operations: []
Exploring Operation: 7+64=71, Resulting Numbers: [50, 10, 71]
Generated Node #2: [50, 10, 71] from Operation: 7+64=71
Current State: 66:[50, 10, 71], Operations: ['7+64=71']
Exploring Operation: 50/10=5, Resulting Numbers: [71, 5]
Generated Node #3: [71, 5] from Operation: 50/10=5
Current State: 66:[71, 5], Operations: ['7+64=71', '50/10=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[7, 50, 10, 64], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [7, 64, 5]
Generated Node #0,0: 66:[7, 64, 5] Operation: 50/10=5
Exploring Operation: 64-50=14, Resulting Numbers: [7, 10, 14]
Generated Node #0,1: 66:[7, 10, 14] Operation: 64-50=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[7, 64, 5], Operations: ['50/10=5']
Exploring Operation: 7-5=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 66:[64, 2] Operation: 7-5=2
Exploring Operation: 7+5=12, Resulting Numbers: [64, 12]
Generated Node #0,0,1: 66:[64, 12] Operation: 7+5=12
Moving to Node #0,0,0
Current State: 66:[64, 2], Operations: ['50/10=5', '7-5=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[7, 50, 10, 64], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [7, 64, 5]
Generated Node #0,0: 66:[7, 64, 5] Operation: 50/10=5
Moving to Node #0,0
Current State: 66:[7, 64, 5], Operations: ['50/10=5']
Exploring Operation: 7-5=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 66:[64, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 66:[64, 2], Operations: ['50/10=5', '7-5=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
84,
6,
48,
14
] | 56 | [
"84+6=90",
"48-14=34",
"90-34=56"
] | Current State: 56:[84, 6, 48, 14], Operations: []
Exploring Operation: 84+6=90, Resulting Numbers: [48, 14, 90]
Generated Node #2: [48, 14, 90] from Operation: 84+6=90
Current State: 56:[48, 14, 90], Operations: ['84+6=90']
Exploring Operation: 48-14=34, Resulting Numbers: [90, 34]
Generated Node #3: [90, 34] from Operation: 48-14=34
Current State: 56:[90, 34], Operations: ['84+6=90', '48-14=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 6, 48, 14], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [6, 14, 36]
Generated Node #0,0: 56:[6, 14, 36] Operation: 84-48=36
Exploring Operation: 84-14=70, Resulting Numbers: [6, 48, 70]
Generated Node #0,1: 56:[6, 48, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [6, 48, 6]
Generated Node #0,2: 56:[6, 48, 6] Operation: 84/14=6
Exploring Operation: 84/6=14, Resulting Numbers: [48, 14, 14]
Generated Node #0,3: 56:[48, 14, 14] Operation: 84/6=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[48, 14, 14], Operations: ['84/6=14']
Exploring Operation: 48+14=62, Resulting Numbers: [14, 62]
Generated Node #0,3,0: 56:[14, 62] Operation: 48+14=62
Exploring Operation: 48+14=62, Resulting Numbers: [14, 62]
Generated Node #0,3,1: 56:[14, 62] Operation: 48+14=62
Exploring Operation: 48-14=34, Resulting Numbers: [14, 34]
Generated Node #0,3,2: 56:[14, 34] Operation: 48-14=34
Exploring Operation: 48-14=34, Resulting Numbers: [14, 34]
Generated Node #0,3,3: 56:[14, 34] Operation: 48-14=34
Moving to Node #0,3,0
Current State: 56:[14, 62], Operations: ['84/6=14', '48+14=62']
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,56 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[14, 34], Operations: ['84/6=14', '48-14=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,56 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[14, 62], Operations: ['84/6=14', '48+14=62']
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,56 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[14, 34], Operations: ['84/6=14', '48-14=34']
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[6, 14, 36], Operations: ['84-48=36']
Exploring Operation: 36-14=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 56:[6, 22] Operation: 36-14=22
Exploring Operation: 36/6=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 56:[14, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [14, 30]
Generated Node #0,0,2: 56:[14, 30] Operation: 36-6=30
Exploring Operation: 14+36=50, Resulting Numbers: [6, 50]
Generated Node #0,0,3: 56:[6, 50] Operation: 14+36=50
Moving to Node #0,0,1
Current State: 56:[14, 6], Operations: ['84-48=36', '36/6=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[14, 30], Operations: ['84-48=36', '36-6=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[6, 50], Operations: ['84-48=36', '14+36=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,56 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[84, 6, 48, 14], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [6, 14, 36]
Generated Node #0,0: 56:[6, 14, 36] Operation: 84-48=36
Moving to Node #0,0
Current State: 56:[6, 14, 36], Operations: ['84-48=36']
Exploring Operation: 14+36=50, Resulting Numbers: [6, 50]
Generated Node #0,0,3: 56:[6, 50] Operation: 14+36=50
Moving to Node #0,0,3
Current State: 56:[6, 50], Operations: ['84-48=36', '14+36=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
74,
62,
95,
3
] | 38 | [
"74+62=136",
"95+3=98",
"136-98=38"
] | Current State: 38:[74, 62, 95, 3], Operations: []
Exploring Operation: 74+62=136, Resulting Numbers: [95, 3, 136]
Generated Node #2: [95, 3, 136] from Operation: 74+62=136
Current State: 38:[95, 3, 136], Operations: ['74+62=136']
Exploring Operation: 95+3=98, Resulting Numbers: [136, 98]
Generated Node #3: [136, 98] from Operation: 95+3=98
Current State: 38:[136, 98], Operations: ['74+62=136', '95+3=98']
Exploring Operation: 136-98=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[74, 62, 95, 3], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [62, 3, 21]
Generated Node #0,0: 38:[62, 3, 21] Operation: 95-74=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[62, 3, 21], Operations: ['95-74=21']
Exploring Operation: 62-21=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 38:[3, 41] Operation: 62-21=41
Moving to Node #0,0,0
Current State: 38:[3, 41], Operations: ['95-74=21', '62-21=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[74, 62, 95, 3], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [62, 3, 21]
Generated Node #0,0: 38:[62, 3, 21] Operation: 95-74=21
Moving to Node #0,0
Current State: 38:[62, 3, 21], Operations: ['95-74=21']
Exploring Operation: 62-21=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 38:[3, 41] Operation: 62-21=41
Moving to Node #0,0,0
Current State: 38:[3, 41], Operations: ['95-74=21', '62-21=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
28,
24,
73,
21
] | 48 | [
"28-24=4",
"73-21=52",
"52-4=48"
] | Current State: 48:[28, 24, 73, 21], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [73, 21, 4]
Generated Node #2: [73, 21, 4] from Operation: 28-24=4
Current State: 48:[73, 21, 4], Operations: ['28-24=4']
Exploring Operation: 73-21=52, Resulting Numbers: [4, 52]
Generated Node #3: [4, 52] from Operation: 73-21=52
Current State: 48:[4, 52], Operations: ['28-24=4', '73-21=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[28, 24, 73, 21], Operations: []
Exploring Operation: 73-28=45, Resulting Numbers: [24, 21, 45]
Generated Node #0,0: 48:[24, 21, 45] Operation: 73-28=45
Exploring Operation: 73-21=52, Resulting Numbers: [28, 24, 52]
Generated Node #0,1: 48:[28, 24, 52] Operation: 73-21=52
Exploring Operation: 73-24=49, Resulting Numbers: [28, 21, 49]
Generated Node #0,2: 48:[28, 21, 49] Operation: 73-24=49
Moving to Node #0,0
Current State: 48:[24, 21, 45], Operations: ['73-28=45']
Exploring Operation: 24-21=3, Resulting Numbers: [45, 3]
Generated Node #0,0,0: 48:[45, 3] Operation: 24-21=3
Exploring Operation: 45-21=24, Resulting Numbers: [24, 24]
Generated Node #0,0,1: 48:[24, 24] Operation: 45-21=24
Exploring Operation: 24+21=45, Resulting Numbers: [45, 45]
Generated Node #0,0,2: 48:[45, 45] Operation: 24+21=45
Moving to Node #0,1
Current State: 48:[28, 24, 52], Operations: ['73-21=52']
Exploring Operation: 28-24=4, Resulting Numbers: [52, 4]
Generated Node #0,1,0: 48:[52, 4] Operation: 28-24=4
Exploring Operation: 52-28=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 48:[24, 24] Operation: 52-28=24
Exploring Operation: 28+24=52, Resulting Numbers: [52, 52]
Generated Node #0,1,2: 48:[52, 52] Operation: 28+24=52
Moving to Node #0,2
Current State: 48:[28, 21, 49], Operations: ['73-24=49']
Exploring Operation: 28-21=7, Resulting Numbers: [49, 7]
Generated Node #0,2,0: 48:[49, 7] Operation: 28-21=7
Exploring Operation: 49-28=21, Resulting Numbers: [21, 21]
Generated Node #0,2,1: 48:[21, 21] Operation: 49-28=21
Exploring Operation: 28+21=49, Resulting Numbers: [49, 49]
Generated Node #0,2,2: 48:[49, 49] Operation: 28+21=49
Moving to Node #0,0,1
Current State: 48:[24, 24], Operations: ['73-28=45', '45-21=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[28, 24, 73, 21], Operations: []
Exploring Operation: 73-28=45, Resulting Numbers: [24, 21, 45]
Generated Node #0,0: 48:[24, 21, 45] Operation: 73-28=45
Moving to Node #0,0
Current State: 48:[24, 21, 45], Operations: ['73-28=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24, 24]
Generated Node #0,0,1: 48:[24, 24] Operation: 45-21=24
Moving to Node #0,0,1
Current State: 48:[24, 24], Operations: ['73-28=45', '45-21=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
62,
20,
51,
99
] | 90 | [
"62-20=42",
"99-51=48",
"42+48=90"
] | Current State: 90:[62, 20, 51, 99], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [51, 99, 42]
Generated Node #2: [51, 99, 42] from Operation: 62-20=42
Current State: 90:[51, 99, 42], Operations: ['62-20=42']
Exploring Operation: 99-51=48, Resulting Numbers: [42, 48]
Generated Node #3: [42, 48] from Operation: 99-51=48
Current State: 90:[42, 48], Operations: ['62-20=42', '99-51=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[62, 20, 51, 99], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [51, 99, 42]
Generated Node #0,0: 90:[51, 99, 42] Operation: 62-20=42
Exploring Operation: 62-51=11, Resulting Numbers: [20, 99, 11]
Generated Node #0,1: 90:[20, 99, 11] Operation: 62-51=11
Exploring Operation: 99-62=37, Resulting Numbers: [20, 51, 37]
Generated Node #0,2: 90:[20, 51, 37] Operation: 99-62=37
Moving to Node #0,1
Current State: 90:[20, 99, 11], Operations: ['62-51=11']
Exploring Operation: 99-11=88, Resulting Numbers: [20, 88]
Generated Node #0,1,0: 90:[20, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [20, 9]
Generated Node #0,1,1: 90:[20, 9] Operation: 99/11=9
Exploring Operation: 20-11=9, Resulting Numbers: [99, 9]
Generated Node #0,1,2: 90:[99, 9] Operation: 20-11=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[20, 9], Operations: ['62-51=11', '99/11=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[20, 88], Operations: ['62-51=11', '99-11=88']
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,90 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[99, 9], Operations: ['62-51=11', '20-11=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[62, 20, 51, 99], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [20, 99, 11]
Generated Node #0,1: 90:[20, 99, 11] Operation: 62-51=11
Moving to Node #0,1
Current State: 90:[20, 99, 11], Operations: ['62-51=11']
Exploring Operation: 20-11=9, Resulting Numbers: [99, 9]
Generated Node #0,1,2: 90:[99, 9] Operation: 20-11=9
Moving to Node #0,1,2
Current State: 90:[99, 9], Operations: ['62-51=11', '20-11=9']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
62,
85,
43,
45
] | 61 | [
"85*45=3825",
"3825-43=3782",
"3782/62=61"
] | Current State: 61:[62, 85, 43, 45], Operations: []
Exploring Operation: 85*45=3825, Resulting Numbers: [62, 43, 3825]
Generated Node #2: [62, 43, 3825] from Operation: 85*45=3825
Current State: 61:[62, 43, 3825], Operations: ['85*45=3825']
Exploring Operation: 3825-43=3782, Resulting Numbers: [62, 3782]
Generated Node #3: [62, 3782] from Operation: 3825-43=3782
Current State: 61:[62, 3782], Operations: ['85*45=3825', '3825-43=3782']
Exploring Operation: 3782/62=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[62, 85, 43, 45], Operations: []
Exploring Operation: 43+45=88, Resulting Numbers: [62, 85, 88]
Generated Node #0,0: 61:[62, 85, 88] Operation: 43+45=88
Exploring Operation: 85-62=23, Resulting Numbers: [43, 45, 23]
Generated Node #0,1: 61:[43, 45, 23] Operation: 85-62=23
Exploring Operation: 85-45=40, Resulting Numbers: [62, 43, 40]
Generated Node #0,2: 61:[62, 43, 40] Operation: 85-45=40
Exploring Operation: 85-43=42, Resulting Numbers: [62, 45, 42]
Generated Node #0,3: 61:[62, 45, 42] Operation: 85-43=42
Exploring Operation: 62-43=19, Resulting Numbers: [85, 45, 19]
Generated Node #0,4: 61:[85, 45, 19] Operation: 62-43=19
Moving to Node #0,3
Current State: 61:[62, 45, 42], Operations: ['85-43=42']
Exploring Operation: 62-42=20, Resulting Numbers: [45, 20]
Generated Node #0,3,0: 61:[45, 20] Operation: 62-42=20
Exploring Operation: 45+42=87, Resulting Numbers: [62, 87]
Generated Node #0,3,1: 61:[62, 87] Operation: 45+42=87
Exploring Operation: 62+42=104, Resulting Numbers: [45, 104]
Generated Node #0,3,2: 61:[45, 104] Operation: 62+42=104
Exploring Operation: 62-45=17, Resulting Numbers: [42, 17]
Generated Node #0,3,3: 61:[42, 17] Operation: 62-45=17
Exploring Operation: 45-42=3, Resulting Numbers: [62, 3]
Generated Node #0,3,4: 61:[62, 3] Operation: 45-42=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[62, 87], Operations: ['85-43=42', '45+42=87']
Exploring Operation: 62+87=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 62*87=5394, Resulting Numbers: [5394]
5394,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[45, 20], Operations: ['85-43=42', '62-42=20']
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,61 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[45, 104], Operations: ['85-43=42', '62+42=104']
Exploring Operation: 45*104=4680, Resulting Numbers: [4680]
4680,61 unequal: No Solution
Exploring Operation: 104-45=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 45+104=149, Resulting Numbers: [149]
149,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 61:[62, 3], Operations: ['85-43=42', '45-42=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[42, 17], Operations: ['85-43=42', '62-45=17']
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,61 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,61 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: 61:[62, 43, 40], Operations: ['85-45=40']
Exploring Operation: 62-43=19, Resulting Numbers: [40, 19]
Generated Node #0,2,0: 61:[40, 19] Operation: 62-43=19
Exploring Operation: 62+40=102, Resulting Numbers: [43, 102]
Generated Node #0,2,1: 61:[43, 102] Operation: 62+40=102
Exploring Operation: 43-40=3, Resulting Numbers: [62, 3]
Generated Node #0,2,2: 61:[62, 3] Operation: 43-40=3
Exploring Operation: 62-40=22, Resulting Numbers: [43, 22]
Generated Node #0,2,3: 61:[43, 22] Operation: 62-40=22
Exploring Operation: 43+40=83, Resulting Numbers: [62, 83]
Generated Node #0,2,4: 61:[62, 83] Operation: 43+40=83
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[62, 83], Operations: ['85-45=40', '43+40=83']
Exploring Operation: 62+83=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 62*83=5146, Resulting Numbers: [5146]
5146,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[43, 22], Operations: ['85-45=40', '62-40=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[43, 102], Operations: ['85-45=40', '62+40=102']
Exploring Operation: 43+102=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 43*102=4386, Resulting Numbers: [4386]
4386,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[62, 3], Operations: ['85-45=40', '43-40=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[40, 19], Operations: ['85-45=40', '62-43=19']
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,61 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,61 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: 61:[62, 85, 88], Operations: ['43+45=88']
Exploring Operation: 88-62=26, Resulting Numbers: [85, 26]
Generated Node #0,0,0: 61:[85, 26] Operation: 88-62=26
Exploring Operation: 62+88=150, Resulting Numbers: [85, 150]
Generated Node #0,0,1: 61:[85, 150] Operation: 62+88=150
Exploring Operation: 88-85=3, Resulting Numbers: [62, 3]
Generated Node #0,0,2: 61:[62, 3] Operation: 88-85=3
Exploring Operation: 85-62=23, Resulting Numbers: [88, 23]
Generated Node #0,0,3: 61:[88, 23] Operation: 85-62=23
Exploring Operation: 62+85=147, Resulting Numbers: [88, 147]
Generated Node #0,0,4: 61:[88, 147] Operation: 62+85=147
Moving to Node #0,1
Current State: 61:[43, 45, 23], Operations: ['85-62=23']
Exploring Operation: 43+23=66, Resulting Numbers: [45, 66]
Generated Node #0,1,0: 61:[45, 66] Operation: 43+23=66
Exploring Operation: 45-23=22, Resulting Numbers: [43, 22]
Generated Node #0,1,1: 61:[43, 22] Operation: 45-23=22
Exploring Operation: 43-23=20, Resulting Numbers: [45, 20]
Generated Node #0,1,2: 61:[45, 20] Operation: 43-23=20
Exploring Operation: 43+45=88, Resulting Numbers: [23, 88]
Generated Node #0,1,3: 61:[23, 88] Operation: 43+45=88
Exploring Operation: 45+23=68, Resulting Numbers: [43, 68]
Generated Node #0,1,4: 61:[43, 68] Operation: 45+23=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[45, 66], Operations: ['85-62=23', '43+23=66']
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[43, 68], Operations: ['85-62=23', '45+23=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[43, 22], Operations: ['85-62=23', '45-23=22']
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,61 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[45, 20], Operations: ['85-62=23', '43-23=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,61 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[23, 88], Operations: ['85-62=23', '43+45=88']
Exploring Operation: 23*88=2024, Resulting Numbers: [2024]
2024,61 unequal: No Solution
Exploring Operation: 23+88=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,61 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: 61:[85, 45, 19], Operations: ['62-43=19']
Exploring Operation: 85-19=66, Resulting Numbers: [45, 66]
Generated Node #0,4,0: 61:[45, 66] Operation: 85-19=66
Exploring Operation: 45-19=26, Resulting Numbers: [85, 26]
Generated Node #0,4,1: 61:[85, 26] Operation: 45-19=26
Exploring Operation: 85+19=104, Resulting Numbers: [45, 104]
Generated Node #0,4,2: 61:[45, 104] Operation: 85+19=104
Exploring Operation: 45+19=64, Resulting Numbers: [85, 64]
Generated Node #0,4,3: 61:[85, 64] Operation: 45+19=64
Exploring Operation: 85-45=40, Resulting Numbers: [19, 40]
Generated Node #0,4,4: 61:[19, 40] Operation: 85-45=40
Moving to Node #0,4,0
Current State: 61:[45, 66], Operations: ['62-43=19', '85-19=66']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,61 unequal: No Solution
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[85, 64], Operations: ['62-43=19', '45+19=64']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,61 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[85, 26], Operations: ['43+45=88', '88-62=26']
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,61 unequal: No Solution
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[45, 104], Operations: ['62-43=19', '85+19=104']
Exploring Operation: 104-45=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 45*104=4680, Resulting Numbers: [4680]
4680,61 unequal: No Solution
Exploring Operation: 45+104=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[62, 3], Operations: ['43+45=88', '88-85=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[85, 26], Operations: ['62-43=19', '45-19=26']
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,61 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[19, 40], Operations: ['62-43=19', '85-45=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,61 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[88, 23], Operations: ['43+45=88', '85-62=23']
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,61 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[88, 147], Operations: ['43+45=88', '62+85=147']
Exploring Operation: 88+147=235, Resulting Numbers: [235]
235,61 unequal: No Solution
Exploring Operation: 147-88=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 88*147=12936, Resulting Numbers: [12936]
12936,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[85, 150], Operations: ['43+45=88', '62+88=150']
Exploring Operation: 85*150=12750, Resulting Numbers: [12750]
12750,61 unequal: No Solution
Exploring Operation: 85+150=235, Resulting Numbers: [235]
235,61 unequal: No Solution
Exploring Operation: 150-85=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
22,
30,
57,
33
] | 66 | [
"57+33=90",
"22*90=1980",
"1980/30=66"
] | Current State: 66:[22, 30, 57, 33], Operations: []
Exploring Operation: 57+33=90, Resulting Numbers: [22, 30, 90]
Generated Node #2: [22, 30, 90] from Operation: 57+33=90
Current State: 66:[22, 30, 90], Operations: ['57+33=90']
Exploring Operation: 22*90=1980, Resulting Numbers: [30, 1980]
Generated Node #3: [30, 1980] from Operation: 22*90=1980
Current State: 66:[30, 1980], Operations: ['57+33=90', '22*90=1980']
Exploring Operation: 1980/30=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[22, 30, 57, 33], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [30, 33, 35]
Generated Node #0,0: 66:[30, 33, 35] Operation: 57-22=35
Exploring Operation: 57-30=27, Resulting Numbers: [22, 33, 27]
Generated Node #0,1: 66:[22, 33, 27] Operation: 57-30=27
Exploring Operation: 57-33=24, Resulting Numbers: [22, 30, 24]
Generated Node #0,2: 66:[22, 30, 24] Operation: 57-33=24
Exploring Operation: 33-30=3, Resulting Numbers: [22, 57, 3]
Generated Node #0,3: 66:[22, 57, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[30, 33, 35], Operations: ['57-22=35']
Exploring Operation: 33-30=3, Resulting Numbers: [35, 3]
Generated Node #0,0,0: 66:[35, 3] Operation: 33-30=3
Exploring Operation: 35-33=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 66:[30, 2] Operation: 35-33=2
Exploring Operation: 35-30=5, Resulting Numbers: [33, 5]
Generated Node #0,0,2: 66:[33, 5] Operation: 35-30=5
Exploring Operation: 30+35=65, Resulting Numbers: [33, 65]
Generated Node #0,0,3: 66:[33, 65] Operation: 30+35=65
Moving to Node #0,0,2
Current State: 66:[33, 5], Operations: ['57-22=35', '35-30=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[33, 65], Operations: ['57-22=35', '30+35=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,66 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[35, 3], Operations: ['57-22=35', '33-30=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[30, 2], Operations: ['57-22=35', '35-33=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[22, 33, 27], Operations: ['57-30=27']
Exploring Operation: 33-27=6, Resulting Numbers: [22, 6]
Generated Node #0,1,0: 66:[22, 6] Operation: 33-27=6
Exploring Operation: 27-22=5, Resulting Numbers: [33, 5]
Generated Node #0,1,1: 66:[33, 5] Operation: 27-22=5
Exploring Operation: 33-22=11, Resulting Numbers: [27, 11]
Generated Node #0,1,2: 66:[27, 11] Operation: 33-22=11
Exploring Operation: 33+27=60, Resulting Numbers: [22, 60]
Generated Node #0,1,3: 66:[22, 60] Operation: 33+27=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[22, 6], Operations: ['57-30=27', '33-27=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,66 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[33, 5], Operations: ['57-30=27', '27-22=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,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:[27, 11], Operations: ['57-30=27', '33-22=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,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,3
Current State: 66:[22, 60], Operations: ['57-30=27', '33+27=60']
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,66 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[22, 30, 24], Operations: ['57-33=24']
Exploring Operation: 30-22=8, Resulting Numbers: [24, 8]
Generated Node #0,2,0: 66:[24, 8] Operation: 30-22=8
Exploring Operation: 24-22=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 66:[30, 2] Operation: 24-22=2
Exploring Operation: 30+24=54, Resulting Numbers: [22, 54]
Generated Node #0,2,2: 66:[22, 54] Operation: 30+24=54
Exploring Operation: 30-24=6, Resulting Numbers: [22, 6]
Generated Node #0,2,3: 66:[22, 6] Operation: 30-24=6
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[22, 6], Operations: ['57-33=24', '30-24=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,66 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[30, 2], Operations: ['57-33=24', '24-22=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[24, 8], Operations: ['57-33=24', '30-22=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,66 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[22, 54], Operations: ['57-33=24', '30+24=54']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[22, 57, 3], Operations: ['33-30=3']
Exploring Operation: 22*3=66, Resulting Numbers: [57, 66]
Generated Node #0,3,0: 66:[57, 66] Operation: 22*3=66
Exploring Operation: 57+3=60, Resulting Numbers: [22, 60]
Generated Node #0,3,1: 66:[22, 60] Operation: 57+3=60
Exploring Operation: 57/3=19, Resulting Numbers: [22, 19]
Generated Node #0,3,2: 66:[22, 19] Operation: 57/3=19
Exploring Operation: 57-22=35, Resulting Numbers: [3, 35]
Generated Node #0,3,3: 66:[3, 35] Operation: 57-22=35
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[3, 35], Operations: ['33-30=3', '57-22=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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,3,2
Current State: 66:[22, 19], Operations: ['33-30=3', '57/3=19']
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,66 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,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,3,1
Current State: 66:[22, 60], Operations: ['33-30=3', '57+3=60']
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,66 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,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,3,0
Current State: 66:[57, 66], Operations: ['33-30=3', '22*3=66']
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
82,
3,
96
] | 11 | [
"94-82=12",
"96/12=8",
"3+8=11"
] | Current State: 11:[94, 82, 3, 96], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [3, 96, 12]
Generated Node #2: [3, 96, 12] from Operation: 94-82=12
Current State: 11:[3, 96, 12], Operations: ['94-82=12']
Exploring Operation: 96/12=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 96/12=8
Current State: 11:[3, 8], Operations: ['94-82=12', '96/12=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[94, 82, 3, 96], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [3, 96, 12]
Generated Node #0,0: 11:[3, 96, 12] Operation: 94-82=12
Exploring Operation: 96-94=2, Resulting Numbers: [82, 3, 2]
Generated Node #0,1: 11:[82, 3, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 11:[82, 3, 2], Operations: ['96-94=2']
Exploring Operation: 3*2=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 11:[82, 6] Operation: 3*2=6
Exploring Operation: 82/2=41, Resulting Numbers: [3, 41]
Generated Node #0,1,1: 11:[3, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 11:[3, 96, 12], Operations: ['94-82=12']
Exploring Operation: 96/12=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 11:[3, 8] Operation: 96/12=8
Exploring Operation: 96/3=32, Resulting Numbers: [12, 32]
Generated Node #0,0,1: 11:[12, 32] Operation: 96/3=32
Moving to Node #0,0,0
Current State: 11:[3, 8], Operations: ['94-82=12', '96/12=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[94, 82, 3, 96], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [3, 96, 12]
Generated Node #0,0: 11:[3, 96, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 11:[3, 96, 12], Operations: ['94-82=12']
Exploring Operation: 96/12=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 11:[3, 8] Operation: 96/12=8
Moving to Node #0,0,0
Current State: 11:[3, 8], Operations: ['94-82=12', '96/12=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
13,
34,
35,
41
] | 27 | [
"34-13=21",
"41-35=6",
"21+6=27"
] | Current State: 27:[13, 34, 35, 41], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [35, 41, 21]
Generated Node #2: [35, 41, 21] from Operation: 34-13=21
Current State: 27:[35, 41, 21], Operations: ['34-13=21']
Exploring Operation: 41-35=6, Resulting Numbers: [21, 6]
Generated Node #3: [21, 6] from Operation: 41-35=6
Current State: 27:[21, 6], Operations: ['34-13=21', '41-35=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[13, 34, 35, 41], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [13, 34, 6]
Generated Node #0,0: 27:[13, 34, 6] Operation: 41-35=6
Exploring Operation: 41-34=7, Resulting Numbers: [13, 35, 7]
Generated Node #0,1: 27:[13, 35, 7] Operation: 41-34=7
Exploring Operation: 35-13=22, Resulting Numbers: [34, 41, 22]
Generated Node #0,2: 27:[34, 41, 22] Operation: 35-13=22
Exploring Operation: 41-13=28, Resulting Numbers: [34, 35, 28]
Generated Node #0,3: 27:[34, 35, 28] Operation: 41-13=28
Exploring Operation: 35-34=1, Resulting Numbers: [13, 41, 1]
Generated Node #0,4: 27:[13, 41, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[13, 34, 6], Operations: ['41-35=6']
Exploring Operation: 34-6=28, Resulting Numbers: [13, 28]
Generated Node #0,0,0: 27:[13, 28] Operation: 34-6=28
Exploring Operation: 34-13=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 27:[6, 21] Operation: 34-13=21
Exploring Operation: 13+6=19, Resulting Numbers: [34, 19]
Generated Node #0,0,2: 27:[34, 19] Operation: 13+6=19
Exploring Operation: 13-6=7, Resulting Numbers: [34, 7]
Generated Node #0,0,3: 27:[34, 7] Operation: 13-6=7
Exploring Operation: 34+6=40, Resulting Numbers: [13, 40]
Generated Node #0,0,4: 27:[13, 40] Operation: 34+6=40
Moving to Node #0,0,0
Current State: 27:[13, 28], Operations: ['41-35=6', '34-6=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,27 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[34, 7], Operations: ['41-35=6', '13-6=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,27 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[13, 34, 35, 41], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [13, 34, 6]
Generated Node #0,0: 27:[13, 34, 6] Operation: 41-35=6
Moving to Node #0,0
Current State: 27:[13, 34, 6], Operations: ['41-35=6']
Exploring Operation: 13-6=7, Resulting Numbers: [34, 7]
Generated Node #0,0,3: 27:[34, 7] Operation: 13-6=7
Moving to Node #0,0,3
Current State: 27:[34, 7], Operations: ['41-35=6', '13-6=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
64,
1,
2,
67
] | 71 | [
"64-1=63",
"2*67=134",
"134-63=71"
] | Current State: 71:[64, 1, 2, 67], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [2, 67, 63]
Generated Node #2: [2, 67, 63] from Operation: 64-1=63
Current State: 71:[2, 67, 63], Operations: ['64-1=63']
Exploring Operation: 2*67=134, Resulting Numbers: [63, 134]
Generated Node #3: [63, 134] from Operation: 2*67=134
Current State: 71:[63, 134], Operations: ['64-1=63', '2*67=134']
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[64, 1, 2, 67], Operations: []
Exploring Operation: 64+1=65, Resulting Numbers: [2, 67, 65]
Generated Node #0,0: 71:[2, 67, 65] Operation: 64+1=65
Exploring Operation: 64+2=66, Resulting Numbers: [1, 67, 66]
Generated Node #0,1: 71:[1, 67, 66] Operation: 64+2=66
Moving to Node #0,0
Current State: 71:[2, 67, 65], Operations: ['64+1=65']
Exploring Operation: 2+67=69, Resulting Numbers: [65, 69]
Generated Node #0,0,0: 71:[65, 69] Operation: 2+67=69
Exploring Operation: 2+65=67, Resulting Numbers: [67, 67]
Generated Node #0,0,1: 71:[67, 67] Operation: 2+65=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[65, 69], Operations: ['64+1=65', '2+67=69']
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[67, 67], Operations: ['64+1=65', '2+65=67']
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[1, 67, 66], Operations: ['64+2=66']
Exploring Operation: 1+67=68, Resulting Numbers: [66, 68]
Generated Node #0,1,0: 71:[66, 68] Operation: 1+67=68
Exploring Operation: 1+66=67, Resulting Numbers: [67, 67]
Generated Node #0,1,1: 71:[67, 67] Operation: 1+66=67
Moving to Node #0,1,0
Current State: 71:[66, 68], Operations: ['64+2=66', '1+67=68']
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[67, 67], Operations: ['64+2=66', '1+66=67']
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,71 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
13,
70,
34
] | 67 | [
"70+34=104",
"104/13=8",
"59+8=67"
] | Current State: 67:[59, 13, 70, 34], Operations: []
Exploring Operation: 70+34=104, Resulting Numbers: [59, 13, 104]
Generated Node #2: [59, 13, 104] from Operation: 70+34=104
Current State: 67:[59, 13, 104], Operations: ['70+34=104']
Exploring Operation: 104/13=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 104/13=8
Current State: 67:[59, 8], Operations: ['70+34=104', '104/13=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[59, 13, 70, 34], Operations: []
Exploring Operation: 59+13=72, Resulting Numbers: [70, 34, 72]
Generated Node #0,0: 67:[70, 34, 72] Operation: 59+13=72
Exploring Operation: 13+34=47, Resulting Numbers: [59, 70, 47]
Generated Node #0,1: 67:[59, 70, 47] Operation: 13+34=47
Exploring Operation: 70-13=57, Resulting Numbers: [59, 34, 57]
Generated Node #0,2: 67:[59, 34, 57] Operation: 70-13=57
Exploring Operation: 13+70=83, Resulting Numbers: [59, 34, 83]
Generated Node #0,3: 67:[59, 34, 83] Operation: 13+70=83
Exploring Operation: 59-13=46, Resulting Numbers: [70, 34, 46]
Generated Node #0,4: 67:[70, 34, 46] Operation: 59-13=46
Moving to Node #0,1
Current State: 67:[59, 70, 47], Operations: ['13+34=47']
Exploring Operation: 59+47=106, Resulting Numbers: [70, 106]
Generated Node #0,1,0: 67:[70, 106] Operation: 59+47=106
Exploring Operation: 70+47=117, Resulting Numbers: [59, 117]
Generated Node #0,1,1: 67:[59, 117] Operation: 70+47=117
Exploring Operation: 59-47=12, Resulting Numbers: [70, 12]
Generated Node #0,1,2: 67:[70, 12] Operation: 59-47=12
Exploring Operation: 70-59=11, Resulting Numbers: [47, 11]
Generated Node #0,1,3: 67:[47, 11] Operation: 70-59=11
Exploring Operation: 70-47=23, Resulting Numbers: [59, 23]
Generated Node #0,1,4: 67:[59, 23] Operation: 70-47=23
Moving to Node #0,0
Current State: 67:[70, 34, 72], Operations: ['59+13=72']
Exploring Operation: 70-34=36, Resulting Numbers: [72, 36]
Generated Node #0,0,0: 67:[72, 36] Operation: 70-34=36
Exploring Operation: 34+72=106, Resulting Numbers: [70, 106]
Generated Node #0,0,1: 67:[70, 106] Operation: 34+72=106
Exploring Operation: 70+34=104, Resulting Numbers: [72, 104]
Generated Node #0,0,2: 67:[72, 104] Operation: 70+34=104
Exploring Operation: 72-34=38, Resulting Numbers: [70, 38]
Generated Node #0,0,3: 67:[70, 38] Operation: 72-34=38
Exploring Operation: 72-70=2, Resulting Numbers: [34, 2]
Generated Node #0,0,4: 67:[34, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[70, 38], Operations: ['59+13=72', '72-34=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,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,0,0
Current State: 67:[72, 36], Operations: ['59+13=72', '70-34=36']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,67 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,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,0,1
Current State: 67:[70, 106], Operations: ['59+13=72', '34+72=106']
Exploring Operation: 70*106=7420, Resulting Numbers: [7420]
7420,67 unequal: No Solution
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 70+106=176, Resulting Numbers: [176]
176,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,0,2
Current State: 67:[72, 104], Operations: ['59+13=72', '70+34=104']
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,67 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,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,0,4
Current State: 67:[34, 2], Operations: ['59+13=72', '72-70=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,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:[59, 34, 57], Operations: ['70-13=57']
Exploring Operation: 59-34=25, Resulting Numbers: [57, 25]
Generated Node #0,2,0: 67:[57, 25] Operation: 59-34=25
Exploring Operation: 59+57=116, Resulting Numbers: [34, 116]
Generated Node #0,2,1: 67:[34, 116] Operation: 59+57=116
Exploring Operation: 59+34=93, Resulting Numbers: [57, 93]
Generated Node #0,2,2: 67:[57, 93] Operation: 59+34=93
Exploring Operation: 57-34=23, Resulting Numbers: [59, 23]
Generated Node #0,2,3: 67:[59, 23] Operation: 57-34=23
Exploring Operation: 34+57=91, Resulting Numbers: [59, 91]
Generated Node #0,2,4: 67:[59, 91] Operation: 34+57=91
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[59, 91], Operations: ['70-13=57', '34+57=91']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 59+91=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 59*91=5369, Resulting Numbers: [5369]
5369,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:[57, 93], Operations: ['70-13=57', '59+34=93']
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,67 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,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:[57, 25], Operations: ['70-13=57', '59-34=25']
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,67 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,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:[59, 23], Operations: ['70-13=57', '57-34=23']
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,67 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,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:[34, 116], Operations: ['70-13=57', '59+57=116']
Exploring Operation: 116-34=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 34*116=3944, Resulting Numbers: [3944]
3944,67 unequal: No Solution
Exploring Operation: 34+116=150, Resulting Numbers: [150]
150,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:[59, 34, 83], Operations: ['13+70=83']
Exploring Operation: 59-34=25, Resulting Numbers: [83, 25]
Generated Node #0,3,0: 67:[83, 25] Operation: 59-34=25
Exploring Operation: 83-34=49, Resulting Numbers: [59, 49]
Generated Node #0,3,1: 67:[59, 49] Operation: 83-34=49
Exploring Operation: 59+34=93, Resulting Numbers: [83, 93]
Generated Node #0,3,2: 67:[83, 93] Operation: 59+34=93
Exploring Operation: 34+83=117, Resulting Numbers: [59, 117]
Generated Node #0,3,3: 67:[59, 117] Operation: 34+83=117
Exploring Operation: 83-59=24, Resulting Numbers: [34, 24]
Generated Node #0,3,4: 67:[34, 24] Operation: 83-59=24
Moving to Node #0,4
Current State: 67:[70, 34, 46], Operations: ['59-13=46']
Exploring Operation: 70-34=36, Resulting Numbers: [46, 36]
Generated Node #0,4,0: 67:[46, 36] Operation: 70-34=36
Exploring Operation: 46-34=12, Resulting Numbers: [70, 12]
Generated Node #0,4,1: 67:[70, 12] Operation: 46-34=12
Exploring Operation: 70+34=104, Resulting Numbers: [46, 104]
Generated Node #0,4,2: 67:[46, 104] Operation: 70+34=104
Exploring Operation: 34+46=80, Resulting Numbers: [70, 80]
Generated Node #0,4,3: 67:[70, 80] Operation: 34+46=80
Exploring Operation: 70-46=24, Resulting Numbers: [34, 24]
Generated Node #0,4,4: 67:[34, 24] Operation: 70-46=24
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[70, 80], Operations: ['59-13=46', '34+46=80']
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,67 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,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:[46, 36], Operations: ['59-13=46', '70-34=36']
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,67 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,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:[70, 12], Operations: ['59-13=46', '46-34=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,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,2
Current State: 67:[46, 104], Operations: ['59-13=46', '70+34=104']
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,67 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,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:[34, 24], Operations: ['59-13=46', '70-46=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 67:[59, 49], Operations: ['13+70=83', '83-34=49']
Exploring Operation: 59*49=2891, Resulting Numbers: [2891]
2891,67 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 59+49=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[70, 106], Operations: ['13+34=47', '59+47=106']
Exploring Operation: 70+106=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 70*106=7420, Resulting Numbers: [7420]
7420,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[83, 93], Operations: ['13+70=83', '59+34=93']
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 83*93=7719, Resulting Numbers: [7719]
7719,67 unequal: No Solution
Exploring Operation: 83+93=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[59, 23], Operations: ['13+34=47', '70-47=23']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,67 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[59, 117], Operations: ['13+34=47', '70+47=117']
Exploring Operation: 59+117=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 117-59=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 59*117=6903, Resulting Numbers: [6903]
6903,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[59, 117], Operations: ['13+70=83', '34+83=117']
Exploring Operation: 117-59=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 59+117=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 59*117=6903, Resulting Numbers: [6903]
6903,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[70, 12], Operations: ['13+34=47', '59-47=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,67 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[83, 25], Operations: ['13+70=83', '59-34=25']
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,67 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[47, 11], Operations: ['13+34=47', '70-59=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,67 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[34, 24], Operations: ['13+70=83', '83-59=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,67 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
10,
40,
4,
32
] | 84 | [
"40-32=8",
"10*8=80",
"4+80=84"
] | Current State: 84:[10, 40, 4, 32], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [10, 4, 8]
Generated Node #2: [10, 4, 8] from Operation: 40-32=8
Current State: 84:[10, 4, 8], Operations: ['40-32=8']
Exploring Operation: 10*8=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 10*8=80
Current State: 84:[4, 80], Operations: ['40-32=8', '10*8=80']
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 40, 4, 32], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [10, 4, 8]
Generated Node #0,0: 84:[10, 4, 8] Operation: 40-32=8
Exploring Operation: 32-10=22, Resulting Numbers: [40, 4, 22]
Generated Node #0,1: 84:[40, 4, 22] Operation: 32-10=22
Exploring Operation: 10+32=42, Resulting Numbers: [40, 4, 42]
Generated Node #0,2: 84:[40, 4, 42] Operation: 10+32=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[40, 4, 42], Operations: ['10+32=42']
Exploring Operation: 40/4=10, Resulting Numbers: [42, 10]
Generated Node #0,2,0: 84:[42, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [42, 44]
Generated Node #0,2,1: 84:[42, 44] Operation: 40+4=44
Exploring Operation: 42-40=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 84:[4, 2] Operation: 42-40=2
Moving to Node #0,2,2
Current State: 84:[4, 2], Operations: ['10+32=42', '42-40=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[42, 10], Operations: ['10+32=42', '40/4=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,84 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[42, 44], Operations: ['10+32=42', '40+4=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,84 unequal: No Solution
No 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: 84:[10, 4, 8], Operations: ['40-32=8']
Exploring Operation: 10-8=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 84:[4, 2] Operation: 10-8=2
Exploring Operation: 10+4=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 84:[8, 14] Operation: 10+4=14
Exploring Operation: 10-4=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 84:[8, 6] Operation: 10-4=6
Moving to Node #0,0,0
Current State: 84:[4, 2], Operations: ['40-32=8', '10-8=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[8, 14], Operations: ['40-32=8', '10+4=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[8, 6], Operations: ['40-32=8', '10-4=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,84 unequal: No Solution
No 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: 84:[40, 4, 22], Operations: ['32-10=22']
Exploring Operation: 40/4=10, Resulting Numbers: [22, 10]
Generated Node #0,1,0: 84:[22, 10] Operation: 40/4=10
Exploring Operation: 40-22=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 84:[4, 18] Operation: 40-22=18
Exploring Operation: 40+4=44, Resulting Numbers: [22, 44]
Generated Node #0,1,2: 84:[22, 44] Operation: 40+4=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[22, 10], Operations: ['32-10=22', '40/4=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,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, 18], Operations: ['32-10=22', '40-22=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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,2
Current State: 84:[22, 44], Operations: ['32-10=22', '40+4=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,84 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 |
[
92,
58,
24,
44
] | 28 | [
"58*44=2552",
"24+2552=2576",
"2576/92=28"
] | Current State: 28:[92, 58, 24, 44], Operations: []
Exploring Operation: 58*44=2552, Resulting Numbers: [92, 24, 2552]
Generated Node #2: [92, 24, 2552] from Operation: 58*44=2552
Current State: 28:[92, 24, 2552], Operations: ['58*44=2552']
Exploring Operation: 24+2552=2576, Resulting Numbers: [92, 2576]
Generated Node #3: [92, 2576] from Operation: 24+2552=2576
Current State: 28:[92, 2576], Operations: ['58*44=2552', '24+2552=2576']
Exploring Operation: 2576/92=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[92, 58, 24, 44], Operations: []
Exploring Operation: 92-24=68, Resulting Numbers: [58, 44, 68]
Generated Node #0,0: 28:[58, 44, 68] Operation: 92-24=68
Exploring Operation: 92-58=34, Resulting Numbers: [24, 44, 34]
Generated Node #0,1: 28:[24, 44, 34] Operation: 92-58=34
Exploring Operation: 58-44=14, Resulting Numbers: [92, 24, 14]
Generated Node #0,2: 28:[92, 24, 14] Operation: 58-44=14
Exploring Operation: 58-24=34, Resulting Numbers: [92, 44, 34]
Generated Node #0,3: 28:[92, 44, 34] Operation: 58-24=34
Exploring Operation: 92-44=48, Resulting Numbers: [58, 24, 48]
Generated Node #0,4: 28:[58, 24, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[24, 44, 34], Operations: ['92-58=34']
Exploring Operation: 44-34=10, Resulting Numbers: [24, 10]
Generated Node #0,1,0: 28:[24, 10] Operation: 44-34=10
Exploring Operation: 24+44=68, Resulting Numbers: [34, 68]
Generated Node #0,1,1: 28:[34, 68] Operation: 24+44=68
Exploring Operation: 44-24=20, Resulting Numbers: [34, 20]
Generated Node #0,1,2: 28:[34, 20] Operation: 44-24=20
Exploring Operation: 24+34=58, Resulting Numbers: [44, 58]
Generated Node #0,1,3: 28:[44, 58] Operation: 24+34=58
Exploring Operation: 34-24=10, Resulting Numbers: [44, 10]
Generated Node #0,1,4: 28:[44, 10] Operation: 34-24=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[24, 10], Operations: ['92-58=34', '44-34=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,28 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[34, 20], Operations: ['92-58=34', '44-24=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,28 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[44, 10], Operations: ['92-58=34', '34-24=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,28 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[34, 68], Operations: ['92-58=34', '24+44=68']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[44, 58], Operations: ['92-58=34', '24+34=58']
Exploring Operation: 44*58=2552, Resulting Numbers: [2552]
2552,28 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[58, 24, 48], Operations: ['92-44=48']
Exploring Operation: 58-24=34, Resulting Numbers: [48, 34]
Generated Node #0,4,0: 28:[48, 34] Operation: 58-24=34
Exploring Operation: 48/24=2, Resulting Numbers: [58, 2]
Generated Node #0,4,1: 28:[58, 2] Operation: 48/24=2
Exploring Operation: 58+24=82, Resulting Numbers: [48, 82]
Generated Node #0,4,2: 28:[48, 82] Operation: 58+24=82
Exploring Operation: 58-48=10, Resulting Numbers: [24, 10]
Generated Node #0,4,3: 28:[24, 10] Operation: 58-48=10
Exploring Operation: 48-24=24, Resulting Numbers: [58, 24]
Generated Node #0,4,4: 28:[58, 24] Operation: 48-24=24
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 28:[24, 10], Operations: ['92-44=48', '58-48=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,28 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 28:[48, 34], Operations: ['92-44=48', '58-24=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,28 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 28:[58, 2], Operations: ['92-44=48', '48/24=2']
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 28:[58, 24], Operations: ['92-44=48', '48-24=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,28 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[48, 82], Operations: ['92-44=48', '58+24=82']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,28 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[92, 24, 14], Operations: ['58-44=14']
Exploring Operation: 92+14=106, Resulting Numbers: [24, 106]
Generated Node #0,2,0: 28:[24, 106] Operation: 92+14=106
Exploring Operation: 24-14=10, Resulting Numbers: [92, 10]
Generated Node #0,2,1: 28:[92, 10] Operation: 24-14=10
Exploring Operation: 92-24=68, Resulting Numbers: [14, 68]
Generated Node #0,2,2: 28:[14, 68] Operation: 92-24=68
Exploring Operation: 24+14=38, Resulting Numbers: [92, 38]
Generated Node #0,2,3: 28:[92, 38] Operation: 24+14=38
Exploring Operation: 92-14=78, Resulting Numbers: [24, 78]
Generated Node #0,2,4: 28:[24, 78] Operation: 92-14=78
Moving to Node #0,2,2
Current State: 28:[14, 68], Operations: ['58-44=14', '92-24=68']
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,28 unequal: No Solution
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[24, 78], Operations: ['58-44=14', '92-14=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,28 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[92, 10], Operations: ['58-44=14', '24-14=10']
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,28 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[92, 38], Operations: ['58-44=14', '24+14=38']
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,28 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[24, 106], Operations: ['58-44=14', '92+14=106']
Exploring Operation: 24+106=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 24*106=2544, Resulting Numbers: [2544]
2544,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[58, 44, 68], Operations: ['92-24=68']
Exploring Operation: 68-58=10, Resulting Numbers: [44, 10]
Generated Node #0,0,0: 28:[44, 10] Operation: 68-58=10
Exploring Operation: 58+68=126, Resulting Numbers: [44, 126]
Generated Node #0,0,1: 28:[44, 126] Operation: 58+68=126
Exploring Operation: 68-44=24, Resulting Numbers: [58, 24]
Generated Node #0,0,2: 28:[58, 24] Operation: 68-44=24
Exploring Operation: 58+44=102, Resulting Numbers: [68, 102]
Generated Node #0,0,3: 28:[68, 102] Operation: 58+44=102
Exploring Operation: 58-44=14, Resulting Numbers: [68, 14]
Generated Node #0,0,4: 28:[68, 14] Operation: 58-44=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[44, 10], Operations: ['92-24=68', '68-58=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[58, 24], Operations: ['92-24=68', '68-44=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,28 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 28:[68, 14], Operations: ['92-24=68', '58-44=14']
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,28 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[44, 126], Operations: ['92-24=68', '58+68=126']
Exploring Operation: 44*126=5544, Resulting Numbers: [5544]
5544,28 unequal: No Solution
Exploring Operation: 126-44=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 44+126=170, Resulting Numbers: [170]
170,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[68, 102], Operations: ['92-24=68', '58+44=102']
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,28 unequal: No Solution
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[92, 44, 34], Operations: ['58-24=34']
Exploring Operation: 92+34=126, Resulting Numbers: [44, 126]
Generated Node #0,3,0: 28:[44, 126] Operation: 92+34=126
Exploring Operation: 44-34=10, Resulting Numbers: [92, 10]
Generated Node #0,3,1: 28:[92, 10] Operation: 44-34=10
Exploring Operation: 92+44=136, Resulting Numbers: [34, 136]
Generated Node #0,3,2: 28:[34, 136] Operation: 92+44=136
Exploring Operation: 92-44=48, Resulting Numbers: [34, 48]
Generated Node #0,3,3: 28:[34, 48] Operation: 92-44=48
Exploring Operation: 92-34=58, Resulting Numbers: [44, 58]
Generated Node #0,3,4: 28:[44, 58] Operation: 92-34=58
Moving to Node #0,3,3
Current State: 28:[34, 48], Operations: ['58-24=34', '92-44=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,28 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[44, 58], Operations: ['58-24=34', '92-34=58']
Exploring Operation: 44*58=2552, Resulting Numbers: [2552]
2552,28 unequal: No Solution
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[92, 10], Operations: ['58-24=34', '44-34=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[44, 126], Operations: ['58-24=34', '92+34=126']
Exploring Operation: 44+126=170, Resulting Numbers: [170]
170,28 unequal: No Solution
Exploring Operation: 44*126=5544, Resulting Numbers: [5544]
5544,28 unequal: No Solution
Exploring Operation: 126-44=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[34, 136], Operations: ['58-24=34', '92+44=136']
Exploring Operation: 136/34=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 34*136=4624, Resulting Numbers: [4624]
4624,28 unequal: No Solution
Exploring Operation: 136-34=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 34+136=170, Resulting Numbers: [170]
170,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
30,
18,
69,
9
] | 30 | [
"30+18=48",
"69+9=78",
"78-48=30"
] | Current State: 30:[30, 18, 69, 9], Operations: []
Exploring Operation: 30+18=48, Resulting Numbers: [69, 9, 48]
Generated Node #2: [69, 9, 48] from Operation: 30+18=48
Current State: 30:[69, 9, 48], Operations: ['30+18=48']
Exploring Operation: 69+9=78, Resulting Numbers: [48, 78]
Generated Node #3: [48, 78] from Operation: 69+9=78
Current State: 30:[48, 78], Operations: ['30+18=48', '69+9=78']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[30, 18, 69, 9], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [18, 9, 39]
Generated Node #0,0: 30:[18, 9, 39] Operation: 69-30=39
Exploring Operation: 69-18=51, Resulting Numbers: [30, 9, 51]
Generated Node #0,1: 30:[30, 9, 51] Operation: 69-18=51
Moving to Node #0,0
Current State: 30:[18, 9, 39], Operations: ['69-30=39']
Exploring Operation: 39-9=30, Resulting Numbers: [18, 30]
Generated Node #0,0,0: 30:[18, 30] Operation: 39-9=30
Exploring Operation: 39-18=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 30:[9, 21] Operation: 39-18=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[18, 30], Operations: ['69-30=39', '39-9=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,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,1
Current State: 30:[9, 21], Operations: ['69-30=39', '39-18=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[30, 18, 69, 9], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [18, 9, 39]
Generated Node #0,0: 30:[18, 9, 39] Operation: 69-30=39
Moving to Node #0,0
Current State: 30:[18, 9, 39], Operations: ['69-30=39']
Exploring Operation: 39-18=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 30:[9, 21] Operation: 39-18=21
Moving to Node #0,0,1
Current State: 30:[9, 21], Operations: ['69-30=39', '39-18=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
71,
3,
32,
97
] | 24 | [
"71+97=168",
"168/3=56",
"56-32=24"
] | Current State: 24:[71, 3, 32, 97], Operations: []
Exploring Operation: 71+97=168, Resulting Numbers: [3, 32, 168]
Generated Node #2: [3, 32, 168] from Operation: 71+97=168
Current State: 24:[3, 32, 168], Operations: ['71+97=168']
Exploring Operation: 168/3=56, Resulting Numbers: [32, 56]
Generated Node #3: [32, 56] from Operation: 168/3=56
Current State: 24:[32, 56], Operations: ['71+97=168', '168/3=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[71, 3, 32, 97], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [3, 32, 26]
Generated Node #0,0: 24:[3, 32, 26] Operation: 97-71=26
Exploring Operation: 97-32=65, Resulting Numbers: [71, 3, 65]
Generated Node #0,1: 24:[71, 3, 65] Operation: 97-32=65
Exploring Operation: 71-32=39, Resulting Numbers: [3, 97, 39]
Generated Node #0,2: 24:[3, 97, 39] Operation: 71-32=39
Exploring Operation: 71-3=68, Resulting Numbers: [32, 97, 68]
Generated Node #0,3: 24:[32, 97, 68] Operation: 71-3=68
Exploring Operation: 32-3=29, Resulting Numbers: [71, 97, 29]
Generated Node #0,4: 24:[71, 97, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[3, 32, 26], Operations: ['97-71=26']
Exploring Operation: 32-26=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 24:[3, 6] Operation: 32-26=6
Exploring Operation: 3+26=29, Resulting Numbers: [32, 29]
Generated Node #0,0,1: 24:[32, 29] Operation: 3+26=29
Exploring Operation: 26-3=23, Resulting Numbers: [32, 23]
Generated Node #0,0,2: 24:[32, 23] Operation: 26-3=23
Exploring Operation: 3+32=35, Resulting Numbers: [26, 35]
Generated Node #0,0,3: 24:[26, 35] Operation: 3+32=35
Exploring Operation: 32-3=29, Resulting Numbers: [26, 29]
Generated Node #0,0,4: 24:[26, 29] Operation: 32-3=29
Moving to Node #0,0,0
Current State: 24:[3, 6], Operations: ['97-71=26', '32-26=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Moving to Node #0,0,4
Current State: 24:[26, 29], Operations: ['97-71=26', '32-3=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[32, 23], Operations: ['97-71=26', '26-3=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,24 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[32, 29], Operations: ['97-71=26', '3+26=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,24 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[26, 35], Operations: ['97-71=26', '3+32=35']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,24 unequal: No Solution
No 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: 24:[71, 3, 65], Operations: ['97-32=65']
Exploring Operation: 71-65=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 24:[3, 6] Operation: 71-65=6
Exploring Operation: 71+3=74, Resulting Numbers: [65, 74]
Generated Node #0,1,1: 24:[65, 74] Operation: 71+3=74
Exploring Operation: 71-3=68, Resulting Numbers: [65, 68]
Generated Node #0,1,2: 24:[65, 68] Operation: 71-3=68
Exploring Operation: 3+65=68, Resulting Numbers: [71, 68]
Generated Node #0,1,3: 24:[71, 68] Operation: 3+65=68
Exploring Operation: 65-3=62, Resulting Numbers: [71, 62]
Generated Node #0,1,4: 24:[71, 62] Operation: 65-3=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[3, 6], Operations: ['97-32=65', '71-65=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No 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: 24:[65, 68], Operations: ['97-32=65', '71-3=68']
Exploring Operation: 65+68=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Exploring Operation: 65*68=4420, Resulting Numbers: [4420]
4420,24 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[71, 62], Operations: ['97-32=65', '65-3=62']
Exploring Operation: 71*62=4402, Resulting Numbers: [4402]
4402,24 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 71+62=133, Resulting Numbers: [133]
133,24 unequal: No Solution
No 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: 24:[65, 74], Operations: ['97-32=65', '71+3=74']
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 65+74=139, Resulting Numbers: [139]
139,24 unequal: No Solution
Exploring Operation: 65*74=4810, Resulting Numbers: [4810]
4810,24 unequal: No Solution
No 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: 24:[71, 68], Operations: ['97-32=65', '3+65=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,24 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,24 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: 24:[3, 97, 39], Operations: ['71-32=39']
Exploring Operation: 39/3=13, Resulting Numbers: [97, 13]
Generated Node #0,2,0: 24:[97, 13] Operation: 39/3=13
Exploring Operation: 97-3=94, Resulting Numbers: [39, 94]
Generated Node #0,2,1: 24:[39, 94] Operation: 97-3=94
Exploring Operation: 3+97=100, Resulting Numbers: [39, 100]
Generated Node #0,2,2: 24:[39, 100] Operation: 3+97=100
Exploring Operation: 39-3=36, Resulting Numbers: [97, 36]
Generated Node #0,2,3: 24:[97, 36] Operation: 39-3=36
Exploring Operation: 97-39=58, Resulting Numbers: [3, 58]
Generated Node #0,2,4: 24:[3, 58] Operation: 97-39=58
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 24:[3, 58], Operations: ['71-32=39', '97-39=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,24 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,24 unequal: No Solution
No 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: 24:[97, 13], Operations: ['71-32=39', '39/3=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,24 unequal: No Solution
No 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: 24:[39, 94], Operations: ['71-32=39', '97-3=94']
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,24 unequal: No Solution
No 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: 24:[97, 36], Operations: ['71-32=39', '39-3=36']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 97*36=3492, Resulting Numbers: [3492]
3492,24 unequal: No Solution
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,24 unequal: No Solution
No 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: 24:[39, 100], Operations: ['71-32=39', '3+97=100']
Exploring Operation: 39+100=139, Resulting Numbers: [139]
139,24 unequal: No Solution
Exploring Operation: 100-39=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 39*100=3900, Resulting Numbers: [3900]
3900,24 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: 24:[32, 97, 68], Operations: ['71-3=68']
Exploring Operation: 32+68=100, Resulting Numbers: [97, 100]
Generated Node #0,3,0: 24:[97, 100] Operation: 32+68=100
Exploring Operation: 97-68=29, Resulting Numbers: [32, 29]
Generated Node #0,3,1: 24:[32, 29] Operation: 97-68=29
Exploring Operation: 32+97=129, Resulting Numbers: [68, 129]
Generated Node #0,3,2: 24:[68, 129] Operation: 32+97=129
Exploring Operation: 97-32=65, Resulting Numbers: [68, 65]
Generated Node #0,3,3: 24:[68, 65] Operation: 97-32=65
Exploring Operation: 68-32=36, Resulting Numbers: [97, 36]
Generated Node #0,3,4: 24:[97, 36] Operation: 68-32=36
Moving to Node #0,3,1
Current State: 24:[32, 29], Operations: ['71-3=68', '97-68=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,24 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[97, 36], Operations: ['71-3=68', '68-32=36']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 97*36=3492, Resulting Numbers: [3492]
3492,24 unequal: No Solution
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[68, 65], Operations: ['71-3=68', '97-32=65']
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,24 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[97, 100], Operations: ['71-3=68', '32+68=100']
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,24 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[68, 129], Operations: ['71-3=68', '32+97=129']
Exploring Operation: 68+129=197, Resulting Numbers: [197]
197,24 unequal: No Solution
Exploring Operation: 68*129=8772, Resulting Numbers: [8772]
8772,24 unequal: No Solution
Exploring Operation: 129-68=61, Resulting Numbers: [61]
61,24 unequal: No Solution
No 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: 24:[71, 97, 29], Operations: ['32-3=29']
Exploring Operation: 71-29=42, Resulting Numbers: [97, 42]
Generated Node #0,4,0: 24:[97, 42] Operation: 71-29=42
Exploring Operation: 71+97=168, Resulting Numbers: [29, 168]
Generated Node #0,4,1: 24:[29, 168] Operation: 71+97=168
Exploring Operation: 97-71=26, Resulting Numbers: [29, 26]
Generated Node #0,4,2: 24:[29, 26] Operation: 97-71=26
Exploring Operation: 97-29=68, Resulting Numbers: [71, 68]
Generated Node #0,4,3: 24:[71, 68] Operation: 97-29=68
Exploring Operation: 71+29=100, Resulting Numbers: [97, 100]
Generated Node #0,4,4: 24:[97, 100] Operation: 71+29=100
Moving to Node #0,4,2
Current State: 24:[29, 26], Operations: ['32-3=29', '97-71=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,24 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,4,3
Current State: 24:[71, 68], Operations: ['32-3=29', '97-29=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,24 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,24 unequal: No Solution
Moving to Node #0,4,0
Current State: 24:[97, 42], Operations: ['32-3=29', '71-29=42']
Exploring Operation: 97*42=4074, Resulting Numbers: [4074]
4074,24 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 97+42=139, Resulting Numbers: [139]
139,24 unequal: No Solution
Moving to Node #0,4,1
Current State: 24:[29, 168], Operations: ['32-3=29', '71+97=168']
Exploring Operation: 29*168=4872, Resulting Numbers: [4872]
4872,24 unequal: No Solution
Exploring Operation: 168-29=139, Resulting Numbers: [139]
139,24 unequal: No Solution
Exploring Operation: 29+168=197, Resulting Numbers: [197]
197,24 unequal: No Solution
Moving to Node #0,4,4
Current State: 24:[97, 100], Operations: ['32-3=29', '71+29=100']
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,24 unequal: No Solution
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
14,
66,
37
] | 73 | [
"74/37=2",
"14/2=7",
"66+7=73"
] | Current State: 73:[74, 14, 66, 37], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [14, 66, 2]
Generated Node #2: [14, 66, 2] from Operation: 74/37=2
Current State: 73:[14, 66, 2], Operations: ['74/37=2']
Exploring Operation: 14/2=7, Resulting Numbers: [66, 7]
Generated Node #3: [66, 7] from Operation: 14/2=7
Current State: 73:[66, 7], Operations: ['74/37=2', '14/2=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[74, 14, 66, 37], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [66, 37, 60]
Generated Node #0,0: 73:[66, 37, 60] Operation: 74-14=60
Exploring Operation: 74+14=88, Resulting Numbers: [66, 37, 88]
Generated Node #0,1: 73:[66, 37, 88] Operation: 74+14=88
Exploring Operation: 14+37=51, Resulting Numbers: [74, 66, 51]
Generated Node #0,2: 73:[74, 66, 51] Operation: 14+37=51
Exploring Operation: 14+66=80, Resulting Numbers: [74, 37, 80]
Generated Node #0,3: 73:[74, 37, 80] Operation: 14+66=80
Exploring Operation: 66-14=52, Resulting Numbers: [74, 37, 52]
Generated Node #0,4: 73:[74, 37, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[74, 66, 51], Operations: ['14+37=51']
Exploring Operation: 74-66=8, Resulting Numbers: [51, 8]
Generated Node #0,2,0: 73:[51, 8] Operation: 74-66=8
Exploring Operation: 74+51=125, Resulting Numbers: [66, 125]
Generated Node #0,2,1: 73:[66, 125] Operation: 74+51=125
Exploring Operation: 66-51=15, Resulting Numbers: [74, 15]
Generated Node #0,2,2: 73:[74, 15] Operation: 66-51=15
Exploring Operation: 74-51=23, Resulting Numbers: [66, 23]
Generated Node #0,2,3: 73:[66, 23] Operation: 74-51=23
Exploring Operation: 66+51=117, Resulting Numbers: [74, 117]
Generated Node #0,2,4: 73:[74, 117] Operation: 66+51=117
Moving to Node #0,2,4
Current State: 73:[74, 117], Operations: ['14+37=51', '66+51=117']
Exploring Operation: 117-74=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 74*117=8658, Resulting Numbers: [8658]
8658,73 unequal: No Solution
Exploring Operation: 74+117=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[66, 23], Operations: ['14+37=51', '74-51=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,73 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[66, 125], Operations: ['14+37=51', '74+51=125']
Exploring Operation: 66+125=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 66*125=8250, Resulting Numbers: [8250]
8250,73 unequal: No Solution
Exploring Operation: 125-66=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[74, 15], Operations: ['14+37=51', '66-51=15']
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,73 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[51, 8], Operations: ['14+37=51', '74-66=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,73 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[74, 37, 80], Operations: ['14+66=80']
Exploring Operation: 80-37=43, Resulting Numbers: [74, 43]
Generated Node #0,3,0: 73:[74, 43] Operation: 80-37=43
Exploring Operation: 37+80=117, Resulting Numbers: [74, 117]
Generated Node #0,3,1: 73:[74, 117] Operation: 37+80=117
Exploring Operation: 74/37=2, Resulting Numbers: [80, 2]
Generated Node #0,3,2: 73:[80, 2] Operation: 74/37=2
Exploring Operation: 74+37=111, Resulting Numbers: [80, 111]
Generated Node #0,3,3: 73:[80, 111] Operation: 74+37=111
Exploring Operation: 74-37=37, Resulting Numbers: [80, 37]
Generated Node #0,3,4: 73:[80, 37] Operation: 74-37=37
Moving to Node #0,3,0
Current State: 73:[74, 43], Operations: ['14+66=80', '80-37=43']
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,73 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[80, 37], Operations: ['14+66=80', '74-37=37']
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,73 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[74, 117], Operations: ['14+66=80', '37+80=117']
Exploring Operation: 74+117=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 74*117=8658, Resulting Numbers: [8658]
8658,73 unequal: No Solution
Exploring Operation: 117-74=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[80, 111], Operations: ['14+66=80', '74+37=111']
Exploring Operation: 80+111=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 111-80=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 80*111=8880, Resulting Numbers: [8880]
8880,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[80, 2], Operations: ['14+66=80', '74/37=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,73 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,73 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,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
Current State: 73:[66, 37, 60], Operations: ['74-14=60']
Exploring Operation: 66+37=103, Resulting Numbers: [60, 103]
Generated Node #0,0,0: 73:[60, 103] Operation: 66+37=103
Exploring Operation: 66-37=29, Resulting Numbers: [60, 29]
Generated Node #0,0,1: 73:[60, 29] Operation: 66-37=29
Exploring Operation: 60-37=23, Resulting Numbers: [66, 23]
Generated Node #0,0,2: 73:[66, 23] Operation: 60-37=23
Exploring Operation: 37+60=97, Resulting Numbers: [66, 97]
Generated Node #0,0,3: 73:[66, 97] Operation: 37+60=97
Exploring Operation: 66+60=126, Resulting Numbers: [37, 126]
Generated Node #0,0,4: 73:[37, 126] Operation: 66+60=126
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[66, 97], Operations: ['74-14=60', '37+60=97']
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 66*97=6402, Resulting Numbers: [6402]
6402,73 unequal: No Solution
Exploring Operation: 66+97=163, Resulting Numbers: [163]
163,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[60, 103], Operations: ['74-14=60', '66+37=103']
Exploring Operation: 60+103=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 60*103=6180, Resulting Numbers: [6180]
6180,73 unequal: No Solution
Exploring Operation: 103-60=43, Resulting Numbers: [43]
43,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[60, 29], Operations: ['74-14=60', '66-37=29']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,73 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[66, 23], Operations: ['74-14=60', '60-37=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,73 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[37, 126], Operations: ['74-14=60', '66+60=126']
Exploring Operation: 126-37=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 37+126=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 37*126=4662, Resulting Numbers: [4662]
4662,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[66, 37, 88], Operations: ['74+14=88']
Exploring Operation: 88-66=22, Resulting Numbers: [37, 22]
Generated Node #0,1,0: 73:[37, 22] Operation: 88-66=22
Exploring Operation: 66+37=103, Resulting Numbers: [88, 103]
Generated Node #0,1,1: 73:[88, 103] Operation: 66+37=103
Exploring Operation: 88-37=51, Resulting Numbers: [66, 51]
Generated Node #0,1,2: 73:[66, 51] Operation: 88-37=51
Exploring Operation: 37+88=125, Resulting Numbers: [66, 125]
Generated Node #0,1,3: 73:[66, 125] Operation: 37+88=125
Exploring Operation: 66-37=29, Resulting Numbers: [88, 29]
Generated Node #0,1,4: 73:[88, 29] Operation: 66-37=29
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[66, 51], Operations: ['74+14=88', '88-37=51']
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,73 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,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:[88, 103], Operations: ['74+14=88', '66+37=103']
Exploring Operation: 88+103=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 103-88=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 88*103=9064, Resulting Numbers: [9064]
9064,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[66, 125], Operations: ['74+14=88', '37+88=125']
Exploring Operation: 125-66=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 66+125=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 66*125=8250, Resulting Numbers: [8250]
8250,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[88, 29], Operations: ['74+14=88', '66-37=29']
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,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:[37, 22], Operations: ['74+14=88', '88-66=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,73 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,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,4
Current State: 73:[74, 37, 52], Operations: ['66-14=52']
Exploring Operation: 74-52=22, Resulting Numbers: [37, 22]
Generated Node #0,4,0: 73:[37, 22] Operation: 74-52=22
Exploring Operation: 37+52=89, Resulting Numbers: [74, 89]
Generated Node #0,4,1: 73:[74, 89] Operation: 37+52=89
Exploring Operation: 74+37=111, Resulting Numbers: [52, 111]
Generated Node #0,4,2: 73:[52, 111] Operation: 74+37=111
Exploring Operation: 74-37=37, Resulting Numbers: [52, 37]
Generated Node #0,4,3: 73:[52, 37] Operation: 74-37=37
Exploring Operation: 52-37=15, Resulting Numbers: [74, 15]
Generated Node #0,4,4: 73:[74, 15] Operation: 52-37=15
Moving to Node #0,4,1
Current State: 73:[74, 89], Operations: ['66-14=52', '37+52=89']
Exploring Operation: 74+89=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 74*89=6586, Resulting Numbers: [6586]
6586,73 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[52, 37], Operations: ['66-14=52', '74-37=37']
Exploring Operation: 52+37=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 52*37=1924, Resulting Numbers: [1924]
1924,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[52, 111], Operations: ['66-14=52', '74+37=111']
Exploring Operation: 52+111=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 111-52=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 52*111=5772, Resulting Numbers: [5772]
5772,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[74, 15], Operations: ['66-14=52', '52-37=15']
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,73 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[37, 22], Operations: ['66-14=52', '74-52=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,73 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
60,
91,
27
] | 68 | [
"91-27=64",
"2*64=128",
"128-60=68"
] | Current State: 68:[2, 60, 91, 27], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [2, 60, 64]
Generated Node #2: [2, 60, 64] from Operation: 91-27=64
Current State: 68:[2, 60, 64], Operations: ['91-27=64']
Exploring Operation: 2*64=128, Resulting Numbers: [60, 128]
Generated Node #3: [60, 128] from Operation: 2*64=128
Current State: 68:[60, 128], Operations: ['91-27=64', '2*64=128']
Exploring Operation: 128-60=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 60, 91, 27], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [2, 60, 64]
Generated Node #0,0: 68:[2, 60, 64] Operation: 91-27=64
Exploring Operation: 60-27=33, Resulting Numbers: [2, 91, 33]
Generated Node #0,1: 68:[2, 91, 33] Operation: 60-27=33
Exploring Operation: 91-60=31, Resulting Numbers: [2, 27, 31]
Generated Node #0,2: 68:[2, 27, 31] Operation: 91-60=31
Moving to Node #0,2
Current State: 68:[2, 27, 31], Operations: ['91-60=31']
Exploring Operation: 2+27=29, Resulting Numbers: [31, 29]
Generated Node #0,2,0: 68:[31, 29] Operation: 2+27=29
Exploring Operation: 2+31=33, Resulting Numbers: [27, 33]
Generated Node #0,2,1: 68:[27, 33] Operation: 2+31=33
Exploring Operation: 31-27=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 68:[2, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[2, 4], Operations: ['91-60=31', '31-27=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[31, 29], Operations: ['91-60=31', '2+27=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,68 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[27, 33], Operations: ['91-60=31', '2+31=33']
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,68 unequal: No Solution
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[2, 60, 64], Operations: ['91-27=64']
Exploring Operation: 60/2=30, Resulting Numbers: [64, 30]
Generated Node #0,0,0: 68:[64, 30] Operation: 60/2=30
Exploring Operation: 2+60=62, Resulting Numbers: [64, 62]
Generated Node #0,0,1: 68:[64, 62] Operation: 2+60=62
Exploring Operation: 64-60=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 68:[2, 4] Operation: 64-60=4
Moving to Node #0,1
Current State: 68:[2, 91, 33], Operations: ['60-27=33']
Exploring Operation: 91-2=89, Resulting Numbers: [33, 89]
Generated Node #0,1,0: 68:[33, 89] Operation: 91-2=89
Exploring Operation: 91-33=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 68:[2, 58] Operation: 91-33=58
Exploring Operation: 2+33=35, Resulting Numbers: [91, 35]
Generated Node #0,1,2: 68:[91, 35] Operation: 2+33=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[2, 58], Operations: ['60-27=33', '91-33=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[33, 89], Operations: ['60-27=33', '91-2=89']
Exploring Operation: 33+89=122, Resulting Numbers: [122]
122,68 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 33*89=2937, Resulting Numbers: [2937]
2937,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[91, 35], Operations: ['60-27=33', '2+33=35']
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,68 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 68:[2, 4], Operations: ['91-27=64', '64-60=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[64, 30], Operations: ['91-27=64', '60/2=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[64, 62], Operations: ['91-27=64', '2+60=62']
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,68 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
64,
77,
79
] | 93 | [
"27+64=91",
"79-77=2",
"91+2=93"
] | Current State: 93:[27, 64, 77, 79], Operations: []
Exploring Operation: 27+64=91, Resulting Numbers: [77, 79, 91]
Generated Node #2: [77, 79, 91] from Operation: 27+64=91
Current State: 93:[77, 79, 91], Operations: ['27+64=91']
Exploring Operation: 79-77=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 79-77=2
Current State: 93:[91, 2], Operations: ['27+64=91', '79-77=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[27, 64, 77, 79], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [27, 79, 13]
Generated Node #0,0: 93:[27, 79, 13] Operation: 77-64=13
Exploring Operation: 79-77=2, Resulting Numbers: [27, 64, 2]
Generated Node #0,1: 93:[27, 64, 2] Operation: 79-77=2
Exploring Operation: 27+64=91, Resulting Numbers: [77, 79, 91]
Generated Node #0,2: 93:[77, 79, 91] Operation: 27+64=91
Exploring Operation: 79-64=15, Resulting Numbers: [27, 77, 15]
Generated Node #0,3: 93:[27, 77, 15] Operation: 79-64=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[27, 79, 13], Operations: ['77-64=13']
Exploring Operation: 27-13=14, Resulting Numbers: [79, 14]
Generated Node #0,0,0: 93:[79, 14] Operation: 27-13=14
Exploring Operation: 27+79=106, Resulting Numbers: [13, 106]
Generated Node #0,0,1: 93:[13, 106] Operation: 27+79=106
Exploring Operation: 79+13=92, Resulting Numbers: [27, 92]
Generated Node #0,0,2: 93:[27, 92] Operation: 79+13=92
Exploring Operation: 27+13=40, Resulting Numbers: [79, 40]
Generated Node #0,0,3: 93:[79, 40] Operation: 27+13=40
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[27, 92], Operations: ['77-64=13', '79+13=92']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[13, 106], Operations: ['77-64=13', '27+79=106']
Exploring Operation: 13+106=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 13*106=1378, Resulting Numbers: [1378]
1378,93 unequal: No Solution
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[27, 64, 77, 79], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [27, 79, 13]
Generated Node #0,0: 93:[27, 79, 13] Operation: 77-64=13
Moving to Node #0,0
Current State: 93:[27, 79, 13], Operations: ['77-64=13']
Exploring Operation: 27+79=106, Resulting Numbers: [13, 106]
Generated Node #0,0,1: 93:[13, 106] Operation: 27+79=106
Moving to Node #0,0,1
Current State: 93:[13, 106], Operations: ['77-64=13', '27+79=106']
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
11,
20,
15,
39
] | 45 | [
"20-11=9",
"15+39=54",
"54-9=45"
] | Current State: 45:[11, 20, 15, 39], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [15, 39, 9]
Generated Node #2: [15, 39, 9] from Operation: 20-11=9
Current State: 45:[15, 39, 9], Operations: ['20-11=9']
Exploring Operation: 15+39=54, Resulting Numbers: [9, 54]
Generated Node #3: [9, 54] from Operation: 15+39=54
Current State: 45:[9, 54], Operations: ['20-11=9', '15+39=54']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[11, 20, 15, 39], Operations: []
Exploring Operation: 39-20=19, Resulting Numbers: [11, 15, 19]
Generated Node #0,0: 45:[11, 15, 19] Operation: 39-20=19
Exploring Operation: 20-11=9, Resulting Numbers: [15, 39, 9]
Generated Node #0,1: 45:[15, 39, 9] Operation: 20-11=9
Moving to Node #0,0
Current State: 45:[11, 15, 19], Operations: ['39-20=19']
Exploring Operation: 19-15=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 45:[11, 4] Operation: 19-15=4
Exploring Operation: 19-11=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 45:[15, 8] Operation: 19-11=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[15, 8], Operations: ['39-20=19', '19-11=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[11, 4], Operations: ['39-20=19', '19-15=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,45 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: 45:[15, 39, 9], Operations: ['20-11=9']
Exploring Operation: 39+9=48, Resulting Numbers: [15, 48]
Generated Node #0,1,0: 45:[15, 48] Operation: 39+9=48
Exploring Operation: 15-9=6, Resulting Numbers: [39, 6]
Generated Node #0,1,1: 45:[39, 6] Operation: 15-9=6
Moving to Node #0,1,0
Current State: 45:[15, 48], Operations: ['20-11=9', '39+9=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[39, 6], Operations: ['20-11=9', '15-9=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[11, 20, 15, 39], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [15, 39, 9]
Generated Node #0,1: 45:[15, 39, 9] Operation: 20-11=9
Moving to Node #0,1
Current State: 45:[15, 39, 9], Operations: ['20-11=9']
Exploring Operation: 15-9=6, Resulting Numbers: [39, 6]
Generated Node #0,1,1: 45:[39, 6] Operation: 15-9=6
Moving to Node #0,1,1
Current State: 45:[39, 6], Operations: ['20-11=9', '15-9=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
2,
44,
7,
84
] | 31 | [
"2+44=46",
"84-7=77",
"77-46=31"
] | Current State: 31:[2, 44, 7, 84], Operations: []
Exploring Operation: 2+44=46, Resulting Numbers: [7, 84, 46]
Generated Node #2: [7, 84, 46] from Operation: 2+44=46
Current State: 31:[7, 84, 46], Operations: ['2+44=46']
Exploring Operation: 84-7=77, Resulting Numbers: [46, 77]
Generated Node #3: [46, 77] from Operation: 84-7=77
Current State: 31:[46, 77], Operations: ['2+44=46', '84-7=77']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[2, 44, 7, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [2, 44, 12]
Generated Node #0,0: 31:[2, 44, 12] Operation: 84/7=12
Exploring Operation: 84/2=42, Resulting Numbers: [44, 7, 42]
Generated Node #0,1: 31:[44, 7, 42] Operation: 84/2=42
Moving to Node #0,1
Current State: 31:[44, 7, 42], Operations: ['84/2=42']
Exploring Operation: 44-7=37, Resulting Numbers: [42, 37]
Generated Node #0,1,0: 31:[42, 37] Operation: 44-7=37
Exploring Operation: 42-7=35, Resulting Numbers: [44, 35]
Generated Node #0,1,1: 31:[44, 35] Operation: 42-7=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[42, 37], Operations: ['84/2=42', '44-7=37']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[44, 35], Operations: ['84/2=42', '42-7=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 31:[2, 44, 12], Operations: ['84/7=12']
Exploring Operation: 44/2=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 31:[12, 22] Operation: 44/2=22
Exploring Operation: 2*12=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 31:[44, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[44, 24], Operations: ['84/7=12', '2*12=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[12, 22], Operations: ['84/7=12', '44/2=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,31 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 |
[
3,
13,
81,
20
] | 22 | [
"3*13=39",
"81-20=61",
"61-39=22"
] | Current State: 22:[3, 13, 81, 20], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [81, 20, 39]
Generated Node #2: [81, 20, 39] from Operation: 3*13=39
Current State: 22:[81, 20, 39], Operations: ['3*13=39']
Exploring Operation: 81-20=61, Resulting Numbers: [39, 61]
Generated Node #3: [39, 61] from Operation: 81-20=61
Current State: 22:[39, 61], Operations: ['3*13=39', '81-20=61']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 13, 81, 20], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [3, 20, 68]
Generated Node #0,0: 22:[3, 20, 68] Operation: 81-13=68
Exploring Operation: 81/3=27, Resulting Numbers: [13, 20, 27]
Generated Node #0,1: 22:[13, 20, 27] Operation: 81/3=27
Exploring Operation: 81-20=61, Resulting Numbers: [3, 13, 61]
Generated Node #0,2: 22:[3, 13, 61] Operation: 81-20=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[13, 20, 27], Operations: ['81/3=27']
Exploring Operation: 27-20=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 22:[13, 7] Operation: 27-20=7
Exploring Operation: 27-13=14, Resulting Numbers: [20, 14]
Generated Node #0,1,1: 22:[20, 14] Operation: 27-13=14
Exploring Operation: 20-13=7, Resulting Numbers: [27, 7]
Generated Node #0,1,2: 22:[27, 7] Operation: 20-13=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[20, 14], Operations: ['81/3=27', '27-13=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,22 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[13, 7], Operations: ['81/3=27', '27-20=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,22 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[27, 7], Operations: ['81/3=27', '20-13=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[3, 13, 61], Operations: ['81-20=61']
Exploring Operation: 13-3=10, Resulting Numbers: [61, 10]
Generated Node #0,2,0: 22:[61, 10] Operation: 13-3=10
Exploring Operation: 61-3=58, Resulting Numbers: [13, 58]
Generated Node #0,2,1: 22:[13, 58] Operation: 61-3=58
Exploring Operation: 61-13=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 22:[3, 48] Operation: 61-13=48
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[3, 48], Operations: ['81-20=61', '61-13=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[13, 58], Operations: ['81-20=61', '61-3=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,22 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[61, 10], Operations: ['81-20=61', '13-3=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,22 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[3, 20, 68], Operations: ['81-13=68']
Exploring Operation: 68-3=65, Resulting Numbers: [20, 65]
Generated Node #0,0,0: 22:[20, 65] Operation: 68-3=65
Exploring Operation: 3+20=23, Resulting Numbers: [68, 23]
Generated Node #0,0,1: 22:[68, 23] Operation: 3+20=23
Exploring Operation: 68-20=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 22:[3, 48] Operation: 68-20=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[3, 48], Operations: ['81-13=68', '68-20=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[20, 65], Operations: ['81-13=68', '68-3=65']
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,22 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[68, 23], Operations: ['81-13=68', '3+20=23']
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,22 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.