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 |
---|---|---|---|---|---|---|---|---|
[
4,
86,
94,
64
] | 52 |
[
"86-4=82",
"94-64=30",
"82-30=52"
] |
Current State: 52:[4, 86, 94, 64], Operations: []
Exploring Operation: 86-4=82, Resulting Numbers: [94, 64, 82]
Generated Node #2: [94, 64, 82] from Operation: 86-4=82
Current State: 52:[94, 64, 82], Operations: ['86-4=82']
Exploring Operation: 94-64=30, Resulting Numbers: [82, 30]
Generated Node #3: [82, 30] from Operation: 94-64=30
Current State: 52:[82, 30], Operations: ['86-4=82', '94-64=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[4, 86, 94, 64], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [4, 64, 8]
Generated Node #0,0: 52:[4, 64, 8] Operation: 94-86=8
Exploring Operation: 94-64=30, Resulting Numbers: [4, 86, 30]
Generated Node #0,1: 52:[4, 86, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 52:[4, 64, 8], Operations: ['94-86=8']
Exploring Operation: 64-8=56, Resulting Numbers: [4, 56]
Generated Node #0,0,0: 52:[4, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 52:[4, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[4, 56], Operations: ['94-86=8', '64-8=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[4, 86, 94, 64], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [4, 64, 8]
Generated Node #0,0: 52:[4, 64, 8] Operation: 94-86=8
Moving to Node #0,0
Current State: 52:[4, 64, 8], Operations: ['94-86=8']
Exploring Operation: 64-8=56, Resulting Numbers: [4, 56]
Generated Node #0,0,0: 52:[4, 56] Operation: 64-8=56
Moving to Node #0,0,0
Current State: 52:[4, 56], Operations: ['94-86=8', '64-8=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
10,
35,
23,
29
] | 92 |
[
"35-10=25",
"29-25=4",
"23*4=92"
] |
Current State: 92:[10, 35, 23, 29], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [23, 29, 25]
Generated Node #2: [23, 29, 25] from Operation: 35-10=25
Current State: 92:[23, 29, 25], Operations: ['35-10=25']
Exploring Operation: 29-25=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 29-25=4
Current State: 92:[23, 4], Operations: ['35-10=25', '29-25=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[10, 35, 23, 29], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [23, 29, 25]
Generated Node #0,0: 92:[23, 29, 25] Operation: 35-10=25
Exploring Operation: 10+35=45, Resulting Numbers: [23, 29, 45]
Generated Node #0,1: 92:[23, 29, 45] Operation: 10+35=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[23, 29, 45], Operations: ['10+35=45']
Exploring Operation: 29-23=6, Resulting Numbers: [45, 6]
Generated Node #0,1,0: 92:[45, 6] Operation: 29-23=6
Exploring Operation: 23+29=52, Resulting Numbers: [45, 52]
Generated Node #0,1,1: 92:[45, 52] Operation: 23+29=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[45, 6], Operations: ['10+35=45', '29-23=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,92 unequal: No Solution
No 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: 92:[45, 52], Operations: ['10+35=45', '23+29=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,92 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: 92:[23, 29, 25], Operations: ['35-10=25']
Exploring Operation: 29-25=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 92:[23, 4] Operation: 29-25=4
Exploring Operation: 29-23=6, Resulting Numbers: [25, 6]
Generated Node #0,0,1: 92:[25, 6] Operation: 29-23=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[23, 4], Operations: ['35-10=25', '29-25=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[10, 35, 23, 29], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [23, 29, 25]
Generated Node #0,0: 92:[23, 29, 25] Operation: 35-10=25
Moving to Node #0,0
Current State: 92:[23, 29, 25], Operations: ['35-10=25']
Exploring Operation: 29-25=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 92:[23, 4] Operation: 29-25=4
Moving to Node #0,0,0
Current State: 92:[23, 4], Operations: ['35-10=25', '29-25=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
mult_heuristic
|
[
3,
63,
57,
7
] | 71 |
[
"63/3=21",
"57-7=50",
"21+50=71"
] |
Current State: 71:[3, 63, 57, 7], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [57, 7, 21]
Generated Node #2: [57, 7, 21] from Operation: 63/3=21
Current State: 71:[57, 7, 21], Operations: ['63/3=21']
Exploring Operation: 57-7=50, Resulting Numbers: [21, 50]
Generated Node #3: [21, 50] from Operation: 57-7=50
Current State: 71:[21, 50], Operations: ['63/3=21', '57-7=50']
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[3, 63, 57, 7], Operations: []
Exploring Operation: 3*7=21, Resulting Numbers: [63, 57, 21]
Generated Node #0,0: 71:[63, 57, 21] Operation: 3*7=21
Exploring Operation: 3+57=60, Resulting Numbers: [63, 7, 60]
Generated Node #0,1: 71:[63, 7, 60] Operation: 3+57=60
Exploring Operation: 3+63=66, Resulting Numbers: [57, 7, 66]
Generated Node #0,2: 71:[57, 7, 66] Operation: 3+63=66
Moving to Node #0,0
Current State: 71:[63, 57, 21], Operations: ['3*7=21']
Exploring Operation: 57+21=78, Resulting Numbers: [63, 78]
Generated Node #0,0,0: 71:[63, 78] Operation: 57+21=78
Exploring Operation: 63+21=84, Resulting Numbers: [57, 84]
Generated Node #0,0,1: 71:[57, 84] Operation: 63+21=84
Exploring Operation: 63-21=42, Resulting Numbers: [57, 42]
Generated Node #0,0,2: 71:[57, 42] Operation: 63-21=42
Moving to Node #0,1
Current State: 71:[63, 7, 60], Operations: ['3+57=60']
Exploring Operation: 63-7=56, Resulting Numbers: [60, 56]
Generated Node #0,1,0: 71:[60, 56] Operation: 63-7=56
Exploring Operation: 63+7=70, Resulting Numbers: [60, 70]
Generated Node #0,1,1: 71:[60, 70] Operation: 63+7=70
Exploring Operation: 7+60=67, Resulting Numbers: [63, 67]
Generated Node #0,1,2: 71:[63, 67] Operation: 7+60=67
Moving to Node #0,2
Current State: 71:[57, 7, 66], Operations: ['3+63=66']
Exploring Operation: 57-7=50, Resulting Numbers: [66, 50]
Generated Node #0,2,0: 71:[66, 50] Operation: 57-7=50
Exploring Operation: 57+7=64, Resulting Numbers: [66, 64]
Generated Node #0,2,1: 71:[66, 64] Operation: 57+7=64
Exploring Operation: 7+66=73, Resulting Numbers: [57, 73]
Generated Node #0,2,2: 71:[57, 73] Operation: 7+66=73
Moving to Node #0,1,1
Current State: 71:[60, 70], Operations: ['3+57=60', '63+7=70']
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[66, 64], Operations: ['3+63=66', '57+7=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,71 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[63, 67], Operations: ['3+57=60', '7+60=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[63, 78], Operations: ['3*7=21', '57+21=78']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,71 unequal: No Solution
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[57, 73], Operations: ['3+63=66', '7+66=73']
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,71 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[60, 56], Operations: ['3+57=60', '63-7=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,71 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[66, 50], Operations: ['3+63=66', '57-7=50']
Exploring Operation: 66+50=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 66*50=3300, Resulting Numbers: [3300]
3300,71 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[57, 84], Operations: ['3*7=21', '63+21=84']
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,71 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[57, 42], Operations: ['3*7=21', '63-21=42']
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,71 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
43,
12,
42,
3
] | 81 |
[
"43+42=85",
"12/3=4",
"85-4=81"
] |
Current State: 81:[43, 12, 42, 3], Operations: []
Exploring Operation: 43+42=85, Resulting Numbers: [12, 3, 85]
Generated Node #2: [12, 3, 85] from Operation: 43+42=85
Current State: 81:[12, 3, 85], Operations: ['43+42=85']
Exploring Operation: 12/3=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 12/3=4
Current State: 81:[85, 4], Operations: ['43+42=85', '12/3=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[43, 12, 42, 3], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [12, 3, 1]
Generated Node #0,0: 81:[12, 3, 1] Operation: 43-42=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[12, 3, 1], Operations: ['43-42=1']
Exploring Operation: 12-3=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 81:[1, 9] Operation: 12-3=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[1, 9], Operations: ['43-42=1', '12-3=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
71,
31,
48,
54
] | 46 |
[
"71-31=40",
"54-48=6",
"40+6=46"
] |
Current State: 46:[71, 31, 48, 54], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [48, 54, 40]
Generated Node #2: [48, 54, 40] from Operation: 71-31=40
Current State: 46:[48, 54, 40], Operations: ['71-31=40']
Exploring Operation: 54-48=6, Resulting Numbers: [40, 6]
Generated Node #3: [40, 6] from Operation: 54-48=6
Current State: 46:[40, 6], Operations: ['71-31=40', '54-48=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[71, 31, 48, 54], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [31, 54, 23]
Generated Node #0,0: 46:[31, 54, 23] Operation: 71-48=23
Exploring Operation: 71-54=17, Resulting Numbers: [31, 48, 17]
Generated Node #0,1: 46:[31, 48, 17] Operation: 71-54=17
Exploring Operation: 71-31=40, Resulting Numbers: [48, 54, 40]
Generated Node #0,2: 46:[48, 54, 40] Operation: 71-31=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[31, 54, 23], Operations: ['71-48=23']
Exploring Operation: 31-23=8, Resulting Numbers: [54, 8]
Generated Node #0,0,0: 46:[54, 8] Operation: 31-23=8
Exploring Operation: 31+23=54, Resulting Numbers: [54, 54]
Generated Node #0,0,1: 46:[54, 54] Operation: 31+23=54
Exploring Operation: 54-31=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 46:[23, 23] Operation: 54-31=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[23, 23], Operations: ['71-48=23', '54-31=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[71, 31, 48, 54], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [31, 54, 23]
Generated Node #0,0: 46:[31, 54, 23] Operation: 71-48=23
Moving to Node #0,0
Current State: 46:[31, 54, 23], Operations: ['71-48=23']
Exploring Operation: 54-31=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 46:[23, 23] Operation: 54-31=23
Moving to Node #0,0,2
Current State: 46:[23, 23], Operations: ['71-48=23', '54-31=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
55,
65,
60,
11
] | 11 |
[
"65*11=715",
"715-55=660",
"660/60=11"
] |
Current State: 11:[55, 65, 60, 11], Operations: []
Exploring Operation: 65*11=715, Resulting Numbers: [55, 60, 715]
Generated Node #2: [55, 60, 715] from Operation: 65*11=715
Current State: 11:[55, 60, 715], Operations: ['65*11=715']
Exploring Operation: 715-55=660, Resulting Numbers: [60, 660]
Generated Node #3: [60, 660] from Operation: 715-55=660
Current State: 11:[60, 660], Operations: ['65*11=715', '715-55=660']
Exploring Operation: 660/60=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[55, 65, 60, 11], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [60, 11, 10]
Generated Node #0,0: 11:[60, 11, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[60, 11, 10], Operations: ['65-55=10']
Exploring Operation: 60/10=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 11:[11, 6] Operation: 60/10=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[11, 6], Operations: ['65-55=10', '60/10=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,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_1
|
sum_heuristic
|
[
79,
94,
93,
96
] | 86 |
[
"79+93=172",
"96-94=2",
"172/2=86"
] |
Current State: 86:[79, 94, 93, 96], Operations: []
Exploring Operation: 79+93=172, Resulting Numbers: [94, 96, 172]
Generated Node #2: [94, 96, 172] from Operation: 79+93=172
Current State: 86:[94, 96, 172], Operations: ['79+93=172']
Exploring Operation: 96-94=2, Resulting Numbers: [172, 2]
Generated Node #3: [172, 2] from Operation: 96-94=2
Current State: 86:[172, 2], Operations: ['79+93=172', '96-94=2']
Exploring Operation: 172/2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[79, 94, 93, 96], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [79, 93, 2]
Generated Node #0,0: 86:[79, 93, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[79, 93, 2], Operations: ['96-94=2']
Exploring Operation: 93-79=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 86:[2, 14] Operation: 93-79=14
Moving to Node #0,0,0
Current State: 86:[2, 14], Operations: ['96-94=2', '93-79=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
43,
96,
70,
24
] | 31 |
[
"70-43=27",
"96/24=4",
"27+4=31"
] |
Current State: 31:[43, 96, 70, 24], Operations: []
Exploring Operation: 70-43=27, Resulting Numbers: [96, 24, 27]
Generated Node #2: [96, 24, 27] from Operation: 70-43=27
Current State: 31:[96, 24, 27], Operations: ['70-43=27']
Exploring Operation: 96/24=4, Resulting Numbers: [27, 4]
Generated Node #3: [27, 4] from Operation: 96/24=4
Current State: 31:[27, 4], Operations: ['70-43=27', '96/24=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[43, 96, 70, 24], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [70, 24, 53]
Generated Node #0,0: 31:[70, 24, 53] Operation: 96-43=53
Exploring Operation: 96-70=26, Resulting Numbers: [43, 24, 26]
Generated Node #0,1: 31:[43, 24, 26] Operation: 96-70=26
Exploring Operation: 70-43=27, Resulting Numbers: [96, 24, 27]
Generated Node #0,2: 31:[96, 24, 27] Operation: 70-43=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[43, 24, 26], Operations: ['96-70=26']
Exploring Operation: 43-24=19, Resulting Numbers: [26, 19]
Generated Node #0,1,0: 31:[26, 19] Operation: 43-24=19
Exploring Operation: 43-26=17, Resulting Numbers: [24, 17]
Generated Node #0,1,1: 31:[24, 17] Operation: 43-26=17
Exploring Operation: 24+26=50, Resulting Numbers: [43, 50]
Generated Node #0,1,2: 31:[43, 50] Operation: 24+26=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[26, 19], Operations: ['96-70=26', '43-24=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,31 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[24, 17], Operations: ['96-70=26', '43-26=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,31 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[43, 50], Operations: ['96-70=26', '24+26=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,31 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[70, 24, 53], Operations: ['96-43=53']
Exploring Operation: 70-24=46, Resulting Numbers: [53, 46]
Generated Node #0,0,0: 31:[53, 46] Operation: 70-24=46
Exploring Operation: 70-53=17, Resulting Numbers: [24, 17]
Generated Node #0,0,1: 31:[24, 17] Operation: 70-53=17
Exploring Operation: 53-24=29, Resulting Numbers: [70, 29]
Generated Node #0,0,2: 31:[70, 29] Operation: 53-24=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[24, 17], Operations: ['96-43=53', '70-53=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,31 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[53, 46], Operations: ['96-43=53', '70-24=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,31 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[70, 29], Operations: ['96-43=53', '53-24=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[96, 24, 27], Operations: ['70-43=27']
Exploring Operation: 96-27=69, Resulting Numbers: [24, 69]
Generated Node #0,2,0: 31:[24, 69] Operation: 96-27=69
Exploring Operation: 96-24=72, Resulting Numbers: [27, 72]
Generated Node #0,2,1: 31:[27, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 31:[27, 4] Operation: 96/24=4
Moving to Node #0,2,2
Current State: 31:[27, 4], Operations: ['70-43=27', '96/24=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[43, 96, 70, 24], Operations: []
Exploring Operation: 70-43=27, Resulting Numbers: [96, 24, 27]
Generated Node #0,2: 31:[96, 24, 27] Operation: 70-43=27
Moving to Node #0,2
Current State: 31:[96, 24, 27], Operations: ['70-43=27']
Exploring Operation: 96/24=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 31:[27, 4] Operation: 96/24=4
Moving to Node #0,2,2
Current State: 31:[27, 4], Operations: ['70-43=27', '96/24=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 |
hs_3
|
sum_heuristic
|
[
90,
34,
90,
2
] | 36 |
[
"90+34=124",
"90-2=88",
"124-88=36"
] |
Current State: 36:[90, 34, 90, 2], Operations: []
Exploring Operation: 90+34=124, Resulting Numbers: [2, 124]
Generated Node #2: [2, 124] from Operation: 90+34=124
Current State: 36:[2, 124], Operations: ['90+34=124']
Exploring Operation: 90-2=88, Resulting Numbers: [124, 88]
Generated Node #3: [124, 88] from Operation: 90-2=88
Current State: 36:[124, 88], Operations: ['90+34=124', '90-2=88']
Exploring Operation: 124-88=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[90, 34, 90, 2], Operations: []
Exploring Operation: 90-90=0, Resulting Numbers: [34, 2, 0]
Generated Node #0,0: 36:[34, 2, 0] Operation: 90-90=0
Exploring Operation: 90/90=1, Resulting Numbers: [34, 2, 1]
Generated Node #0,1: 36:[34, 2, 1] Operation: 90/90=1
Exploring Operation: 90/2=45, Resulting Numbers: [34, 90, 45]
Generated Node #0,2: 36:[34, 90, 45] Operation: 90/2=45
Moving to Node #0,1
Current State: 36:[34, 2, 1], Operations: ['90/90=1']
Exploring Operation: 34+1=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 36:[2, 35] Operation: 34+1=35
Exploring Operation: 34/2=17, Resulting Numbers: [1, 17]
Generated Node #0,1,1: 36:[1, 17] Operation: 34/2=17
Exploring Operation: 34+2=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 36:[1, 36] Operation: 34+2=36
Moving to Node #0,0
Current State: 36:[34, 2, 0], Operations: ['90-90=0']
Exploring Operation: 34*0=0, Resulting Numbers: [2, 0]
Generated Node #0,0,0: 36:[2, 0] Operation: 34*0=0
Exploring Operation: 34+2=36, Resulting Numbers: [0, 36]
Generated Node #0,0,1: 36:[0, 36] Operation: 34+2=36
Exploring Operation: 34+0=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 36:[2, 34] Operation: 34+0=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[2, 0], Operations: ['90-90=0', '34*0=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[0, 36], Operations: ['90-90=0', '34+2=36']
Exploring Operation: 0+36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[90, 34, 90, 2], Operations: []
Exploring Operation: 90-90=0, Resulting Numbers: [34, 2, 0]
Generated Node #0,0: 36:[34, 2, 0] Operation: 90-90=0
Moving to Node #0,0
Current State: 36:[34, 2, 0], Operations: ['90-90=0']
Exploring Operation: 34+2=36, Resulting Numbers: [0, 36]
Generated Node #0,0,1: 36:[0, 36] Operation: 34+2=36
Moving to Node #0,0,1
Current State: 36:[0, 36], Operations: ['90-90=0', '34+2=36']
Exploring Operation: 0+36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
mult_heuristic
|
[
6,
14,
3,
32
] | 23 |
[
"6/3=2",
"14+32=46",
"46/2=23"
] |
Current State: 23:[6, 14, 3, 32], Operations: []
Exploring Operation: 6/3=2, Resulting Numbers: [14, 32, 2]
Generated Node #2: [14, 32, 2] from Operation: 6/3=2
Current State: 23:[14, 32, 2], Operations: ['6/3=2']
Exploring Operation: 14+32=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 14+32=46
Current State: 23:[2, 46], Operations: ['6/3=2', '14+32=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[6, 14, 3, 32], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [14, 32, 18]
Generated Node #0,0: 23:[14, 32, 18] Operation: 6*3=18
Exploring Operation: 6+14=20, Resulting Numbers: [3, 32, 20]
Generated Node #0,1: 23:[3, 32, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[14, 32, 18], Operations: ['6*3=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32, 32]
Generated Node #0,0,0: 23:[32, 32] Operation: 14+18=32
Exploring Operation: 32-14=18, Resulting Numbers: [18, 18]
Generated Node #0,0,1: 23:[18, 18] Operation: 32-14=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[18, 18], Operations: ['6*3=18', '32-14=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,23 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[32, 32], Operations: ['6*3=18', '14+18=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[3, 32, 20], Operations: ['6+14=20']
Exploring Operation: 32-3=29, Resulting Numbers: [20, 29]
Generated Node #0,1,0: 23:[20, 29] Operation: 32-3=29
Exploring Operation: 3+20=23, Resulting Numbers: [32, 23]
Generated Node #0,1,1: 23:[32, 23] Operation: 3+20=23
Moving to Node #0,1,0
Current State: 23:[20, 29], Operations: ['6+14=20', '32-3=29']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[32, 23], Operations: ['6+14=20', '3+20=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,23 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
|
[
66,
3,
74,
6
] | 50 |
[
"66+6=72",
"72/3=24",
"74-24=50"
] |
Current State: 50:[66, 3, 74, 6], Operations: []
Exploring Operation: 66+6=72, Resulting Numbers: [3, 74, 72]
Generated Node #2: [3, 74, 72] from Operation: 66+6=72
Current State: 50:[3, 74, 72], Operations: ['66+6=72']
Exploring Operation: 72/3=24, Resulting Numbers: [74, 24]
Generated Node #3: [74, 24] from Operation: 72/3=24
Current State: 50:[74, 24], Operations: ['66+6=72', '72/3=24']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[66, 3, 74, 6], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [3, 6, 8]
Generated Node #0,0: 50:[3, 6, 8] Operation: 74-66=8
Exploring Operation: 66/6=11, Resulting Numbers: [3, 74, 11]
Generated Node #0,1: 50:[3, 74, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[3, 6, 8], Operations: ['74-66=8']
Exploring Operation: 8-3=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 50:[6, 5] Operation: 8-3=5
Exploring Operation: 8-6=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 50:[3, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 50:[6, 5], Operations: ['74-66=8', '8-3=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[3, 2], Operations: ['74-66=8', '8-6=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[3, 74, 11], Operations: ['66/6=11']
Exploring Operation: 74-11=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 50:[3, 63] Operation: 74-11=63
Exploring Operation: 74-3=71, Resulting Numbers: [11, 71]
Generated Node #0,1,1: 50:[11, 71] Operation: 74-3=71
Moving to Node #0,1,0
Current State: 50:[3, 63], Operations: ['66/6=11', '74-11=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[11, 71], Operations: ['66/6=11', '74-3=71']
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,50 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
|
[
59,
12,
79,
82
] | 55 |
[
"82-79=3",
"12/3=4",
"59-4=55"
] |
Current State: 55:[59, 12, 79, 82], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [59, 12, 3]
Generated Node #2: [59, 12, 3] from Operation: 82-79=3
Current State: 55:[59, 12, 3], Operations: ['82-79=3']
Exploring Operation: 12/3=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 12/3=4
Current State: 55:[59, 4], Operations: ['82-79=3', '12/3=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[59, 12, 79, 82], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [12, 82, 20]
Generated Node #0,0: 55:[12, 82, 20] Operation: 79-59=20
Exploring Operation: 82-79=3, Resulting Numbers: [59, 12, 3]
Generated Node #0,1: 55:[59, 12, 3] Operation: 82-79=3
Moving to Node #0,1
Current State: 55:[59, 12, 3], Operations: ['82-79=3']
Exploring Operation: 12/3=4, Resulting Numbers: [59, 4]
Generated Node #0,1,0: 55:[59, 4] Operation: 12/3=4
Exploring Operation: 59-3=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 55:[12, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[12, 56], Operations: ['82-79=3', '59-3=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,55 unequal: No Solution
No 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: 55:[59, 4], Operations: ['82-79=3', '12/3=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[59, 12, 79, 82], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [59, 12, 3]
Generated Node #0,1: 55:[59, 12, 3] Operation: 82-79=3
Moving to Node #0,1
Current State: 55:[59, 12, 3], Operations: ['82-79=3']
Exploring Operation: 12/3=4, Resulting Numbers: [59, 4]
Generated Node #0,1,0: 55:[59, 4] Operation: 12/3=4
Moving to Node #0,1,0
Current State: 55:[59, 4], Operations: ['82-79=3', '12/3=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
sum_heuristic
|
[
40,
97,
38,
63
] | 80 |
[
"40-38=2",
"97+63=160",
"160/2=80"
] |
Current State: 80:[40, 97, 38, 63], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [97, 63, 2]
Generated Node #2: [97, 63, 2] from Operation: 40-38=2
Current State: 80:[97, 63, 2], Operations: ['40-38=2']
Exploring Operation: 97+63=160, Resulting Numbers: [2, 160]
Generated Node #3: [2, 160] from Operation: 97+63=160
Current State: 80:[2, 160], Operations: ['40-38=2', '97+63=160']
Exploring Operation: 160/2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[40, 97, 38, 63], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [40, 38, 34]
Generated Node #0,0: 80:[40, 38, 34] Operation: 97-63=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[40, 38, 34], Operations: ['97-63=34']
Exploring Operation: 38-34=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 80:[40, 4] Operation: 38-34=4
Moving to Node #0,0,0
Current State: 80:[40, 4], Operations: ['97-63=34', '38-34=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
38,
11,
9,
81
] | 19 |
[
"81/9=9",
"11-9=2",
"38/2=19"
] |
Current State: 19:[38, 11, 9, 81], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [38, 11, 9]
Generated Node #2: [38, 11, 9] from Operation: 81/9=9
Current State: 19:[38, 11, 9], Operations: ['81/9=9']
Exploring Operation: 11-9=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 11-9=2
Current State: 19:[38, 2], Operations: ['81/9=9', '11-9=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[38, 11, 9, 81], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [11, 9, 43]
Generated Node #0,0: 19:[11, 9, 43] Operation: 81-38=43
Exploring Operation: 81/9=9, Resulting Numbers: [38, 11, 9]
Generated Node #0,1: 19:[38, 11, 9] Operation: 81/9=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[38, 11, 9], Operations: ['81/9=9']
Exploring Operation: 38-11=27, Resulting Numbers: [9, 27]
Generated Node #0,1,0: 19:[9, 27] Operation: 38-11=27
Exploring Operation: 38-9=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 19:[11, 29] Operation: 38-9=29
Moving to Node #0,1,0
Current State: 19:[9, 27], Operations: ['81/9=9', '38-11=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[11, 29], Operations: ['81/9=9', '38-9=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,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:[11, 9, 43], Operations: ['81-38=43']
Exploring Operation: 43-9=34, Resulting Numbers: [11, 34]
Generated Node #0,0,0: 19:[11, 34] Operation: 43-9=34
Exploring Operation: 43-11=32, Resulting Numbers: [9, 32]
Generated Node #0,0,1: 19:[9, 32] Operation: 43-11=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[11, 34], Operations: ['81-38=43', '43-9=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,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:[9, 32], Operations: ['81-38=43', '43-11=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,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
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
76,
34,
63,
39
] | 26 |
[
"76-34=42",
"39*42=1638",
"1638/63=26"
] |
Current State: 26:[76, 34, 63, 39], Operations: []
Exploring Operation: 76-34=42, Resulting Numbers: [63, 39, 42]
Generated Node #2: [63, 39, 42] from Operation: 76-34=42
Current State: 26:[63, 39, 42], Operations: ['76-34=42']
Exploring Operation: 39*42=1638, Resulting Numbers: [63, 1638]
Generated Node #3: [63, 1638] from Operation: 39*42=1638
Current State: 26:[63, 1638], Operations: ['76-34=42', '39*42=1638']
Exploring Operation: 1638/63=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[76, 34, 63, 39], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [34, 63, 37]
Generated Node #0,0: 26:[34, 63, 37] Operation: 76-39=37
Exploring Operation: 76-63=13, Resulting Numbers: [34, 39, 13]
Generated Node #0,1: 26:[34, 39, 13] Operation: 76-63=13
Moving to Node #0,1
Current State: 26:[34, 39, 13], Operations: ['76-63=13']
Exploring Operation: 39-34=5, Resulting Numbers: [13, 5]
Generated Node #0,1,0: 26:[13, 5] Operation: 39-34=5
Exploring Operation: 39-13=26, Resulting Numbers: [34, 26]
Generated Node #0,1,1: 26:[34, 26] Operation: 39-13=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[13, 5], Operations: ['76-63=13', '39-34=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,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,1,1
Current State: 26:[34, 26], Operations: ['76-63=13', '39-13=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,26 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: 26:[34, 63, 37], Operations: ['76-39=37']
Exploring Operation: 63-34=29, Resulting Numbers: [37, 29]
Generated Node #0,0,0: 26:[37, 29] Operation: 63-34=29
Exploring Operation: 63-37=26, Resulting Numbers: [34, 26]
Generated Node #0,0,1: 26:[34, 26] Operation: 63-37=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[34, 26], Operations: ['76-39=37', '63-37=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,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,0,0
Current State: 26:[37, 29], Operations: ['76-39=37', '63-34=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,26 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
|
[
55,
1,
96,
16
] | 50 |
[
"55+1=56",
"96/16=6",
"56-6=50"
] |
Current State: 50:[55, 1, 96, 16], Operations: []
Exploring Operation: 55+1=56, Resulting Numbers: [96, 16, 56]
Generated Node #2: [96, 16, 56] from Operation: 55+1=56
Current State: 50:[96, 16, 56], Operations: ['55+1=56']
Exploring Operation: 96/16=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 96/16=6
Current State: 50:[56, 6], Operations: ['55+1=56', '96/16=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[55, 1, 96, 16], Operations: []
Exploring Operation: 96-16=80, Resulting Numbers: [55, 1, 80]
Generated Node #0,0: 50:[55, 1, 80] Operation: 96-16=80
Exploring Operation: 96-55=41, Resulting Numbers: [1, 16, 41]
Generated Node #0,1: 50:[1, 16, 41] Operation: 96-55=41
Exploring Operation: 55-1=54, Resulting Numbers: [96, 16, 54]
Generated Node #0,2: 50:[96, 16, 54] Operation: 55-1=54
Exploring Operation: 96/16=6, Resulting Numbers: [55, 1, 6]
Generated Node #0,3: 50:[55, 1, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[55, 1, 6], Operations: ['96/16=6']
Exploring Operation: 55-6=49, Resulting Numbers: [1, 49]
Generated Node #0,3,0: 50:[1, 49] Operation: 55-6=49
Exploring Operation: 6-1=5, Resulting Numbers: [55, 5]
Generated Node #0,3,1: 50:[55, 5] Operation: 6-1=5
Exploring Operation: 55-1=54, Resulting Numbers: [6, 54]
Generated Node #0,3,2: 50:[6, 54] Operation: 55-1=54
Exploring Operation: 55*1=55, Resulting Numbers: [6, 55]
Generated Node #0,3,3: 50:[6, 55] Operation: 55*1=55
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[1, 49], Operations: ['96/16=6', '55-6=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[55, 1, 96, 16], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [55, 1, 6]
Generated Node #0,3: 50:[55, 1, 6] Operation: 96/16=6
Moving to Node #0,3
Current State: 50:[55, 1, 6], Operations: ['96/16=6']
Exploring Operation: 55-6=49, Resulting Numbers: [1, 49]
Generated Node #0,3,0: 50:[1, 49] Operation: 55-6=49
Moving to Node #0,3,0
Current State: 50:[1, 49], Operations: ['96/16=6', '55-6=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
48,
26,
96,
41
] | 17 |
[
"96/48=2",
"41-26=15",
"2+15=17"
] |
Current State: 17:[48, 26, 96, 41], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [26, 41, 2]
Generated Node #2: [26, 41, 2] from Operation: 96/48=2
Current State: 17:[26, 41, 2], Operations: ['96/48=2']
Exploring Operation: 41-26=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 41-26=15
Current State: 17:[2, 15], Operations: ['96/48=2', '41-26=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[48, 26, 96, 41], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [26, 41, 2]
Generated Node #0,0: 17:[26, 41, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 17:[26, 41, 2], Operations: ['96/48=2']
Exploring Operation: 41-26=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 17:[2, 15] Operation: 41-26=15
Moving to Node #0,0,0
Current State: 17:[2, 15], Operations: ['96/48=2', '41-26=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 26, 96, 41], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [26, 41, 2]
Generated Node #0,0: 17:[26, 41, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 17:[26, 41, 2], Operations: ['96/48=2']
Exploring Operation: 41-26=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 17:[2, 15] Operation: 41-26=15
Moving to Node #0,0,0
Current State: 17:[2, 15], Operations: ['96/48=2', '41-26=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
90,
30,
25,
75
] | 53 |
[
"90/30=3",
"75-25=50",
"3+50=53"
] |
Current State: 53:[90, 30, 25, 75], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [25, 75, 3]
Generated Node #2: [25, 75, 3] from Operation: 90/30=3
Current State: 53:[25, 75, 3], Operations: ['90/30=3']
Exploring Operation: 75-25=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 75-25=50
Current State: 53:[3, 50], Operations: ['90/30=3', '75-25=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[90, 30, 25, 75], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [25, 75, 60]
Generated Node #0,0: 53:[25, 75, 60] Operation: 90-30=60
Exploring Operation: 90-25=65, Resulting Numbers: [30, 75, 65]
Generated Node #0,1: 53:[30, 75, 65] Operation: 90-25=65
Exploring Operation: 30+25=55, Resulting Numbers: [90, 75, 55]
Generated Node #0,2: 53:[90, 75, 55] Operation: 30+25=55
Moving to Node #0,0
Current State: 53:[25, 75, 60], Operations: ['90-30=60']
Exploring Operation: 75-25=50, Resulting Numbers: [60, 50]
Generated Node #0,0,0: 53:[60, 50] Operation: 75-25=50
Exploring Operation: 25+75=100, Resulting Numbers: [60, 100]
Generated Node #0,0,1: 53:[60, 100] Operation: 25+75=100
Exploring Operation: 60-25=35, Resulting Numbers: [75, 35]
Generated Node #0,0,2: 53:[75, 35] Operation: 60-25=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[60, 50], Operations: ['90-30=60', '75-25=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[75, 35], Operations: ['90-30=60', '60-25=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[60, 100], Operations: ['90-30=60', '25+75=100']
Exploring Operation: 60*100=6000, Resulting Numbers: [6000]
6000,53 unequal: No Solution
Exploring Operation: 60+100=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[30, 75, 65], Operations: ['90-25=65']
Exploring Operation: 30+75=105, Resulting Numbers: [65, 105]
Generated Node #0,1,0: 53:[65, 105] Operation: 30+75=105
Exploring Operation: 65-30=35, Resulting Numbers: [75, 35]
Generated Node #0,1,1: 53:[75, 35] Operation: 65-30=35
Exploring Operation: 75-30=45, Resulting Numbers: [65, 45]
Generated Node #0,1,2: 53:[65, 45] Operation: 75-30=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[65, 45], Operations: ['90-25=65', '75-30=45']
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[75, 35], Operations: ['90-25=65', '65-30=35']
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,53 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[65, 105], Operations: ['90-25=65', '30+75=105']
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,53 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[90, 75, 55], Operations: ['30+25=55']
Exploring Operation: 90-55=35, Resulting Numbers: [75, 35]
Generated Node #0,2,0: 53:[75, 35] Operation: 90-55=35
Exploring Operation: 90-75=15, Resulting Numbers: [55, 15]
Generated Node #0,2,1: 53:[55, 15] Operation: 90-75=15
Exploring Operation: 75-55=20, Resulting Numbers: [90, 20]
Generated Node #0,2,2: 53:[90, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[75, 35], Operations: ['30+25=55', '90-55=35']
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,53 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[55, 15], Operations: ['30+25=55', '90-75=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,53 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[90, 20], Operations: ['30+25=55', '75-55=20']
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,53 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
79,
25,
10,
14
] | 30 |
[
"79-25=54",
"10+14=24",
"54-24=30"
] |
Current State: 30:[79, 25, 10, 14], Operations: []
Exploring Operation: 79-25=54, Resulting Numbers: [10, 14, 54]
Generated Node #2: [10, 14, 54] from Operation: 79-25=54
Current State: 30:[10, 14, 54], Operations: ['79-25=54']
Exploring Operation: 10+14=24, Resulting Numbers: [54, 24]
Generated Node #3: [54, 24] from Operation: 10+14=24
Current State: 30:[54, 24], Operations: ['79-25=54', '10+14=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[79, 25, 10, 14], Operations: []
Exploring Operation: 79-14=65, Resulting Numbers: [25, 10, 65]
Generated Node #0,0: 30:[25, 10, 65] Operation: 79-14=65
Exploring Operation: 79-25=54, Resulting Numbers: [10, 14, 54]
Generated Node #0,1: 30:[10, 14, 54] Operation: 79-25=54
Exploring Operation: 79-10=69, Resulting Numbers: [25, 14, 69]
Generated Node #0,2: 30:[25, 14, 69] Operation: 79-10=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[10, 14, 54], Operations: ['79-25=54']
Exploring Operation: 54-14=40, Resulting Numbers: [10, 40]
Generated Node #0,1,0: 30:[10, 40] Operation: 54-14=40
Exploring Operation: 54-10=44, Resulting Numbers: [14, 44]
Generated Node #0,1,1: 30:[14, 44] Operation: 54-10=44
Exploring Operation: 14-10=4, Resulting Numbers: [54, 4]
Generated Node #0,1,2: 30:[54, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[10, 40], Operations: ['79-25=54', '54-14=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[79, 25, 10, 14], Operations: []
Exploring Operation: 79-25=54, Resulting Numbers: [10, 14, 54]
Generated Node #0,1: 30:[10, 14, 54] Operation: 79-25=54
Moving to Node #0,1
Current State: 30:[10, 14, 54], Operations: ['79-25=54']
Exploring Operation: 54-14=40, Resulting Numbers: [10, 40]
Generated Node #0,1,0: 30:[10, 40] Operation: 54-14=40
Moving to Node #0,1,0
Current State: 30:[10, 40], Operations: ['79-25=54', '54-14=40']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
92,
86,
75,
44
] | 25 |
[
"92-86=6",
"75-44=31",
"31-6=25"
] |
Current State: 25:[92, 86, 75, 44], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [75, 44, 6]
Generated Node #2: [75, 44, 6] from Operation: 92-86=6
Current State: 25:[75, 44, 6], Operations: ['92-86=6']
Exploring Operation: 75-44=31, Resulting Numbers: [6, 31]
Generated Node #3: [6, 31] from Operation: 75-44=31
Current State: 25:[6, 31], Operations: ['92-86=6', '75-44=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[92, 86, 75, 44], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [75, 44, 6]
Generated Node #0,0: 25:[75, 44, 6] Operation: 92-86=6
Exploring Operation: 92-75=17, Resulting Numbers: [86, 44, 17]
Generated Node #0,1: 25:[86, 44, 17] Operation: 92-75=17
Moving to Node #0,0
Current State: 25:[75, 44, 6], Operations: ['92-86=6']
Exploring Operation: 75-6=69, Resulting Numbers: [44, 69]
Generated Node #0,0,0: 25:[44, 69] Operation: 75-6=69
Exploring Operation: 75-44=31, Resulting Numbers: [6, 31]
Generated Node #0,0,1: 25:[6, 31] Operation: 75-44=31
Moving to Node #0,1
Current State: 25:[86, 44, 17], Operations: ['92-75=17']
Exploring Operation: 86-44=42, Resulting Numbers: [17, 42]
Generated Node #0,1,0: 25:[17, 42] Operation: 86-44=42
Exploring Operation: 86-17=69, Resulting Numbers: [44, 69]
Generated Node #0,1,1: 25:[44, 69] Operation: 86-17=69
Moving to Node #0,0,1
Current State: 25:[6, 31], Operations: ['92-86=6', '75-44=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[92, 86, 75, 44], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [75, 44, 6]
Generated Node #0,0: 25:[75, 44, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 25:[75, 44, 6], Operations: ['92-86=6']
Exploring Operation: 75-44=31, Resulting Numbers: [6, 31]
Generated Node #0,0,1: 25:[6, 31] Operation: 75-44=31
Moving to Node #0,0,1
Current State: 25:[6, 31], Operations: ['92-86=6', '75-44=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.990451 |
hs_2
|
sum_heuristic
|
[
25,
34,
95,
55
] | 40 |
[
"95+55=150",
"150/25=6",
"34+6=40"
] |
Current State: 40:[25, 34, 95, 55], Operations: []
Exploring Operation: 95+55=150, Resulting Numbers: [25, 34, 150]
Generated Node #2: [25, 34, 150] from Operation: 95+55=150
Current State: 40:[25, 34, 150], Operations: ['95+55=150']
Exploring Operation: 150/25=6, Resulting Numbers: [34, 6]
Generated Node #3: [34, 6] from Operation: 150/25=6
Current State: 40:[34, 6], Operations: ['95+55=150', '150/25=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[25, 34, 95, 55], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [25, 34, 40]
Generated Node #0,0: 40:[25, 34, 40] Operation: 95-55=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[25, 34, 40], Operations: ['95-55=40']
Exploring Operation: 34-25=9, Resulting Numbers: [40, 9]
Generated Node #0,0,0: 40:[40, 9] Operation: 34-25=9
Moving to Node #0,0,0
Current State: 40:[40, 9], Operations: ['95-55=40', '34-25=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
1,
15,
77,
4
] | 67 |
[
"15-1=14",
"77+4=81",
"81-14=67"
] |
Current State: 67:[1, 15, 77, 4], Operations: []
Exploring Operation: 15-1=14, Resulting Numbers: [77, 4, 14]
Generated Node #2: [77, 4, 14] from Operation: 15-1=14
Current State: 67:[77, 4, 14], Operations: ['15-1=14']
Exploring Operation: 77+4=81, Resulting Numbers: [14, 81]
Generated Node #3: [14, 81] from Operation: 77+4=81
Current State: 67:[14, 81], Operations: ['15-1=14', '77+4=81']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[1, 15, 77, 4], Operations: []
Exploring Operation: 1+15=16, Resulting Numbers: [77, 4, 16]
Generated Node #0,0: 67:[77, 4, 16] Operation: 1+15=16
Exploring Operation: 77-1=76, Resulting Numbers: [15, 4, 76]
Generated Node #0,1: 67:[15, 4, 76] Operation: 77-1=76
Exploring Operation: 1+4=5, Resulting Numbers: [15, 77, 5]
Generated Node #0,2: 67:[15, 77, 5] Operation: 1+4=5
Exploring Operation: 15+4=19, Resulting Numbers: [1, 77, 19]
Generated Node #0,3: 67:[1, 77, 19] Operation: 15+4=19
Exploring Operation: 15*4=60, Resulting Numbers: [1, 77, 60]
Generated Node #0,4: 67:[1, 77, 60] Operation: 15*4=60
Moving to Node #0,4
Current State: 67:[1, 77, 60], Operations: ['15*4=60']
Exploring Operation: 77-1=76, Resulting Numbers: [60, 76]
Generated Node #0,4,0: 67:[60, 76] Operation: 77-1=76
Exploring Operation: 1*77=77, Resulting Numbers: [60, 77]
Generated Node #0,4,1: 67:[60, 77] Operation: 1*77=77
Exploring Operation: 1+60=61, Resulting Numbers: [77, 61]
Generated Node #0,4,2: 67:[77, 61] Operation: 1+60=61
Exploring Operation: 1*60=60, Resulting Numbers: [77, 60]
Generated Node #0,4,3: 67:[77, 60] Operation: 1*60=60
Exploring Operation: 77/1=77, Resulting Numbers: [60, 77]
Generated Node #0,4,4: 67:[60, 77] Operation: 77/1=77
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[60, 76], Operations: ['15*4=60', '77-1=76']
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,67 unequal: No Solution
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,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:[77, 61], Operations: ['15*4=60', '1+60=61']
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,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:[60, 77], Operations: ['15*4=60', '1*77=77']
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,67 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[77, 60], Operations: ['15*4=60', '1*60=60']
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,67 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,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:[60, 77], Operations: ['15*4=60', '77/1=77']
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,67 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,67 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: 67:[15, 4, 76], Operations: ['77-1=76']
Exploring Operation: 76-4=72, Resulting Numbers: [15, 72]
Generated Node #0,1,0: 67:[15, 72] Operation: 76-4=72
Exploring Operation: 4+76=80, Resulting Numbers: [15, 80]
Generated Node #0,1,1: 67:[15, 80] Operation: 4+76=80
Exploring Operation: 15-4=11, Resulting Numbers: [76, 11]
Generated Node #0,1,2: 67:[76, 11] Operation: 15-4=11
Exploring Operation: 15+4=19, Resulting Numbers: [76, 19]
Generated Node #0,1,3: 67:[76, 19] Operation: 15+4=19
Exploring Operation: 15*4=60, Resulting Numbers: [76, 60]
Generated Node #0,1,4: 67:[76, 60] Operation: 15*4=60
Moving to Node #0,3
Current State: 67:[1, 77, 19], Operations: ['15+4=19']
Exploring Operation: 77/1=77, Resulting Numbers: [19, 77]
Generated Node #0,3,0: 67:[19, 77] Operation: 77/1=77
Exploring Operation: 1+19=20, Resulting Numbers: [77, 20]
Generated Node #0,3,1: 67:[77, 20] Operation: 1+19=20
Exploring Operation: 77-1=76, Resulting Numbers: [19, 76]
Generated Node #0,3,2: 67:[19, 76] Operation: 77-1=76
Exploring Operation: 1*77=77, Resulting Numbers: [19, 77]
Generated Node #0,3,3: 67:[19, 77] Operation: 1*77=77
Exploring Operation: 1*19=19, Resulting Numbers: [77, 19]
Generated Node #0,3,4: 67:[77, 19] Operation: 1*19=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[77, 20], Operations: ['15+4=19', '1+19=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[19, 76], Operations: ['15+4=19', '77-1=76']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 19*76=1444, Resulting Numbers: [1444]
1444,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[19, 77], Operations: ['15+4=19', '77/1=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[19, 77], Operations: ['15+4=19', '1*77=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 67:[77, 19], Operations: ['15+4=19', '1*19=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,67 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,67 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: 67:[77, 4, 16], Operations: ['1+15=16']
Exploring Operation: 16-4=12, Resulting Numbers: [77, 12]
Generated Node #0,0,0: 67:[77, 12] Operation: 16-4=12
Exploring Operation: 4+16=20, Resulting Numbers: [77, 20]
Generated Node #0,0,1: 67:[77, 20] Operation: 4+16=20
Exploring Operation: 4*16=64, Resulting Numbers: [77, 64]
Generated Node #0,0,2: 67:[77, 64] Operation: 4*16=64
Exploring Operation: 77+4=81, Resulting Numbers: [16, 81]
Generated Node #0,0,3: 67:[16, 81] Operation: 77+4=81
Exploring Operation: 77-4=73, Resulting Numbers: [16, 73]
Generated Node #0,0,4: 67:[16, 73] Operation: 77-4=73
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[77, 64], Operations: ['1+15=16', '4*16=64']
Exploring Operation: 77*64=4928, Resulting Numbers: [4928]
4928,67 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 77+64=141, Resulting Numbers: [141]
141,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:[77, 20], Operations: ['1+15=16', '4+16=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,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:[16, 73], Operations: ['1+15=16', '77-4=73']
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,67 unequal: No Solution
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,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:[77, 12], Operations: ['1+15=16', '16-4=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,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,3
Current State: 67:[16, 81], Operations: ['1+15=16', '77+4=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,67 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,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:[15, 77, 5], Operations: ['1+4=5']
Exploring Operation: 77-5=72, Resulting Numbers: [15, 72]
Generated Node #0,2,0: 67:[15, 72] Operation: 77-5=72
Exploring Operation: 77-15=62, Resulting Numbers: [5, 62]
Generated Node #0,2,1: 67:[5, 62] Operation: 77-15=62
Exploring Operation: 15+5=20, Resulting Numbers: [77, 20]
Generated Node #0,2,2: 67:[77, 20] Operation: 15+5=20
Exploring Operation: 15*5=75, Resulting Numbers: [77, 75]
Generated Node #0,2,3: 67:[77, 75] Operation: 15*5=75
Exploring Operation: 15-5=10, Resulting Numbers: [77, 10]
Generated Node #0,2,4: 67:[77, 10] Operation: 15-5=10
Moving to Node #0,1,4
Current State: 67:[76, 60], Operations: ['77-1=76', '15*4=60']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,67 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[77, 75], Operations: ['1+4=5', '15*5=75']
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[15, 72], Operations: ['1+4=5', '77-5=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[76, 19], Operations: ['77-1=76', '15+4=19']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[15, 72], Operations: ['77-1=76', '76-4=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,67 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[77, 20], Operations: ['1+4=5', '15+5=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[15, 80], Operations: ['77-1=76', '4+76=80']
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,67 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[76, 11], Operations: ['77-1=76', '15-4=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[77, 10], Operations: ['1+4=5', '15-5=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,67 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[1, 15, 77, 4], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [15, 77, 5]
Generated Node #0,2: 67:[15, 77, 5] Operation: 1+4=5
Moving to Node #0,2
Current State: 67:[15, 77, 5], Operations: ['1+4=5']
Exploring Operation: 15-5=10, Resulting Numbers: [77, 10]
Generated Node #0,2,4: 67:[77, 10] Operation: 15-5=10
Moving to Node #0,2,4
Current State: 67:[77, 10], Operations: ['1+4=5', '15-5=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.90625 |
hs_5
|
sum_heuristic
|
[
38,
4,
80,
74
] | 48 |
[
"38+4=42",
"80-74=6",
"42+6=48"
] |
Current State: 48:[38, 4, 80, 74], Operations: []
Exploring Operation: 38+4=42, Resulting Numbers: [80, 74, 42]
Generated Node #2: [80, 74, 42] from Operation: 38+4=42
Current State: 48:[80, 74, 42], Operations: ['38+4=42']
Exploring Operation: 80-74=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 80-74=6
Current State: 48:[42, 6], Operations: ['38+4=42', '80-74=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[38, 4, 80, 74], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [4, 74, 42]
Generated Node #0,0: 48:[4, 74, 42] Operation: 80-38=42
Exploring Operation: 80-74=6, Resulting Numbers: [38, 4, 6]
Generated Node #0,1: 48:[38, 4, 6] Operation: 80-74=6
Exploring Operation: 80/4=20, Resulting Numbers: [38, 74, 20]
Generated Node #0,2: 48:[38, 74, 20] Operation: 80/4=20
Exploring Operation: 74-38=36, Resulting Numbers: [4, 80, 36]
Generated Node #0,3: 48:[4, 80, 36] Operation: 74-38=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[38, 4, 6], Operations: ['80-74=6']
Exploring Operation: 38+6=44, Resulting Numbers: [4, 44]
Generated Node #0,1,0: 48:[4, 44] Operation: 38+6=44
Exploring Operation: 38+4=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 48:[6, 42] Operation: 38+4=42
Exploring Operation: 38-6=32, Resulting Numbers: [4, 32]
Generated Node #0,1,2: 48:[4, 32] Operation: 38-6=32
Exploring Operation: 38-4=34, Resulting Numbers: [6, 34]
Generated Node #0,1,3: 48:[6, 34] Operation: 38-4=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[4, 44], Operations: ['80-74=6', '38+6=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,48 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[38, 4, 80, 74], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [38, 4, 6]
Generated Node #0,1: 48:[38, 4, 6] Operation: 80-74=6
Moving to Node #0,1
Current State: 48:[38, 4, 6], Operations: ['80-74=6']
Exploring Operation: 38+6=44, Resulting Numbers: [4, 44]
Generated Node #0,1,0: 48:[4, 44] Operation: 38+6=44
Moving to Node #0,1,0
Current State: 48:[4, 44], Operations: ['80-74=6', '38+6=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
2,
54,
71,
33
] | 59 |
[
"2*33=66",
"54+71=125",
"125-66=59"
] |
Current State: 59:[2, 54, 71, 33], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [54, 71, 66]
Generated Node #2: [54, 71, 66] from Operation: 2*33=66
Current State: 59:[54, 71, 66], Operations: ['2*33=66']
Exploring Operation: 54+71=125, Resulting Numbers: [66, 125]
Generated Node #3: [66, 125] from Operation: 54+71=125
Current State: 59:[66, 125], Operations: ['2*33=66', '54+71=125']
Exploring Operation: 125-66=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[2, 54, 71, 33], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [54, 71, 66]
Generated Node #0,0: 59:[54, 71, 66] Operation: 2*33=66
Exploring Operation: 71-2=69, Resulting Numbers: [54, 33, 69]
Generated Node #0,1: 59:[54, 33, 69] Operation: 71-2=69
Exploring Operation: 2+54=56, Resulting Numbers: [71, 33, 56]
Generated Node #0,2: 59:[71, 33, 56] Operation: 2+54=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[54, 71, 66], Operations: ['2*33=66']
Exploring Operation: 71-66=5, Resulting Numbers: [54, 5]
Generated Node #0,0,0: 59:[54, 5] Operation: 71-66=5
Exploring Operation: 66-54=12, Resulting Numbers: [71, 12]
Generated Node #0,0,1: 59:[71, 12] Operation: 66-54=12
Exploring Operation: 71-54=17, Resulting Numbers: [66, 17]
Generated Node #0,0,2: 59:[66, 17] Operation: 71-54=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[66, 17], Operations: ['2*33=66', '71-54=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,59 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,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:[54, 5], Operations: ['2*33=66', '71-66=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[2, 54, 71, 33], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [54, 71, 66]
Generated Node #0,0: 59:[54, 71, 66] Operation: 2*33=66
Moving to Node #0,0
Current State: 59:[54, 71, 66], Operations: ['2*33=66']
Exploring Operation: 71-66=5, Resulting Numbers: [54, 5]
Generated Node #0,0,0: 59:[54, 5] Operation: 71-66=5
Moving to Node #0,0,0
Current State: 59:[54, 5], Operations: ['2*33=66', '71-66=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_3
|
sum_heuristic
|
[
28,
67,
89,
54
] | 60 |
[
"28+67=95",
"89-54=35",
"95-35=60"
] |
Current State: 60:[28, 67, 89, 54], Operations: []
Exploring Operation: 28+67=95, Resulting Numbers: [89, 54, 95]
Generated Node #2: [89, 54, 95] from Operation: 28+67=95
Current State: 60:[89, 54, 95], Operations: ['28+67=95']
Exploring Operation: 89-54=35, Resulting Numbers: [95, 35]
Generated Node #3: [95, 35] from Operation: 89-54=35
Current State: 60:[95, 35], Operations: ['28+67=95', '89-54=35']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[28, 67, 89, 54], Operations: []
Exploring Operation: 89-28=61, Resulting Numbers: [67, 54, 61]
Generated Node #0,0: 60:[67, 54, 61] Operation: 89-28=61
Exploring Operation: 89-67=22, Resulting Numbers: [28, 54, 22]
Generated Node #0,1: 60:[28, 54, 22] Operation: 89-67=22
Exploring Operation: 54-28=26, Resulting Numbers: [67, 89, 26]
Generated Node #0,2: 60:[67, 89, 26] Operation: 54-28=26
Exploring Operation: 67-54=13, Resulting Numbers: [28, 89, 13]
Generated Node #0,3: 60:[28, 89, 13] Operation: 67-54=13
Exploring Operation: 89-54=35, Resulting Numbers: [28, 67, 35]
Generated Node #0,4: 60:[28, 67, 35] Operation: 89-54=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[28, 54, 22], Operations: ['89-67=22']
Exploring Operation: 54+22=76, Resulting Numbers: [28, 76]
Generated Node #0,1,0: 60:[28, 76] Operation: 54+22=76
Exploring Operation: 54-28=26, Resulting Numbers: [22, 26]
Generated Node #0,1,1: 60:[22, 26] Operation: 54-28=26
Exploring Operation: 28+22=50, Resulting Numbers: [54, 50]
Generated Node #0,1,2: 60:[54, 50] Operation: 28+22=50
Exploring Operation: 54-22=32, Resulting Numbers: [28, 32]
Generated Node #0,1,3: 60:[28, 32] Operation: 54-22=32
Exploring Operation: 28-22=6, Resulting Numbers: [54, 6]
Generated Node #0,1,4: 60:[54, 6] Operation: 28-22=6
Moving to Node #0,1,3
Current State: 60:[28, 32], Operations: ['89-67=22', '54-22=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,60 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[28, 67, 89, 54], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [28, 54, 22]
Generated Node #0,1: 60:[28, 54, 22] Operation: 89-67=22
Moving to Node #0,1
Current State: 60:[28, 54, 22], Operations: ['89-67=22']
Exploring Operation: 54-22=32, Resulting Numbers: [28, 32]
Generated Node #0,1,3: 60:[28, 32] Operation: 54-22=32
Moving to Node #0,1,3
Current State: 60:[28, 32], Operations: ['89-67=22', '54-22=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
sum_heuristic
|
[
65,
75,
22,
8
] | 96 |
[
"75-65=10",
"22-10=12",
"8*12=96"
] |
Current State: 96:[65, 75, 22, 8], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [22, 8, 10]
Generated Node #2: [22, 8, 10] from Operation: 75-65=10
Current State: 96:[22, 8, 10], Operations: ['75-65=10']
Exploring Operation: 22-10=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 22-10=12
Current State: 96:[8, 12], Operations: ['75-65=10', '22-10=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[65, 75, 22, 8], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [22, 8, 10]
Generated Node #0,0: 96:[22, 8, 10] Operation: 75-65=10
Exploring Operation: 65-22=43, Resulting Numbers: [75, 8, 43]
Generated Node #0,1: 96:[75, 8, 43] Operation: 65-22=43
Exploring Operation: 75-22=53, Resulting Numbers: [65, 8, 53]
Generated Node #0,2: 96:[65, 8, 53] Operation: 75-22=53
Exploring Operation: 75+22=97, Resulting Numbers: [65, 8, 97]
Generated Node #0,3: 96:[65, 8, 97] Operation: 75+22=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[22, 8, 10], Operations: ['75-65=10']
Exploring Operation: 22-10=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 22-10=12
Exploring Operation: 22+10=32, Resulting Numbers: [8, 32]
Generated Node #0,0,1: 96:[8, 32] Operation: 22+10=32
Exploring Operation: 22+8=30, Resulting Numbers: [10, 30]
Generated Node #0,0,2: 96:[10, 30] Operation: 22+8=30
Exploring Operation: 10-8=2, Resulting Numbers: [22, 2]
Generated Node #0,0,3: 96:[22, 2] Operation: 10-8=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['75-65=10', '22-10=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[65, 75, 22, 8], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [22, 8, 10]
Generated Node #0,0: 96:[22, 8, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 96:[22, 8, 10], Operations: ['75-65=10']
Exploring Operation: 22-10=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 22-10=12
Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['75-65=10', '22-10=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
60,
6,
15,
54
] | 64 |
[
"60/15=4",
"6+54=60",
"4+60=64"
] |
Current State: 64:[60, 6, 15, 54], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [6, 54, 4]
Generated Node #2: [6, 54, 4] from Operation: 60/15=4
Current State: 64:[6, 54, 4], Operations: ['60/15=4']
Exploring Operation: 6+54=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 6+54=60
Current State: 64:[4, 60], Operations: ['60/15=4', '6+54=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[60, 6, 15, 54], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [6, 15, 6]
Generated Node #0,0: 64:[6, 15, 6] Operation: 60-54=6
Exploring Operation: 60/15=4, Resulting Numbers: [6, 54, 4]
Generated Node #0,1: 64:[6, 54, 4] Operation: 60/15=4
Exploring Operation: 6+54=60, Resulting Numbers: [60, 15, 60]
Generated Node #0,2: 64:[60, 15, 60] Operation: 6+54=60
Exploring Operation: 54/6=9, Resulting Numbers: [60, 15, 9]
Generated Node #0,3: 64:[60, 15, 9] Operation: 54/6=9
Exploring Operation: 15+54=69, Resulting Numbers: [60, 6, 69]
Generated Node #0,4: 64:[60, 6, 69] Operation: 15+54=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[6, 15, 6], Operations: ['60-54=6']
Exploring Operation: 15-6=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 64:[6, 9] Operation: 15-6=9
Exploring Operation: 6-6=0, Resulting Numbers: [15, 0]
Generated Node #0,0,1: 64:[15, 0] Operation: 6-6=0
Exploring Operation: 15-6=9, Resulting Numbers: [6, 9]
Generated Node #0,0,2: 64:[6, 9] Operation: 15-6=9
Exploring Operation: 6/6=1, Resulting Numbers: [15, 1]
Generated Node #0,0,3: 64:[15, 1] Operation: 6/6=1
Exploring Operation: 6+6=12, Resulting Numbers: [15, 12]
Generated Node #0,0,4: 64:[15, 12] Operation: 6+6=12
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[15, 1], Operations: ['60-54=6', '6/6=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[6, 9], Operations: ['60-54=6', '15-6=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[15, 0], Operations: ['60-54=6', '6-6=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[6, 9], Operations: ['60-54=6', '15-6=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[15, 12], Operations: ['60-54=6', '6+6=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,64 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[60, 15, 9], Operations: ['54/6=9']
Exploring Operation: 15+9=24, Resulting Numbers: [60, 24]
Generated Node #0,3,0: 64:[60, 24] Operation: 15+9=24
Exploring Operation: 60+15=75, Resulting Numbers: [9, 75]
Generated Node #0,3,1: 64:[9, 75] Operation: 60+15=75
Exploring Operation: 15-9=6, Resulting Numbers: [60, 6]
Generated Node #0,3,2: 64:[60, 6] Operation: 15-9=6
Exploring Operation: 60+9=69, Resulting Numbers: [15, 69]
Generated Node #0,3,3: 64:[15, 69] Operation: 60+9=69
Exploring Operation: 60/15=4, Resulting Numbers: [9, 4]
Generated Node #0,3,4: 64:[9, 4] Operation: 60/15=4
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[9, 4], Operations: ['54/6=9', '60/15=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[60, 6], Operations: ['54/6=9', '15-9=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[15, 69], Operations: ['54/6=9', '60+9=69']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,64 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[60, 24], Operations: ['54/6=9', '15+9=24']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[9, 75], Operations: ['54/6=9', '60+15=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,64 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[60, 15, 60], Operations: ['6+54=60']
Exploring Operation: 60+15=75, Resulting Numbers: [60, 75]
Generated Node #0,2,0: 64:[60, 75] Operation: 60+15=75
Exploring Operation: 60/60=1, Resulting Numbers: [15, 1]
Generated Node #0,2,1: 64:[15, 1] Operation: 60/60=1
Exploring Operation: 60-60=0, Resulting Numbers: [15, 0]
Generated Node #0,2,2: 64:[15, 0] Operation: 60-60=0
Exploring Operation: 60/15=4, Resulting Numbers: [60, 4]
Generated Node #0,2,3: 64:[60, 4] Operation: 60/15=4
Exploring Operation: 60/15=4, Resulting Numbers: [60, 4]
Generated Node #0,2,4: 64:[60, 4] Operation: 60/15=4
Moving to Node #0,2,1
Current State: 64:[15, 1], Operations: ['6+54=60', '60/60=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[15, 0], Operations: ['6+54=60', '60-60=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[60, 4], Operations: ['6+54=60', '60/15=4']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,64 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[60, 6, 15, 54], Operations: []
Exploring Operation: 6+54=60, Resulting Numbers: [60, 15, 60]
Generated Node #0,2: 64:[60, 15, 60] Operation: 6+54=60
Moving to Node #0,2
Current State: 64:[60, 15, 60], Operations: ['6+54=60']
Exploring Operation: 60/15=4, Resulting Numbers: [60, 4]
Generated Node #0,2,3: 64:[60, 4] Operation: 60/15=4
Moving to Node #0,2,3
Current State: 64:[60, 4], Operations: ['6+54=60', '60/15=4']
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 |
hs_5
|
mult_heuristic
|
[
76,
26,
96,
34
] | 64 |
[
"34-26=8",
"96/8=12",
"76-12=64"
] |
Current State: 64:[76, 26, 96, 34], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [76, 96, 8]
Generated Node #2: [76, 96, 8] from Operation: 34-26=8
Current State: 64:[76, 96, 8], Operations: ['34-26=8']
Exploring Operation: 96/8=12, Resulting Numbers: [76, 12]
Generated Node #3: [76, 12] from Operation: 96/8=12
Current State: 64:[76, 12], Operations: ['34-26=8', '96/8=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[76, 26, 96, 34], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [76, 96, 8]
Generated Node #0,0: 64:[76, 96, 8] Operation: 34-26=8
Exploring Operation: 96-34=62, Resulting Numbers: [76, 26, 62]
Generated Node #0,1: 64:[76, 26, 62] Operation: 96-34=62
Exploring Operation: 96-76=20, Resulting Numbers: [26, 34, 20]
Generated Node #0,2: 64:[26, 34, 20] Operation: 96-76=20
Exploring Operation: 96-26=70, Resulting Numbers: [76, 34, 70]
Generated Node #0,3: 64:[76, 34, 70] Operation: 96-26=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[26, 34, 20], Operations: ['96-76=20']
Exploring Operation: 34-20=14, Resulting Numbers: [26, 14]
Generated Node #0,2,0: 64:[26, 14] Operation: 34-20=14
Exploring Operation: 34-26=8, Resulting Numbers: [20, 8]
Generated Node #0,2,1: 64:[20, 8] Operation: 34-26=8
Exploring Operation: 26-20=6, Resulting Numbers: [34, 6]
Generated Node #0,2,2: 64:[34, 6] Operation: 26-20=6
Exploring Operation: 26+34=60, Resulting Numbers: [20, 60]
Generated Node #0,2,3: 64:[20, 60] Operation: 26+34=60
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[20, 8], Operations: ['96-76=20', '34-26=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,64 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[34, 6], Operations: ['96-76=20', '26-20=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[26, 14], Operations: ['96-76=20', '34-20=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,64 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 64:[20, 60], Operations: ['96-76=20', '26+34=60']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 20*60=1200, Resulting Numbers: [1200]
1200,64 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 20+60=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[76, 26, 62], Operations: ['96-34=62']
Exploring Operation: 76-62=14, Resulting Numbers: [26, 14]
Generated Node #0,1,0: 64:[26, 14] Operation: 76-62=14
Exploring Operation: 26+62=88, Resulting Numbers: [76, 88]
Generated Node #0,1,1: 64:[76, 88] Operation: 26+62=88
Exploring Operation: 62-26=36, Resulting Numbers: [76, 36]
Generated Node #0,1,2: 64:[76, 36] Operation: 62-26=36
Exploring Operation: 76-26=50, Resulting Numbers: [62, 50]
Generated Node #0,1,3: 64:[62, 50] Operation: 76-26=50
Moving to Node #0,1,0
Current State: 64:[26, 14], Operations: ['96-34=62', '76-62=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,64 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[62, 50], Operations: ['96-34=62', '76-26=50']
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,64 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[76, 36], Operations: ['96-34=62', '62-26=36']
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,64 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[76, 88], Operations: ['96-34=62', '26+62=88']
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,64 unequal: No Solution
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,64 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[76, 34, 70], Operations: ['96-26=70']
Exploring Operation: 70-34=36, Resulting Numbers: [76, 36]
Generated Node #0,3,0: 64:[76, 36] Operation: 70-34=36
Exploring Operation: 76-34=42, Resulting Numbers: [70, 42]
Generated Node #0,3,1: 64:[70, 42] Operation: 76-34=42
Exploring Operation: 76+34=110, Resulting Numbers: [70, 110]
Generated Node #0,3,2: 64:[70, 110] Operation: 76+34=110
Exploring Operation: 76-70=6, Resulting Numbers: [34, 6]
Generated Node #0,3,3: 64:[34, 6] Operation: 76-70=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[34, 6], Operations: ['96-26=70', '76-70=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,64 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[76, 36], Operations: ['96-26=70', '70-34=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[70, 42], Operations: ['96-26=70', '76-34=42']
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,64 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[70, 110], Operations: ['96-26=70', '76+34=110']
Exploring Operation: 70+110=180, Resulting Numbers: [180]
180,64 unequal: No Solution
Exploring Operation: 110-70=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 70*110=7700, Resulting Numbers: [7700]
7700,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[76, 96, 8], Operations: ['34-26=8']
Exploring Operation: 96-8=88, Resulting Numbers: [76, 88]
Generated Node #0,0,0: 64:[76, 88] Operation: 96-8=88
Exploring Operation: 96-76=20, Resulting Numbers: [8, 20]
Generated Node #0,0,1: 64:[8, 20] Operation: 96-76=20
Exploring Operation: 96/8=12, Resulting Numbers: [76, 12]
Generated Node #0,0,2: 64:[76, 12] Operation: 96/8=12
Exploring Operation: 76-8=68, Resulting Numbers: [96, 68]
Generated Node #0,0,3: 64:[96, 68] Operation: 76-8=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[8, 20], Operations: ['34-26=8', '96-76=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[76, 12], Operations: ['34-26=8', '96/8=12']
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,64 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[76, 26, 96, 34], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [76, 96, 8]
Generated Node #0,0: 64:[76, 96, 8] Operation: 34-26=8
Moving to Node #0,0
Current State: 64:[76, 96, 8], Operations: ['34-26=8']
Exploring Operation: 96/8=12, Resulting Numbers: [76, 12]
Generated Node #0,0,2: 64:[76, 12] Operation: 96/8=12
Moving to Node #0,0,2
Current State: 64:[76, 12], Operations: ['34-26=8', '96/8=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 |
hs_4
|
sum_heuristic
|
[
54,
3,
70,
25
] | 91 |
[
"70-54=16",
"3*25=75",
"16+75=91"
] |
Current State: 91:[54, 3, 70, 25], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [3, 25, 16]
Generated Node #2: [3, 25, 16] from Operation: 70-54=16
Current State: 91:[3, 25, 16], Operations: ['70-54=16']
Exploring Operation: 3*25=75, Resulting Numbers: [16, 75]
Generated Node #3: [16, 75] from Operation: 3*25=75
Current State: 91:[16, 75], Operations: ['70-54=16', '3*25=75']
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[54, 3, 70, 25], Operations: []
Exploring Operation: 54+25=79, Resulting Numbers: [3, 70, 79]
Generated Node #0,0: 91:[3, 70, 79] Operation: 54+25=79
Exploring Operation: 54/3=18, Resulting Numbers: [70, 25, 18]
Generated Node #0,1: 91:[70, 25, 18] Operation: 54/3=18
Exploring Operation: 54-25=29, Resulting Numbers: [3, 70, 29]
Generated Node #0,2: 91:[3, 70, 29] Operation: 54-25=29
Exploring Operation: 70-54=16, Resulting Numbers: [3, 25, 16]
Generated Node #0,3: 91:[3, 25, 16] Operation: 70-54=16
Exploring Operation: 70+25=95, Resulting Numbers: [54, 3, 95]
Generated Node #0,4: 91:[54, 3, 95] Operation: 70+25=95
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[3, 25, 16], Operations: ['70-54=16']
Exploring Operation: 16-3=13, Resulting Numbers: [25, 13]
Generated Node #0,3,0: 91:[25, 13] Operation: 16-3=13
Exploring Operation: 3+16=19, Resulting Numbers: [25, 19]
Generated Node #0,3,1: 91:[25, 19] Operation: 3+16=19
Exploring Operation: 25-16=9, Resulting Numbers: [3, 9]
Generated Node #0,3,2: 91:[3, 9] Operation: 25-16=9
Exploring Operation: 3+25=28, Resulting Numbers: [16, 28]
Generated Node #0,3,3: 91:[16, 28] Operation: 3+25=28
Exploring Operation: 25-3=22, Resulting Numbers: [16, 22]
Generated Node #0,3,4: 91:[16, 22] Operation: 25-3=22
Moving to Node #0,3,2
Current State: 91:[3, 9], Operations: ['70-54=16', '25-16=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[16, 22], Operations: ['70-54=16', '25-3=22']
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,91 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[25, 13], Operations: ['70-54=16', '16-3=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[25, 19], Operations: ['70-54=16', '3+16=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,91 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[16, 28], Operations: ['70-54=16', '3+25=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,91 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[3, 70, 79], Operations: ['54+25=79']
Exploring Operation: 79-3=76, Resulting Numbers: [70, 76]
Generated Node #0,0,0: 91:[70, 76] Operation: 79-3=76
Exploring Operation: 3+79=82, Resulting Numbers: [70, 82]
Generated Node #0,0,1: 91:[70, 82] Operation: 3+79=82
Exploring Operation: 3+70=73, Resulting Numbers: [79, 73]
Generated Node #0,0,2: 91:[79, 73] Operation: 3+70=73
Exploring Operation: 79-70=9, Resulting Numbers: [3, 9]
Generated Node #0,0,3: 91:[3, 9] Operation: 79-70=9
Exploring Operation: 70-3=67, Resulting Numbers: [79, 67]
Generated Node #0,0,4: 91:[79, 67] Operation: 70-3=67
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[3, 9], Operations: ['54+25=79', '79-70=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[70, 82], Operations: ['54+25=79', '3+79=82']
Exploring Operation: 70+82=152, Resulting Numbers: [152]
152,91 unequal: No Solution
Exploring Operation: 70*82=5740, Resulting Numbers: [5740]
5740,91 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[79, 73], Operations: ['54+25=79', '3+70=73']
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 79+73=152, Resulting Numbers: [152]
152,91 unequal: No Solution
Exploring Operation: 79*73=5767, Resulting Numbers: [5767]
5767,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[70, 76], Operations: ['54+25=79', '79-3=76']
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,91 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 91:[79, 67], Operations: ['54+25=79', '70-3=67']
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,91 unequal: No Solution
Exploring Operation: 79*67=5293, Resulting Numbers: [5293]
5293,91 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[70, 25, 18], Operations: ['54/3=18']
Exploring Operation: 70+18=88, Resulting Numbers: [25, 88]
Generated Node #0,1,0: 91:[25, 88] Operation: 70+18=88
Exploring Operation: 70+25=95, Resulting Numbers: [18, 95]
Generated Node #0,1,1: 91:[18, 95] Operation: 70+25=95
Exploring Operation: 70-25=45, Resulting Numbers: [18, 45]
Generated Node #0,1,2: 91:[18, 45] Operation: 70-25=45
Exploring Operation: 70-18=52, Resulting Numbers: [25, 52]
Generated Node #0,1,3: 91:[25, 52] Operation: 70-18=52
Exploring Operation: 25-18=7, Resulting Numbers: [70, 7]
Generated Node #0,1,4: 91:[70, 7] Operation: 25-18=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[18, 95], Operations: ['54/3=18', '70+25=95']
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,91 unequal: No Solution
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[25, 88], Operations: ['54/3=18', '70+18=88']
Exploring Operation: 25*88=2200, Resulting Numbers: [2200]
2200,91 unequal: No Solution
Exploring Operation: 25+88=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 91:[70, 7], Operations: ['54/3=18', '25-18=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,91 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[18, 45], Operations: ['54/3=18', '70-25=45']
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,91 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[25, 52], Operations: ['54/3=18', '70-18=52']
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[3, 70, 29], Operations: ['54-25=29']
Exploring Operation: 3+70=73, Resulting Numbers: [29, 73]
Generated Node #0,2,0: 91:[29, 73] Operation: 3+70=73
Exploring Operation: 29-3=26, Resulting Numbers: [70, 26]
Generated Node #0,2,1: 91:[70, 26] Operation: 29-3=26
Exploring Operation: 70-29=41, Resulting Numbers: [3, 41]
Generated Node #0,2,2: 91:[3, 41] Operation: 70-29=41
Exploring Operation: 70+29=99, Resulting Numbers: [3, 99]
Generated Node #0,2,3: 91:[3, 99] Operation: 70+29=99
Exploring Operation: 3*29=87, Resulting Numbers: [70, 87]
Generated Node #0,2,4: 91:[70, 87] Operation: 3*29=87
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[3, 99], Operations: ['54-25=29', '70+29=99']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,91 unequal: No Solution
Exploring Operation: 3+99=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 3*99=297, Resulting Numbers: [297]
297,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 91:[70, 87], Operations: ['54-25=29', '3*29=87']
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 70*87=6090, Resulting Numbers: [6090]
6090,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[3, 41], Operations: ['54-25=29', '70-29=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[29, 73], Operations: ['54-25=29', '3+70=73']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 29*73=2117, Resulting Numbers: [2117]
2117,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[70, 26], Operations: ['54-25=29', '29-3=26']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,91 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[54, 3, 95], Operations: ['70+25=95']
Exploring Operation: 95-3=92, Resulting Numbers: [54, 92]
Generated Node #0,4,0: 91:[54, 92] Operation: 95-3=92
Exploring Operation: 54/3=18, Resulting Numbers: [95, 18]
Generated Node #0,4,1: 91:[95, 18] Operation: 54/3=18
Exploring Operation: 54+3=57, Resulting Numbers: [95, 57]
Generated Node #0,4,2: 91:[95, 57] Operation: 54+3=57
Exploring Operation: 95-54=41, Resulting Numbers: [3, 41]
Generated Node #0,4,3: 91:[3, 41] Operation: 95-54=41
Exploring Operation: 54-3=51, Resulting Numbers: [95, 51]
Generated Node #0,4,4: 91:[95, 51] Operation: 54-3=51
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 91:[95, 18], Operations: ['70+25=95', '54/3=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,91 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 91:[3, 41], Operations: ['70+25=95', '95-54=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 91:[54, 92], Operations: ['70+25=95', '95-3=92']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 54*92=4968, Resulting Numbers: [4968]
4968,91 unequal: No Solution
Exploring Operation: 54+92=146, Resulting Numbers: [146]
146,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 91:[95, 57], Operations: ['70+25=95', '54+3=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,91 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 91:[95, 51], Operations: ['70+25=95', '54-3=51']
Exploring Operation: 95*51=4845, Resulting Numbers: [4845]
4845,91 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 95+51=146, Resulting Numbers: [146]
146,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
40,
4,
16,
26
] | 46 |
[
"40-4=36",
"26-16=10",
"36+10=46"
] |
Current State: 46:[40, 4, 16, 26], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [16, 26, 36]
Generated Node #2: [16, 26, 36] from Operation: 40-4=36
Current State: 46:[16, 26, 36], Operations: ['40-4=36']
Exploring Operation: 26-16=10, Resulting Numbers: [36, 10]
Generated Node #3: [36, 10] from Operation: 26-16=10
Current State: 46:[36, 10], Operations: ['40-4=36', '26-16=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[40, 4, 16, 26], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [16, 26, 44]
Generated Node #0,0: 46:[16, 26, 44] Operation: 40+4=44
Exploring Operation: 16/4=4, Resulting Numbers: [40, 26, 4]
Generated Node #0,1: 46:[40, 26, 4] Operation: 16/4=4
Exploring Operation: 4+16=20, Resulting Numbers: [40, 26, 20]
Generated Node #0,2: 46:[40, 26, 20] Operation: 4+16=20
Exploring Operation: 40-16=24, Resulting Numbers: [4, 26, 24]
Generated Node #0,3: 46:[4, 26, 24] Operation: 40-16=24
Moving to Node #0,3
Current State: 46:[4, 26, 24], Operations: ['40-16=24']
Exploring Operation: 26-24=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 46:[4, 2] Operation: 26-24=2
Exploring Operation: 26+24=50, Resulting Numbers: [4, 50]
Generated Node #0,3,1: 46:[4, 50] Operation: 26+24=50
Exploring Operation: 26-4=22, Resulting Numbers: [24, 22]
Generated Node #0,3,2: 46:[24, 22] Operation: 26-4=22
Exploring Operation: 24-4=20, Resulting Numbers: [26, 20]
Generated Node #0,3,3: 46:[26, 20] Operation: 24-4=20
Moving to Node #0,1
Current State: 46:[40, 26, 4], Operations: ['16/4=4']
Exploring Operation: 40+4=44, Resulting Numbers: [26, 44]
Generated Node #0,1,0: 46:[26, 44] Operation: 40+4=44
Exploring Operation: 40/4=10, Resulting Numbers: [26, 10]
Generated Node #0,1,1: 46:[26, 10] Operation: 40/4=10
Exploring Operation: 26-4=22, Resulting Numbers: [40, 22]
Generated Node #0,1,2: 46:[40, 22] Operation: 26-4=22
Exploring Operation: 40-26=14, Resulting Numbers: [4, 14]
Generated Node #0,1,3: 46:[4, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[26, 44], Operations: ['16/4=4', '40+4=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,46 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,46 unequal: No Solution
No 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: 46:[40, 22], Operations: ['16/4=4', '26-4=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,46 unequal: No Solution
No 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: 46:[26, 10], Operations: ['16/4=4', '40/4=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,46 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,46 unequal: No Solution
No 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: 46:[4, 14], Operations: ['16/4=4', '40-26=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,46 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: 46:[40, 26, 20], Operations: ['4+16=20']
Exploring Operation: 40/20=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 46:[26, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [26, 20]
Generated Node #0,2,1: 46:[26, 20] Operation: 40-20=20
Exploring Operation: 26+20=46, Resulting Numbers: [40, 46]
Generated Node #0,2,2: 46:[40, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [40, 6]
Generated Node #0,2,3: 46:[40, 6] Operation: 26-20=6
Moving to Node #0,0
Current State: 46:[16, 26, 44], Operations: ['40+4=44']
Exploring Operation: 44-16=28, Resulting Numbers: [26, 28]
Generated Node #0,0,0: 46:[26, 28] Operation: 44-16=28
Exploring Operation: 44-26=18, Resulting Numbers: [16, 18]
Generated Node #0,0,1: 46:[16, 18] Operation: 44-26=18
Exploring Operation: 26-16=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 46:[44, 10] Operation: 26-16=10
Exploring Operation: 16+26=42, Resulting Numbers: [44, 42]
Generated Node #0,0,3: 46:[44, 42] Operation: 16+26=42
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[44, 42], Operations: ['40+4=44', '16+26=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,46 unequal: No Solution
No 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: 46:[26, 28], Operations: ['40+4=44', '44-16=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,46 unequal: No Solution
No 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: 46:[44, 10], Operations: ['40+4=44', '26-16=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,46 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,46 unequal: No Solution
No 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: 46:[16, 18], Operations: ['40+4=44', '44-26=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,46 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 46:[4, 2], Operations: ['40-16=24', '26-24=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[24, 22], Operations: ['40-16=24', '26-4=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[40, 4, 16, 26], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [4, 26, 24]
Generated Node #0,3: 46:[4, 26, 24] Operation: 40-16=24
Moving to Node #0,3
Current State: 46:[4, 26, 24], Operations: ['40-16=24']
Exploring Operation: 26-4=22, Resulting Numbers: [24, 22]
Generated Node #0,3,2: 46:[24, 22] Operation: 26-4=22
Moving to Node #0,3,2
Current State: 46:[24, 22], Operations: ['40-16=24', '26-4=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.953993 |
hs_4
|
mult_heuristic
|
[
63,
86,
60,
37
] | 46 |
[
"86-63=23",
"60-37=23",
"23+23=46"
] |
Current State: 46:[63, 86, 60, 37], Operations: []
Exploring Operation: 86-63=23, Resulting Numbers: [60, 37, 23]
Generated Node #2: [60, 37, 23] from Operation: 86-63=23
Current State: 46:[60, 37, 23], Operations: ['86-63=23']
Exploring Operation: 60-37=23, Resulting Numbers: [23, 23]
Generated Node #3: [23, 23] from Operation: 60-37=23
Current State: 46:[23, 23], Operations: ['86-63=23', '60-37=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[63, 86, 60, 37], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [63, 37, 26]
Generated Node #0,0: 46:[63, 37, 26] Operation: 86-60=26
Exploring Operation: 86-37=49, Resulting Numbers: [63, 60, 49]
Generated Node #0,1: 46:[63, 60, 49] Operation: 86-37=49
Exploring Operation: 86-63=23, Resulting Numbers: [60, 37, 23]
Generated Node #0,2: 46:[60, 37, 23] Operation: 86-63=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[60, 37, 23], Operations: ['86-63=23']
Exploring Operation: 60-37=23, Resulting Numbers: [23, 23]
Generated Node #0,2,0: 46:[23, 23] Operation: 60-37=23
Exploring Operation: 37-23=14, Resulting Numbers: [60, 14]
Generated Node #0,2,1: 46:[60, 14] Operation: 37-23=14
Exploring Operation: 60-23=37, Resulting Numbers: [37, 37]
Generated Node #0,2,2: 46:[37, 37] Operation: 60-23=37
Moving to Node #0,2,0
Current State: 46:[23, 23], Operations: ['86-63=23', '60-37=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[63, 86, 60, 37], Operations: []
Exploring Operation: 86-63=23, Resulting Numbers: [60, 37, 23]
Generated Node #0,2: 46:[60, 37, 23] Operation: 86-63=23
Moving to Node #0,2
Current State: 46:[60, 37, 23], Operations: ['86-63=23']
Exploring Operation: 60-37=23, Resulting Numbers: [23, 23]
Generated Node #0,2,0: 46:[23, 23] Operation: 60-37=23
Moving to Node #0,2,0
Current State: 46:[23, 23], Operations: ['86-63=23', '60-37=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
10,
66,
88,
21
] | 94 |
[
"21-10=11",
"66/11=6",
"88+6=94"
] |
Current State: 94:[10, 66, 88, 21], Operations: []
Exploring Operation: 21-10=11, Resulting Numbers: [66, 88, 11]
Generated Node #2: [66, 88, 11] from Operation: 21-10=11
Current State: 94:[66, 88, 11], Operations: ['21-10=11']
Exploring Operation: 66/11=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 66/11=6
Current State: 94:[88, 6], Operations: ['21-10=11', '66/11=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[10, 66, 88, 21], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [88, 21, 56]
Generated Node #0,0: 94:[88, 21, 56] Operation: 66-10=56
Exploring Operation: 66+21=87, Resulting Numbers: [10, 88, 87]
Generated Node #0,1: 94:[10, 88, 87] Operation: 66+21=87
Exploring Operation: 66-21=45, Resulting Numbers: [10, 88, 45]
Generated Node #0,2: 94:[10, 88, 45] Operation: 66-21=45
Moving to Node #0,2
Current State: 94:[10, 88, 45], Operations: ['66-21=45']
Exploring Operation: 88-45=43, Resulting Numbers: [10, 43]
Generated Node #0,2,0: 94:[10, 43] Operation: 88-45=43
Exploring Operation: 10+88=98, Resulting Numbers: [45, 98]
Generated Node #0,2,1: 94:[45, 98] Operation: 10+88=98
Exploring Operation: 10+45=55, Resulting Numbers: [88, 55]
Generated Node #0,2,2: 94:[88, 55] Operation: 10+45=55
Moving to Node #0,1
Current State: 94:[10, 88, 87], Operations: ['66+21=87']
Exploring Operation: 10+87=97, Resulting Numbers: [88, 97]
Generated Node #0,1,0: 94:[88, 97] Operation: 10+87=97
Exploring Operation: 88-87=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 94:[10, 1] Operation: 88-87=1
Exploring Operation: 10+88=98, Resulting Numbers: [87, 98]
Generated Node #0,1,2: 94:[87, 98] Operation: 10+88=98
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[88, 97], Operations: ['66+21=87', '10+87=97']
Exploring Operation: 88+97=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Exploring Operation: 88*97=8536, Resulting Numbers: [8536]
8536,94 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[10, 1], Operations: ['66+21=87', '88-87=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[87, 98], Operations: ['66+21=87', '10+88=98']
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 94:[88, 21, 56], Operations: ['66-10=56']
Exploring Operation: 88+21=109, Resulting Numbers: [56, 109]
Generated Node #0,0,0: 94:[56, 109] Operation: 88+21=109
Exploring Operation: 56-21=35, Resulting Numbers: [88, 35]
Generated Node #0,0,1: 94:[88, 35] Operation: 56-21=35
Exploring Operation: 21+56=77, Resulting Numbers: [88, 77]
Generated Node #0,0,2: 94:[88, 77] Operation: 21+56=77
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[88, 35], Operations: ['66-10=56', '56-21=35']
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,94 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[88, 77], Operations: ['66-10=56', '21+56=77']
Exploring Operation: 88*77=6776, Resulting Numbers: [6776]
6776,94 unequal: No Solution
Exploring Operation: 88+77=165, Resulting Numbers: [165]
165,94 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[56, 109], Operations: ['66-10=56', '88+21=109']
Exploring Operation: 56*109=6104, Resulting Numbers: [6104]
6104,94 unequal: No Solution
Exploring Operation: 109-56=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 56+109=165, Resulting Numbers: [165]
165,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 94:[45, 98], Operations: ['66-21=45', '10+88=98']
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,94 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[10, 43], Operations: ['66-21=45', '88-45=43']
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,94 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[88, 55], Operations: ['66-21=45', '10+45=55']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 88*55=4840, Resulting Numbers: [4840]
4840,94 unequal: No Solution
Exploring Operation: 88+55=143, Resulting Numbers: [143]
143,94 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
40,
83,
43,
14
] | 94 |
[
"40+83=123",
"43-14=29",
"123-29=94"
] |
Current State: 94:[40, 83, 43, 14], Operations: []
Exploring Operation: 40+83=123, Resulting Numbers: [43, 14, 123]
Generated Node #2: [43, 14, 123] from Operation: 40+83=123
Current State: 94:[43, 14, 123], Operations: ['40+83=123']
Exploring Operation: 43-14=29, Resulting Numbers: [123, 29]
Generated Node #3: [123, 29] from Operation: 43-14=29
Current State: 94:[123, 29], Operations: ['40+83=123', '43-14=29']
Exploring Operation: 123-29=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[40, 83, 43, 14], Operations: []
Exploring Operation: 83+14=97, Resulting Numbers: [40, 43, 97]
Generated Node #0,0: 94:[40, 43, 97] Operation: 83+14=97
Exploring Operation: 83-40=43, Resulting Numbers: [43, 14, 43]
Generated Node #0,1: 94:[43, 14, 43] Operation: 83-40=43
Exploring Operation: 43-40=3, Resulting Numbers: [83, 14, 3]
Generated Node #0,2: 94:[83, 14, 3] Operation: 43-40=3
Exploring Operation: 40+14=54, Resulting Numbers: [83, 43, 54]
Generated Node #0,3: 94:[83, 43, 54] Operation: 40+14=54
Moving to Node #0,0
Current State: 94:[40, 43, 97], Operations: ['83+14=97']
Exploring Operation: 97-40=57, Resulting Numbers: [43, 57]
Generated Node #0,0,0: 94:[43, 57] Operation: 97-40=57
Exploring Operation: 40+43=83, Resulting Numbers: [97, 83]
Generated Node #0,0,1: 94:[97, 83] Operation: 40+43=83
Exploring Operation: 43-40=3, Resulting Numbers: [97, 3]
Generated Node #0,0,2: 94:[97, 3] Operation: 43-40=3
Exploring Operation: 97-43=54, Resulting Numbers: [40, 54]
Generated Node #0,0,3: 94:[40, 54] Operation: 97-43=54
Moving to Node #0,1
Current State: 94:[43, 14, 43], Operations: ['83-40=43']
Exploring Operation: 43-43=0, Resulting Numbers: [14, 0]
Generated Node #0,1,0: 94:[14, 0] Operation: 43-43=0
Exploring Operation: 14+43=57, Resulting Numbers: [43, 57]
Generated Node #0,1,1: 94:[43, 57] Operation: 14+43=57
Exploring Operation: 43/43=1, Resulting Numbers: [14, 1]
Generated Node #0,1,2: 94:[14, 1] Operation: 43/43=1
Exploring Operation: 43+14=57, Resulting Numbers: [43, 57]
Generated Node #0,1,3: 94:[43, 57] Operation: 43+14=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[14, 1], Operations: ['83-40=43', '43/43=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[14, 0], Operations: ['83-40=43', '43-43=0']
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[43, 57], Operations: ['83-40=43', '14+43=57']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,94 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[43, 57], Operations: ['83-40=43', '43+14=57']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,94 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: 94:[83, 43, 54], Operations: ['40+14=54']
Exploring Operation: 43+54=97, Resulting Numbers: [83, 97]
Generated Node #0,3,0: 94:[83, 97] Operation: 43+54=97
Exploring Operation: 54-43=11, Resulting Numbers: [83, 11]
Generated Node #0,3,1: 94:[83, 11] Operation: 54-43=11
Exploring Operation: 83-54=29, Resulting Numbers: [43, 29]
Generated Node #0,3,2: 94:[43, 29] Operation: 83-54=29
Exploring Operation: 83-43=40, Resulting Numbers: [54, 40]
Generated Node #0,3,3: 94:[54, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[83, 97], Operations: ['40+14=54', '43+54=97']
Exploring Operation: 83*97=8051, Resulting Numbers: [8051]
8051,94 unequal: No Solution
Exploring Operation: 83+97=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 97-83=14, Resulting Numbers: [14]
14,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[54, 40], Operations: ['40+14=54', '83-43=40']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,94 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[40, 83, 43, 14], Operations: []
Exploring Operation: 40+14=54, Resulting Numbers: [83, 43, 54]
Generated Node #0,3: 94:[83, 43, 54] Operation: 40+14=54
Moving to Node #0,3
Current State: 94:[83, 43, 54], Operations: ['40+14=54']
Exploring Operation: 83-43=40, Resulting Numbers: [54, 40]
Generated Node #0,3,3: 94:[54, 40] Operation: 83-43=40
Moving to Node #0,3,3
Current State: 94:[54, 40], Operations: ['40+14=54', '83-43=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 |
hs_4
|
mult_heuristic
|
[
13,
9,
87,
59
] | 79 |
[
"13+59=72",
"72/9=8",
"87-8=79"
] |
Current State: 79:[13, 9, 87, 59], Operations: []
Exploring Operation: 13+59=72, Resulting Numbers: [9, 87, 72]
Generated Node #2: [9, 87, 72] from Operation: 13+59=72
Current State: 79:[9, 87, 72], Operations: ['13+59=72']
Exploring Operation: 72/9=8, Resulting Numbers: [87, 8]
Generated Node #3: [87, 8] from Operation: 72/9=8
Current State: 79:[87, 8], Operations: ['13+59=72', '72/9=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[13, 9, 87, 59], Operations: []
Exploring Operation: 9+59=68, Resulting Numbers: [13, 87, 68]
Generated Node #0,0: 79:[13, 87, 68] Operation: 9+59=68
Exploring Operation: 13*9=117, Resulting Numbers: [87, 59, 117]
Generated Node #0,1: 79:[87, 59, 117] Operation: 13*9=117
Exploring Operation: 13+59=72, Resulting Numbers: [9, 87, 72]
Generated Node #0,2: 79:[9, 87, 72] Operation: 13+59=72
Exploring Operation: 13+9=22, Resulting Numbers: [87, 59, 22]
Generated Node #0,3: 79:[87, 59, 22] Operation: 13+9=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[87, 59, 117], Operations: ['13*9=117']
Exploring Operation: 117-87=30, Resulting Numbers: [59, 30]
Generated Node #0,1,0: 79:[59, 30] Operation: 117-87=30
Exploring Operation: 117-59=58, Resulting Numbers: [87, 58]
Generated Node #0,1,1: 79:[87, 58] Operation: 117-59=58
Exploring Operation: 87+59=146, Resulting Numbers: [117, 146]
Generated Node #0,1,2: 79:[117, 146] Operation: 87+59=146
Exploring Operation: 87-59=28, Resulting Numbers: [117, 28]
Generated Node #0,1,3: 79:[117, 28] Operation: 87-59=28
Moving to Node #0,1,1
Current State: 79:[87, 58], Operations: ['13*9=117', '117-59=58']
Exploring Operation: 87+58=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 87*58=5046, Resulting Numbers: [5046]
5046,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[59, 30], Operations: ['13*9=117', '117-87=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[117, 28], Operations: ['13*9=117', '87-59=28']
Exploring Operation: 117+28=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 117-28=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 117*28=3276, Resulting Numbers: [3276]
3276,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[117, 146], Operations: ['13*9=117', '87+59=146']
Exploring Operation: 117+146=263, Resulting Numbers: [263]
263,79 unequal: No Solution
Exploring Operation: 117*146=17082, Resulting Numbers: [17082]
17082,79 unequal: No Solution
Exploring Operation: 146-117=29, Resulting Numbers: [29]
29,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[13, 87, 68], Operations: ['9+59=68']
Exploring Operation: 87-13=74, Resulting Numbers: [68, 74]
Generated Node #0,0,0: 79:[68, 74] Operation: 87-13=74
Exploring Operation: 13+68=81, Resulting Numbers: [87, 81]
Generated Node #0,0,1: 79:[87, 81] Operation: 13+68=81
Exploring Operation: 68-13=55, Resulting Numbers: [87, 55]
Generated Node #0,0,2: 79:[87, 55] Operation: 68-13=55
Exploring Operation: 13+87=100, Resulting Numbers: [68, 100]
Generated Node #0,0,3: 79:[68, 100] Operation: 13+87=100
Moving to Node #0,0,1
Current State: 79:[87, 81], Operations: ['9+59=68', '13+68=81']
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,79 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[68, 74], Operations: ['9+59=68', '87-13=74']
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,79 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,79 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[68, 100], Operations: ['9+59=68', '13+87=100']
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 68+100=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Exploring Operation: 68*100=6800, Resulting Numbers: [6800]
6800,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[87, 55], Operations: ['9+59=68', '68-13=55']
Exploring Operation: 87*55=4785, Resulting Numbers: [4785]
4785,79 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 87+55=142, Resulting Numbers: [142]
142,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[9, 87, 72], Operations: ['13+59=72']
Exploring Operation: 9+72=81, Resulting Numbers: [87, 81]
Generated Node #0,2,0: 79:[87, 81] Operation: 9+72=81
Exploring Operation: 9+87=96, Resulting Numbers: [72, 96]
Generated Node #0,2,1: 79:[72, 96] Operation: 9+87=96
Exploring Operation: 87-9=78, Resulting Numbers: [72, 78]
Generated Node #0,2,2: 79:[72, 78] Operation: 87-9=78
Exploring Operation: 72-9=63, Resulting Numbers: [87, 63]
Generated Node #0,2,3: 79:[87, 63] Operation: 72-9=63
Moving to Node #0,2,2
Current State: 79:[72, 78], Operations: ['13+59=72', '87-9=78']
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,79 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[87, 81], Operations: ['13+59=72', '9+72=81']
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,79 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[87, 63], Operations: ['13+59=72', '72-9=63']
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,79 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[72, 96], Operations: ['13+59=72', '9+87=96']
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 72+96=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Exploring Operation: 72*96=6912, Resulting Numbers: [6912]
6912,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[87, 59, 22], Operations: ['13+9=22']
Exploring Operation: 59-22=37, Resulting Numbers: [87, 37]
Generated Node #0,3,0: 79:[87, 37] Operation: 59-22=37
Exploring Operation: 87+22=109, Resulting Numbers: [59, 109]
Generated Node #0,3,1: 79:[59, 109] Operation: 87+22=109
Exploring Operation: 59+22=81, Resulting Numbers: [87, 81]
Generated Node #0,3,2: 79:[87, 81] Operation: 59+22=81
Exploring Operation: 87-22=65, Resulting Numbers: [59, 65]
Generated Node #0,3,3: 79:[59, 65] Operation: 87-22=65
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[87, 81], Operations: ['13+9=22', '59+22=81']
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,79 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[59, 65], Operations: ['13+9=22', '87-22=65']
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 59*65=3835, Resulting Numbers: [3835]
3835,79 unequal: No Solution
Exploring Operation: 59+65=124, Resulting Numbers: [124]
124,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[87, 37], Operations: ['13+9=22', '59-22=37']
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,79 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[59, 109], Operations: ['13+9=22', '87+22=109']
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 59+109=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Exploring Operation: 59*109=6431, Resulting Numbers: [6431]
6431,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
77,
35,
79,
75
] | 70 |
[
"79+75=154",
"154/77=2",
"35*2=70"
] |
Current State: 70:[77, 35, 79, 75], Operations: []
Exploring Operation: 79+75=154, Resulting Numbers: [77, 35, 154]
Generated Node #2: [77, 35, 154] from Operation: 79+75=154
Current State: 70:[77, 35, 154], Operations: ['79+75=154']
Exploring Operation: 154/77=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 154/77=2
Current State: 70:[35, 2], Operations: ['79+75=154', '154/77=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[77, 35, 79, 75], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [35, 75, 2]
Generated Node #0,0: 70:[35, 75, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[35, 75, 2], Operations: ['79-77=2']
Exploring Operation: 75-2=73, Resulting Numbers: [35, 73]
Generated Node #0,0,0: 70:[35, 73] Operation: 75-2=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[35, 73], Operations: ['79-77=2', '75-2=73']
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,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_1
|
sum_heuristic
|
[
86,
43,
99,
57
] | 27 |
[
"86+43=129",
"99+57=156",
"156-129=27"
] |
Current State: 27:[86, 43, 99, 57], Operations: []
Exploring Operation: 86+43=129, Resulting Numbers: [99, 57, 129]
Generated Node #2: [99, 57, 129] from Operation: 86+43=129
Current State: 27:[99, 57, 129], Operations: ['86+43=129']
Exploring Operation: 99+57=156, Resulting Numbers: [129, 156]
Generated Node #3: [129, 156] from Operation: 99+57=156
Current State: 27:[129, 156], Operations: ['86+43=129', '99+57=156']
Exploring Operation: 156-129=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[86, 43, 99, 57], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [43, 57, 13]
Generated Node #0,0: 27:[43, 57, 13] Operation: 99-86=13
Moving to Node #0,0
Current State: 27:[43, 57, 13], Operations: ['99-86=13']
Exploring Operation: 57-43=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 27:[13, 14] Operation: 57-43=14
Moving to Node #0,0,0
Current State: 27:[13, 14], Operations: ['99-86=13', '57-43=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[86, 43, 99, 57], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [43, 57, 13]
Generated Node #0,0: 27:[43, 57, 13] Operation: 99-86=13
Moving to Node #0,0
Current State: 27:[43, 57, 13], Operations: ['99-86=13']
Exploring Operation: 57-43=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 27:[13, 14] Operation: 57-43=14
Moving to Node #0,0,0
Current State: 27:[13, 14], Operations: ['99-86=13', '57-43=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
91,
83,
89,
96
] | 30 |
[
"96-91=5",
"89-83=6",
"5*6=30"
] |
Current State: 30:[91, 83, 89, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [83, 89, 5]
Generated Node #2: [83, 89, 5] from Operation: 96-91=5
Current State: 30:[83, 89, 5], Operations: ['96-91=5']
Exploring Operation: 89-83=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 89-83=6
Current State: 30:[5, 6], Operations: ['96-91=5', '89-83=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[91, 83, 89, 96], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [91, 83, 7]
Generated Node #0,0: 30:[91, 83, 7] Operation: 96-89=7
Exploring Operation: 96-91=5, Resulting Numbers: [83, 89, 5]
Generated Node #0,1: 30:[83, 89, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[83, 89, 5], Operations: ['96-91=5']
Exploring Operation: 83-5=78, Resulting Numbers: [89, 78]
Generated Node #0,1,0: 30:[89, 78] Operation: 83-5=78
Exploring Operation: 89-83=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 30:[5, 6] Operation: 89-83=6
Moving to Node #0,1,1
Current State: 30:[5, 6], Operations: ['96-91=5', '89-83=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[91, 83, 89, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [83, 89, 5]
Generated Node #0,1: 30:[83, 89, 5] Operation: 96-91=5
Moving to Node #0,1
Current State: 30:[83, 89, 5], Operations: ['96-91=5']
Exploring Operation: 89-83=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 30:[5, 6] Operation: 89-83=6
Moving to Node #0,1,1
Current State: 30:[5, 6], Operations: ['96-91=5', '89-83=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
31,
40,
70,
13
] | 77 |
[
"31+13=44",
"70*44=3080",
"3080/40=77"
] |
Current State: 77:[31, 40, 70, 13], Operations: []
Exploring Operation: 31+13=44, Resulting Numbers: [40, 70, 44]
Generated Node #2: [40, 70, 44] from Operation: 31+13=44
Current State: 77:[40, 70, 44], Operations: ['31+13=44']
Exploring Operation: 70*44=3080, Resulting Numbers: [40, 3080]
Generated Node #3: [40, 3080] from Operation: 70*44=3080
Current State: 77:[40, 3080], Operations: ['31+13=44', '70*44=3080']
Exploring Operation: 3080/40=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[31, 40, 70, 13], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [70, 13, 9]
Generated Node #0,0: 77:[70, 13, 9] Operation: 40-31=9
Exploring Operation: 70-40=30, Resulting Numbers: [31, 13, 30]
Generated Node #0,1: 77:[31, 13, 30] Operation: 70-40=30
Exploring Operation: 31+40=71, Resulting Numbers: [70, 13, 71]
Generated Node #0,2: 77:[70, 13, 71] Operation: 31+40=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[70, 13, 9], Operations: ['40-31=9']
Exploring Operation: 70+13=83, Resulting Numbers: [9, 83]
Generated Node #0,0,0: 77:[9, 83] Operation: 70+13=83
Exploring Operation: 13-9=4, Resulting Numbers: [70, 4]
Generated Node #0,0,1: 77:[70, 4] Operation: 13-9=4
Exploring Operation: 70+9=79, Resulting Numbers: [13, 79]
Generated Node #0,0,2: 77:[13, 79] Operation: 70+9=79
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[13, 79], Operations: ['40-31=9', '70+9=79']
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,77 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[9, 83], Operations: ['40-31=9', '70+13=83']
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[70, 4], Operations: ['40-31=9', '13-9=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,77 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[70, 13, 71], Operations: ['31+40=71']
Exploring Operation: 71-70=1, Resulting Numbers: [13, 1]
Generated Node #0,2,0: 77:[13, 1] Operation: 71-70=1
Exploring Operation: 13+71=84, Resulting Numbers: [70, 84]
Generated Node #0,2,1: 77:[70, 84] Operation: 13+71=84
Exploring Operation: 70+13=83, Resulting Numbers: [71, 83]
Generated Node #0,2,2: 77:[71, 83] Operation: 70+13=83
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[13, 1], Operations: ['31+40=71', '71-70=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[71, 83], Operations: ['31+40=71', '70+13=83']
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,77 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[70, 84], Operations: ['31+40=71', '13+71=84']
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[31, 13, 30], Operations: ['70-40=30']
Exploring Operation: 31-30=1, Resulting Numbers: [13, 1]
Generated Node #0,1,0: 77:[13, 1] Operation: 31-30=1
Exploring Operation: 31-13=18, Resulting Numbers: [30, 18]
Generated Node #0,1,1: 77:[30, 18] Operation: 31-13=18
Exploring Operation: 31+30=61, Resulting Numbers: [13, 61]
Generated Node #0,1,2: 77:[13, 61] Operation: 31+30=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[13, 1], Operations: ['70-40=30', '31-30=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[13, 61], Operations: ['70-40=30', '31+30=61']
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,77 unequal: No Solution
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[30, 18], Operations: ['70-40=30', '31-13=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,77 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
66,
65,
14,
80
] | 66 |
[
"66-65=1",
"80-14=66",
"1*66=66"
] |
Current State: 66:[66, 65, 14, 80], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [14, 80, 1]
Generated Node #2: [14, 80, 1] from Operation: 66-65=1
Current State: 66:[14, 80, 1], Operations: ['66-65=1']
Exploring Operation: 80-14=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 80-14=66
Current State: 66:[1, 66], Operations: ['66-65=1', '80-14=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[66, 65, 14, 80], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [66, 65, 66]
Generated Node #0,0: 66:[66, 65, 66] Operation: 80-14=66
Exploring Operation: 80-66=14, Resulting Numbers: [65, 14, 14]
Generated Node #0,1: 66:[65, 14, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 66:[66, 65, 66], Operations: ['80-14=66']
Exploring Operation: 66-65=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 66:[66, 1] Operation: 66-65=1
Exploring Operation: 66-65=1, Resulting Numbers: [66, 1]
Generated Node #0,0,1: 66:[66, 1] Operation: 66-65=1
Moving to Node #0,1
Current State: 66:[65, 14, 14], Operations: ['80-66=14']
Exploring Operation: 14-14=0, Resulting Numbers: [65, 0]
Generated Node #0,1,0: 66:[65, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [65, 1]
Generated Node #0,1,1: 66:[65, 1] Operation: 14/14=1
Moving to Node #0,0,0
Current State: 66:[66, 1], Operations: ['80-14=66', '66-65=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[66, 65, 14, 80], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [66, 65, 66]
Generated Node #0,0: 66:[66, 65, 66] Operation: 80-14=66
Moving to Node #0,0
Current State: 66:[66, 65, 66], Operations: ['80-14=66']
Exploring Operation: 66-65=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 66:[66, 1] Operation: 66-65=1
Moving to Node #0,0,0
Current State: 66:[66, 1], Operations: ['80-14=66', '66-65=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.990451 |
hs_2
|
mult_heuristic
|
[
40,
75,
5,
87
] | 38 |
[
"40*5=200",
"75+87=162",
"200-162=38"
] |
Current State: 38:[40, 75, 5, 87], Operations: []
Exploring Operation: 40*5=200, Resulting Numbers: [75, 87, 200]
Generated Node #2: [75, 87, 200] from Operation: 40*5=200
Current State: 38:[75, 87, 200], Operations: ['40*5=200']
Exploring Operation: 75+87=162, Resulting Numbers: [200, 162]
Generated Node #3: [200, 162] from Operation: 75+87=162
Current State: 38:[200, 162], Operations: ['40*5=200', '75+87=162']
Exploring Operation: 200-162=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[40, 75, 5, 87], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [40, 5, 12]
Generated Node #0,0: 38:[40, 5, 12] Operation: 87-75=12
Exploring Operation: 87-40=47, Resulting Numbers: [75, 5, 47]
Generated Node #0,1: 38:[75, 5, 47] Operation: 87-40=47
Moving to Node #0,0
Current State: 38:[40, 5, 12], Operations: ['87-75=12']
Exploring Operation: 5+12=17, Resulting Numbers: [40, 17]
Generated Node #0,0,0: 38:[40, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [40, 7]
Generated Node #0,0,1: 38:[40, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[40, 17], Operations: ['87-75=12', '5+12=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,38 unequal: No Solution
No 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: 38:[40, 7], Operations: ['87-75=12', '12-5=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,38 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: 38:[75, 5, 47], Operations: ['87-40=47']
Exploring Operation: 75/5=15, Resulting Numbers: [47, 15]
Generated Node #0,1,0: 38:[47, 15] Operation: 75/5=15
Exploring Operation: 75-47=28, Resulting Numbers: [5, 28]
Generated Node #0,1,1: 38:[5, 28] Operation: 75-47=28
Moving to Node #0,1,1
Current State: 38:[5, 28], Operations: ['87-40=47', '75-47=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[47, 15], Operations: ['87-40=47', '75/5=15']
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
29,
2,
59,
7
] | 62 |
[
"59+7=66",
"66/2=33",
"29+33=62"
] |
Current State: 62:[29, 2, 59, 7], Operations: []
Exploring Operation: 59+7=66, Resulting Numbers: [29, 2, 66]
Generated Node #2: [29, 2, 66] from Operation: 59+7=66
Current State: 62:[29, 2, 66], Operations: ['59+7=66']
Exploring Operation: 66/2=33, Resulting Numbers: [29, 33]
Generated Node #3: [29, 33] from Operation: 66/2=33
Current State: 62:[29, 33], Operations: ['59+7=66', '66/2=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[29, 2, 59, 7], Operations: []
Exploring Operation: 29+7=36, Resulting Numbers: [2, 59, 36]
Generated Node #0,0: 62:[2, 59, 36] Operation: 29+7=36
Exploring Operation: 59-29=30, Resulting Numbers: [2, 7, 30]
Generated Node #0,1: 62:[2, 7, 30] Operation: 59-29=30
Exploring Operation: 29+2=31, Resulting Numbers: [59, 7, 31]
Generated Node #0,2: 62:[59, 7, 31] Operation: 29+2=31
Exploring Operation: 59+7=66, Resulting Numbers: [29, 2, 66]
Generated Node #0,3: 62:[29, 2, 66] Operation: 59+7=66
Moving to Node #0,1
Current State: 62:[2, 7, 30], Operations: ['59-29=30']
Exploring Operation: 2*30=60, Resulting Numbers: [7, 60]
Generated Node #0,1,0: 62:[7, 60] Operation: 2*30=60
Exploring Operation: 7+30=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 62:[2, 37] Operation: 7+30=37
Exploring Operation: 7-2=5, Resulting Numbers: [30, 5]
Generated Node #0,1,2: 62:[30, 5] Operation: 7-2=5
Exploring Operation: 2+30=32, Resulting Numbers: [7, 32]
Generated Node #0,1,3: 62:[7, 32] Operation: 2+30=32
Moving to Node #0,3
Current State: 62:[29, 2, 66], Operations: ['59+7=66']
Exploring Operation: 66-2=64, Resulting Numbers: [29, 64]
Generated Node #0,3,0: 62:[29, 64] Operation: 66-2=64
Exploring Operation: 29+2=31, Resulting Numbers: [66, 31]
Generated Node #0,3,1: 62:[66, 31] Operation: 29+2=31
Exploring Operation: 66-29=37, Resulting Numbers: [2, 37]
Generated Node #0,3,2: 62:[2, 37] Operation: 66-29=37
Exploring Operation: 66/2=33, Resulting Numbers: [29, 33]
Generated Node #0,3,3: 62:[29, 33] Operation: 66/2=33
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[29, 64], Operations: ['59+7=66', '66-2=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,62 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[66, 31], Operations: ['59+7=66', '29+2=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,62 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,62 unequal: No Solution
No 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: 62:[29, 33], Operations: ['59+7=66', '66/2=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,62 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[29, 2, 59, 7], Operations: []
Exploring Operation: 59+7=66, Resulting Numbers: [29, 2, 66]
Generated Node #0,3: 62:[29, 2, 66] Operation: 59+7=66
Moving to Node #0,3
Current State: 62:[29, 2, 66], Operations: ['59+7=66']
Exploring Operation: 66/2=33, Resulting Numbers: [29, 33]
Generated Node #0,3,3: 62:[29, 33] Operation: 66/2=33
Moving to Node #0,3,3
Current State: 62:[29, 33], Operations: ['59+7=66', '66/2=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 |
hs_4
|
sum_heuristic
|
[
77,
96,
60,
14
] | 27 |
[
"96-77=19",
"60-14=46",
"46-19=27"
] |
Current State: 27:[77, 96, 60, 14], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [60, 14, 19]
Generated Node #2: [60, 14, 19] from Operation: 96-77=19
Current State: 27:[60, 14, 19], Operations: ['96-77=19']
Exploring Operation: 60-14=46, Resulting Numbers: [19, 46]
Generated Node #3: [19, 46] from Operation: 60-14=46
Current State: 27:[19, 46], Operations: ['96-77=19', '60-14=46']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[77, 96, 60, 14], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [60, 14, 19]
Generated Node #0,0: 27:[60, 14, 19] Operation: 96-77=19
Exploring Operation: 96-60=36, Resulting Numbers: [77, 14, 36]
Generated Node #0,1: 27:[77, 14, 36] Operation: 96-60=36
Moving to Node #0,0
Current State: 27:[60, 14, 19], Operations: ['96-77=19']
Exploring Operation: 60-19=41, Resulting Numbers: [14, 41]
Generated Node #0,0,0: 27:[14, 41] Operation: 60-19=41
Exploring Operation: 60-14=46, Resulting Numbers: [19, 46]
Generated Node #0,0,1: 27:[19, 46] Operation: 60-14=46
Moving to Node #0,1
Current State: 27:[77, 14, 36], Operations: ['96-60=36']
Exploring Operation: 77-14=63, Resulting Numbers: [36, 63]
Generated Node #0,1,0: 27:[36, 63] Operation: 77-14=63
Exploring Operation: 77-36=41, Resulting Numbers: [14, 41]
Generated Node #0,1,1: 27:[14, 41] Operation: 77-36=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[14, 41], Operations: ['96-60=36', '77-36=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[77, 96, 60, 14], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [77, 14, 36]
Generated Node #0,1: 27:[77, 14, 36] Operation: 96-60=36
Moving to Node #0,1
Current State: 27:[77, 14, 36], Operations: ['96-60=36']
Exploring Operation: 77-36=41, Resulting Numbers: [14, 41]
Generated Node #0,1,1: 27:[14, 41] Operation: 77-36=41
Moving to Node #0,1,1
Current State: 27:[14, 41], Operations: ['96-60=36', '77-36=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
sum_heuristic
|
[
42,
4,
13,
18
] | 66 |
[
"42*4=168",
"13*18=234",
"234-168=66"
] |
Current State: 66:[42, 4, 13, 18], Operations: []
Exploring Operation: 42*4=168, Resulting Numbers: [13, 18, 168]
Generated Node #2: [13, 18, 168] from Operation: 42*4=168
Current State: 66:[13, 18, 168], Operations: ['42*4=168']
Exploring Operation: 13*18=234, Resulting Numbers: [168, 234]
Generated Node #3: [168, 234] from Operation: 13*18=234
Current State: 66:[168, 234], Operations: ['42*4=168', '13*18=234']
Exploring Operation: 234-168=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[42, 4, 13, 18], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [4, 13, 24]
Generated Node #0,0: 66:[4, 13, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[4, 13, 24], Operations: ['42-18=24']
Exploring Operation: 24-13=11, Resulting Numbers: [4, 11]
Generated Node #0,0,0: 66:[4, 11] Operation: 24-13=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[4, 11], Operations: ['42-18=24', '24-13=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,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_1
|
mult_heuristic
|
[
10,
12,
78,
79
] | 23 |
[
"10+12=22",
"79-78=1",
"22+1=23"
] |
Current State: 23:[10, 12, 78, 79], Operations: []
Exploring Operation: 10+12=22, Resulting Numbers: [78, 79, 22]
Generated Node #2: [78, 79, 22] from Operation: 10+12=22
Current State: 23:[78, 79, 22], Operations: ['10+12=22']
Exploring Operation: 79-78=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 79-78=1
Current State: 23:[22, 1], Operations: ['10+12=22', '79-78=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[10, 12, 78, 79], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [10, 12, 1]
Generated Node #0,0: 23:[10, 12, 1] Operation: 79-78=1
Exploring Operation: 78-10=68, Resulting Numbers: [12, 79, 68]
Generated Node #0,1: 23:[12, 79, 68] Operation: 78-10=68
Exploring Operation: 10+12=22, Resulting Numbers: [78, 79, 22]
Generated Node #0,2: 23:[78, 79, 22] Operation: 10+12=22
Moving to Node #0,0
Current State: 23:[10, 12, 1], Operations: ['79-78=1']
Exploring Operation: 10+1=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 23:[12, 11] Operation: 10+1=11
Exploring Operation: 12+1=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 23:[10, 13] Operation: 12+1=13
Exploring Operation: 10+12=22, Resulting Numbers: [1, 22]
Generated Node #0,0,2: 23:[1, 22] Operation: 10+12=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[12, 11], Operations: ['79-78=1', '10+1=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[10, 12, 78, 79], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [10, 12, 1]
Generated Node #0,0: 23:[10, 12, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 23:[10, 12, 1], Operations: ['79-78=1']
Exploring Operation: 10+1=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 23:[12, 11] Operation: 10+1=11
Moving to Node #0,0,0
Current State: 23:[12, 11], Operations: ['79-78=1', '10+1=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
31,
49,
10,
84
] | 76 |
[
"31+49=80",
"80/10=8",
"84-8=76"
] |
Current State: 76:[31, 49, 10, 84], Operations: []
Exploring Operation: 31+49=80, Resulting Numbers: [10, 84, 80]
Generated Node #2: [10, 84, 80] from Operation: 31+49=80
Current State: 76:[10, 84, 80], Operations: ['31+49=80']
Exploring Operation: 80/10=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 80/10=8
Current State: 76:[84, 8], Operations: ['31+49=80', '80/10=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[31, 49, 10, 84], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [31, 10, 35]
Generated Node #0,0: 76:[31, 10, 35] Operation: 84-49=35
Exploring Operation: 49-10=39, Resulting Numbers: [31, 84, 39]
Generated Node #0,1: 76:[31, 84, 39] Operation: 49-10=39
Exploring Operation: 31+49=80, Resulting Numbers: [10, 84, 80]
Generated Node #0,2: 76:[10, 84, 80] Operation: 31+49=80
Exploring Operation: 84-10=74, Resulting Numbers: [31, 49, 74]
Generated Node #0,3: 76:[31, 49, 74] Operation: 84-10=74
Exploring Operation: 49-31=18, Resulting Numbers: [10, 84, 18]
Generated Node #0,4: 76:[10, 84, 18] Operation: 49-31=18
Moving to Node #0,4
Current State: 76:[10, 84, 18], Operations: ['49-31=18']
Exploring Operation: 10+18=28, Resulting Numbers: [84, 28]
Generated Node #0,4,0: 76:[84, 28] Operation: 10+18=28
Exploring Operation: 10+84=94, Resulting Numbers: [18, 94]
Generated Node #0,4,1: 76:[18, 94] Operation: 10+84=94
Exploring Operation: 84-10=74, Resulting Numbers: [18, 74]
Generated Node #0,4,2: 76:[18, 74] Operation: 84-10=74
Exploring Operation: 84-18=66, Resulting Numbers: [10, 66]
Generated Node #0,4,3: 76:[10, 66] Operation: 84-18=66
Exploring Operation: 18-10=8, Resulting Numbers: [84, 8]
Generated Node #0,4,4: 76:[84, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[18, 74], Operations: ['49-31=18', '84-10=74']
Exploring Operation: 18*74=1332, Resulting Numbers: [1332]
1332,76 unequal: No Solution
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,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,4
Current State: 76:[84, 8], Operations: ['49-31=18', '18-10=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[31, 49, 10, 84], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [10, 84, 18]
Generated Node #0,4: 76:[10, 84, 18] Operation: 49-31=18
Moving to Node #0,4
Current State: 76:[10, 84, 18], Operations: ['49-31=18']
Exploring Operation: 18-10=8, Resulting Numbers: [84, 8]
Generated Node #0,4,4: 76:[84, 8] Operation: 18-10=8
Moving to Node #0,4,4
Current State: 76:[84, 8], Operations: ['49-31=18', '18-10=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
sum_heuristic
|
[
32,
4,
9,
99
] | 38 |
[
"32*4=128",
"99-9=90",
"128-90=38"
] |
Current State: 38:[32, 4, 9, 99], Operations: []
Exploring Operation: 32*4=128, Resulting Numbers: [9, 99, 128]
Generated Node #2: [9, 99, 128] from Operation: 32*4=128
Current State: 38:[9, 99, 128], Operations: ['32*4=128']
Exploring Operation: 99-9=90, Resulting Numbers: [128, 90]
Generated Node #3: [128, 90] from Operation: 99-9=90
Current State: 38:[128, 90], Operations: ['32*4=128', '99-9=90']
Exploring Operation: 128-90=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[32, 4, 9, 99], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [32, 4, 11]
Generated Node #0,0: 38:[32, 4, 11] Operation: 99/9=11
Exploring Operation: 99-32=67, Resulting Numbers: [4, 9, 67]
Generated Node #0,1: 38:[4, 9, 67] Operation: 99-32=67
Exploring Operation: 32+9=41, Resulting Numbers: [4, 99, 41]
Generated Node #0,2: 38:[4, 99, 41] Operation: 32+9=41
Exploring Operation: 99-9=90, Resulting Numbers: [32, 4, 90]
Generated Node #0,3: 38:[32, 4, 90] Operation: 99-9=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[32, 4, 11], Operations: ['99/9=11']
Exploring Operation: 32+11=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 38:[4, 43] Operation: 32+11=43
Exploring Operation: 4+11=15, Resulting Numbers: [32, 15]
Generated Node #0,0,1: 38:[32, 15] Operation: 4+11=15
Exploring Operation: 32-11=21, Resulting Numbers: [4, 21]
Generated Node #0,0,2: 38:[4, 21] Operation: 32-11=21
Exploring Operation: 32+4=36, Resulting Numbers: [11, 36]
Generated Node #0,0,3: 38:[11, 36] Operation: 32+4=36
Moving to Node #0,0,2
Current State: 38:[4, 21], Operations: ['99/9=11', '32-11=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[4, 43], Operations: ['99/9=11', '32+11=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[11, 36], Operations: ['99/9=11', '32+4=36']
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,38 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[32, 15], Operations: ['99/9=11', '4+11=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,38 unequal: No Solution
No 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: 38:[4, 9, 67], Operations: ['99-32=67']
Exploring Operation: 4*9=36, Resulting Numbers: [67, 36]
Generated Node #0,1,0: 38:[67, 36] Operation: 4*9=36
Exploring Operation: 67-9=58, Resulting Numbers: [4, 58]
Generated Node #0,1,1: 38:[4, 58] Operation: 67-9=58
Exploring Operation: 67-4=63, Resulting Numbers: [9, 63]
Generated Node #0,1,2: 38:[9, 63] Operation: 67-4=63
Exploring Operation: 9-4=5, Resulting Numbers: [67, 5]
Generated Node #0,1,3: 38:[67, 5] Operation: 9-4=5
Moving to Node #0,1,1
Current State: 38:[4, 58], Operations: ['99-32=67', '67-9=58']
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,38 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[67, 36], Operations: ['99-32=67', '4*9=36']
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,38 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[67, 5], Operations: ['99-32=67', '9-4=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[9, 63], Operations: ['99-32=67', '67-4=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,38 unequal: No Solution
No 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: 38:[32, 4, 90], Operations: ['99-9=90']
Exploring Operation: 90-32=58, Resulting Numbers: [4, 58]
Generated Node #0,3,0: 38:[4, 58] Operation: 90-32=58
Exploring Operation: 90-4=86, Resulting Numbers: [32, 86]
Generated Node #0,3,1: 38:[32, 86] Operation: 90-4=86
Exploring Operation: 32+4=36, Resulting Numbers: [90, 36]
Generated Node #0,3,2: 38:[90, 36] Operation: 32+4=36
Exploring Operation: 32/4=8, Resulting Numbers: [90, 8]
Generated Node #0,3,3: 38:[90, 8] Operation: 32/4=8
Moving to Node #0,3,0
Current State: 38:[4, 58], Operations: ['99-9=90', '90-32=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,38 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[90, 36], Operations: ['99-9=90', '32+4=36']
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,38 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,38 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[32, 86], Operations: ['99-9=90', '90-4=86']
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,38 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[90, 8], Operations: ['99-9=90', '32/4=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,38 unequal: No Solution
No 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: 38:[4, 99, 41], Operations: ['32+9=41']
Exploring Operation: 41-4=37, Resulting Numbers: [99, 37]
Generated Node #0,2,0: 38:[99, 37] Operation: 41-4=37
Exploring Operation: 99-41=58, Resulting Numbers: [4, 58]
Generated Node #0,2,1: 38:[4, 58] Operation: 99-41=58
Exploring Operation: 99-4=95, Resulting Numbers: [41, 95]
Generated Node #0,2,2: 38:[41, 95] Operation: 99-4=95
Exploring Operation: 4+99=103, Resulting Numbers: [41, 103]
Generated Node #0,2,3: 38:[41, 103] Operation: 4+99=103
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[4, 58], Operations: ['32+9=41', '99-41=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,38 unequal: No Solution
No 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: 38:[41, 95], Operations: ['32+9=41', '99-4=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,38 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,38 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No 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: 38:[99, 37], Operations: ['32+9=41', '41-4=37']
Exploring Operation: 99-37=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 99*37=3663, Resulting Numbers: [3663]
3663,38 unequal: No Solution
Exploring Operation: 99+37=136, Resulting Numbers: [136]
136,38 unequal: No Solution
No 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: 38:[41, 103], Operations: ['32+9=41', '4+99=103']
Exploring Operation: 41*103=4223, Resulting Numbers: [4223]
4223,38 unequal: No Solution
Exploring Operation: 41+103=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 103-41=62, Resulting Numbers: [62]
62,38 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
|
[
8,
6,
6,
9
] | 64 |
[
"6/6=1",
"9-1=8",
"8*8=64"
] |
Current State: 64:[8, 6, 6, 9], Operations: []
Exploring Operation: 6/6=1, Resulting Numbers: [8, 9, 1]
Generated Node #2: [8, 9, 1] from Operation: 6/6=1
Current State: 64:[8, 9, 1], Operations: ['6/6=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 9-1=8
Current State: 64:[8, 8], Operations: ['6/6=1', '9-1=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[8, 6, 6, 9], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [6, 9, 2]
Generated Node #0,0: 64:[6, 9, 2] Operation: 8-6=2
Exploring Operation: 6/6=1, Resulting Numbers: [8, 9, 1]
Generated Node #0,1: 64:[8, 9, 1] Operation: 6/6=1
Exploring Operation: 8-6=2, Resulting Numbers: [6, 9, 2]
Generated Node #0,2: 64:[6, 9, 2] Operation: 8-6=2
Exploring Operation: 6-6=0, Resulting Numbers: [8, 9, 0]
Generated Node #0,3: 64:[8, 9, 0] Operation: 6-6=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[8, 9, 1], Operations: ['6/6=1']
Exploring Operation: 8/1=8, Resulting Numbers: [9, 8]
Generated Node #0,1,0: 64:[9, 8] Operation: 8/1=8
Exploring Operation: 9-1=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 9-1=8
Exploring Operation: 8*1=8, Resulting Numbers: [9, 8]
Generated Node #0,1,2: 64:[9, 8] Operation: 8*1=8
Exploring Operation: 9*1=9, Resulting Numbers: [8, 9]
Generated Node #0,1,3: 64:[8, 9] Operation: 9*1=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['6/6=1', '9-1=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[8, 6, 6, 9], Operations: []
Exploring Operation: 6/6=1, Resulting Numbers: [8, 9, 1]
Generated Node #0,1: 64:[8, 9, 1] Operation: 6/6=1
Moving to Node #0,1
Current State: 64:[8, 9, 1], Operations: ['6/6=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 64:[8, 8] Operation: 9-1=8
Moving to Node #0,1,1
Current State: 64:[8, 8], Operations: ['6/6=1', '9-1=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
sum_heuristic
|
[
34,
13,
41,
12
] | 97 |
[
"41-34=7",
"12*7=84",
"13+84=97"
] |
Current State: 97:[34, 13, 41, 12], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [13, 12, 7]
Generated Node #2: [13, 12, 7] from Operation: 41-34=7
Current State: 97:[13, 12, 7], Operations: ['41-34=7']
Exploring Operation: 12*7=84, Resulting Numbers: [13, 84]
Generated Node #3: [13, 84] from Operation: 12*7=84
Current State: 97:[13, 84], Operations: ['41-34=7', '12*7=84']
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[34, 13, 41, 12], Operations: []
Exploring Operation: 13*12=156, Resulting Numbers: [34, 41, 156]
Generated Node #0,0: 97:[34, 41, 156] Operation: 13*12=156
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[34, 41, 156], Operations: ['13*12=156']
Exploring Operation: 34+41=75, Resulting Numbers: [156, 75]
Generated Node #0,0,0: 97:[156, 75] Operation: 34+41=75
Moving to Node #0,0,0
Current State: 97:[156, 75], Operations: ['13*12=156', '34+41=75']
Exploring Operation: 156-75=81, Resulting Numbers: [81]
81,97 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
|
[
55,
62,
50,
16
] | 51 |
[
"55+62=117",
"50+16=66",
"117-66=51"
] |
Current State: 51:[55, 62, 50, 16], Operations: []
Exploring Operation: 55+62=117, Resulting Numbers: [50, 16, 117]
Generated Node #2: [50, 16, 117] from Operation: 55+62=117
Current State: 51:[50, 16, 117], Operations: ['55+62=117']
Exploring Operation: 50+16=66, Resulting Numbers: [117, 66]
Generated Node #3: [117, 66] from Operation: 50+16=66
Current State: 51:[117, 66], Operations: ['55+62=117', '50+16=66']
Exploring Operation: 117-66=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[55, 62, 50, 16], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [62, 16, 5]
Generated Node #0,0: 51:[62, 16, 5] Operation: 55-50=5
Exploring Operation: 62-55=7, Resulting Numbers: [50, 16, 7]
Generated Node #0,1: 51:[50, 16, 7] Operation: 62-55=7
Exploring Operation: 62-16=46, Resulting Numbers: [55, 50, 46]
Generated Node #0,2: 51:[55, 50, 46] Operation: 62-16=46
Exploring Operation: 62-50=12, Resulting Numbers: [55, 16, 12]
Generated Node #0,3: 51:[55, 16, 12] Operation: 62-50=12
Moving to Node #0,1
Current State: 51:[50, 16, 7], Operations: ['62-55=7']
Exploring Operation: 50-7=43, Resulting Numbers: [16, 43]
Generated Node #0,1,0: 51:[16, 43] Operation: 50-7=43
Exploring Operation: 50+7=57, Resulting Numbers: [16, 57]
Generated Node #0,1,1: 51:[16, 57] Operation: 50+7=57
Exploring Operation: 16-7=9, Resulting Numbers: [50, 9]
Generated Node #0,1,2: 51:[50, 9] Operation: 16-7=9
Exploring Operation: 16+7=23, Resulting Numbers: [50, 23]
Generated Node #0,1,3: 51:[50, 23] Operation: 16+7=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[16, 57], Operations: ['62-55=7', '50+7=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[50, 9], Operations: ['62-55=7', '16-7=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,51 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[50, 23], Operations: ['62-55=7', '16+7=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,51 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[16, 43], Operations: ['62-55=7', '50-7=43']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,51 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: 51:[55, 16, 12], Operations: ['62-50=12']
Exploring Operation: 16+12=28, Resulting Numbers: [55, 28]
Generated Node #0,3,0: 51:[55, 28] Operation: 16+12=28
Exploring Operation: 55-16=39, Resulting Numbers: [12, 39]
Generated Node #0,3,1: 51:[12, 39] Operation: 55-16=39
Exploring Operation: 55-12=43, Resulting Numbers: [16, 43]
Generated Node #0,3,2: 51:[16, 43] Operation: 55-12=43
Exploring Operation: 16-12=4, Resulting Numbers: [55, 4]
Generated Node #0,3,3: 51:[55, 4] Operation: 16-12=4
Moving to Node #0,2
Current State: 51:[55, 50, 46], Operations: ['62-16=46']
Exploring Operation: 55-50=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 51:[46, 5] Operation: 55-50=5
Exploring Operation: 50+46=96, Resulting Numbers: [55, 96]
Generated Node #0,2,1: 51:[55, 96] Operation: 50+46=96
Exploring Operation: 50-46=4, Resulting Numbers: [55, 4]
Generated Node #0,2,2: 51:[55, 4] Operation: 50-46=4
Exploring Operation: 55-46=9, Resulting Numbers: [50, 9]
Generated Node #0,2,3: 51:[50, 9] Operation: 55-46=9
Moving to Node #0,0
Current State: 51:[62, 16, 5], Operations: ['55-50=5']
Exploring Operation: 16+5=21, Resulting Numbers: [62, 21]
Generated Node #0,0,0: 51:[62, 21] Operation: 16+5=21
Exploring Operation: 62+5=67, Resulting Numbers: [16, 67]
Generated Node #0,0,1: 51:[16, 67] Operation: 62+5=67
Exploring Operation: 62-16=46, Resulting Numbers: [5, 46]
Generated Node #0,0,2: 51:[5, 46] Operation: 62-16=46
Exploring Operation: 62-5=57, Resulting Numbers: [16, 57]
Generated Node #0,0,3: 51:[16, 57] Operation: 62-5=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[5, 46], Operations: ['55-50=5', '62-16=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,51 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[55, 62, 50, 16], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [62, 16, 5]
Generated Node #0,0: 51:[62, 16, 5] Operation: 55-50=5
Moving to Node #0,0
Current State: 51:[62, 16, 5], Operations: ['55-50=5']
Exploring Operation: 62-16=46, Resulting Numbers: [5, 46]
Generated Node #0,0,2: 51:[5, 46] Operation: 62-16=46
Moving to Node #0,0,2
Current State: 51:[5, 46], Operations: ['55-50=5', '62-16=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 |
hs_4
|
mult_heuristic
|
[
8,
87,
19,
48
] | 100 |
[
"48/8=6",
"87+19=106",
"106-6=100"
] |
Current State: 100:[8, 87, 19, 48], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [87, 19, 6]
Generated Node #2: [87, 19, 6] from Operation: 48/8=6
Current State: 100:[87, 19, 6], Operations: ['48/8=6']
Exploring Operation: 87+19=106, Resulting Numbers: [6, 106]
Generated Node #3: [6, 106] from Operation: 87+19=106
Current State: 100:[6, 106], Operations: ['48/8=6', '87+19=106']
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[8, 87, 19, 48], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [87, 48, 11]
Generated Node #0,0: 100:[87, 48, 11] Operation: 19-8=11
Exploring Operation: 87-48=39, Resulting Numbers: [8, 19, 39]
Generated Node #0,1: 100:[8, 19, 39] Operation: 87-48=39
Exploring Operation: 48/8=6, Resulting Numbers: [87, 19, 6]
Generated Node #0,2: 100:[87, 19, 6] Operation: 48/8=6
Exploring Operation: 8+87=95, Resulting Numbers: [19, 48, 95]
Generated Node #0,3: 100:[19, 48, 95] Operation: 8+87=95
Exploring Operation: 87+19=106, Resulting Numbers: [8, 48, 106]
Generated Node #0,4: 100:[8, 48, 106] Operation: 87+19=106
Moving to Node #0,3
Current State: 100:[19, 48, 95], Operations: ['8+87=95']
Exploring Operation: 19+48=67, Resulting Numbers: [95, 67]
Generated Node #0,3,0: 100:[95, 67] Operation: 19+48=67
Exploring Operation: 19+95=114, Resulting Numbers: [48, 114]
Generated Node #0,3,1: 100:[48, 114] Operation: 19+95=114
Exploring Operation: 48-19=29, Resulting Numbers: [95, 29]
Generated Node #0,3,2: 100:[95, 29] Operation: 48-19=29
Exploring Operation: 95-48=47, Resulting Numbers: [19, 47]
Generated Node #0,3,3: 100:[19, 47] Operation: 95-48=47
Exploring Operation: 95/19=5, Resulting Numbers: [48, 5]
Generated Node #0,3,4: 100:[48, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 100:[48, 5], Operations: ['8+87=95', '95/19=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,100 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,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,3
Current State: 100:[19, 47], Operations: ['8+87=95', '95-48=47']
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,100 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,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,2
Current State: 100:[95, 29], Operations: ['8+87=95', '48-19=29']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,100 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,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,1
Current State: 100:[48, 114], Operations: ['8+87=95', '19+95=114']
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,100 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,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,0
Current State: 100:[95, 67], Operations: ['8+87=95', '19+48=67']
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,100 unequal: No Solution
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,100 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: 100:[8, 48, 106], Operations: ['87+19=106']
Exploring Operation: 48/8=6, Resulting Numbers: [106, 6]
Generated Node #0,4,0: 100:[106, 6] Operation: 48/8=6
Exploring Operation: 48-8=40, Resulting Numbers: [106, 40]
Generated Node #0,4,1: 100:[106, 40] Operation: 48-8=40
Exploring Operation: 106-48=58, Resulting Numbers: [8, 58]
Generated Node #0,4,2: 100:[8, 58] Operation: 106-48=58
Exploring Operation: 106-8=98, Resulting Numbers: [48, 98]
Generated Node #0,4,3: 100:[48, 98] Operation: 106-8=98
Exploring Operation: 8+48=56, Resulting Numbers: [106, 56]
Generated Node #0,4,4: 100:[106, 56] Operation: 8+48=56
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 100:[48, 98], Operations: ['87+19=106', '106-8=98']
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,100 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,100 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,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,0
Current State: 100:[106, 6], Operations: ['87+19=106', '48/8=6']
Exploring Operation: 106+6=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 106*6=636, Resulting Numbers: [636]
636,100 unequal: No Solution
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[8, 87, 19, 48], Operations: []
Exploring Operation: 87+19=106, Resulting Numbers: [8, 48, 106]
Generated Node #0,4: 100:[8, 48, 106] Operation: 87+19=106
Moving to Node #0,4
Current State: 100:[8, 48, 106], Operations: ['87+19=106']
Exploring Operation: 48/8=6, Resulting Numbers: [106, 6]
Generated Node #0,4,0: 100:[106, 6] Operation: 48/8=6
Moving to Node #0,4,0
Current State: 100:[106, 6], Operations: ['87+19=106', '48/8=6']
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 |
hs_5
|
sum_heuristic
|
[
63,
90,
6,
36
] | 57 |
[
"90-63=27",
"36-6=30",
"27+30=57"
] |
Current State: 57:[63, 90, 6, 36], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [6, 36, 27]
Generated Node #2: [6, 36, 27] from Operation: 90-63=27
Current State: 57:[6, 36, 27], Operations: ['90-63=27']
Exploring Operation: 36-6=30, Resulting Numbers: [27, 30]
Generated Node #3: [27, 30] from Operation: 36-6=30
Current State: 57:[27, 30], Operations: ['90-63=27', '36-6=30']
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[63, 90, 6, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [63, 90, 6]
Generated Node #0,0: 57:[63, 90, 6] Operation: 36/6=6
Exploring Operation: 90-63=27, Resulting Numbers: [6, 36, 27]
Generated Node #0,1: 57:[6, 36, 27] Operation: 90-63=27
Exploring Operation: 90/6=15, Resulting Numbers: [63, 36, 15]
Generated Node #0,2: 57:[63, 36, 15] Operation: 90/6=15
Exploring Operation: 90-36=54, Resulting Numbers: [63, 6, 54]
Generated Node #0,3: 57:[63, 6, 54] Operation: 90-36=54
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[63, 6, 54], Operations: ['90-36=54']
Exploring Operation: 6+54=60, Resulting Numbers: [63, 60]
Generated Node #0,3,0: 57:[63, 60] Operation: 6+54=60
Exploring Operation: 63-6=57, Resulting Numbers: [54, 57]
Generated Node #0,3,1: 57:[54, 57] Operation: 63-6=57
Exploring Operation: 63-54=9, Resulting Numbers: [6, 9]
Generated Node #0,3,2: 57:[6, 9] Operation: 63-54=9
Exploring Operation: 54/6=9, Resulting Numbers: [63, 9]
Generated Node #0,3,3: 57:[63, 9] Operation: 54/6=9
Moving to Node #0,3,1
Current State: 57:[54, 57], Operations: ['90-36=54', '63-6=57']
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,57 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,57 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[6, 9], Operations: ['90-36=54', '63-54=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[63, 60], Operations: ['90-36=54', '6+54=60']
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,57 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[63, 9], Operations: ['90-36=54', '54/6=9']
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,57 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,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
Current State: 57:[63, 36, 15], Operations: ['90/6=15']
Exploring Operation: 63-15=48, Resulting Numbers: [36, 48]
Generated Node #0,2,0: 57:[36, 48] Operation: 63-15=48
Exploring Operation: 36+15=51, Resulting Numbers: [63, 51]
Generated Node #0,2,1: 57:[63, 51] Operation: 36+15=51
Exploring Operation: 36-15=21, Resulting Numbers: [63, 21]
Generated Node #0,2,2: 57:[63, 21] Operation: 36-15=21
Exploring Operation: 63-36=27, Resulting Numbers: [15, 27]
Generated Node #0,2,3: 57:[15, 27] Operation: 63-36=27
Moving to Node #0,2,2
Current State: 57:[63, 21], Operations: ['90/6=15', '36-15=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,57 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[15, 27], Operations: ['90/6=15', '63-36=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,57 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[63, 51], Operations: ['90/6=15', '36+15=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,57 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[36, 48], Operations: ['90/6=15', '63-15=48']
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,57 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,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,1
Current State: 57:[6, 36, 27], Operations: ['90-63=27']
Exploring Operation: 36+27=63, Resulting Numbers: [6, 63]
Generated Node #0,1,0: 57:[6, 63] Operation: 36+27=63
Exploring Operation: 36-27=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 57:[6, 9] Operation: 36-27=9
Exploring Operation: 36/6=6, Resulting Numbers: [27, 6]
Generated Node #0,1,2: 57:[27, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [27, 30]
Generated Node #0,1,3: 57:[27, 30] Operation: 36-6=30
Moving to Node #0,1,0
Current State: 57:[6, 63], Operations: ['90-63=27', '36+27=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[63, 90, 6, 36], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [6, 36, 27]
Generated Node #0,1: 57:[6, 36, 27] Operation: 90-63=27
Moving to Node #0,1
Current State: 57:[6, 36, 27], Operations: ['90-63=27']
Exploring Operation: 36+27=63, Resulting Numbers: [6, 63]
Generated Node #0,1,0: 57:[6, 63] Operation: 36+27=63
Moving to Node #0,1,0
Current State: 57:[6, 63], Operations: ['90-63=27', '36+27=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 |
hs_4
|
sum_heuristic
|
[
18,
3,
25,
64
] | 99 |
[
"64-25=39",
"3*39=117",
"117-18=99"
] |
Current State: 99:[18, 3, 25, 64], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [18, 3, 39]
Generated Node #2: [18, 3, 39] from Operation: 64-25=39
Current State: 99:[18, 3, 39], Operations: ['64-25=39']
Exploring Operation: 3*39=117, Resulting Numbers: [18, 117]
Generated Node #3: [18, 117] from Operation: 3*39=117
Current State: 99:[18, 117], Operations: ['64-25=39', '3*39=117']
Exploring Operation: 117-18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[18, 3, 25, 64], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [18, 3, 39]
Generated Node #0,0: 99:[18, 3, 39] Operation: 64-25=39
Exploring Operation: 25+64=89, Resulting Numbers: [18, 3, 89]
Generated Node #0,1: 99:[18, 3, 89] Operation: 25+64=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[18, 3, 39], Operations: ['64-25=39']
Exploring Operation: 18/3=6, Resulting Numbers: [39, 6]
Generated Node #0,0,0: 99:[39, 6] Operation: 18/3=6
Exploring Operation: 39/3=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 99:[18, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[39, 6], Operations: ['64-25=39', '18/3=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,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,0,1
Current State: 99:[18, 13], Operations: ['64-25=39', '39/3=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,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,1
Current State: 99:[18, 3, 89], Operations: ['25+64=89']
Exploring Operation: 18/3=6, Resulting Numbers: [89, 6]
Generated Node #0,1,0: 99:[89, 6] Operation: 18/3=6
Exploring Operation: 18+89=107, Resulting Numbers: [3, 107]
Generated Node #0,1,1: 99:[3, 107] Operation: 18+89=107
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[3, 107], Operations: ['25+64=89', '18+89=107']
Exploring Operation: 3+107=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 107-3=104, Resulting Numbers: [104]
104,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:[89, 6], Operations: ['25+64=89', '18/3=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,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
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
50,
79,
75,
3
] | 51 |
[
"50+79=129",
"75+3=78",
"129-78=51"
] |
Current State: 51:[50, 79, 75, 3], Operations: []
Exploring Operation: 50+79=129, Resulting Numbers: [75, 3, 129]
Generated Node #2: [75, 3, 129] from Operation: 50+79=129
Current State: 51:[75, 3, 129], Operations: ['50+79=129']
Exploring Operation: 75+3=78, Resulting Numbers: [129, 78]
Generated Node #3: [129, 78] from Operation: 75+3=78
Current State: 51:[129, 78], Operations: ['50+79=129', '75+3=78']
Exploring Operation: 129-78=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[50, 79, 75, 3], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [50, 3, 4]
Generated Node #0,0: 51:[50, 3, 4] Operation: 79-75=4
Exploring Operation: 79-50=29, Resulting Numbers: [75, 3, 29]
Generated Node #0,1: 51:[75, 3, 29] Operation: 79-50=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[50, 3, 4], Operations: ['79-75=4']
Exploring Operation: 50+4=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 50+4=54
Exploring Operation: 50+3=53, Resulting Numbers: [4, 53]
Generated Node #0,0,1: 51:[4, 53] Operation: 50+3=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['79-75=4', '50+4=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[50, 79, 75, 3], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [50, 3, 4]
Generated Node #0,0: 51:[50, 3, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 51:[50, 3, 4], Operations: ['79-75=4']
Exploring Operation: 50+4=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 50+4=54
Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['79-75=4', '50+4=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
73,
85,
55,
2
] | 94 |
[
"73-55=18",
"18/2=9",
"85+9=94"
] |
Current State: 94:[73, 85, 55, 2], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [85, 2, 18]
Generated Node #2: [85, 2, 18] from Operation: 73-55=18
Current State: 94:[85, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 18/2=9
Current State: 94:[85, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[73, 85, 55, 2], Operations: []
Exploring Operation: 85+2=87, Resulting Numbers: [73, 55, 87]
Generated Node #0,0: 94:[73, 55, 87] Operation: 85+2=87
Exploring Operation: 73+2=75, Resulting Numbers: [85, 55, 75]
Generated Node #0,1: 94:[85, 55, 75] Operation: 73+2=75
Exploring Operation: 73-55=18, Resulting Numbers: [85, 2, 18]
Generated Node #0,2: 94:[85, 2, 18] Operation: 73-55=18
Exploring Operation: 85-73=12, Resulting Numbers: [55, 2, 12]
Generated Node #0,3: 94:[55, 2, 12] Operation: 85-73=12
Moving to Node #0,3
Current State: 94:[55, 2, 12], Operations: ['85-73=12']
Exploring Operation: 12-2=10, Resulting Numbers: [55, 10]
Generated Node #0,3,0: 94:[55, 10] Operation: 12-2=10
Exploring Operation: 55-2=53, Resulting Numbers: [12, 53]
Generated Node #0,3,1: 94:[12, 53] Operation: 55-2=53
Exploring Operation: 55-12=43, Resulting Numbers: [2, 43]
Generated Node #0,3,2: 94:[2, 43] Operation: 55-12=43
Exploring Operation: 12/2=6, Resulting Numbers: [55, 6]
Generated Node #0,3,3: 94:[55, 6] Operation: 12/2=6
Moving to Node #0,2
Current State: 94:[85, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #0,2,0: 94:[85, 9] Operation: 18/2=9
Exploring Operation: 85-18=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 94:[2, 67] Operation: 85-18=67
Exploring Operation: 85+18=103, Resulting Numbers: [2, 103]
Generated Node #0,2,2: 94:[2, 103] Operation: 85+18=103
Exploring Operation: 2*18=36, Resulting Numbers: [85, 36]
Generated Node #0,2,3: 94:[85, 36] Operation: 2*18=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[2, 103], Operations: ['73-55=18', '85+18=103']
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 2+103=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 2*103=206, Resulting Numbers: [206]
206,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[85, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[73, 85, 55, 2], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [85, 2, 18]
Generated Node #0,2: 94:[85, 2, 18] Operation: 73-55=18
Moving to Node #0,2
Current State: 94:[85, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #0,2,0: 94:[85, 9] Operation: 18/2=9
Moving to Node #0,2,0
Current State: 94:[85, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_4
|
mult_heuristic
|
[
13,
52,
10,
80
] | 74 |
[
"52/13=4",
"80-10=70",
"4+70=74"
] |
Current State: 74:[13, 52, 10, 80], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [10, 80, 4]
Generated Node #2: [10, 80, 4] from Operation: 52/13=4
Current State: 74:[10, 80, 4], Operations: ['52/13=4']
Exploring Operation: 80-10=70, Resulting Numbers: [4, 70]
Generated Node #3: [4, 70] from Operation: 80-10=70
Current State: 74:[4, 70], Operations: ['52/13=4', '80-10=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[13, 52, 10, 80], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [10, 80, 4]
Generated Node #0,0: 74:[10, 80, 4] Operation: 52/13=4
Exploring Operation: 13-10=3, Resulting Numbers: [52, 80, 3]
Generated Node #0,1: 74:[52, 80, 3] Operation: 13-10=3
Exploring Operation: 52-13=39, Resulting Numbers: [10, 80, 39]
Generated Node #0,2: 74:[10, 80, 39] Operation: 52-13=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[10, 80, 4], Operations: ['52/13=4']
Exploring Operation: 80-10=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 74:[4, 70] Operation: 80-10=70
Exploring Operation: 10*4=40, Resulting Numbers: [80, 40]
Generated Node #0,0,1: 74:[80, 40] Operation: 10*4=40
Exploring Operation: 80/10=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 74:[4, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[4, 70], Operations: ['52/13=4', '80-10=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[13, 52, 10, 80], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [10, 80, 4]
Generated Node #0,0: 74:[10, 80, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 74:[10, 80, 4], Operations: ['52/13=4']
Exploring Operation: 80-10=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 74:[4, 70] Operation: 80-10=70
Moving to Node #0,0,0
Current State: 74:[4, 70], Operations: ['52/13=4', '80-10=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
23,
5,
59,
56
] | 31 |
[
"23+5=28",
"59-56=3",
"28+3=31"
] |
Current State: 31:[23, 5, 59, 56], Operations: []
Exploring Operation: 23+5=28, Resulting Numbers: [59, 56, 28]
Generated Node #2: [59, 56, 28] from Operation: 23+5=28
Current State: 31:[59, 56, 28], Operations: ['23+5=28']
Exploring Operation: 59-56=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 59-56=3
Current State: 31:[28, 3], Operations: ['23+5=28', '59-56=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[23, 5, 59, 56], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [5, 56, 36]
Generated Node #0,0: 31:[5, 56, 36] Operation: 59-23=36
Exploring Operation: 23+5=28, Resulting Numbers: [59, 56, 28]
Generated Node #0,1: 31:[59, 56, 28] Operation: 23+5=28
Exploring Operation: 59-5=54, Resulting Numbers: [23, 56, 54]
Generated Node #0,2: 31:[23, 56, 54] Operation: 59-5=54
Exploring Operation: 56-23=33, Resulting Numbers: [5, 59, 33]
Generated Node #0,3: 31:[5, 59, 33] Operation: 56-23=33
Exploring Operation: 56-5=51, Resulting Numbers: [23, 59, 51]
Generated Node #0,4: 31:[23, 59, 51] Operation: 56-5=51
Moving to Node #0,0
Current State: 31:[5, 56, 36], Operations: ['59-23=36']
Exploring Operation: 36-5=31, Resulting Numbers: [56, 31]
Generated Node #0,0,0: 31:[56, 31] Operation: 36-5=31
Exploring Operation: 56-5=51, Resulting Numbers: [36, 51]
Generated Node #0,0,1: 31:[36, 51] Operation: 56-5=51
Exploring Operation: 5+36=41, Resulting Numbers: [56, 41]
Generated Node #0,0,2: 31:[56, 41] Operation: 5+36=41
Exploring Operation: 5+56=61, Resulting Numbers: [36, 61]
Generated Node #0,0,3: 31:[36, 61] Operation: 5+56=61
Exploring Operation: 56-36=20, Resulting Numbers: [5, 20]
Generated Node #0,0,4: 31:[5, 20] Operation: 56-36=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[56, 31], Operations: ['59-23=36', '36-5=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,31 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,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,1
Current State: 31:[36, 51], Operations: ['59-23=36', '56-5=51']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,31 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,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,2
Current State: 31:[56, 41], Operations: ['59-23=36', '5+36=41']
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,31 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,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,3
Current State: 31:[36, 61], Operations: ['59-23=36', '5+56=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,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,4
Current State: 31:[5, 20], Operations: ['59-23=36', '56-36=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,31 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: 31:[23, 56, 54], Operations: ['59-5=54']
Exploring Operation: 23+56=79, Resulting Numbers: [54, 79]
Generated Node #0,2,0: 31:[54, 79] Operation: 23+56=79
Exploring Operation: 54-23=31, Resulting Numbers: [56, 31]
Generated Node #0,2,1: 31:[56, 31] Operation: 54-23=31
Exploring Operation: 56-54=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 31:[23, 2] Operation: 56-54=2
Exploring Operation: 56-23=33, Resulting Numbers: [54, 33]
Generated Node #0,2,3: 31:[54, 33] Operation: 56-23=33
Exploring Operation: 23+54=77, Resulting Numbers: [56, 77]
Generated Node #0,2,4: 31:[56, 77] Operation: 23+54=77
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[56, 31], Operations: ['59-5=54', '54-23=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,31 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[54, 33], Operations: ['59-5=54', '56-23=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,31 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[23, 2], Operations: ['59-5=54', '56-54=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[54, 79], Operations: ['59-5=54', '23+56=79']
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,31 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 31:[56, 77], Operations: ['59-5=54', '23+54=77']
Exploring Operation: 56*77=4312, Resulting Numbers: [4312]
4312,31 unequal: No Solution
Exploring Operation: 56+77=133, Resulting Numbers: [133]
133,31 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,31 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: 31:[23, 59, 51], Operations: ['56-5=51']
Exploring Operation: 23+51=74, Resulting Numbers: [59, 74]
Generated Node #0,4,0: 31:[59, 74] Operation: 23+51=74
Exploring Operation: 59-23=36, Resulting Numbers: [51, 36]
Generated Node #0,4,1: 31:[51, 36] Operation: 59-23=36
Exploring Operation: 59-51=8, Resulting Numbers: [23, 8]
Generated Node #0,4,2: 31:[23, 8] Operation: 59-51=8
Exploring Operation: 23+59=82, Resulting Numbers: [51, 82]
Generated Node #0,4,3: 31:[51, 82] Operation: 23+59=82
Exploring Operation: 51-23=28, Resulting Numbers: [59, 28]
Generated Node #0,4,4: 31:[59, 28] Operation: 51-23=28
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 31:[51, 36], Operations: ['56-5=51', '59-23=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,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,4,2
Current State: 31:[23, 8], Operations: ['56-5=51', '59-51=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,31 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[23, 5, 59, 56], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [23, 59, 51]
Generated Node #0,4: 31:[23, 59, 51] Operation: 56-5=51
Moving to Node #0,4
Current State: 31:[23, 59, 51], Operations: ['56-5=51']
Exploring Operation: 59-51=8, Resulting Numbers: [23, 8]
Generated Node #0,4,2: 31:[23, 8] Operation: 59-51=8
Moving to Node #0,4,2
Current State: 31:[23, 8], Operations: ['56-5=51', '59-51=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 |
hs_5
|
sum_heuristic
|
[
26,
83,
34,
32
] | 31 |
[
"34-32=2",
"26*2=52",
"83-52=31"
] |
Current State: 31:[26, 83, 34, 32], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [26, 83, 2]
Generated Node #2: [26, 83, 2] from Operation: 34-32=2
Current State: 31:[26, 83, 2], Operations: ['34-32=2']
Exploring Operation: 26*2=52, Resulting Numbers: [83, 52]
Generated Node #3: [83, 52] from Operation: 26*2=52
Current State: 31:[83, 52], Operations: ['34-32=2', '26*2=52']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[26, 83, 34, 32], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [26, 34, 51]
Generated Node #0,0: 31:[26, 34, 51] Operation: 83-32=51
Exploring Operation: 34-26=8, Resulting Numbers: [83, 32, 8]
Generated Node #0,1: 31:[83, 32, 8] Operation: 34-26=8
Exploring Operation: 83-26=57, Resulting Numbers: [34, 32, 57]
Generated Node #0,2: 31:[34, 32, 57] Operation: 83-26=57
Exploring Operation: 83-34=49, Resulting Numbers: [26, 32, 49]
Generated Node #0,3: 31:[26, 32, 49] Operation: 83-34=49
Moving to Node #0,3
Current State: 31:[26, 32, 49], Operations: ['83-34=49']
Exploring Operation: 49-26=23, Resulting Numbers: [32, 23]
Generated Node #0,3,0: 31:[32, 23] Operation: 49-26=23
Exploring Operation: 26+32=58, Resulting Numbers: [49, 58]
Generated Node #0,3,1: 31:[49, 58] Operation: 26+32=58
Exploring Operation: 49-32=17, Resulting Numbers: [26, 17]
Generated Node #0,3,2: 31:[26, 17] Operation: 49-32=17
Exploring Operation: 32-26=6, Resulting Numbers: [49, 6]
Generated Node #0,3,3: 31:[49, 6] Operation: 32-26=6
Moving to Node #0,0
Current State: 31:[26, 34, 51], Operations: ['83-32=51']
Exploring Operation: 26+34=60, Resulting Numbers: [51, 60]
Generated Node #0,0,0: 31:[51, 60] Operation: 26+34=60
Exploring Operation: 34-26=8, Resulting Numbers: [51, 8]
Generated Node #0,0,1: 31:[51, 8] Operation: 34-26=8
Exploring Operation: 51-34=17, Resulting Numbers: [26, 17]
Generated Node #0,0,2: 31:[26, 17] Operation: 51-34=17
Exploring Operation: 51-26=25, Resulting Numbers: [34, 25]
Generated Node #0,0,3: 31:[34, 25] Operation: 51-26=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[34, 25], Operations: ['83-32=51', '51-26=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,31 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,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,2
Current State: 31:[26, 17], Operations: ['83-32=51', '51-34=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,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,1
Current State: 31:[51, 8], Operations: ['83-32=51', '34-26=8']
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,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:[51, 60], Operations: ['83-32=51', '26+34=60']
Exploring Operation: 51*60=3060, Resulting Numbers: [3060]
3060,31 unequal: No Solution
Exploring Operation: 51+60=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,31 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: 31:[34, 32, 57], Operations: ['83-26=57']
Exploring Operation: 34+32=66, Resulting Numbers: [57, 66]
Generated Node #0,2,0: 31:[57, 66] Operation: 34+32=66
Exploring Operation: 34-32=2, Resulting Numbers: [57, 2]
Generated Node #0,2,1: 31:[57, 2] Operation: 34-32=2
Exploring Operation: 57-34=23, Resulting Numbers: [32, 23]
Generated Node #0,2,2: 31:[32, 23] Operation: 57-34=23
Exploring Operation: 57-32=25, Resulting Numbers: [34, 25]
Generated Node #0,2,3: 31:[34, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[32, 23], Operations: ['83-26=57', '57-34=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[34, 25], Operations: ['83-26=57', '57-32=25']
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,31 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[57, 2], Operations: ['83-26=57', '34-32=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[57, 66], Operations: ['83-26=57', '34+32=66']
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,31 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,31 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: 31:[83, 32, 8], Operations: ['34-26=8']
Exploring Operation: 83-32=51, Resulting Numbers: [8, 51]
Generated Node #0,1,0: 31:[8, 51] Operation: 83-32=51
Exploring Operation: 83-8=75, Resulting Numbers: [32, 75]
Generated Node #0,1,1: 31:[32, 75] Operation: 83-8=75
Exploring Operation: 32-8=24, Resulting Numbers: [83, 24]
Generated Node #0,1,2: 31:[83, 24] Operation: 32-8=24
Exploring Operation: 83+8=91, Resulting Numbers: [32, 91]
Generated Node #0,1,3: 31:[32, 91] Operation: 83+8=91
Moving to Node #0,3,0
Current State: 31:[32, 23], Operations: ['83-34=49', '49-26=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[26, 17], Operations: ['83-34=49', '49-32=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[49, 6], Operations: ['83-34=49', '32-26=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,31 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[8, 51], Operations: ['34-26=8', '83-32=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[32, 75], Operations: ['34-26=8', '83-8=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,31 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[49, 58], Operations: ['83-34=49', '26+32=58']
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,31 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[83, 24], Operations: ['34-26=8', '32-8=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,31 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[32, 91], Operations: ['34-26=8', '83+8=91']
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,31 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,31 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,31 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
86,
20,
24,
22
] | 20 |
[
"86-20=66",
"24+22=46",
"66-46=20"
] |
Current State: 20:[86, 20, 24, 22], Operations: []
Exploring Operation: 86-20=66, Resulting Numbers: [24, 22, 66]
Generated Node #2: [24, 22, 66] from Operation: 86-20=66
Current State: 20:[24, 22, 66], Operations: ['86-20=66']
Exploring Operation: 24+22=46, Resulting Numbers: [66, 46]
Generated Node #3: [66, 46] from Operation: 24+22=46
Current State: 20:[66, 46], Operations: ['86-20=66', '24+22=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[86, 20, 24, 22], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [20, 22, 62]
Generated Node #0,0: 20:[20, 22, 62] Operation: 86-24=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[20, 22, 62], Operations: ['86-24=62']
Exploring Operation: 62-22=40, Resulting Numbers: [20, 40]
Generated Node #0,0,0: 20:[20, 40] Operation: 62-22=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[20, 40], Operations: ['86-24=62', '62-22=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[86, 20, 24, 22], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [20, 22, 62]
Generated Node #0,0: 20:[20, 22, 62] Operation: 86-24=62
Moving to Node #0,0
Current State: 20:[20, 22, 62], Operations: ['86-24=62']
Exploring Operation: 62-22=40, Resulting Numbers: [20, 40]
Generated Node #0,0,0: 20:[20, 40] Operation: 62-22=40
Moving to Node #0,0,0
Current State: 20:[20, 40], Operations: ['86-24=62', '62-22=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
47,
13,
40,
61
] | 13 |
[
"47-13=34",
"61-40=21",
"34-21=13"
] |
Current State: 13:[47, 13, 40, 61], Operations: []
Exploring Operation: 47-13=34, Resulting Numbers: [40, 61, 34]
Generated Node #2: [40, 61, 34] from Operation: 47-13=34
Current State: 13:[40, 61, 34], Operations: ['47-13=34']
Exploring Operation: 61-40=21, Resulting Numbers: [34, 21]
Generated Node #3: [34, 21] from Operation: 61-40=21
Current State: 13:[34, 21], Operations: ['47-13=34', '61-40=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[47, 13, 40, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [47, 13, 21]
Generated Node #0,0: 13:[47, 13, 21] Operation: 61-40=21
Exploring Operation: 61-47=14, Resulting Numbers: [13, 40, 14]
Generated Node #0,1: 13:[13, 40, 14] Operation: 61-47=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[13, 40, 14], Operations: ['61-47=14']
Exploring Operation: 40-14=26, Resulting Numbers: [13, 26]
Generated Node #0,1,0: 13:[13, 26] Operation: 40-14=26
Exploring Operation: 40-13=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 13:[14, 27] Operation: 40-13=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[13, 26], Operations: ['61-47=14', '40-14=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[47, 13, 40, 61], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [13, 40, 14]
Generated Node #0,1: 13:[13, 40, 14] Operation: 61-47=14
Moving to Node #0,1
Current State: 13:[13, 40, 14], Operations: ['61-47=14']
Exploring Operation: 40-14=26, Resulting Numbers: [13, 26]
Generated Node #0,1,0: 13:[13, 26] Operation: 40-14=26
Moving to Node #0,1,0
Current State: 13:[13, 26], Operations: ['61-47=14', '40-14=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
60,
96,
71,
92
] | 74 |
[
"92-60=32",
"96/32=3",
"71+3=74"
] |
Current State: 74:[60, 96, 71, 92], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [96, 71, 32]
Generated Node #2: [96, 71, 32] from Operation: 92-60=32
Current State: 74:[96, 71, 32], Operations: ['92-60=32']
Exploring Operation: 96/32=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 96/32=3
Current State: 74:[71, 3], Operations: ['92-60=32', '96/32=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[60, 96, 71, 92], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [71, 92, 36]
Generated Node #0,0: 74:[71, 92, 36] Operation: 96-60=36
Exploring Operation: 96-92=4, Resulting Numbers: [60, 71, 4]
Generated Node #0,1: 74:[60, 71, 4] Operation: 96-92=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[60, 71, 4], Operations: ['96-92=4']
Exploring Operation: 71-60=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 74:[4, 11] Operation: 71-60=11
Exploring Operation: 60+4=64, Resulting Numbers: [71, 64]
Generated Node #0,1,1: 74:[71, 64] Operation: 60+4=64
Moving to Node #0,1,0
Current State: 74:[4, 11], Operations: ['96-92=4', '71-60=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[71, 64], Operations: ['96-92=4', '60+4=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[71, 92, 36], Operations: ['96-60=36']
Exploring Operation: 92-71=21, Resulting Numbers: [36, 21]
Generated Node #0,0,0: 74:[36, 21] Operation: 92-71=21
Exploring Operation: 71-36=35, Resulting Numbers: [92, 35]
Generated Node #0,0,1: 74:[92, 35] Operation: 71-36=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[36, 21], Operations: ['96-60=36', '92-71=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[92, 35], Operations: ['96-60=36', '71-36=35']
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
21,
67,
87,
54
] | 55 |
[
"21+67=88",
"87-54=33",
"88-33=55"
] |
Current State: 55:[21, 67, 87, 54], Operations: []
Exploring Operation: 21+67=88, Resulting Numbers: [87, 54, 88]
Generated Node #2: [87, 54, 88] from Operation: 21+67=88
Current State: 55:[87, 54, 88], Operations: ['21+67=88']
Exploring Operation: 87-54=33, Resulting Numbers: [88, 33]
Generated Node #3: [88, 33] from Operation: 87-54=33
Current State: 55:[88, 33], Operations: ['21+67=88', '87-54=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[21, 67, 87, 54], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [21, 87, 13]
Generated Node #0,0: 55:[21, 87, 13] Operation: 67-54=13
Exploring Operation: 87-67=20, Resulting Numbers: [21, 54, 20]
Generated Node #0,1: 55:[21, 54, 20] Operation: 87-67=20
Exploring Operation: 87-21=66, Resulting Numbers: [67, 54, 66]
Generated Node #0,2: 55:[67, 54, 66] Operation: 87-21=66
Exploring Operation: 67-21=46, Resulting Numbers: [87, 54, 46]
Generated Node #0,3: 55:[87, 54, 46] Operation: 67-21=46
Moving to Node #0,1
Current State: 55:[21, 54, 20], Operations: ['87-67=20']
Exploring Operation: 21+54=75, Resulting Numbers: [20, 75]
Generated Node #0,1,0: 55:[20, 75] Operation: 21+54=75
Exploring Operation: 21+20=41, Resulting Numbers: [54, 41]
Generated Node #0,1,1: 55:[54, 41] Operation: 21+20=41
Exploring Operation: 54+20=74, Resulting Numbers: [21, 74]
Generated Node #0,1,2: 55:[21, 74] Operation: 54+20=74
Exploring Operation: 21-20=1, Resulting Numbers: [54, 1]
Generated Node #0,1,3: 55:[54, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[54, 1], Operations: ['87-67=20', '21-20=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[21, 67, 87, 54], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [21, 54, 20]
Generated Node #0,1: 55:[21, 54, 20] Operation: 87-67=20
Moving to Node #0,1
Current State: 55:[21, 54, 20], Operations: ['87-67=20']
Exploring Operation: 21-20=1, Resulting Numbers: [54, 1]
Generated Node #0,1,3: 55:[54, 1] Operation: 21-20=1
Moving to Node #0,1,3
Current State: 55:[54, 1], Operations: ['87-67=20', '21-20=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
sum_heuristic
|
[
21,
92,
69,
49
] | 92 |
[
"69-21=48",
"49-48=1",
"92*1=92"
] |
Current State: 92:[21, 92, 69, 49], Operations: []
Exploring Operation: 69-21=48, Resulting Numbers: [92, 49, 48]
Generated Node #2: [92, 49, 48] from Operation: 69-21=48
Current State: 92:[92, 49, 48], Operations: ['69-21=48']
Exploring Operation: 49-48=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 49-48=1
Current State: 92:[92, 1], Operations: ['69-21=48', '49-48=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[21, 92, 69, 49], Operations: []
Exploring Operation: 21+69=90, Resulting Numbers: [92, 49, 90]
Generated Node #0,0: 92:[92, 49, 90] Operation: 21+69=90
Moving to Node #0,0
Current State: 92:[92, 49, 90], Operations: ['21+69=90']
Exploring Operation: 92-90=2, Resulting Numbers: [49, 2]
Generated Node #0,0,0: 92:[49, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[49, 2], Operations: ['21+69=90', '92-90=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
65,
12,
84,
12
] | 71 |
[
"84-12=72",
"72/12=6",
"65+6=71"
] |
Current State: 71:[65, 12, 84, 12], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [65, 72]
Generated Node #2: [65, 72] from Operation: 84-12=72
Current State: 71:[65, 72], Operations: ['84-12=72']
Exploring Operation: 72/12=6, Resulting Numbers: [65, 6]
Generated Node #3: [65, 6] from Operation: 72/12=6
Current State: 71:[65, 6], Operations: ['84-12=72', '72/12=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[65, 12, 84, 12], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [65, 12, 72]
Generated Node #0,0: 71:[65, 12, 72] Operation: 84-12=72
Exploring Operation: 12+12=24, Resulting Numbers: [65, 84, 24]
Generated Node #0,1: 71:[65, 84, 24] Operation: 12+12=24
Exploring Operation: 84-12=72, Resulting Numbers: [65, 12, 72]
Generated Node #0,2: 71:[65, 12, 72] Operation: 84-12=72
Exploring Operation: 65+12=77, Resulting Numbers: [12, 84, 77]
Generated Node #0,3: 71:[12, 84, 77] Operation: 65+12=77
Exploring Operation: 65+12=77, Resulting Numbers: [84, 12, 77]
Generated Node #0,4: 71:[84, 12, 77] Operation: 65+12=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[65, 12, 72], Operations: ['84-12=72']
Exploring Operation: 12+72=84, Resulting Numbers: [65, 84]
Generated Node #0,0,0: 71:[65, 84] Operation: 12+72=84
Exploring Operation: 65-12=53, Resulting Numbers: [72, 53]
Generated Node #0,0,1: 71:[72, 53] Operation: 65-12=53
Exploring Operation: 72/12=6, Resulting Numbers: [65, 6]
Generated Node #0,0,2: 71:[65, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [65, 60]
Generated Node #0,0,3: 71:[65, 60] Operation: 72-12=60
Exploring Operation: 65+12=77, Resulting Numbers: [72, 77]
Generated Node #0,0,4: 71:[72, 77] Operation: 65+12=77
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[72, 77], Operations: ['84-12=72', '65+12=77']
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 72*77=5544, Resulting Numbers: [5544]
5544,71 unequal: No Solution
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,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,0,3
Current State: 71:[65, 60], Operations: ['84-12=72', '72-12=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,71 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,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,0,0
Current State: 71:[65, 84], Operations: ['84-12=72', '12+72=84']
Exploring Operation: 65*84=5460, Resulting Numbers: [5460]
5460,71 unequal: No Solution
Exploring Operation: 65+84=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,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,0,1
Current State: 71:[72, 53], Operations: ['84-12=72', '65-12=53']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 72*53=3816, Resulting Numbers: [3816]
3816,71 unequal: No Solution
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,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,0,2
Current State: 71:[65, 6], Operations: ['84-12=72', '72/12=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,71 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[65, 12, 84, 12], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [65, 12, 72]
Generated Node #0,0: 71:[65, 12, 72] Operation: 84-12=72
Moving to Node #0,0
Current State: 71:[65, 12, 72], Operations: ['84-12=72']
Exploring Operation: 72/12=6, Resulting Numbers: [65, 6]
Generated Node #0,0,2: 71:[65, 6] Operation: 72/12=6
Moving to Node #0,0,2
Current State: 71:[65, 6], Operations: ['84-12=72', '72/12=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 |
hs_5
|
mult_heuristic
|
[
46,
2,
49,
59
] | 59 |
[
"46+2=48",
"49-48=1",
"59*1=59"
] |
Current State: 59:[46, 2, 49, 59], Operations: []
Exploring Operation: 46+2=48, Resulting Numbers: [49, 59, 48]
Generated Node #2: [49, 59, 48] from Operation: 46+2=48
Current State: 59:[49, 59, 48], Operations: ['46+2=48']
Exploring Operation: 49-48=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 49-48=1
Current State: 59:[59, 1], Operations: ['46+2=48', '49-48=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[46, 2, 49, 59], Operations: []
Exploring Operation: 2+49=51, Resulting Numbers: [46, 59, 51]
Generated Node #0,0: 59:[46, 59, 51] Operation: 2+49=51
Exploring Operation: 46-2=44, Resulting Numbers: [49, 59, 44]
Generated Node #0,1: 59:[49, 59, 44] Operation: 46-2=44
Exploring Operation: 46+2=48, Resulting Numbers: [49, 59, 48]
Generated Node #0,2: 59:[49, 59, 48] Operation: 46+2=48
Moving to Node #0,0
Current State: 59:[46, 59, 51], Operations: ['2+49=51']
Exploring Operation: 46+59=105, Resulting Numbers: [51, 105]
Generated Node #0,0,0: 59:[51, 105] Operation: 46+59=105
Exploring Operation: 46+51=97, Resulting Numbers: [59, 97]
Generated Node #0,0,1: 59:[59, 97] Operation: 46+51=97
Exploring Operation: 59-46=13, Resulting Numbers: [51, 13]
Generated Node #0,0,2: 59:[51, 13] Operation: 59-46=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[59, 97], Operations: ['2+49=51', '46+51=97']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,59 unequal: No Solution
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[51, 105], Operations: ['2+49=51', '46+59=105']
Exploring Operation: 105-51=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 51*105=5355, Resulting Numbers: [5355]
5355,59 unequal: No Solution
Exploring Operation: 51+105=156, Resulting Numbers: [156]
156,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[51, 13], Operations: ['2+49=51', '59-46=13']
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,59 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,59 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: 59:[49, 59, 48], Operations: ['46+2=48']
Exploring Operation: 59+48=107, Resulting Numbers: [49, 107]
Generated Node #0,2,0: 59:[49, 107] Operation: 59+48=107
Exploring Operation: 49-48=1, Resulting Numbers: [59, 1]
Generated Node #0,2,1: 59:[59, 1] Operation: 49-48=1
Exploring Operation: 49+48=97, Resulting Numbers: [59, 97]
Generated Node #0,2,2: 59:[59, 97] Operation: 49+48=97
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[59, 97], Operations: ['46+2=48', '49+48=97']
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,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,0
Current State: 59:[49, 107], Operations: ['46+2=48', '59+48=107']
Exploring Operation: 49*107=5243, Resulting Numbers: [5243]
5243,59 unequal: No Solution
Exploring Operation: 49+107=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 107-49=58, Resulting Numbers: [58]
58,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,1
Current State: 59:[59, 1], Operations: ['46+2=48', '49-48=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[46, 2, 49, 59], Operations: []
Exploring Operation: 46+2=48, Resulting Numbers: [49, 59, 48]
Generated Node #0,2: 59:[49, 59, 48] Operation: 46+2=48
Moving to Node #0,2
Current State: 59:[49, 59, 48], Operations: ['46+2=48']
Exploring Operation: 49-48=1, Resulting Numbers: [59, 1]
Generated Node #0,2,1: 59:[59, 1] Operation: 49-48=1
Moving to Node #0,2,1
Current State: 59:[59, 1], Operations: ['46+2=48', '49-48=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_3
|
sum_heuristic
|
[
66,
55,
4,
55
] | 62 |
[
"66+55=121",
"4+55=59",
"121-59=62"
] |
Current State: 62:[66, 55, 4, 55], Operations: []
Exploring Operation: 66+55=121, Resulting Numbers: [4, 121]
Generated Node #2: [4, 121] from Operation: 66+55=121
Current State: 62:[4, 121], Operations: ['66+55=121']
Exploring Operation: 4+55=59, Resulting Numbers: [121, 59]
Generated Node #3: [121, 59] from Operation: 4+55=59
Current State: 62:[121, 59], Operations: ['66+55=121', '4+55=59']
Exploring Operation: 121-59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[66, 55, 4, 55], Operations: []
Exploring Operation: 66-4=62, Resulting Numbers: [55, 55, 62]
Generated Node #0,0: 62:[55, 55, 62] Operation: 66-4=62
Exploring Operation: 55/55=1, Resulting Numbers: [66, 4, 1]
Generated Node #0,1: 62:[66, 4, 1] Operation: 55/55=1
Exploring Operation: 55-55=0, Resulting Numbers: [66, 4, 0]
Generated Node #0,2: 62:[66, 4, 0] Operation: 55-55=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[66, 4, 1], Operations: ['55/55=1']
Exploring Operation: 4-1=3, Resulting Numbers: [66, 3]
Generated Node #0,1,0: 62:[66, 3] Operation: 4-1=3
Exploring Operation: 66-4=62, Resulting Numbers: [1, 62]
Generated Node #0,1,1: 62:[1, 62] Operation: 66-4=62
Exploring Operation: 66-1=65, Resulting Numbers: [4, 65]
Generated Node #0,1,2: 62:[4, 65] Operation: 66-1=65
Moving to Node #0,1,1
Current State: 62:[1, 62], Operations: ['55/55=1', '66-4=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[66, 55, 4, 55], Operations: []
Exploring Operation: 55/55=1, Resulting Numbers: [66, 4, 1]
Generated Node #0,1: 62:[66, 4, 1] Operation: 55/55=1
Moving to Node #0,1
Current State: 62:[66, 4, 1], Operations: ['55/55=1']
Exploring Operation: 66-4=62, Resulting Numbers: [1, 62]
Generated Node #0,1,1: 62:[1, 62] Operation: 66-4=62
Moving to Node #0,1,1
Current State: 62:[1, 62], Operations: ['55/55=1', '66-4=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
54,
2,
68,
40
] | 56 |
[
"54-2=52",
"68+40=108",
"108-52=56"
] |
Current State: 56:[54, 2, 68, 40], Operations: []
Exploring Operation: 54-2=52, Resulting Numbers: [68, 40, 52]
Generated Node #2: [68, 40, 52] from Operation: 54-2=52
Current State: 56:[68, 40, 52], Operations: ['54-2=52']
Exploring Operation: 68+40=108, Resulting Numbers: [52, 108]
Generated Node #3: [52, 108] from Operation: 68+40=108
Current State: 56:[52, 108], Operations: ['54-2=52', '68+40=108']
Exploring Operation: 108-52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[54, 2, 68, 40], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [2, 40, 14]
Generated Node #0,0: 56:[2, 40, 14] Operation: 68-54=14
Exploring Operation: 68-40=28, Resulting Numbers: [54, 2, 28]
Generated Node #0,1: 56:[54, 2, 28] Operation: 68-40=28
Moving to Node #0,1
Current State: 56:[54, 2, 28], Operations: ['68-40=28']
Exploring Operation: 54/2=27, Resulting Numbers: [28, 27]
Generated Node #0,1,0: 56:[28, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [28, 56]
Generated Node #0,1,1: 56:[28, 56] Operation: 54+2=56
Moving to Node #0,0
Current State: 56:[2, 40, 14], Operations: ['68-54=14']
Exploring Operation: 40-14=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 56:[2, 26] Operation: 40-14=26
Exploring Operation: 40+14=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 56:[2, 54] Operation: 40+14=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[2, 26], Operations: ['68-54=14', '40-14=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[2, 54], Operations: ['68-54=14', '40+14=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[54, 2, 68, 40], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [2, 40, 14]
Generated Node #0,0: 56:[2, 40, 14] Operation: 68-54=14
Moving to Node #0,0
Current State: 56:[2, 40, 14], Operations: ['68-54=14']
Exploring Operation: 40+14=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 56:[2, 54] Operation: 40+14=54
Moving to Node #0,0,1
Current State: 56:[2, 54], Operations: ['68-54=14', '40+14=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_2
|
mult_heuristic
|
[
20,
31,
25,
49
] | 29 |
[
"31+49=80",
"80/20=4",
"25+4=29"
] |
Current State: 29:[20, 31, 25, 49], Operations: []
Exploring Operation: 31+49=80, Resulting Numbers: [20, 25, 80]
Generated Node #2: [20, 25, 80] from Operation: 31+49=80
Current State: 29:[20, 25, 80], Operations: ['31+49=80']
Exploring Operation: 80/20=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 80/20=4
Current State: 29:[25, 4], Operations: ['31+49=80', '80/20=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[20, 31, 25, 49], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [31, 25, 29]
Generated Node #0,0: 29:[31, 25, 29] Operation: 49-20=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[31, 25, 29], Operations: ['49-20=29']
Exploring Operation: 31-25=6, Resulting Numbers: [29, 6]
Generated Node #0,0,0: 29:[29, 6] Operation: 31-25=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[29, 6], Operations: ['49-20=29', '31-25=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,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
|
mult_heuristic
|
[
47,
61,
60,
3
] | 45 |
[
"47+61=108",
"60+3=63",
"108-63=45"
] |
Current State: 45:[47, 61, 60, 3], Operations: []
Exploring Operation: 47+61=108, Resulting Numbers: [60, 3, 108]
Generated Node #2: [60, 3, 108] from Operation: 47+61=108
Current State: 45:[60, 3, 108], Operations: ['47+61=108']
Exploring Operation: 60+3=63, Resulting Numbers: [108, 63]
Generated Node #3: [108, 63] from Operation: 60+3=63
Current State: 45:[108, 63], Operations: ['47+61=108', '60+3=63']
Exploring Operation: 108-63=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[47, 61, 60, 3], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [60, 3, 14]
Generated Node #0,0: 45:[60, 3, 14] Operation: 61-47=14
Exploring Operation: 60/3=20, Resulting Numbers: [47, 61, 20]
Generated Node #0,1: 45:[47, 61, 20] Operation: 60/3=20
Exploring Operation: 60-47=13, Resulting Numbers: [61, 3, 13]
Generated Node #0,2: 45:[61, 3, 13] Operation: 60-47=13
Exploring Operation: 61-60=1, Resulting Numbers: [47, 3, 1]
Generated Node #0,3: 45:[47, 3, 1] Operation: 61-60=1
Exploring Operation: 61-3=58, Resulting Numbers: [47, 60, 58]
Generated Node #0,4: 45:[47, 60, 58] Operation: 61-3=58
Moving to Node #0,3
Current State: 45:[47, 3, 1], Operations: ['61-60=1']
Exploring Operation: 3*1=3, Resulting Numbers: [47, 3]
Generated Node #0,3,0: 45:[47, 3] Operation: 3*1=3
Exploring Operation: 3/1=3, Resulting Numbers: [47, 3]
Generated Node #0,3,1: 45:[47, 3] Operation: 3/1=3
Exploring Operation: 47/1=47, Resulting Numbers: [3, 47]
Generated Node #0,3,2: 45:[3, 47] Operation: 47/1=47
Exploring Operation: 47*1=47, Resulting Numbers: [3, 47]
Generated Node #0,3,3: 45:[3, 47] Operation: 47*1=47
Exploring Operation: 47-1=46, Resulting Numbers: [3, 46]
Generated Node #0,3,4: 45:[3, 46] Operation: 47-1=46
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 45:[3, 46], Operations: ['61-60=1', '47-1=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,45 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[47, 3], Operations: ['61-60=1', '3*1=3']
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[47, 3], Operations: ['61-60=1', '3/1=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[3, 47], Operations: ['61-60=1', '47/1=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[3, 47], Operations: ['61-60=1', '47*1=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 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: 45:[60, 3, 14], Operations: ['61-47=14']
Exploring Operation: 3+14=17, Resulting Numbers: [60, 17]
Generated Node #0,0,0: 45:[60, 17] Operation: 3+14=17
Exploring Operation: 60-3=57, Resulting Numbers: [14, 57]
Generated Node #0,0,1: 45:[14, 57] Operation: 60-3=57
Exploring Operation: 14-3=11, Resulting Numbers: [60, 11]
Generated Node #0,0,2: 45:[60, 11] Operation: 14-3=11
Exploring Operation: 60/3=20, Resulting Numbers: [14, 20]
Generated Node #0,0,3: 45:[14, 20] Operation: 60/3=20
Exploring Operation: 60-14=46, Resulting Numbers: [3, 46]
Generated Node #0,0,4: 45:[3, 46] Operation: 60-14=46
Moving to Node #0,2
Current State: 45:[61, 3, 13], Operations: ['60-47=13']
Exploring Operation: 13-3=10, Resulting Numbers: [61, 10]
Generated Node #0,2,0: 45:[61, 10] Operation: 13-3=10
Exploring Operation: 3+13=16, Resulting Numbers: [61, 16]
Generated Node #0,2,1: 45:[61, 16] Operation: 3+13=16
Exploring Operation: 61+3=64, Resulting Numbers: [13, 64]
Generated Node #0,2,2: 45:[13, 64] Operation: 61+3=64
Exploring Operation: 61-3=58, Resulting Numbers: [13, 58]
Generated Node #0,2,3: 45:[13, 58] Operation: 61-3=58
Exploring Operation: 61-13=48, Resulting Numbers: [3, 48]
Generated Node #0,2,4: 45:[3, 48] Operation: 61-13=48
Moving to Node #0,1
Current State: 45:[47, 61, 20], Operations: ['60/3=20']
Exploring Operation: 61-47=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 45:[20, 14] Operation: 61-47=14
Exploring Operation: 61-20=41, Resulting Numbers: [47, 41]
Generated Node #0,1,1: 45:[47, 41] Operation: 61-20=41
Exploring Operation: 47-20=27, Resulting Numbers: [61, 27]
Generated Node #0,1,2: 45:[61, 27] Operation: 47-20=27
Exploring Operation: 61+20=81, Resulting Numbers: [47, 81]
Generated Node #0,1,3: 45:[47, 81] Operation: 61+20=81
Exploring Operation: 47+20=67, Resulting Numbers: [61, 67]
Generated Node #0,1,4: 45:[61, 67] Operation: 47+20=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[20, 14], Operations: ['60/3=20', '61-47=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,45 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[47, 41], Operations: ['60/3=20', '61-20=41']
Exploring Operation: 47*41=1927, Resulting Numbers: [1927]
1927,45 unequal: No Solution
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[61, 27], Operations: ['60/3=20', '47-20=27']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[47, 81], Operations: ['60/3=20', '61+20=81']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,45 unequal: No Solution
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[61, 67], Operations: ['60/3=20', '47+20=67']
Exploring Operation: 61+67=128, Resulting Numbers: [128]
128,45 unequal: No Solution
Exploring Operation: 61*67=4087, Resulting Numbers: [4087]
4087,45 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 45:[47, 60, 58], Operations: ['61-3=58']
Exploring Operation: 47+58=105, Resulting Numbers: [60, 105]
Generated Node #0,4,0: 45:[60, 105] Operation: 47+58=105
Exploring Operation: 60-47=13, Resulting Numbers: [58, 13]
Generated Node #0,4,1: 45:[58, 13] Operation: 60-47=13
Exploring Operation: 60-58=2, Resulting Numbers: [47, 2]
Generated Node #0,4,2: 45:[47, 2] Operation: 60-58=2
Exploring Operation: 47+60=107, Resulting Numbers: [58, 107]
Generated Node #0,4,3: 45:[58, 107] Operation: 47+60=107
Exploring Operation: 58-47=11, Resulting Numbers: [60, 11]
Generated Node #0,4,4: 45:[60, 11] Operation: 58-47=11
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 45:[47, 2], Operations: ['61-3=58', '60-58=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[47, 61, 60, 3], Operations: []
Exploring Operation: 61-3=58, Resulting Numbers: [47, 60, 58]
Generated Node #0,4: 45:[47, 60, 58] Operation: 61-3=58
Moving to Node #0,4
Current State: 45:[47, 60, 58], Operations: ['61-3=58']
Exploring Operation: 60-58=2, Resulting Numbers: [47, 2]
Generated Node #0,4,2: 45:[47, 2] Operation: 60-58=2
Moving to Node #0,4,2
Current State: 45:[47, 2], Operations: ['61-3=58', '60-58=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 |
hs_5
|
sum_heuristic
|
[
14,
31,
94,
76
] | 27 |
[
"14+31=45",
"94-76=18",
"45-18=27"
] |
Current State: 27:[14, 31, 94, 76], Operations: []
Exploring Operation: 14+31=45, Resulting Numbers: [94, 76, 45]
Generated Node #2: [94, 76, 45] from Operation: 14+31=45
Current State: 27:[94, 76, 45], Operations: ['14+31=45']
Exploring Operation: 94-76=18, Resulting Numbers: [45, 18]
Generated Node #3: [45, 18] from Operation: 94-76=18
Current State: 27:[45, 18], Operations: ['14+31=45', '94-76=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[14, 31, 94, 76], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [14, 31, 18]
Generated Node #0,0: 27:[14, 31, 18] Operation: 94-76=18
Exploring Operation: 94-31=63, Resulting Numbers: [14, 76, 63]
Generated Node #0,1: 27:[14, 76, 63] Operation: 94-31=63
Exploring Operation: 76-31=45, Resulting Numbers: [14, 94, 45]
Generated Node #0,2: 27:[14, 94, 45] Operation: 76-31=45
Exploring Operation: 94-14=80, Resulting Numbers: [31, 76, 80]
Generated Node #0,3: 27:[31, 76, 80] Operation: 94-14=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[14, 31, 18], Operations: ['94-76=18']
Exploring Operation: 14+18=32, Resulting Numbers: [31, 32]
Generated Node #0,0,0: 27:[31, 32] Operation: 14+18=32
Exploring Operation: 31-14=17, Resulting Numbers: [18, 17]
Generated Node #0,0,1: 27:[18, 17] Operation: 31-14=17
Exploring Operation: 31-18=13, Resulting Numbers: [14, 13]
Generated Node #0,0,2: 27:[14, 13] Operation: 31-18=13
Exploring Operation: 18-14=4, Resulting Numbers: [31, 4]
Generated Node #0,0,3: 27:[31, 4] Operation: 18-14=4
Moving to Node #0,0,3
Current State: 27:[31, 4], Operations: ['94-76=18', '18-14=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[14, 31, 94, 76], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [14, 31, 18]
Generated Node #0,0: 27:[14, 31, 18] Operation: 94-76=18
Moving to Node #0,0
Current State: 27:[14, 31, 18], Operations: ['94-76=18']
Exploring Operation: 18-14=4, Resulting Numbers: [31, 4]
Generated Node #0,0,3: 27:[31, 4] Operation: 18-14=4
Moving to Node #0,0,3
Current State: 27:[31, 4], Operations: ['94-76=18', '18-14=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
14,
2,
33,
69
] | 25 |
[
"14+33=47",
"2*47=94",
"94-69=25"
] |
Current State: 25:[14, 2, 33, 69], Operations: []
Exploring Operation: 14+33=47, Resulting Numbers: [2, 69, 47]
Generated Node #2: [2, 69, 47] from Operation: 14+33=47
Current State: 25:[2, 69, 47], Operations: ['14+33=47']
Exploring Operation: 2*47=94, Resulting Numbers: [69, 94]
Generated Node #3: [69, 94] from Operation: 2*47=94
Current State: 25:[69, 94], Operations: ['14+33=47', '2*47=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[14, 2, 33, 69], Operations: []
Exploring Operation: 69-14=55, Resulting Numbers: [2, 33, 55]
Generated Node #0,0: 25:[2, 33, 55] Operation: 69-14=55
Exploring Operation: 69-33=36, Resulting Numbers: [14, 2, 36]
Generated Node #0,1: 25:[14, 2, 36] Operation: 69-33=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[14, 2, 36], Operations: ['69-33=36']
Exploring Operation: 14/2=7, Resulting Numbers: [36, 7]
Generated Node #0,1,0: 25:[36, 7] Operation: 14/2=7
Exploring Operation: 36-14=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 25:[2, 22] Operation: 36-14=22
Moving to Node #0,1,1
Current State: 25:[2, 22], Operations: ['69-33=36', '36-14=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[36, 7], Operations: ['69-33=36', '14/2=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[2, 33, 55], Operations: ['69-14=55']
Exploring Operation: 55-33=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 25:[2, 22] Operation: 55-33=22
Exploring Operation: 33-2=31, Resulting Numbers: [55, 31]
Generated Node #0,0,1: 25:[55, 31] Operation: 33-2=31
Moving to Node #0,0,0
Current State: 25:[2, 22], Operations: ['69-14=55', '55-33=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[55, 31], Operations: ['69-14=55', '33-2=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
95,
80,
15,
77
] | 50 |
[
"80-77=3",
"15*3=45",
"95-45=50"
] |
Current State: 50:[95, 80, 15, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [95, 15, 3]
Generated Node #2: [95, 15, 3] from Operation: 80-77=3
Current State: 50:[95, 15, 3], Operations: ['80-77=3']
Exploring Operation: 15*3=45, Resulting Numbers: [95, 45]
Generated Node #3: [95, 45] from Operation: 15*3=45
Current State: 50:[95, 45], Operations: ['80-77=3', '15*3=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[95, 80, 15, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [95, 15, 3]
Generated Node #0,0: 50:[95, 15, 3] Operation: 80-77=3
Exploring Operation: 95-15=80, Resulting Numbers: [80, 77, 80]
Generated Node #0,1: 50:[80, 77, 80] Operation: 95-15=80
Exploring Operation: 80-15=65, Resulting Numbers: [95, 77, 65]
Generated Node #0,2: 50:[95, 77, 65] Operation: 80-15=65
Exploring Operation: 95-80=15, Resulting Numbers: [15, 77, 15]
Generated Node #0,3: 50:[15, 77, 15] Operation: 95-80=15
Exploring Operation: 95-77=18, Resulting Numbers: [80, 15, 18]
Generated Node #0,4: 50:[80, 15, 18] Operation: 95-77=18
Moving to Node #0,3
Current State: 50:[15, 77, 15], Operations: ['95-80=15']
Exploring Operation: 15-15=0, Resulting Numbers: [77, 0]
Generated Node #0,3,0: 50:[77, 0] Operation: 15-15=0
Exploring Operation: 15/15=1, Resulting Numbers: [77, 1]
Generated Node #0,3,1: 50:[77, 1] Operation: 15/15=1
Exploring Operation: 15+15=30, Resulting Numbers: [77, 30]
Generated Node #0,3,2: 50:[77, 30] Operation: 15+15=30
Exploring Operation: 77-15=62, Resulting Numbers: [15, 62]
Generated Node #0,3,3: 50:[15, 62] Operation: 77-15=62
Exploring Operation: 77-15=62, Resulting Numbers: [15, 62]
Generated Node #0,3,4: 50:[15, 62] Operation: 77-15=62
Moving to Node #0,4
Current State: 50:[80, 15, 18], Operations: ['95-77=18']
Exploring Operation: 18-15=3, Resulting Numbers: [80, 3]
Generated Node #0,4,0: 50:[80, 3] Operation: 18-15=3
Exploring Operation: 80+15=95, Resulting Numbers: [18, 95]
Generated Node #0,4,1: 50:[18, 95] Operation: 80+15=95
Exploring Operation: 80-15=65, Resulting Numbers: [18, 65]
Generated Node #0,4,2: 50:[18, 65] Operation: 80-15=65
Exploring Operation: 15+18=33, Resulting Numbers: [80, 33]
Generated Node #0,4,3: 50:[80, 33] Operation: 15+18=33
Exploring Operation: 80-18=62, Resulting Numbers: [15, 62]
Generated Node #0,4,4: 50:[15, 62] Operation: 80-18=62
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[15, 62], Operations: ['95-77=18', '80-18=62']
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,50 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 50:[18, 65], Operations: ['95-77=18', '80-15=65']
Exploring Operation: 18*65=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 50:[80, 3], Operations: ['95-77=18', '18-15=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,50 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 50:[80, 33], Operations: ['95-77=18', '15+18=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 50:[18, 95], Operations: ['95-77=18', '80+15=95']
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,50 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: 50:[95, 15, 3], Operations: ['80-77=3']
Exploring Operation: 95-15=80, Resulting Numbers: [3, 80]
Generated Node #0,0,0: 50:[3, 80] Operation: 95-15=80
Exploring Operation: 95-3=92, Resulting Numbers: [15, 92]
Generated Node #0,0,1: 50:[15, 92] Operation: 95-3=92
Exploring Operation: 15/3=5, Resulting Numbers: [95, 5]
Generated Node #0,0,2: 50:[95, 5] Operation: 15/3=5
Exploring Operation: 15*3=45, Resulting Numbers: [95, 45]
Generated Node #0,0,3: 50:[95, 45] Operation: 15*3=45
Exploring Operation: 15-3=12, Resulting Numbers: [95, 12]
Generated Node #0,0,4: 50:[95, 12] Operation: 15-3=12
Moving to Node #0,1
Current State: 50:[80, 77, 80], Operations: ['95-15=80']
Exploring Operation: 80-77=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 50:[80, 3] Operation: 80-77=3
Exploring Operation: 80+77=157, Resulting Numbers: [80, 157]
Generated Node #0,1,1: 50:[80, 157] Operation: 80+77=157
Exploring Operation: 80-77=3, Resulting Numbers: [80, 3]
Generated Node #0,1,2: 50:[80, 3] Operation: 80-77=3
Exploring Operation: 80/80=1, Resulting Numbers: [77, 1]
Generated Node #0,1,3: 50:[77, 1] Operation: 80/80=1
Exploring Operation: 80-80=0, Resulting Numbers: [77, 0]
Generated Node #0,1,4: 50:[77, 0] Operation: 80-80=0
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[77, 1], Operations: ['95-15=80', '80/80=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 50:[77, 0], Operations: ['95-15=80', '80-80=0']
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 77*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[80, 3], Operations: ['95-15=80', '80-77=3']
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,50 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[80, 3], Operations: ['95-15=80', '80-77=3']
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,50 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[80, 157], Operations: ['95-15=80', '80+77=157']
Exploring Operation: 157-80=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 80+157=237, Resulting Numbers: [237]
237,50 unequal: No Solution
Exploring Operation: 80*157=12560, Resulting Numbers: [12560]
12560,50 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: 50:[95, 77, 65], Operations: ['80-15=65']
Exploring Operation: 77-65=12, Resulting Numbers: [95, 12]
Generated Node #0,2,0: 50:[95, 12] Operation: 77-65=12
Exploring Operation: 95+65=160, Resulting Numbers: [77, 160]
Generated Node #0,2,1: 50:[77, 160] Operation: 95+65=160
Exploring Operation: 95-77=18, Resulting Numbers: [65, 18]
Generated Node #0,2,2: 50:[65, 18] Operation: 95-77=18
Exploring Operation: 95-65=30, Resulting Numbers: [77, 30]
Generated Node #0,2,3: 50:[77, 30] Operation: 95-65=30
Exploring Operation: 95+77=172, Resulting Numbers: [65, 172]
Generated Node #0,2,4: 50:[65, 172] Operation: 95+77=172
Moving to Node #0,3,3
Current State: 50:[15, 62], Operations: ['95-80=15', '77-15=62']
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,50 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[15, 62], Operations: ['95-80=15', '77-15=62']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,50 unequal: No Solution
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[65, 18], Operations: ['80-15=65', '95-77=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[77, 1], Operations: ['95-80=15', '15/15=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[77, 0], Operations: ['95-80=15', '15-15=0']
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 77*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[3, 80], Operations: ['80-77=3', '95-15=80']
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,50 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[77, 30], Operations: ['80-15=65', '95-65=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[77, 30], Operations: ['95-80=15', '15+15=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[95, 5], Operations: ['80-77=3', '15/3=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,50 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[15, 92], Operations: ['80-77=3', '95-3=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,50 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[95, 12], Operations: ['80-15=65', '77-65=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,50 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[95, 12], Operations: ['80-77=3', '15-3=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,50 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[95, 45], Operations: ['80-77=3', '15*3=45']
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,50 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[95, 80, 15, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [95, 15, 3]
Generated Node #0,0: 50:[95, 15, 3] Operation: 80-77=3
Moving to Node #0,0
Current State: 50:[95, 15, 3], Operations: ['80-77=3']
Exploring Operation: 15*3=45, Resulting Numbers: [95, 45]
Generated Node #0,0,3: 50:[95, 45] Operation: 15*3=45
Moving to Node #0,0,3
Current State: 50:[95, 45], Operations: ['80-77=3', '15*3=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.907986 |
hs_5
|
mult_heuristic
|
[
55,
2,
48,
37
] | 70 |
[
"55+48=103",
"37+103=140",
"140/2=70"
] |
Current State: 70:[55, 2, 48, 37], Operations: []
Exploring Operation: 55+48=103, Resulting Numbers: [2, 37, 103]
Generated Node #2: [2, 37, 103] from Operation: 55+48=103
Current State: 70:[2, 37, 103], Operations: ['55+48=103']
Exploring Operation: 37+103=140, Resulting Numbers: [2, 140]
Generated Node #3: [2, 140] from Operation: 37+103=140
Current State: 70:[2, 140], Operations: ['55+48=103', '37+103=140']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[55, 2, 48, 37], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [55, 2, 11]
Generated Node #0,0: 70:[55, 2, 11] Operation: 48-37=11
Exploring Operation: 55-48=7, Resulting Numbers: [2, 37, 7]
Generated Node #0,1: 70:[2, 37, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[2, 37, 7], Operations: ['55-48=7']
Exploring Operation: 2*7=14, Resulting Numbers: [37, 14]
Generated Node #0,1,0: 70:[37, 14] Operation: 2*7=14
Exploring Operation: 37-2=35, Resulting Numbers: [7, 35]
Generated Node #0,1,1: 70:[7, 35] Operation: 37-2=35
Moving to Node #0,1,1
Current State: 70:[7, 35], Operations: ['55-48=7', '37-2=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[37, 14], Operations: ['55-48=7', '2*7=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,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,0
Current State: 70:[55, 2, 11], Operations: ['48-37=11']
Exploring Operation: 55/11=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 70:[2, 5] Operation: 55/11=5
Exploring Operation: 55+11=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 70:[2, 66] Operation: 55+11=66
Moving to Node #0,0,0
Current State: 70:[2, 5], Operations: ['48-37=11', '55/11=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[2, 66], Operations: ['48-37=11', '55+11=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,70 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
|
[
96,
86,
3,
64
] | 34 |
[
"96-86=10",
"3*10=30",
"64-30=34"
] |
Current State: 34:[96, 86, 3, 64], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [3, 64, 10]
Generated Node #2: [3, 64, 10] from Operation: 96-86=10
Current State: 34:[3, 64, 10], Operations: ['96-86=10']
Exploring Operation: 3*10=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 3*10=30
Current State: 34:[64, 30], Operations: ['96-86=10', '3*10=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[96, 86, 3, 64], Operations: []
Exploring Operation: 96-3=93, Resulting Numbers: [86, 64, 93]
Generated Node #0,0: 34:[86, 64, 93] Operation: 96-3=93
Exploring Operation: 96-86=10, Resulting Numbers: [3, 64, 10]
Generated Node #0,1: 34:[3, 64, 10] Operation: 96-86=10
Exploring Operation: 96-64=32, Resulting Numbers: [86, 3, 32]
Generated Node #0,2: 34:[86, 3, 32] Operation: 96-64=32
Exploring Operation: 96/3=32, Resulting Numbers: [86, 64, 32]
Generated Node #0,3: 34:[86, 64, 32] Operation: 96/3=32
Exploring Operation: 86-64=22, Resulting Numbers: [96, 3, 22]
Generated Node #0,4: 34:[96, 3, 22] Operation: 86-64=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[3, 64, 10], Operations: ['96-86=10']
Exploring Operation: 3*10=30, Resulting Numbers: [64, 30]
Generated Node #0,1,0: 34:[64, 30] Operation: 3*10=30
Exploring Operation: 64-10=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 34:[3, 54] Operation: 64-10=54
Exploring Operation: 10-3=7, Resulting Numbers: [64, 7]
Generated Node #0,1,2: 34:[64, 7] Operation: 10-3=7
Exploring Operation: 3+10=13, Resulting Numbers: [64, 13]
Generated Node #0,1,3: 34:[64, 13] Operation: 3+10=13
Exploring Operation: 64-3=61, Resulting Numbers: [10, 61]
Generated Node #0,1,4: 34:[10, 61] Operation: 64-3=61
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[3, 54], Operations: ['96-86=10', '64-10=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[64, 30], Operations: ['96-86=10', '3*10=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,34 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[96, 86, 3, 64], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [3, 64, 10]
Generated Node #0,1: 34:[3, 64, 10] Operation: 96-86=10
Moving to Node #0,1
Current State: 34:[3, 64, 10], Operations: ['96-86=10']
Exploring Operation: 3*10=30, Resulting Numbers: [64, 30]
Generated Node #0,1,0: 34:[64, 30] Operation: 3*10=30
Moving to Node #0,1,0
Current State: 34:[64, 30], Operations: ['96-86=10', '3*10=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
mult_heuristic
|
[
87,
46,
17,
15
] | 64 |
[
"17-15=2",
"46/2=23",
"87-23=64"
] |
Current State: 64:[87, 46, 17, 15], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [87, 46, 2]
Generated Node #2: [87, 46, 2] from Operation: 17-15=2
Current State: 64:[87, 46, 2], Operations: ['17-15=2']
Exploring Operation: 46/2=23, Resulting Numbers: [87, 23]
Generated Node #3: [87, 23] from Operation: 46/2=23
Current State: 64:[87, 23], Operations: ['17-15=2', '46/2=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[87, 46, 17, 15], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [17, 15, 41]
Generated Node #0,0: 64:[17, 15, 41] Operation: 87-46=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[17, 15, 41], Operations: ['87-46=41']
Exploring Operation: 17+41=58, Resulting Numbers: [15, 58]
Generated Node #0,0,0: 64:[15, 58] Operation: 17+41=58
Moving to Node #0,0,0
Current State: 64:[15, 58], Operations: ['87-46=41', '17+41=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,64 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
|
[
69,
79,
71,
38
] | 43 |
[
"79-69=10",
"71-38=33",
"10+33=43"
] |
Current State: 43:[69, 79, 71, 38], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [71, 38, 10]
Generated Node #2: [71, 38, 10] from Operation: 79-69=10
Current State: 43:[71, 38, 10], Operations: ['79-69=10']
Exploring Operation: 71-38=33, Resulting Numbers: [10, 33]
Generated Node #3: [10, 33] from Operation: 71-38=33
Current State: 43:[10, 33], Operations: ['79-69=10', '71-38=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[69, 79, 71, 38], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [69, 71, 41]
Generated Node #0,0: 43:[69, 71, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[69, 71, 41], Operations: ['79-38=41']
Exploring Operation: 71-41=30, Resulting Numbers: [69, 30]
Generated Node #0,0,0: 43:[69, 30] Operation: 71-41=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[69, 30], Operations: ['79-38=41', '71-41=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
40,
61,
14,
61
] | 68 |
[
"61-40=21",
"61-14=47",
"21+47=68"
] |
Current State: 68:[40, 61, 14, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [14, 21]
Generated Node #2: [14, 21] from Operation: 61-40=21
Current State: 68:[14, 21], Operations: ['61-40=21']
Exploring Operation: 61-14=47, Resulting Numbers: [21, 47]
Generated Node #3: [21, 47] from Operation: 61-14=47
Current State: 68:[21, 47], Operations: ['61-40=21', '61-14=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[40, 61, 14, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [40, 14, 1]
Generated Node #0,0: 68:[40, 14, 1] Operation: 61/61=1
Exploring Operation: 61-61=0, Resulting Numbers: [40, 14, 0]
Generated Node #0,1: 68:[40, 14, 0] Operation: 61-61=0
Exploring Operation: 61-40=21, Resulting Numbers: [14, 61, 21]
Generated Node #0,2: 68:[14, 61, 21] Operation: 61-40=21
Exploring Operation: 61-40=21, Resulting Numbers: [61, 14, 21]
Generated Node #0,3: 68:[61, 14, 21] Operation: 61-40=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[40, 14, 1], Operations: ['61/61=1']
Exploring Operation: 40*1=40, Resulting Numbers: [14, 40]
Generated Node #0,0,0: 68:[14, 40] Operation: 40*1=40
Exploring Operation: 40-1=39, Resulting Numbers: [14, 39]
Generated Node #0,0,1: 68:[14, 39] Operation: 40-1=39
Exploring Operation: 14+1=15, Resulting Numbers: [40, 15]
Generated Node #0,0,2: 68:[40, 15] Operation: 14+1=15
Exploring Operation: 40-14=26, Resulting Numbers: [1, 26]
Generated Node #0,0,3: 68:[1, 26] Operation: 40-14=26
Moving to Node #0,0,1
Current State: 68:[14, 39], Operations: ['61/61=1', '40-1=39']
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,68 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[40, 15], Operations: ['61/61=1', '14+1=15']
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,68 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[1, 26], Operations: ['61/61=1', '40-14=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[14, 40], Operations: ['61/61=1', '40*1=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,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
Current State: 68:[40, 14, 0], Operations: ['61-61=0']
Exploring Operation: 40-0=40, Resulting Numbers: [14, 40]
Generated Node #0,1,0: 68:[14, 40] Operation: 40-0=40
Exploring Operation: 14*0=0, Resulting Numbers: [40, 0]
Generated Node #0,1,1: 68:[40, 0] Operation: 14*0=0
Exploring Operation: 40*0=0, Resulting Numbers: [14, 0]
Generated Node #0,1,2: 68:[14, 0] Operation: 40*0=0
Exploring Operation: 40+0=40, Resulting Numbers: [14, 40]
Generated Node #0,1,3: 68:[14, 40] Operation: 40+0=40
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[14, 0], Operations: ['61-61=0', '40*0=0']
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[40, 0], Operations: ['61-61=0', '14*0=0']
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[14, 40], Operations: ['61-61=0', '40-0=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 68:[14, 40], Operations: ['61-61=0', '40+0=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 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: 68:[14, 61, 21], Operations: ['61-40=21']
Exploring Operation: 61-21=40, Resulting Numbers: [14, 40]
Generated Node #0,2,0: 68:[14, 40] Operation: 61-21=40
Exploring Operation: 14+61=75, Resulting Numbers: [21, 75]
Generated Node #0,2,1: 68:[21, 75] Operation: 14+61=75
Exploring Operation: 14+21=35, Resulting Numbers: [61, 35]
Generated Node #0,2,2: 68:[61, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [61, 7]
Generated Node #0,2,3: 68:[61, 7] Operation: 21-14=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[61, 35], Operations: ['61-40=21', '14+21=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[14, 40], Operations: ['61-40=21', '61-21=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 68:[61, 7], Operations: ['61-40=21', '21-14=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,68 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[40, 61, 14, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [14, 61, 21]
Generated Node #0,2: 68:[14, 61, 21] Operation: 61-40=21
Moving to Node #0,2
Current State: 68:[14, 61, 21], Operations: ['61-40=21']
Exploring Operation: 21-14=7, Resulting Numbers: [61, 7]
Generated Node #0,2,3: 68:[61, 7] Operation: 21-14=7
Moving to Node #0,2,3
Current State: 68:[61, 7], Operations: ['61-40=21', '21-14=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953125 |
hs_4
|
sum_heuristic
|
[
22,
83,
67,
50
] | 78 |
[
"83-22=61",
"67-50=17",
"61+17=78"
] |
Current State: 78:[22, 83, 67, 50], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [67, 50, 61]
Generated Node #2: [67, 50, 61] from Operation: 83-22=61
Current State: 78:[67, 50, 61], Operations: ['83-22=61']
Exploring Operation: 67-50=17, Resulting Numbers: [61, 17]
Generated Node #3: [61, 17] from Operation: 67-50=17
Current State: 78:[61, 17], Operations: ['83-22=61', '67-50=17']
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[22, 83, 67, 50], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [83, 67, 28]
Generated Node #0,0: 78:[83, 67, 28] Operation: 50-22=28
Exploring Operation: 83-67=16, Resulting Numbers: [22, 50, 16]
Generated Node #0,1: 78:[22, 50, 16] Operation: 83-67=16
Exploring Operation: 67-22=45, Resulting Numbers: [83, 50, 45]
Generated Node #0,2: 78:[83, 50, 45] Operation: 67-22=45
Exploring Operation: 83-50=33, Resulting Numbers: [22, 67, 33]
Generated Node #0,3: 78:[22, 67, 33] Operation: 83-50=33
Exploring Operation: 67-50=17, Resulting Numbers: [22, 83, 17]
Generated Node #0,4: 78:[22, 83, 17] Operation: 67-50=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[22, 83, 17], Operations: ['67-50=17']
Exploring Operation: 22-17=5, Resulting Numbers: [83, 5]
Generated Node #0,4,0: 78:[83, 5] Operation: 22-17=5
Exploring Operation: 83-22=61, Resulting Numbers: [17, 61]
Generated Node #0,4,1: 78:[17, 61] Operation: 83-22=61
Exploring Operation: 22+17=39, Resulting Numbers: [83, 39]
Generated Node #0,4,2: 78:[83, 39] Operation: 22+17=39
Exploring Operation: 83-17=66, Resulting Numbers: [22, 66]
Generated Node #0,4,3: 78:[22, 66] Operation: 83-17=66
Exploring Operation: 83+17=100, Resulting Numbers: [22, 100]
Generated Node #0,4,4: 78:[22, 100] Operation: 83+17=100
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 78:[83, 39], Operations: ['67-50=17', '22+17=39']
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,78 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,78 unequal: No Solution
No 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: 78:[83, 5], Operations: ['67-50=17', '22-17=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[22, 83, 67, 50], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [22, 83, 17]
Generated Node #0,4: 78:[22, 83, 17] Operation: 67-50=17
Moving to Node #0,4
Current State: 78:[22, 83, 17], Operations: ['67-50=17']
Exploring Operation: 22-17=5, Resulting Numbers: [83, 5]
Generated Node #0,4,0: 78:[83, 5] Operation: 22-17=5
Moving to Node #0,4,0
Current State: 78:[83, 5], Operations: ['67-50=17', '22-17=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
sum_heuristic
|
[
2,
14,
13,
48
] | 44 |
[
"14+48=62",
"62/2=31",
"13+31=44"
] |
Current State: 44:[2, 14, 13, 48], Operations: []
Exploring Operation: 14+48=62, Resulting Numbers: [2, 13, 62]
Generated Node #2: [2, 13, 62] from Operation: 14+48=62
Current State: 44:[2, 13, 62], Operations: ['14+48=62']
Exploring Operation: 62/2=31, Resulting Numbers: [13, 31]
Generated Node #3: [13, 31] from Operation: 62/2=31
Current State: 44:[13, 31], Operations: ['14+48=62', '62/2=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[2, 14, 13, 48], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [2, 48, 1]
Generated Node #0,0: 44:[2, 48, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[2, 48, 1], Operations: ['14-13=1']
Exploring Operation: 48-2=46, Resulting Numbers: [1, 46]
Generated Node #0,0,0: 44:[1, 46] Operation: 48-2=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[1, 46], Operations: ['14-13=1', '48-2=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,44 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
|
[
74,
13,
15,
21
] | 51 |
[
"74+13=87",
"15+21=36",
"87-36=51"
] |
Current State: 51:[74, 13, 15, 21], Operations: []
Exploring Operation: 74+13=87, Resulting Numbers: [15, 21, 87]
Generated Node #2: [15, 21, 87] from Operation: 74+13=87
Current State: 51:[15, 21, 87], Operations: ['74+13=87']
Exploring Operation: 15+21=36, Resulting Numbers: [87, 36]
Generated Node #3: [87, 36] from Operation: 15+21=36
Current State: 51:[87, 36], Operations: ['74+13=87', '15+21=36']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[74, 13, 15, 21], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [13, 21, 59]
Generated Node #0,0: 51:[13, 21, 59] Operation: 74-15=59
Exploring Operation: 74-21=53, Resulting Numbers: [13, 15, 53]
Generated Node #0,1: 51:[13, 15, 53] Operation: 74-21=53
Exploring Operation: 74-13=61, Resulting Numbers: [15, 21, 61]
Generated Node #0,2: 51:[15, 21, 61] Operation: 74-13=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[13, 15, 53], Operations: ['74-21=53']
Exploring Operation: 15-13=2, Resulting Numbers: [53, 2]
Generated Node #0,1,0: 51:[53, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [53, 28]
Generated Node #0,1,1: 51:[53, 28] Operation: 13+15=28
Exploring Operation: 53-13=40, Resulting Numbers: [15, 40]
Generated Node #0,1,2: 51:[15, 40] Operation: 53-13=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[53, 2], Operations: ['74-21=53', '15-13=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[74, 13, 15, 21], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [13, 15, 53]
Generated Node #0,1: 51:[13, 15, 53] Operation: 74-21=53
Moving to Node #0,1
Current State: 51:[13, 15, 53], Operations: ['74-21=53']
Exploring Operation: 15-13=2, Resulting Numbers: [53, 2]
Generated Node #0,1,0: 51:[53, 2] Operation: 15-13=2
Moving to Node #0,1,0
Current State: 51:[53, 2], Operations: ['74-21=53', '15-13=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
3,
98,
11,
16
] | 75 |
[
"3+98=101",
"11*16=176",
"176-101=75"
] |
Current State: 75:[3, 98, 11, 16], Operations: []
Exploring Operation: 3+98=101, Resulting Numbers: [11, 16, 101]
Generated Node #2: [11, 16, 101] from Operation: 3+98=101
Current State: 75:[11, 16, 101], Operations: ['3+98=101']
Exploring Operation: 11*16=176, Resulting Numbers: [101, 176]
Generated Node #3: [101, 176] from Operation: 11*16=176
Current State: 75:[101, 176], Operations: ['3+98=101', '11*16=176']
Exploring Operation: 176-101=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[3, 98, 11, 16], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [11, 16, 95]
Generated Node #0,0: 75:[11, 16, 95] Operation: 98-3=95
Exploring Operation: 98-11=87, Resulting Numbers: [3, 16, 87]
Generated Node #0,1: 75:[3, 16, 87] Operation: 98-11=87
Exploring Operation: 16-11=5, Resulting Numbers: [3, 98, 5]
Generated Node #0,2: 75:[3, 98, 5] Operation: 16-11=5
Exploring Operation: 98-16=82, Resulting Numbers: [3, 11, 82]
Generated Node #0,3: 75:[3, 11, 82] Operation: 98-16=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[3, 11, 82], Operations: ['98-16=82']
Exploring Operation: 11-3=8, Resulting Numbers: [82, 8]
Generated Node #0,3,0: 75:[82, 8] Operation: 11-3=8
Exploring Operation: 82-11=71, Resulting Numbers: [3, 71]
Generated Node #0,3,1: 75:[3, 71] Operation: 82-11=71
Exploring Operation: 82-3=79, Resulting Numbers: [11, 79]
Generated Node #0,3,2: 75:[11, 79] Operation: 82-3=79
Exploring Operation: 3+11=14, Resulting Numbers: [82, 14]
Generated Node #0,3,3: 75:[82, 14] Operation: 3+11=14
Moving to Node #0,3,1
Current State: 75:[3, 71], Operations: ['98-16=82', '82-11=71']
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,75 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[82, 14], Operations: ['98-16=82', '3+11=14']
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,75 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[11, 79], Operations: ['98-16=82', '82-3=79']
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,75 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[82, 8], Operations: ['98-16=82', '11-3=8']
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,75 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[3, 16, 87], Operations: ['98-11=87']
Exploring Operation: 16-3=13, Resulting Numbers: [87, 13]
Generated Node #0,1,0: 75:[87, 13] Operation: 16-3=13
Exploring Operation: 87-3=84, Resulting Numbers: [16, 84]
Generated Node #0,1,1: 75:[16, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [16, 29]
Generated Node #0,1,2: 75:[16, 29] Operation: 87/3=29
Exploring Operation: 87-16=71, Resulting Numbers: [3, 71]
Generated Node #0,1,3: 75:[3, 71] Operation: 87-16=71
Moving to Node #0,1,3
Current State: 75:[3, 71], Operations: ['98-11=87', '87-16=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[16, 29], Operations: ['98-11=87', '87/3=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,75 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[16, 84], Operations: ['98-11=87', '87-3=84']
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,75 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[87, 13], Operations: ['98-11=87', '16-3=13']
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,75 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[3, 98, 5], Operations: ['16-11=5']
Exploring Operation: 3*5=15, Resulting Numbers: [98, 15]
Generated Node #0,2,0: 75:[98, 15] Operation: 3*5=15
Exploring Operation: 5-3=2, Resulting Numbers: [98, 2]
Generated Node #0,2,1: 75:[98, 2] Operation: 5-3=2
Exploring Operation: 98-5=93, Resulting Numbers: [3, 93]
Generated Node #0,2,2: 75:[3, 93] Operation: 98-5=93
Exploring Operation: 98-3=95, Resulting Numbers: [5, 95]
Generated Node #0,2,3: 75:[5, 95] Operation: 98-3=95
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[3, 93], Operations: ['16-11=5', '98-5=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,75 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No 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: 75:[5, 95], Operations: ['16-11=5', '98-3=95']
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,75 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,75 unequal: No Solution
No 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: 75:[98, 15], Operations: ['16-11=5', '3*5=15']
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,75 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No 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: 75:[98, 2], Operations: ['16-11=5', '5-3=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,75 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,75 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: 75:[11, 16, 95], Operations: ['98-3=95']
Exploring Operation: 11+16=27, Resulting Numbers: [95, 27]
Generated Node #0,0,0: 75:[95, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 75:[95, 5] Operation: 16-11=5
Exploring Operation: 95-11=84, Resulting Numbers: [16, 84]
Generated Node #0,0,2: 75:[16, 84] Operation: 95-11=84
Exploring Operation: 95-16=79, Resulting Numbers: [11, 79]
Generated Node #0,0,3: 75:[11, 79] Operation: 95-16=79
Moving to Node #0,0,3
Current State: 75:[11, 79], Operations: ['98-3=95', '95-16=79']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[16, 84], Operations: ['98-3=95', '95-11=84']
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,75 unequal: No Solution
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[95, 5], Operations: ['98-3=95', '16-11=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,75 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[95, 27], Operations: ['98-3=95', '11+16=27']
Exploring Operation: 95+27=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 95*27=2565, Resulting Numbers: [2565]
2565,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
6,
23,
10,
49
] | 64 |
[
"6*49=294",
"23*10=230",
"294-230=64"
] |
Current State: 64:[6, 23, 10, 49], Operations: []
Exploring Operation: 6*49=294, Resulting Numbers: [23, 10, 294]
Generated Node #2: [23, 10, 294] from Operation: 6*49=294
Current State: 64:[23, 10, 294], Operations: ['6*49=294']
Exploring Operation: 23*10=230, Resulting Numbers: [294, 230]
Generated Node #3: [294, 230] from Operation: 23*10=230
Current State: 64:[294, 230], Operations: ['6*49=294', '23*10=230']
Exploring Operation: 294-230=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[6, 23, 10, 49], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [6, 10, 26]
Generated Node #0,0: 64:[6, 10, 26] Operation: 49-23=26
Exploring Operation: 10+49=59, Resulting Numbers: [6, 23, 59]
Generated Node #0,1: 64:[6, 23, 59] Operation: 10+49=59
Exploring Operation: 23+49=72, Resulting Numbers: [6, 10, 72]
Generated Node #0,2: 64:[6, 10, 72] Operation: 23+49=72
Moving to Node #0,0
Current State: 64:[6, 10, 26], Operations: ['49-23=26']
Exploring Operation: 6+26=32, Resulting Numbers: [10, 32]
Generated Node #0,0,0: 64:[10, 32] Operation: 6+26=32
Exploring Operation: 6+10=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 64:[26, 16] Operation: 6+10=16
Exploring Operation: 26-10=16, Resulting Numbers: [6, 16]
Generated Node #0,0,2: 64:[6, 16] Operation: 26-10=16
Moving to Node #0,2
Current State: 64:[6, 10, 72], Operations: ['23+49=72']
Exploring Operation: 72-6=66, Resulting Numbers: [10, 66]
Generated Node #0,2,0: 64:[10, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [10, 12]
Generated Node #0,2,1: 64:[10, 12] Operation: 72/6=12
Exploring Operation: 72-10=62, Resulting Numbers: [6, 62]
Generated Node #0,2,2: 64:[6, 62] Operation: 72-10=62
Moving to Node #0,1
Current State: 64:[6, 23, 59], Operations: ['10+49=59']
Exploring Operation: 59-23=36, Resulting Numbers: [6, 36]
Generated Node #0,1,0: 64:[6, 36] Operation: 59-23=36
Exploring Operation: 6+23=29, Resulting Numbers: [59, 29]
Generated Node #0,1,1: 64:[59, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [59, 17]
Generated Node #0,1,2: 64:[59, 17] Operation: 23-6=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[6, 36], Operations: ['10+49=59', '59-23=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[59, 17], Operations: ['10+49=59', '23-6=17']
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,64 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[59, 29], Operations: ['10+49=59', '6+23=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,64 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,64 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: 64:[10, 32], Operations: ['49-23=26', '6+26=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,64 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[6, 16], Operations: ['49-23=26', '26-10=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[6, 62], Operations: ['23+49=72', '72-10=62']
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,64 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[10, 66], Operations: ['23+49=72', '72-6=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,64 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[10, 12], Operations: ['23+49=72', '72/6=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,64 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[26, 16], Operations: ['49-23=26', '6+10=16']
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,64 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
50,
2,
85,
98
] | 14 |
[
"85-50=35",
"98/2=49",
"49-35=14"
] |
Current State: 14:[50, 2, 85, 98], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [2, 98, 35]
Generated Node #2: [2, 98, 35] from Operation: 85-50=35
Current State: 14:[2, 98, 35], Operations: ['85-50=35']
Exploring Operation: 98/2=49, Resulting Numbers: [35, 49]
Generated Node #3: [35, 49] from Operation: 98/2=49
Current State: 14:[35, 49], Operations: ['85-50=35', '98/2=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[50, 2, 85, 98], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [2, 98, 35]
Generated Node #0,0: 14:[2, 98, 35] Operation: 85-50=35
Exploring Operation: 98-85=13, Resulting Numbers: [50, 2, 13]
Generated Node #0,1: 14:[50, 2, 13] Operation: 98-85=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[50, 2, 13], Operations: ['98-85=13']
Exploring Operation: 50-13=37, Resulting Numbers: [2, 37]
Generated Node #0,1,0: 14:[2, 37] Operation: 50-13=37
Exploring Operation: 50/2=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 14:[13, 25] Operation: 50/2=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[13, 25], Operations: ['98-85=13', '50/2=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[2, 37], Operations: ['98-85=13', '50-13=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[2, 98, 35], Operations: ['85-50=35']
Exploring Operation: 98/2=49, Resulting Numbers: [35, 49]
Generated Node #0,0,0: 14:[35, 49] Operation: 98/2=49
Exploring Operation: 98-35=63, Resulting Numbers: [2, 63]
Generated Node #0,0,1: 14:[2, 63] Operation: 98-35=63
Moving to Node #0,0,1
Current State: 14:[2, 63], Operations: ['85-50=35', '98-35=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[35, 49], Operations: ['85-50=35', '98/2=49']
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[50, 2, 85, 98], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [2, 98, 35]
Generated Node #0,0: 14:[2, 98, 35] Operation: 85-50=35
Moving to Node #0,0
Current State: 14:[2, 98, 35], Operations: ['85-50=35']
Exploring Operation: 98/2=49, Resulting Numbers: [35, 49]
Generated Node #0,0,0: 14:[35, 49] Operation: 98/2=49
Moving to Node #0,0,0
Current State: 14:[35, 49], Operations: ['85-50=35', '98/2=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_2
|
mult_heuristic
|
[
3,
6,
33,
30
] | 75 |
[
"3*33=99",
"30-6=24",
"99-24=75"
] |
Current State: 75:[3, 6, 33, 30], Operations: []
Exploring Operation: 3*33=99, Resulting Numbers: [6, 30, 99]
Generated Node #2: [6, 30, 99] from Operation: 3*33=99
Current State: 75:[6, 30, 99], Operations: ['3*33=99']
Exploring Operation: 30-6=24, Resulting Numbers: [99, 24]
Generated Node #3: [99, 24] from Operation: 30-6=24
Current State: 75:[99, 24], Operations: ['3*33=99', '30-6=24']
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[3, 6, 33, 30], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [3, 30, 27]
Generated Node #0,0: 75:[3, 30, 27] Operation: 33-6=27
Exploring Operation: 33-30=3, Resulting Numbers: [3, 6, 3]
Generated Node #0,1: 75:[3, 6, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[3, 6, 3], Operations: ['33-30=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 75:[3, 3] Operation: 6-3=3
Exploring Operation: 6-3=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 75:[3, 3] Operation: 6-3=3
Moving to Node #0,1,0
Current State: 75:[3, 3], Operations: ['33-30=3', '6-3=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[3, 3], Operations: ['33-30=3', '6-3=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 30, 27], Operations: ['33-6=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 75:[3, 3] Operation: 30-27=3
Exploring Operation: 30-3=27, Resulting Numbers: [27, 27]
Generated Node #0,0,1: 75:[27, 27] Operation: 30-3=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[3, 3], Operations: ['33-6=27', '30-27=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No 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: 75:[27, 27], Operations: ['33-6=27', '30-3=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
5,
52,
95,
2
] | 73 |
[
"95/5=19",
"52+2=54",
"19+54=73"
] |
Current State: 73:[5, 52, 95, 2], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [52, 2, 19]
Generated Node #2: [52, 2, 19] from Operation: 95/5=19
Current State: 73:[52, 2, 19], Operations: ['95/5=19']
Exploring Operation: 52+2=54, Resulting Numbers: [19, 54]
Generated Node #3: [19, 54] from Operation: 52+2=54
Current State: 73:[19, 54], Operations: ['95/5=19', '52+2=54']
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[5, 52, 95, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [52, 95, 10]
Generated Node #0,0: 73:[52, 95, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[52, 95, 10], Operations: ['5*2=10']
Exploring Operation: 52+10=62, Resulting Numbers: [95, 62]
Generated Node #0,0,0: 73:[95, 62] Operation: 52+10=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[95, 62], Operations: ['5*2=10', '52+10=62']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,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
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
70,
34,
8,
93
] | 49 |
[
"70-34=36",
"93-8=85",
"85-36=49"
] |
Current State: 49:[70, 34, 8, 93], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [8, 93, 36]
Generated Node #2: [8, 93, 36] from Operation: 70-34=36
Current State: 49:[8, 93, 36], Operations: ['70-34=36']
Exploring Operation: 93-8=85, Resulting Numbers: [36, 85]
Generated Node #3: [36, 85] from Operation: 93-8=85
Current State: 49:[36, 85], Operations: ['70-34=36', '93-8=85']
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[70, 34, 8, 93], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [8, 93, 36]
Generated Node #0,0: 49:[8, 93, 36] Operation: 70-34=36
Exploring Operation: 93-34=59, Resulting Numbers: [70, 8, 59]
Generated Node #0,1: 49:[70, 8, 59] Operation: 93-34=59
Exploring Operation: 93-70=23, Resulting Numbers: [34, 8, 23]
Generated Node #0,2: 49:[34, 8, 23] Operation: 93-70=23
Exploring Operation: 70-8=62, Resulting Numbers: [34, 93, 62]
Generated Node #0,3: 49:[34, 93, 62] Operation: 70-8=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[70, 8, 59], Operations: ['93-34=59']
Exploring Operation: 70+8=78, Resulting Numbers: [59, 78]
Generated Node #0,1,0: 49:[59, 78] Operation: 70+8=78
Exploring Operation: 59-8=51, Resulting Numbers: [70, 51]
Generated Node #0,1,1: 49:[70, 51] Operation: 59-8=51
Exploring Operation: 70-8=62, Resulting Numbers: [59, 62]
Generated Node #0,1,2: 49:[59, 62] Operation: 70-8=62
Exploring Operation: 70-59=11, Resulting Numbers: [8, 11]
Generated Node #0,1,3: 49:[8, 11] Operation: 70-59=11
Moving to Node #0,1,3
Current State: 49:[8, 11], Operations: ['93-34=59', '70-59=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[59, 62], Operations: ['93-34=59', '70-8=62']
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,49 unequal: No Solution
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[70, 51], Operations: ['93-34=59', '59-8=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,49 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[59, 78], Operations: ['93-34=59', '70+8=78']
Exploring Operation: 59*78=4602, Resulting Numbers: [4602]
4602,49 unequal: No Solution
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 59+78=137, Resulting Numbers: [137]
137,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[34, 8, 23], Operations: ['93-70=23']
Exploring Operation: 23-8=15, Resulting Numbers: [34, 15]
Generated Node #0,2,0: 49:[34, 15] Operation: 23-8=15
Exploring Operation: 34+23=57, Resulting Numbers: [8, 57]
Generated Node #0,2,1: 49:[8, 57] Operation: 34+23=57
Exploring Operation: 34+8=42, Resulting Numbers: [23, 42]
Generated Node #0,2,2: 49:[23, 42] Operation: 34+8=42
Exploring Operation: 34-23=11, Resulting Numbers: [8, 11]
Generated Node #0,2,3: 49:[8, 11] Operation: 34-23=11
Moving to Node #0,2,3
Current State: 49:[8, 11], Operations: ['93-70=23', '34-23=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[8, 57], Operations: ['93-70=23', '34+23=57']
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,49 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[70, 34, 8, 93], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [34, 8, 23]
Generated Node #0,2: 49:[34, 8, 23] Operation: 93-70=23
Moving to Node #0,2
Current State: 49:[34, 8, 23], Operations: ['93-70=23']
Exploring Operation: 34+23=57, Resulting Numbers: [8, 57]
Generated Node #0,2,1: 49:[8, 57] Operation: 34+23=57
Moving to Node #0,2,1
Current State: 49:[8, 57], Operations: ['93-70=23', '34+23=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 |
hs_4
|
sum_heuristic
|
[
26,
68,
80,
9
] | 82 |
[
"80-68=12",
"9*12=108",
"108-26=82"
] |
Current State: 82:[26, 68, 80, 9], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [26, 9, 12]
Generated Node #2: [26, 9, 12] from Operation: 80-68=12
Current State: 82:[26, 9, 12], Operations: ['80-68=12']
Exploring Operation: 9*12=108, Resulting Numbers: [26, 108]
Generated Node #3: [26, 108] from Operation: 9*12=108
Current State: 82:[26, 108], Operations: ['80-68=12', '9*12=108']
Exploring Operation: 108-26=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[26, 68, 80, 9], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [80, 9, 42]
Generated Node #0,0: 82:[80, 9, 42] Operation: 68-26=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[80, 9, 42], Operations: ['68-26=42']
Exploring Operation: 80+9=89, Resulting Numbers: [42, 89]
Generated Node #0,0,0: 82:[42, 89] Operation: 80+9=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[42, 89], Operations: ['68-26=42', '80+9=89']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
66,
96,
81,
63
] | 48 |
[
"96-66=30",
"81-63=18",
"30+18=48"
] |
Current State: 48:[66, 96, 81, 63], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [81, 63, 30]
Generated Node #2: [81, 63, 30] from Operation: 96-66=30
Current State: 48:[81, 63, 30], Operations: ['96-66=30']
Exploring Operation: 81-63=18, Resulting Numbers: [30, 18]
Generated Node #3: [30, 18] from Operation: 81-63=18
Current State: 48:[30, 18], Operations: ['96-66=30', '81-63=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[66, 96, 81, 63], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [66, 63, 15]
Generated Node #0,0: 48:[66, 63, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[66, 63, 15], Operations: ['96-81=15']
Exploring Operation: 66-63=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 48:[15, 3] Operation: 66-63=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[15, 3], Operations: ['96-81=15', '66-63=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
7,
65,
1,
33
] | 90 |
[
"65-7=58",
"33-1=32",
"58+32=90"
] |
Current State: 90:[7, 65, 1, 33], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [1, 33, 58]
Generated Node #2: [1, 33, 58] from Operation: 65-7=58
Current State: 90:[1, 33, 58], Operations: ['65-7=58']
Exploring Operation: 33-1=32, Resulting Numbers: [58, 32]
Generated Node #3: [58, 32] from Operation: 33-1=32
Current State: 90:[58, 32], Operations: ['65-7=58', '33-1=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[7, 65, 1, 33], Operations: []
Exploring Operation: 65+33=98, Resulting Numbers: [7, 1, 98]
Generated Node #0,0: 90:[7, 1, 98] Operation: 65+33=98
Exploring Operation: 65-33=32, Resulting Numbers: [7, 1, 32]
Generated Node #0,1: 90:[7, 1, 32] Operation: 65-33=32
Moving to Node #0,1
Current State: 90:[7, 1, 32], Operations: ['65-33=32']
Exploring Operation: 32-1=31, Resulting Numbers: [7, 31]
Generated Node #0,1,0: 90:[7, 31] Operation: 32-1=31
Exploring Operation: 7-1=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 90:[32, 6] Operation: 7-1=6
Moving to Node #0,0
Current State: 90:[7, 1, 98], Operations: ['65+33=98']
Exploring Operation: 98/7=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 90:[1, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [1, 91]
Generated Node #0,0,1: 90:[1, 91] Operation: 98-7=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[1, 14], Operations: ['65+33=98', '98/7=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,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,0,1
Current State: 90:[1, 91], Operations: ['65+33=98', '98-7=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[7, 65, 1, 33], Operations: []
Exploring Operation: 65+33=98, Resulting Numbers: [7, 1, 98]
Generated Node #0,0: 90:[7, 1, 98] Operation: 65+33=98
Moving to Node #0,0
Current State: 90:[7, 1, 98], Operations: ['65+33=98']
Exploring Operation: 98-7=91, Resulting Numbers: [1, 91]
Generated Node #0,0,1: 90:[1, 91] Operation: 98-7=91
Moving to Node #0,0,1
Current State: 90:[1, 91], Operations: ['65+33=98', '98-7=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_2
|
mult_heuristic
|
[
90,
42,
31,
97
] | 25 |
[
"97-90=7",
"42/7=6",
"31-6=25"
] |
Current State: 25:[90, 42, 31, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [42, 31, 7]
Generated Node #2: [42, 31, 7] from Operation: 97-90=7
Current State: 25:[42, 31, 7], Operations: ['97-90=7']
Exploring Operation: 42/7=6, Resulting Numbers: [31, 6]
Generated Node #3: [31, 6] from Operation: 42/7=6
Current State: 25:[31, 6], Operations: ['97-90=7', '42/7=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[90, 42, 31, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [42, 31, 7]
Generated Node #0,0: 25:[42, 31, 7] Operation: 97-90=7
Exploring Operation: 90-42=48, Resulting Numbers: [31, 97, 48]
Generated Node #0,1: 25:[31, 97, 48] Operation: 90-42=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[42, 31, 7], Operations: ['97-90=7']
Exploring Operation: 42-31=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 25:[7, 11] Operation: 42-31=11
Exploring Operation: 42/7=6, Resulting Numbers: [31, 6]
Generated Node #0,0,1: 25:[31, 6] Operation: 42/7=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[31, 6], Operations: ['97-90=7', '42/7=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[90, 42, 31, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [42, 31, 7]
Generated Node #0,0: 25:[42, 31, 7] Operation: 97-90=7
Moving to Node #0,0
Current State: 25:[42, 31, 7], Operations: ['97-90=7']
Exploring Operation: 42/7=6, Resulting Numbers: [31, 6]
Generated Node #0,0,1: 25:[31, 6] Operation: 42/7=6
Moving to Node #0,0,1
Current State: 25:[31, 6], Operations: ['97-90=7', '42/7=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
5,
9,
15,
60
] | 56 |
[
"5+9=14",
"60/15=4",
"14*4=56"
] |
Current State: 56:[5, 9, 15, 60], Operations: []
Exploring Operation: 5+9=14, Resulting Numbers: [15, 60, 14]
Generated Node #2: [15, 60, 14] from Operation: 5+9=14
Current State: 56:[15, 60, 14], Operations: ['5+9=14']
Exploring Operation: 60/15=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 60/15=4
Current State: 56:[14, 4], Operations: ['5+9=14', '60/15=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[5, 9, 15, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [5, 9, 4]
Generated Node #0,0: 56:[5, 9, 4] Operation: 60/15=4
Exploring Operation: 60-5=55, Resulting Numbers: [9, 15, 55]
Generated Node #0,1: 56:[9, 15, 55] Operation: 60-5=55
Moving to Node #0,0
Current State: 56:[5, 9, 4], Operations: ['60/15=4']
Exploring Operation: 9-5=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 56:[4, 4] Operation: 9-5=4
Exploring Operation: 5+9=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 56:[4, 14] Operation: 5+9=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[4, 4], Operations: ['60/15=4', '9-5=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[4, 14], Operations: ['60/15=4', '5+9=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[5, 9, 15, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [5, 9, 4]
Generated Node #0,0: 56:[5, 9, 4] Operation: 60/15=4
Moving to Node #0,0
Current State: 56:[5, 9, 4], Operations: ['60/15=4']
Exploring Operation: 5+9=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 56:[4, 14] Operation: 5+9=14
Moving to Node #0,0,1
Current State: 56:[4, 14], Operations: ['60/15=4', '5+9=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
40,
20,
13,
21
] | 36 |
[
"40/20=2",
"13+21=34",
"2+34=36"
] |
Current State: 36:[40, 20, 13, 21], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [13, 21, 2]
Generated Node #2: [13, 21, 2] from Operation: 40/20=2
Current State: 36:[13, 21, 2], Operations: ['40/20=2']
Exploring Operation: 13+21=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 13+21=34
Current State: 36:[2, 34], Operations: ['40/20=2', '13+21=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[40, 20, 13, 21], Operations: []
Exploring Operation: 40-20=20, Resulting Numbers: [13, 21, 20]
Generated Node #0,0: 36:[13, 21, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [13, 21, 2]
Generated Node #0,1: 36:[13, 21, 2] Operation: 40/20=2
Exploring Operation: 40-21=19, Resulting Numbers: [20, 13, 19]
Generated Node #0,2: 36:[20, 13, 19] Operation: 40-21=19
Exploring Operation: 21-20=1, Resulting Numbers: [40, 13, 1]
Generated Node #0,3: 36:[40, 13, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[13, 21, 2], Operations: ['40/20=2']
Exploring Operation: 13-2=11, Resulting Numbers: [21, 11]
Generated Node #0,1,0: 36:[21, 11] Operation: 13-2=11
Exploring Operation: 21-13=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 36:[2, 8] Operation: 21-13=8
Exploring Operation: 21-2=19, Resulting Numbers: [13, 19]
Generated Node #0,1,2: 36:[13, 19] Operation: 21-2=19
Exploring Operation: 13+21=34, Resulting Numbers: [2, 34]
Generated Node #0,1,3: 36:[2, 34] Operation: 13+21=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[2, 8], Operations: ['40/20=2', '21-13=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[13, 19], Operations: ['40/20=2', '21-2=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,36 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 36:[2, 34], Operations: ['40/20=2', '13+21=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[40, 20, 13, 21], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [13, 21, 2]
Generated Node #0,1: 36:[13, 21, 2] Operation: 40/20=2
Moving to Node #0,1
Current State: 36:[13, 21, 2], Operations: ['40/20=2']
Exploring Operation: 13+21=34, Resulting Numbers: [2, 34]
Generated Node #0,1,3: 36:[2, 34] Operation: 13+21=34
Moving to Node #0,1,3
Current State: 36:[2, 34], Operations: ['40/20=2', '13+21=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
mult_heuristic
|
[
42,
37,
87,
31
] | 61 |
[
"42-37=5",
"87-31=56",
"5+56=61"
] |
Current State: 61:[42, 37, 87, 31], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [87, 31, 5]
Generated Node #2: [87, 31, 5] from Operation: 42-37=5
Current State: 61:[87, 31, 5], Operations: ['42-37=5']
Exploring Operation: 87-31=56, Resulting Numbers: [5, 56]
Generated Node #3: [5, 56] from Operation: 87-31=56
Current State: 61:[5, 56], Operations: ['42-37=5', '87-31=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[42, 37, 87, 31], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [42, 31, 50]
Generated Node #0,0: 61:[42, 31, 50] Operation: 87-37=50
Exploring Operation: 87-42=45, Resulting Numbers: [37, 31, 45]
Generated Node #0,1: 61:[37, 31, 45] Operation: 87-42=45
Exploring Operation: 37+31=68, Resulting Numbers: [42, 87, 68]
Generated Node #0,2: 61:[42, 87, 68] Operation: 37+31=68
Exploring Operation: 87-31=56, Resulting Numbers: [42, 37, 56]
Generated Node #0,3: 61:[42, 37, 56] Operation: 87-31=56
Exploring Operation: 42+31=73, Resulting Numbers: [37, 87, 73]
Generated Node #0,4: 61:[37, 87, 73] Operation: 42+31=73
Moving to Node #0,3
Current State: 61:[42, 37, 56], Operations: ['87-31=56']
Exploring Operation: 42-37=5, Resulting Numbers: [56, 5]
Generated Node #0,3,0: 61:[56, 5] Operation: 42-37=5
Exploring Operation: 37+56=93, Resulting Numbers: [42, 93]
Generated Node #0,3,1: 61:[42, 93] Operation: 37+56=93
Exploring Operation: 42+56=98, Resulting Numbers: [37, 98]
Generated Node #0,3,2: 61:[37, 98] Operation: 42+56=98
Exploring Operation: 56-37=19, Resulting Numbers: [42, 19]
Generated Node #0,3,3: 61:[42, 19] Operation: 56-37=19
Exploring Operation: 42+37=79, Resulting Numbers: [56, 79]
Generated Node #0,3,4: 61:[56, 79] Operation: 42+37=79
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 61:[56, 79], Operations: ['87-31=56', '42+37=79']
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[42, 93], Operations: ['87-31=56', '37+56=93']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,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:[56, 5], Operations: ['87-31=56', '42-37=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[42, 37, 87, 31], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [42, 37, 56]
Generated Node #0,3: 61:[42, 37, 56] Operation: 87-31=56
Moving to Node #0,3
Current State: 61:[42, 37, 56], Operations: ['87-31=56']
Exploring Operation: 42-37=5, Resulting Numbers: [56, 5]
Generated Node #0,3,0: 61:[56, 5] Operation: 42-37=5
Moving to Node #0,3,0
Current State: 61:[56, 5], Operations: ['87-31=56', '42-37=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
mult_heuristic
|
[
62,
48,
29,
56
] | 71 |
[
"62-48=14",
"29+56=85",
"85-14=71"
] |
Current State: 71:[62, 48, 29, 56], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [29, 56, 14]
Generated Node #2: [29, 56, 14] from Operation: 62-48=14
Current State: 71:[29, 56, 14], Operations: ['62-48=14']
Exploring Operation: 29+56=85, Resulting Numbers: [14, 85]
Generated Node #3: [14, 85] from Operation: 29+56=85
Current State: 71:[14, 85], Operations: ['62-48=14', '29+56=85']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[62, 48, 29, 56], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [62, 56, 77]
Generated Node #0,0: 71:[62, 56, 77] Operation: 48+29=77
Exploring Operation: 62+29=91, Resulting Numbers: [48, 56, 91]
Generated Node #0,1: 71:[48, 56, 91] Operation: 62+29=91
Exploring Operation: 62-29=33, Resulting Numbers: [48, 56, 33]
Generated Node #0,2: 71:[48, 56, 33] Operation: 62-29=33
Exploring Operation: 48-29=19, Resulting Numbers: [62, 56, 19]
Generated Node #0,3: 71:[62, 56, 19] Operation: 48-29=19
Exploring Operation: 29+56=85, Resulting Numbers: [62, 48, 85]
Generated Node #0,4: 71:[62, 48, 85] Operation: 29+56=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[62, 56, 77], Operations: ['48+29=77']
Exploring Operation: 77-62=15, Resulting Numbers: [56, 15]
Generated Node #0,0,0: 71:[56, 15] Operation: 77-62=15
Exploring Operation: 62-56=6, Resulting Numbers: [77, 6]
Generated Node #0,0,1: 71:[77, 6] Operation: 62-56=6
Exploring Operation: 62+56=118, Resulting Numbers: [77, 118]
Generated Node #0,0,2: 71:[77, 118] Operation: 62+56=118
Exploring Operation: 56+77=133, Resulting Numbers: [62, 133]
Generated Node #0,0,3: 71:[62, 133] Operation: 56+77=133
Exploring Operation: 77-56=21, Resulting Numbers: [62, 21]
Generated Node #0,0,4: 71:[62, 21] Operation: 77-56=21
Moving to Node #0,0,2
Current State: 71:[77, 118], Operations: ['48+29=77', '62+56=118']
Exploring Operation: 118-77=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 77+118=195, Resulting Numbers: [195]
195,71 unequal: No Solution
Exploring Operation: 77*118=9086, Resulting Numbers: [9086]
9086,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[62, 21], Operations: ['48+29=77', '77-56=21']
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,71 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[56, 15], Operations: ['48+29=77', '77-62=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[62, 48, 29, 56], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [62, 56, 77]
Generated Node #0,0: 71:[62, 56, 77] Operation: 48+29=77
Moving to Node #0,0
Current State: 71:[62, 56, 77], Operations: ['48+29=77']
Exploring Operation: 77-62=15, Resulting Numbers: [56, 15]
Generated Node #0,0,0: 71:[56, 15] Operation: 77-62=15
Moving to Node #0,0,0
Current State: 71:[56, 15], Operations: ['48+29=77', '77-62=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_5
|
sum_heuristic
|
[
15,
79,
16,
94
] | 78 |
[
"79*16=1264",
"1264-94=1170",
"1170/15=78"
] |
Current State: 78:[15, 79, 16, 94], Operations: []
Exploring Operation: 79*16=1264, Resulting Numbers: [15, 94, 1264]
Generated Node #2: [15, 94, 1264] from Operation: 79*16=1264
Current State: 78:[15, 94, 1264], Operations: ['79*16=1264']
Exploring Operation: 1264-94=1170, Resulting Numbers: [15, 1170]
Generated Node #3: [15, 1170] from Operation: 1264-94=1170
Current State: 78:[15, 1170], Operations: ['79*16=1264', '1264-94=1170']
Exploring Operation: 1170/15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[15, 79, 16, 94], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [15, 79, 78]
Generated Node #0,0: 78:[15, 79, 78] Operation: 94-16=78
Moving to Node #0,0
Current State: 78:[15, 79, 78], Operations: ['94-16=78']
Exploring Operation: 79-78=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 78:[15, 1] Operation: 79-78=1
Moving to Node #0,0,0
Current State: 78:[15, 1], Operations: ['94-16=78', '79-78=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,78 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
33,
80,
83,
78
] | 15 |
[
"78-33=45",
"83-80=3",
"45/3=15"
] |
Current State: 15:[33, 80, 83, 78], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [80, 83, 45]
Generated Node #2: [80, 83, 45] from Operation: 78-33=45
Current State: 15:[80, 83, 45], Operations: ['78-33=45']
Exploring Operation: 83-80=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 83-80=3
Current State: 15:[45, 3], Operations: ['78-33=45', '83-80=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[33, 80, 83, 78], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [83, 78, 47]
Generated Node #0,0: 15:[83, 78, 47] Operation: 80-33=47
Exploring Operation: 83-78=5, Resulting Numbers: [33, 80, 5]
Generated Node #0,1: 15:[33, 80, 5] Operation: 83-78=5
Exploring Operation: 80-78=2, Resulting Numbers: [33, 83, 2]
Generated Node #0,2: 15:[33, 83, 2] Operation: 80-78=2
Exploring Operation: 83-80=3, Resulting Numbers: [33, 78, 3]
Generated Node #0,3: 15:[33, 78, 3] Operation: 83-80=3
Moving to Node #0,3
Current State: 15:[33, 78, 3], Operations: ['83-80=3']
Exploring Operation: 33-3=30, Resulting Numbers: [78, 30]
Generated Node #0,3,0: 15:[78, 30] Operation: 33-3=30
Exploring Operation: 78-33=45, Resulting Numbers: [3, 45]
Generated Node #0,3,1: 15:[3, 45] Operation: 78-33=45
Exploring Operation: 33/3=11, Resulting Numbers: [78, 11]
Generated Node #0,3,2: 15:[78, 11] Operation: 33/3=11
Exploring Operation: 78/3=26, Resulting Numbers: [33, 26]
Generated Node #0,3,3: 15:[33, 26] Operation: 78/3=26
Moving to Node #0,1
Current State: 15:[33, 80, 5], Operations: ['83-78=5']
Exploring Operation: 80/5=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 15:[33, 16] Operation: 80/5=16
Exploring Operation: 33-5=28, Resulting Numbers: [80, 28]
Generated Node #0,1,1: 15:[80, 28] Operation: 33-5=28
Exploring Operation: 80-5=75, Resulting Numbers: [33, 75]
Generated Node #0,1,2: 15:[33, 75] Operation: 80-5=75
Exploring Operation: 80-33=47, Resulting Numbers: [5, 47]
Generated Node #0,1,3: 15:[5, 47] Operation: 80-33=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[33, 16], Operations: ['83-78=5', '80/5=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,15 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,15 unequal: No Solution
No 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: 15:[5, 47], Operations: ['83-78=5', '80-33=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,15 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,15 unequal: No Solution
No 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: 15:[80, 28], Operations: ['83-78=5', '33-5=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,15 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,15 unequal: No Solution
No 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: 15:[33, 75], Operations: ['83-78=5', '80-5=75']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,15 unequal: No Solution
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,15 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: 15:[33, 83, 2], Operations: ['80-78=2']
Exploring Operation: 33-2=31, Resulting Numbers: [83, 31]
Generated Node #0,2,0: 15:[83, 31] Operation: 33-2=31
Exploring Operation: 33+2=35, Resulting Numbers: [83, 35]
Generated Node #0,2,1: 15:[83, 35] Operation: 33+2=35
Exploring Operation: 83-33=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 15:[2, 50] Operation: 83-33=50
Exploring Operation: 83-2=81, Resulting Numbers: [33, 81]
Generated Node #0,2,3: 15:[33, 81] Operation: 83-2=81
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[2, 50], Operations: ['80-78=2', '83-33=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No 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: 15:[83, 31], Operations: ['80-78=2', '33-2=31']
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,15 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,15 unequal: No Solution
No 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: 15:[33, 81], Operations: ['80-78=2', '83-2=81']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,15 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,15 unequal: No Solution
No 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: 15:[83, 35], Operations: ['80-78=2', '33+2=35']
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,15 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,15 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: 15:[83, 78, 47], Operations: ['80-33=47']
Exploring Operation: 83-78=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 15:[47, 5] Operation: 83-78=5
Exploring Operation: 83-47=36, Resulting Numbers: [78, 36]
Generated Node #0,0,1: 15:[78, 36] Operation: 83-47=36
Exploring Operation: 78-47=31, Resulting Numbers: [83, 31]
Generated Node #0,0,2: 15:[83, 31] Operation: 78-47=31
Exploring Operation: 83+78=161, Resulting Numbers: [47, 161]
Generated Node #0,0,3: 15:[47, 161] Operation: 83+78=161
Moving to Node #0,3,3
Current State: 15:[33, 26], Operations: ['83-80=3', '78/3=26']
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,15 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[3, 45], Operations: ['83-80=3', '78-33=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[33, 80, 83, 78], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [33, 78, 3]
Generated Node #0,3: 15:[33, 78, 3] Operation: 83-80=3
Moving to Node #0,3
Current State: 15:[33, 78, 3], Operations: ['83-80=3']
Exploring Operation: 78-33=45, Resulting Numbers: [3, 45]
Generated Node #0,3,1: 15:[3, 45] Operation: 78-33=45
Moving to Node #0,3,1
Current State: 15:[3, 45], Operations: ['83-80=3', '78-33=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.953125 |
hs_4
|
sum_heuristic
|
[
72,
42,
49,
4
] | 76 |
[
"72-42=30",
"49-30=19",
"4*19=76"
] |
Current State: 76:[72, 42, 49, 4], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [49, 4, 30]
Generated Node #2: [49, 4, 30] from Operation: 72-42=30
Current State: 76:[49, 4, 30], Operations: ['72-42=30']
Exploring Operation: 49-30=19, Resulting Numbers: [4, 19]
Generated Node #3: [4, 19] from Operation: 49-30=19
Current State: 76:[4, 19], Operations: ['72-42=30', '49-30=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[72, 42, 49, 4], Operations: []
Exploring Operation: 42-4=38, Resulting Numbers: [72, 49, 38]
Generated Node #0,0: 76:[72, 49, 38] Operation: 42-4=38
Exploring Operation: 49-42=7, Resulting Numbers: [72, 4, 7]
Generated Node #0,1: 76:[72, 4, 7] Operation: 49-42=7
Exploring Operation: 72-49=23, Resulting Numbers: [42, 4, 23]
Generated Node #0,2: 76:[42, 4, 23] Operation: 72-49=23
Exploring Operation: 72+4=76, Resulting Numbers: [42, 49, 76]
Generated Node #0,3: 76:[42, 49, 76] Operation: 72+4=76
Moving to Node #0,1
Current State: 76:[72, 4, 7], Operations: ['49-42=7']
Exploring Operation: 72+7=79, Resulting Numbers: [4, 79]
Generated Node #0,1,0: 76:[4, 79] Operation: 72+7=79
Exploring Operation: 7-4=3, Resulting Numbers: [72, 3]
Generated Node #0,1,1: 76:[72, 3] Operation: 7-4=3
Exploring Operation: 72+4=76, Resulting Numbers: [7, 76]
Generated Node #0,1,2: 76:[7, 76] Operation: 72+4=76
Exploring Operation: 72/4=18, Resulting Numbers: [7, 18]
Generated Node #0,1,3: 76:[7, 18] Operation: 72/4=18
Moving to Node #0,2
Current State: 76:[42, 4, 23], Operations: ['72-49=23']
Exploring Operation: 42+23=65, Resulting Numbers: [4, 65]
Generated Node #0,2,0: 76:[4, 65] Operation: 42+23=65
Exploring Operation: 42-4=38, Resulting Numbers: [23, 38]
Generated Node #0,2,1: 76:[23, 38] Operation: 42-4=38
Exploring Operation: 23-4=19, Resulting Numbers: [42, 19]
Generated Node #0,2,2: 76:[42, 19] Operation: 23-4=19
Exploring Operation: 42-23=19, Resulting Numbers: [4, 19]
Generated Node #0,2,3: 76:[4, 19] Operation: 42-23=19
Moving to Node #0,3
Current State: 76:[42, 49, 76], Operations: ['72+4=76']
Exploring Operation: 76-42=34, Resulting Numbers: [49, 34]
Generated Node #0,3,0: 76:[49, 34] Operation: 76-42=34
Exploring Operation: 42+49=91, Resulting Numbers: [76, 91]
Generated Node #0,3,1: 76:[76, 91] Operation: 42+49=91
Exploring Operation: 49-42=7, Resulting Numbers: [76, 7]
Generated Node #0,3,2: 76:[76, 7] Operation: 49-42=7
Exploring Operation: 76-49=27, Resulting Numbers: [42, 27]
Generated Node #0,3,3: 76:[42, 27] Operation: 76-49=27
Moving to Node #0,0
Current State: 76:[72, 49, 38], Operations: ['42-4=38']
Exploring Operation: 72-49=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 76:[38, 23] Operation: 72-49=23
Exploring Operation: 49-38=11, Resulting Numbers: [72, 11]
Generated Node #0,0,1: 76:[72, 11] Operation: 49-38=11
Exploring Operation: 49+38=87, Resulting Numbers: [72, 87]
Generated Node #0,0,2: 76:[72, 87] Operation: 49+38=87
Exploring Operation: 72-38=34, Resulting Numbers: [49, 34]
Generated Node #0,0,3: 76:[49, 34] Operation: 72-38=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[38, 23], Operations: ['42-4=38', '72-49=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[72, 11], Operations: ['42-4=38', '49-38=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[72, 87], Operations: ['42-4=38', '49+38=87']
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,76 unequal: No Solution
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,76 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[49, 34], Operations: ['42-4=38', '72-38=34']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 76:[4, 19], Operations: ['72-49=23', '42-23=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[72, 42, 49, 4], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [42, 4, 23]
Generated Node #0,2: 76:[42, 4, 23] Operation: 72-49=23
Moving to Node #0,2
Current State: 76:[42, 4, 23], Operations: ['72-49=23']
Exploring Operation: 42-23=19, Resulting Numbers: [4, 19]
Generated Node #0,2,3: 76:[4, 19] Operation: 42-23=19
Moving to Node #0,2,3
Current State: 76:[4, 19], Operations: ['72-49=23', '42-23=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.967882 |
hs_4
|
mult_heuristic
|
[
8,
27,
26,
31
] | 22 |
[
"8+27=35",
"26+31=57",
"57-35=22"
] |
Current State: 22:[8, 27, 26, 31], Operations: []
Exploring Operation: 8+27=35, Resulting Numbers: [26, 31, 35]
Generated Node #2: [26, 31, 35] from Operation: 8+27=35
Current State: 22:[26, 31, 35], Operations: ['8+27=35']
Exploring Operation: 26+31=57, Resulting Numbers: [35, 57]
Generated Node #3: [35, 57] from Operation: 26+31=57
Current State: 22:[35, 57], Operations: ['8+27=35', '26+31=57']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[8, 27, 26, 31], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [8, 26, 4]
Generated Node #0,0: 22:[8, 26, 4] Operation: 31-27=4
Exploring Operation: 31-8=23, Resulting Numbers: [27, 26, 23]
Generated Node #0,1: 22:[27, 26, 23] Operation: 31-8=23
Moving to Node #0,0
Current State: 22:[8, 26, 4], Operations: ['31-27=4']
Exploring Operation: 26-4=22, Resulting Numbers: [8, 22]
Generated Node #0,0,0: 22:[8, 22] Operation: 26-4=22
Exploring Operation: 8/4=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 22:[26, 2] Operation: 8/4=2
Moving to Node #0,1
Current State: 22:[27, 26, 23], Operations: ['31-8=23']
Exploring Operation: 27-23=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 22:[26, 4] Operation: 27-23=4
Exploring Operation: 27-26=1, Resulting Numbers: [23, 1]
Generated Node #0,1,1: 22:[23, 1] Operation: 27-26=1
Moving to Node #0,1,1
Current State: 22:[23, 1], Operations: ['31-8=23', '27-26=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[8, 27, 26, 31], Operations: []
Exploring Operation: 31-8=23, Resulting Numbers: [27, 26, 23]
Generated Node #0,1: 22:[27, 26, 23] Operation: 31-8=23
Moving to Node #0,1
Current State: 22:[27, 26, 23], Operations: ['31-8=23']
Exploring Operation: 27-26=1, Resulting Numbers: [23, 1]
Generated Node #0,1,1: 22:[23, 1] Operation: 27-26=1
Moving to Node #0,1,1
Current State: 22:[23, 1], Operations: ['31-8=23', '27-26=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.990451 |
hs_2
|
sum_heuristic
|
[
64,
8,
54,
58
] | 22 |
[
"64+54=118",
"58+118=176",
"176/8=22"
] |
Current State: 22:[64, 8, 54, 58], Operations: []
Exploring Operation: 64+54=118, Resulting Numbers: [8, 58, 118]
Generated Node #2: [8, 58, 118] from Operation: 64+54=118
Current State: 22:[8, 58, 118], Operations: ['64+54=118']
Exploring Operation: 58+118=176, Resulting Numbers: [8, 176]
Generated Node #3: [8, 176] from Operation: 58+118=176
Current State: 22:[8, 176], Operations: ['64+54=118', '58+118=176']
Exploring Operation: 176/8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[64, 8, 54, 58], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [8, 54, 6]
Generated Node #0,0: 22:[8, 54, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 22:[8, 54, 6], Operations: ['64-58=6']
Exploring Operation: 54/6=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 22:[8, 9] Operation: 54/6=9
Moving to Node #0,0,0
Current State: 22:[8, 9], Operations: ['64-58=6', '54/6=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
87,
1,
16,
1
] | 72 |
[
"87+1=88",
"16*1=16",
"88-16=72"
] |
Current State: 72:[87, 1, 16, 1], Operations: []
Exploring Operation: 87+1=88, Resulting Numbers: [16, 88]
Generated Node #2: [16, 88] from Operation: 87+1=88
Current State: 72:[16, 88], Operations: ['87+1=88']
Exploring Operation: 16*1=16, Resulting Numbers: [88, 16]
Generated Node #3: [88, 16] from Operation: 16*1=16
Current State: 72:[88, 16], Operations: ['87+1=88', '16*1=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[87, 1, 16, 1], Operations: []
Exploring Operation: 87-1=86, Resulting Numbers: [16, 1, 86]
Generated Node #0,0: 72:[16, 1, 86] Operation: 87-1=86
Exploring Operation: 87-16=71, Resulting Numbers: [1, 1, 71]
Generated Node #0,1: 72:[1, 1, 71] Operation: 87-16=71
Moving to Node #0,1
Current State: 72:[1, 1, 71], Operations: ['87-16=71']
Exploring Operation: 1+71=72, Resulting Numbers: [1, 72]
Generated Node #0,1,0: 72:[1, 72] Operation: 1+71=72
Exploring Operation: 1+1=2, Resulting Numbers: [71, 2]
Generated Node #0,1,1: 72:[71, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[1, 72], Operations: ['87-16=71', '1+71=72']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[87, 1, 16, 1], Operations: []
Exploring Operation: 87-16=71, Resulting Numbers: [1, 1, 71]
Generated Node #0,1: 72:[1, 1, 71] Operation: 87-16=71
Moving to Node #0,1
Current State: 72:[1, 1, 71], Operations: ['87-16=71']
Exploring Operation: 1+71=72, Resulting Numbers: [1, 72]
Generated Node #0,1,0: 72:[1, 72] Operation: 1+71=72
Moving to Node #0,1,0
Current State: 72:[1, 72], Operations: ['87-16=71', '1+71=72']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
56,
34,
20,
3
] | 46 |
[
"56-34=22",
"3*22=66",
"66-20=46"
] |
Current State: 46:[56, 34, 20, 3], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [20, 3, 22]
Generated Node #2: [20, 3, 22] from Operation: 56-34=22
Current State: 46:[20, 3, 22], Operations: ['56-34=22']
Exploring Operation: 3*22=66, Resulting Numbers: [20, 66]
Generated Node #3: [20, 66] from Operation: 3*22=66
Current State: 46:[20, 66], Operations: ['56-34=22', '3*22=66']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[56, 34, 20, 3], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [56, 3, 14]
Generated Node #0,0: 46:[56, 3, 14] Operation: 34-20=14
Exploring Operation: 34+20=54, Resulting Numbers: [56, 3, 54]
Generated Node #0,1: 46:[56, 3, 54] Operation: 34+20=54
Exploring Operation: 56-34=22, Resulting Numbers: [20, 3, 22]
Generated Node #0,2: 46:[20, 3, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[20, 3, 22], Operations: ['56-34=22']
Exploring Operation: 22-20=2, Resulting Numbers: [3, 2]
Generated Node #0,2,0: 46:[3, 2] Operation: 22-20=2
Exploring Operation: 20+3=23, Resulting Numbers: [22, 23]
Generated Node #0,2,1: 46:[22, 23] Operation: 20+3=23
Exploring Operation: 20+22=42, Resulting Numbers: [3, 42]
Generated Node #0,2,2: 46:[3, 42] Operation: 20+22=42
Moving to Node #0,2,0
Current State: 46:[3, 2], Operations: ['56-34=22', '22-20=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[22, 23], Operations: ['56-34=22', '20+3=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[3, 42], Operations: ['56-34=22', '20+22=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No 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: 46:[56, 3, 54], Operations: ['34+20=54']
Exploring Operation: 56-3=53, Resulting Numbers: [54, 53]
Generated Node #0,1,0: 46:[54, 53] Operation: 56-3=53
Exploring Operation: 56-54=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 46:[3, 2] Operation: 56-54=2
Exploring Operation: 54-3=51, Resulting Numbers: [56, 51]
Generated Node #0,1,2: 46:[56, 51] Operation: 54-3=51
Moving to Node #0,1,1
Current State: 46:[3, 2], Operations: ['34+20=54', '56-54=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[54, 53], Operations: ['34+20=54', '56-3=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[56, 51], Operations: ['34+20=54', '54-3=51']
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,46 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[56, 3, 14], Operations: ['34-20=14']
Exploring Operation: 56-14=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 46:[3, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 46:[3, 4] Operation: 56/14=4
Exploring Operation: 3*14=42, Resulting Numbers: [56, 42]
Generated Node #0,0,2: 46:[56, 42] Operation: 3*14=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[3, 4], Operations: ['34-20=14', '56/14=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No 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: 46:[3, 42], Operations: ['34-20=14', '56-14=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No 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: 46:[56, 42], Operations: ['34-20=14', '3*14=42']
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,46 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,46 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.