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 |
---|---|---|---|---|---|---|---|---|
[
36,
12,
26,
97
] | 47 |
[
"36-12=24",
"97-26=71",
"71-24=47"
] |
Current State: 47:[36, 12, 26, 97], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [26, 97, 24]
Generated Node #2: [26, 97, 24] from Operation: 36-12=24
Current State: 47:[26, 97, 24], Operations: ['36-12=24']
Exploring Operation: 97-26=71, Resulting Numbers: [24, 71]
Generated Node #3: [24, 71] from Operation: 97-26=71
Current State: 47:[24, 71], Operations: ['36-12=24', '97-26=71']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[36, 12, 26, 97], Operations: []
Exploring Operation: 97-36=61, Resulting Numbers: [12, 26, 61]
Generated Node #0,0: 47:[12, 26, 61] Operation: 97-36=61
Exploring Operation: 12+26=38, Resulting Numbers: [36, 97, 38]
Generated Node #0,1: 47:[36, 97, 38] Operation: 12+26=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[12, 26, 61], Operations: ['97-36=61']
Exploring Operation: 61-12=49, Resulting Numbers: [26, 49]
Generated Node #0,0,0: 47:[26, 49] Operation: 61-12=49
Exploring Operation: 12+26=38, Resulting Numbers: [61, 38]
Generated Node #0,0,1: 47:[61, 38] Operation: 12+26=38
Moving to Node #0,0,0
Current State: 47:[26, 49], Operations: ['97-36=61', '61-12=49']
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[61, 38], Operations: ['97-36=61', '12+26=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[36, 97, 38], Operations: ['12+26=38']
Exploring Operation: 97-38=59, Resulting Numbers: [36, 59]
Generated Node #0,1,0: 47:[36, 59] Operation: 97-38=59
Exploring Operation: 97-36=61, Resulting Numbers: [38, 61]
Generated Node #0,1,1: 47:[38, 61] Operation: 97-36=61
Moving to Node #0,1,0
Current State: 47:[36, 59], Operations: ['12+26=38', '97-38=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[38, 61], Operations: ['12+26=38', '97-36=61']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 38+61=99, Resulting Numbers: [99]
99,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
59,
12,
34,
4
] | 41 |
[
"59+12=71",
"34-4=30",
"71-30=41"
] |
Current State: 41:[59, 12, 34, 4], Operations: []
Exploring Operation: 59+12=71, Resulting Numbers: [34, 4, 71]
Generated Node #2: [34, 4, 71] from Operation: 59+12=71
Current State: 41:[34, 4, 71], Operations: ['59+12=71']
Exploring Operation: 34-4=30, Resulting Numbers: [71, 30]
Generated Node #3: [71, 30] from Operation: 34-4=30
Current State: 41:[71, 30], Operations: ['59+12=71', '34-4=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[59, 12, 34, 4], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [59, 34, 48]
Generated Node #0,0: 41:[59, 34, 48] Operation: 12*4=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[59, 34, 48], Operations: ['12*4=48']
Exploring Operation: 59-34=25, Resulting Numbers: [48, 25]
Generated Node #0,0,0: 41:[48, 25] Operation: 59-34=25
Moving to Node #0,0,0
Current State: 41:[48, 25], Operations: ['12*4=48', '59-34=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
74,
34,
3,
44
] | 16 |
[
"74+44=118",
"34*3=102",
"118-102=16"
] |
Current State: 16:[74, 34, 3, 44], Operations: []
Exploring Operation: 74+44=118, Resulting Numbers: [34, 3, 118]
Generated Node #2: [34, 3, 118] from Operation: 74+44=118
Current State: 16:[34, 3, 118], Operations: ['74+44=118']
Exploring Operation: 34*3=102, Resulting Numbers: [118, 102]
Generated Node #3: [118, 102] from Operation: 34*3=102
Current State: 16:[118, 102], Operations: ['74+44=118', '34*3=102']
Exploring Operation: 118-102=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[74, 34, 3, 44], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [3, 44, 40]
Generated Node #0,0: 16:[3, 44, 40] Operation: 74-34=40
Exploring Operation: 74-44=30, Resulting Numbers: [34, 3, 30]
Generated Node #0,1: 16:[34, 3, 30] Operation: 74-44=30
Moving to Node #0,1
Current State: 16:[34, 3, 30], Operations: ['74-44=30']
Exploring Operation: 34-30=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 16:[3, 4] Operation: 34-30=4
Exploring Operation: 30/3=10, Resulting Numbers: [34, 10]
Generated Node #0,1,1: 16:[34, 10] Operation: 30/3=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[3, 4], Operations: ['74-44=30', '34-30=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[34, 10], Operations: ['74-44=30', '30/3=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[3, 44, 40], Operations: ['74-34=40']
Exploring Operation: 44-40=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 16:[3, 4] Operation: 44-40=4
Exploring Operation: 44-3=41, Resulting Numbers: [40, 41]
Generated Node #0,0,1: 16:[40, 41] Operation: 44-3=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[3, 4], Operations: ['74-34=40', '44-40=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[40, 41], Operations: ['74-34=40', '44-3=41']
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,16 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
|
[
97,
51,
23,
1
] | 22 |
[
"97-51=46",
"23+1=24",
"46-24=22"
] |
Current State: 22:[97, 51, 23, 1], Operations: []
Exploring Operation: 97-51=46, Resulting Numbers: [23, 1, 46]
Generated Node #2: [23, 1, 46] from Operation: 97-51=46
Current State: 22:[23, 1, 46], Operations: ['97-51=46']
Exploring Operation: 23+1=24, Resulting Numbers: [46, 24]
Generated Node #3: [46, 24] from Operation: 23+1=24
Current State: 22:[46, 24], Operations: ['97-51=46', '23+1=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[97, 51, 23, 1], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [51, 1, 74]
Generated Node #0,0: 22:[51, 1, 74] Operation: 97-23=74
Exploring Operation: 51-23=28, Resulting Numbers: [97, 1, 28]
Generated Node #0,1: 22:[97, 1, 28] Operation: 51-23=28
Exploring Operation: 97-51=46, Resulting Numbers: [23, 1, 46]
Generated Node #0,2: 22:[23, 1, 46] Operation: 97-51=46
Moving to Node #0,2
Current State: 22:[23, 1, 46], Operations: ['97-51=46']
Exploring Operation: 23-1=22, Resulting Numbers: [46, 22]
Generated Node #0,2,0: 22:[46, 22] Operation: 23-1=22
Exploring Operation: 46/23=2, Resulting Numbers: [1, 2]
Generated Node #0,2,1: 22:[1, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [1, 23]
Generated Node #0,2,2: 22:[1, 23] Operation: 46-23=23
Moving to Node #0,0
Current State: 22:[51, 1, 74], Operations: ['97-23=74']
Exploring Operation: 74-51=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 22:[1, 23] Operation: 74-51=23
Exploring Operation: 51-1=50, Resulting Numbers: [74, 50]
Generated Node #0,0,1: 22:[74, 50] Operation: 51-1=50
Exploring Operation: 74-1=73, Resulting Numbers: [51, 73]
Generated Node #0,0,2: 22:[51, 73] Operation: 74-1=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[1, 23], Operations: ['97-23=74', '74-51=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[97, 51, 23, 1], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [51, 1, 74]
Generated Node #0,0: 22:[51, 1, 74] Operation: 97-23=74
Moving to Node #0,0
Current State: 22:[51, 1, 74], Operations: ['97-23=74']
Exploring Operation: 74-51=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 22:[1, 23] Operation: 74-51=23
Moving to Node #0,0,0
Current State: 22:[1, 23], Operations: ['97-23=74', '74-51=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
22,
98,
11,
27
] | 38 |
[
"98-22=76",
"11+27=38",
"76-38=38"
] |
Current State: 38:[22, 98, 11, 27], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [11, 27, 76]
Generated Node #2: [11, 27, 76] from Operation: 98-22=76
Current State: 38:[11, 27, 76], Operations: ['98-22=76']
Exploring Operation: 11+27=38, Resulting Numbers: [76, 38]
Generated Node #3: [76, 38] from Operation: 11+27=38
Current State: 38:[76, 38], Operations: ['98-22=76', '11+27=38']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[22, 98, 11, 27], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [22, 11, 71]
Generated Node #0,0: 38:[22, 11, 71] Operation: 98-27=71
Exploring Operation: 98-22=76, Resulting Numbers: [11, 27, 76]
Generated Node #0,1: 38:[11, 27, 76] Operation: 98-22=76
Exploring Operation: 11+27=38, Resulting Numbers: [22, 98, 38]
Generated Node #0,2: 38:[22, 98, 38] Operation: 11+27=38
Exploring Operation: 98-11=87, Resulting Numbers: [22, 27, 87]
Generated Node #0,3: 38:[22, 27, 87] Operation: 98-11=87
Exploring Operation: 27-11=16, Resulting Numbers: [22, 98, 16]
Generated Node #0,4: 38:[22, 98, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[22, 11, 71], Operations: ['98-27=71']
Exploring Operation: 22-11=11, Resulting Numbers: [71, 11]
Generated Node #0,0,0: 38:[71, 11] Operation: 22-11=11
Exploring Operation: 71-22=49, Resulting Numbers: [11, 49]
Generated Node #0,0,1: 38:[11, 49] Operation: 71-22=49
Exploring Operation: 71-11=60, Resulting Numbers: [22, 60]
Generated Node #0,0,2: 38:[22, 60] Operation: 71-11=60
Exploring Operation: 22+11=33, Resulting Numbers: [71, 33]
Generated Node #0,0,3: 38:[71, 33] Operation: 22+11=33
Exploring Operation: 22/11=2, Resulting Numbers: [71, 2]
Generated Node #0,0,4: 38:[71, 2] Operation: 22/11=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[11, 49], Operations: ['98-27=71', '71-22=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,38 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[22, 98, 11, 27], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [22, 11, 71]
Generated Node #0,0: 38:[22, 11, 71] Operation: 98-27=71
Moving to Node #0,0
Current State: 38:[22, 11, 71], Operations: ['98-27=71']
Exploring Operation: 71-22=49, Resulting Numbers: [11, 49]
Generated Node #0,0,1: 38:[11, 49] Operation: 71-22=49
Moving to Node #0,0,1
Current State: 38:[11, 49], Operations: ['98-27=71', '71-22=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
76,
9,
78,
44
] | 13 |
[
"78-76=2",
"44/2=22",
"22-9=13"
] |
Current State: 13:[76, 9, 78, 44], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [9, 44, 2]
Generated Node #2: [9, 44, 2] from Operation: 78-76=2
Current State: 13:[9, 44, 2], Operations: ['78-76=2']
Exploring Operation: 44/2=22, Resulting Numbers: [9, 22]
Generated Node #3: [9, 22] from Operation: 44/2=22
Current State: 13:[9, 22], Operations: ['78-76=2', '44/2=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[76, 9, 78, 44], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [9, 78, 32]
Generated Node #0,0: 13:[9, 78, 32] Operation: 76-44=32
Exploring Operation: 78-76=2, Resulting Numbers: [9, 44, 2]
Generated Node #0,1: 13:[9, 44, 2] Operation: 78-76=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[9, 44, 2], Operations: ['78-76=2']
Exploring Operation: 44-9=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 13:[2, 35] Operation: 44-9=35
Exploring Operation: 44/2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 13:[9, 22] Operation: 44/2=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[9, 22], Operations: ['78-76=2', '44/2=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[76, 9, 78, 44], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [9, 44, 2]
Generated Node #0,1: 13:[9, 44, 2] Operation: 78-76=2
Moving to Node #0,1
Current State: 13:[9, 44, 2], Operations: ['78-76=2']
Exploring Operation: 44/2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 13:[9, 22] Operation: 44/2=22
Moving to Node #0,1,1
Current State: 13:[9, 22], Operations: ['78-76=2', '44/2=22']
Exploring Operation: 22-9=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
|
sum_heuristic
|
[
23,
46,
17,
34
] | 67 |
[
"23+46=69",
"34/17=2",
"69-2=67"
] |
Current State: 67:[23, 46, 17, 34], Operations: []
Exploring Operation: 23+46=69, Resulting Numbers: [17, 34, 69]
Generated Node #2: [17, 34, 69] from Operation: 23+46=69
Current State: 67:[17, 34, 69], Operations: ['23+46=69']
Exploring Operation: 34/17=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 34/17=2
Current State: 67:[69, 2], Operations: ['23+46=69', '34/17=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[23, 46, 17, 34], Operations: []
Exploring Operation: 23+34=57, Resulting Numbers: [46, 17, 57]
Generated Node #0,0: 67:[46, 17, 57] Operation: 23+34=57
Exploring Operation: 23+17=40, Resulting Numbers: [46, 34, 40]
Generated Node #0,1: 67:[46, 34, 40] Operation: 23+17=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[46, 17, 57], Operations: ['23+34=57']
Exploring Operation: 17+57=74, Resulting Numbers: [46, 74]
Generated Node #0,0,0: 67:[46, 74] Operation: 17+57=74
Exploring Operation: 46+17=63, Resulting Numbers: [57, 63]
Generated Node #0,0,1: 67:[57, 63] Operation: 46+17=63
Moving to Node #0,0,1
Current State: 67:[57, 63], Operations: ['23+34=57', '46+17=63']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[46, 74], Operations: ['23+34=57', '17+57=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[46, 34, 40], Operations: ['23+17=40']
Exploring Operation: 34+40=74, Resulting Numbers: [46, 74]
Generated Node #0,1,0: 67:[46, 74] Operation: 34+40=74
Exploring Operation: 46+34=80, Resulting Numbers: [40, 80]
Generated Node #0,1,1: 67:[40, 80] Operation: 46+34=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[46, 74], Operations: ['23+17=40', '34+40=74']
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,67 unequal: No Solution
No 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: 67:[40, 80], Operations: ['23+17=40', '46+34=80']
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
35,
21,
38,
34
] | 41 |
[
"38-35=3",
"21/3=7",
"34+7=41"
] |
Current State: 41:[35, 21, 38, 34], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [21, 34, 3]
Generated Node #2: [21, 34, 3] from Operation: 38-35=3
Current State: 41:[21, 34, 3], Operations: ['38-35=3']
Exploring Operation: 21/3=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 21/3=7
Current State: 41:[34, 7], Operations: ['38-35=3', '21/3=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[35, 21, 38, 34], Operations: []
Exploring Operation: 21+34=55, Resulting Numbers: [35, 38, 55]
Generated Node #0,0: 41:[35, 38, 55] Operation: 21+34=55
Exploring Operation: 35+21=56, Resulting Numbers: [38, 34, 56]
Generated Node #0,1: 41:[38, 34, 56] Operation: 35+21=56
Moving to Node #0,0
Current State: 41:[35, 38, 55], Operations: ['21+34=55']
Exploring Operation: 55-35=20, Resulting Numbers: [38, 20]
Generated Node #0,0,0: 41:[38, 20] Operation: 55-35=20
Exploring Operation: 55-38=17, Resulting Numbers: [35, 17]
Generated Node #0,0,1: 41:[35, 17] Operation: 55-38=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[38, 20], Operations: ['21+34=55', '55-35=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[35, 17], Operations: ['21+34=55', '55-38=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,41 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: 41:[38, 34, 56], Operations: ['35+21=56']
Exploring Operation: 56-38=18, Resulting Numbers: [34, 18]
Generated Node #0,1,0: 41:[34, 18] Operation: 56-38=18
Exploring Operation: 56-34=22, Resulting Numbers: [38, 22]
Generated Node #0,1,1: 41:[38, 22] Operation: 56-34=22
Moving to Node #0,1,1
Current State: 41:[38, 22], Operations: ['35+21=56', '56-34=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[34, 18], Operations: ['35+21=56', '56-38=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
28,
4,
10,
91
] | 77 |
[
"28-4=24",
"10+91=101",
"101-24=77"
] |
Current State: 77:[28, 4, 10, 91], Operations: []
Exploring Operation: 28-4=24, Resulting Numbers: [10, 91, 24]
Generated Node #2: [10, 91, 24] from Operation: 28-4=24
Current State: 77:[10, 91, 24], Operations: ['28-4=24']
Exploring Operation: 10+91=101, Resulting Numbers: [24, 101]
Generated Node #3: [24, 101] from Operation: 10+91=101
Current State: 77:[24, 101], Operations: ['28-4=24', '10+91=101']
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[28, 4, 10, 91], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [4, 91, 18]
Generated Node #0,0: 77:[4, 91, 18] Operation: 28-10=18
Exploring Operation: 91-10=81, Resulting Numbers: [28, 4, 81]
Generated Node #0,1: 77:[28, 4, 81] Operation: 91-10=81
Exploring Operation: 91-28=63, Resulting Numbers: [4, 10, 63]
Generated Node #0,2: 77:[4, 10, 63] Operation: 91-28=63
Exploring Operation: 28/4=7, Resulting Numbers: [10, 91, 7]
Generated Node #0,3: 77:[10, 91, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[10, 91, 7], Operations: ['28/4=7']
Exploring Operation: 91/7=13, Resulting Numbers: [10, 13]
Generated Node #0,3,0: 77:[10, 13] Operation: 91/7=13
Exploring Operation: 91-10=81, Resulting Numbers: [7, 81]
Generated Node #0,3,1: 77:[7, 81] Operation: 91-10=81
Exploring Operation: 91-7=84, Resulting Numbers: [10, 84]
Generated Node #0,3,2: 77:[10, 84] Operation: 91-7=84
Exploring Operation: 10-7=3, Resulting Numbers: [91, 3]
Generated Node #0,3,3: 77:[91, 3] Operation: 10-7=3
Moving to Node #0,3,0
Current State: 77:[10, 13], Operations: ['28/4=7', '91/7=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,77 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[7, 81], Operations: ['28/4=7', '91-10=81']
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,77 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[10, 84], Operations: ['28/4=7', '91-7=84']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,77 unequal: No Solution
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[91, 3], Operations: ['28/4=7', '10-7=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,77 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[4, 10, 63], Operations: ['91-28=63']
Exploring Operation: 10-4=6, Resulting Numbers: [63, 6]
Generated Node #0,2,0: 77:[63, 6] Operation: 10-4=6
Exploring Operation: 4+63=67, Resulting Numbers: [10, 67]
Generated Node #0,2,1: 77:[10, 67] Operation: 4+63=67
Exploring Operation: 10+63=73, Resulting Numbers: [4, 73]
Generated Node #0,2,2: 77:[4, 73] Operation: 10+63=73
Exploring Operation: 4+10=14, Resulting Numbers: [63, 14]
Generated Node #0,2,3: 77:[63, 14] Operation: 4+10=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[4, 73], Operations: ['91-28=63', '10+63=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,77 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[28, 4, 10, 91], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [4, 10, 63]
Generated Node #0,2: 77:[4, 10, 63] Operation: 91-28=63
Moving to Node #0,2
Current State: 77:[4, 10, 63], Operations: ['91-28=63']
Exploring Operation: 10+63=73, Resulting Numbers: [4, 73]
Generated Node #0,2,2: 77:[4, 73] Operation: 10+63=73
Moving to Node #0,2,2
Current State: 77:[4, 73], Operations: ['91-28=63', '10+63=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 |
hs_4
|
mult_heuristic
|
[
40,
61,
73,
72
] | 20 |
[
"61-40=21",
"73-72=1",
"21-1=20"
] |
Current State: 20:[40, 61, 73, 72], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [73, 72, 21]
Generated Node #2: [73, 72, 21] from Operation: 61-40=21
Current State: 20:[73, 72, 21], Operations: ['61-40=21']
Exploring Operation: 73-72=1, Resulting Numbers: [21, 1]
Generated Node #3: [21, 1] from Operation: 73-72=1
Current State: 20:[21, 1], Operations: ['61-40=21', '73-72=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[40, 61, 73, 72], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [40, 72, 12]
Generated Node #0,0: 20:[40, 72, 12] Operation: 73-61=12
Exploring Operation: 73-72=1, Resulting Numbers: [40, 61, 1]
Generated Node #0,1: 20:[40, 61, 1] Operation: 73-72=1
Exploring Operation: 72-61=11, Resulting Numbers: [40, 73, 11]
Generated Node #0,2: 20:[40, 73, 11] Operation: 72-61=11
Exploring Operation: 61-40=21, Resulting Numbers: [73, 72, 21]
Generated Node #0,3: 20:[73, 72, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 20:[40, 61, 1], Operations: ['73-72=1']
Exploring Operation: 61-40=21, Resulting Numbers: [1, 21]
Generated Node #0,1,0: 20:[1, 21] Operation: 61-40=21
Exploring Operation: 40-1=39, Resulting Numbers: [61, 39]
Generated Node #0,1,1: 20:[61, 39] Operation: 40-1=39
Exploring Operation: 40*1=40, Resulting Numbers: [61, 40]
Generated Node #0,1,2: 20:[61, 40] Operation: 40*1=40
Exploring Operation: 61-1=60, Resulting Numbers: [40, 60]
Generated Node #0,1,3: 20:[40, 60] Operation: 61-1=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[1, 21], Operations: ['73-72=1', '61-40=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[40, 61, 73, 72], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [40, 61, 1]
Generated Node #0,1: 20:[40, 61, 1] Operation: 73-72=1
Moving to Node #0,1
Current State: 20:[40, 61, 1], Operations: ['73-72=1']
Exploring Operation: 61-40=21, Resulting Numbers: [1, 21]
Generated Node #0,1,0: 20:[1, 21] Operation: 61-40=21
Moving to Node #0,1,0
Current State: 20:[1, 21], Operations: ['73-72=1', '61-40=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
20,
31,
29,
11
] | 62 |
[
"29-20=9",
"11-9=2",
"31*2=62"
] |
Current State: 62:[20, 31, 29, 11], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [31, 11, 9]
Generated Node #2: [31, 11, 9] from Operation: 29-20=9
Current State: 62:[31, 11, 9], Operations: ['29-20=9']
Exploring Operation: 11-9=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 11-9=2
Current State: 62:[31, 2], Operations: ['29-20=9', '11-9=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[20, 31, 29, 11], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [31, 29, 9]
Generated Node #0,0: 62:[31, 29, 9] Operation: 20-11=9
Exploring Operation: 20+11=31, Resulting Numbers: [31, 29, 31]
Generated Node #0,1: 62:[31, 29, 31] Operation: 20+11=31
Moving to Node #0,1
Current State: 62:[31, 29, 31], Operations: ['20+11=31']
Exploring Operation: 31-29=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 62:[31, 2] Operation: 31-29=2
Exploring Operation: 31-29=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 62:[31, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[31, 2], Operations: ['20+11=31', '31-29=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[20, 31, 29, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [31, 29, 31]
Generated Node #0,1: 62:[31, 29, 31] Operation: 20+11=31
Moving to Node #0,1
Current State: 62:[31, 29, 31], Operations: ['20+11=31']
Exploring Operation: 31-29=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 62:[31, 2] Operation: 31-29=2
Moving to Node #0,1,0
Current State: 62:[31, 2], Operations: ['20+11=31', '31-29=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
13,
68,
90,
25
] | 39 |
[
"90-68=22",
"25-22=3",
"13*3=39"
] |
Current State: 39:[13, 68, 90, 25], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [13, 25, 22]
Generated Node #2: [13, 25, 22] from Operation: 90-68=22
Current State: 39:[13, 25, 22], Operations: ['90-68=22']
Exploring Operation: 25-22=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 25-22=3
Current State: 39:[13, 3], Operations: ['90-68=22', '25-22=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[13, 68, 90, 25], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [13, 90, 43]
Generated Node #0,0: 39:[13, 90, 43] Operation: 68-25=43
Exploring Operation: 90-25=65, Resulting Numbers: [13, 68, 65]
Generated Node #0,1: 39:[13, 68, 65] Operation: 90-25=65
Exploring Operation: 90-68=22, Resulting Numbers: [13, 25, 22]
Generated Node #0,2: 39:[13, 25, 22] Operation: 90-68=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[13, 25, 22], Operations: ['90-68=22']
Exploring Operation: 25-22=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 39:[13, 3] Operation: 25-22=3
Exploring Operation: 13+25=38, Resulting Numbers: [22, 38]
Generated Node #0,2,1: 39:[22, 38] Operation: 13+25=38
Exploring Operation: 25+22=47, Resulting Numbers: [13, 47]
Generated Node #0,2,2: 39:[13, 47] Operation: 25+22=47
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[13, 3], Operations: ['90-68=22', '25-22=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[13, 68, 90, 25], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [13, 25, 22]
Generated Node #0,2: 39:[13, 25, 22] Operation: 90-68=22
Moving to Node #0,2
Current State: 39:[13, 25, 22], Operations: ['90-68=22']
Exploring Operation: 25-22=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 39:[13, 3] Operation: 25-22=3
Moving to Node #0,2,0
Current State: 39:[13, 3], Operations: ['90-68=22', '25-22=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
35,
2,
86,
10
] | 24 |
[
"86-2=84",
"10*84=840",
"840/35=24"
] |
Current State: 24:[35, 2, 86, 10], Operations: []
Exploring Operation: 86-2=84, Resulting Numbers: [35, 10, 84]
Generated Node #2: [35, 10, 84] from Operation: 86-2=84
Current State: 24:[35, 10, 84], Operations: ['86-2=84']
Exploring Operation: 10*84=840, Resulting Numbers: [35, 840]
Generated Node #3: [35, 840] from Operation: 10*84=840
Current State: 24:[35, 840], Operations: ['86-2=84', '10*84=840']
Exploring Operation: 840/35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[35, 2, 86, 10], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [2, 10, 51]
Generated Node #0,0: 24:[2, 10, 51] Operation: 86-35=51
Moving to Node #0,0
Current State: 24:[2, 10, 51], Operations: ['86-35=51']
Exploring Operation: 51-10=41, Resulting Numbers: [2, 41]
Generated Node #0,0,0: 24:[2, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[2, 41], Operations: ['86-35=51', '51-10=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
8,
22,
58,
51
] | 37 |
[
"8+22=30",
"58-51=7",
"30+7=37"
] |
Current State: 37:[8, 22, 58, 51], Operations: []
Exploring Operation: 8+22=30, Resulting Numbers: [58, 51, 30]
Generated Node #2: [58, 51, 30] from Operation: 8+22=30
Current State: 37:[58, 51, 30], Operations: ['8+22=30']
Exploring Operation: 58-51=7, Resulting Numbers: [30, 7]
Generated Node #3: [30, 7] from Operation: 58-51=7
Current State: 37:[30, 7], Operations: ['8+22=30', '58-51=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[8, 22, 58, 51], Operations: []
Exploring Operation: 8+22=30, Resulting Numbers: [58, 51, 30]
Generated Node #0,0: 37:[58, 51, 30] Operation: 8+22=30
Exploring Operation: 58-8=50, Resulting Numbers: [22, 51, 50]
Generated Node #0,1: 37:[22, 51, 50] Operation: 58-8=50
Exploring Operation: 51-8=43, Resulting Numbers: [22, 58, 43]
Generated Node #0,2: 37:[22, 58, 43] Operation: 51-8=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[58, 51, 30], Operations: ['8+22=30']
Exploring Operation: 58-30=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 37:[51, 28] Operation: 58-30=28
Exploring Operation: 58-51=7, Resulting Numbers: [30, 7]
Generated Node #0,0,1: 37:[30, 7] Operation: 58-51=7
Exploring Operation: 51-30=21, Resulting Numbers: [58, 21]
Generated Node #0,0,2: 37:[58, 21] Operation: 51-30=21
Moving to Node #0,0,0
Current State: 37:[51, 28], Operations: ['8+22=30', '58-30=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,37 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[30, 7], Operations: ['8+22=30', '58-51=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,37 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[8, 22, 58, 51], Operations: []
Exploring Operation: 8+22=30, Resulting Numbers: [58, 51, 30]
Generated Node #0,0: 37:[58, 51, 30] Operation: 8+22=30
Moving to Node #0,0
Current State: 37:[58, 51, 30], Operations: ['8+22=30']
Exploring Operation: 58-51=7, Resulting Numbers: [30, 7]
Generated Node #0,0,1: 37:[30, 7] Operation: 58-51=7
Moving to Node #0,0,1
Current State: 37:[30, 7], Operations: ['8+22=30', '58-51=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
mult_heuristic
|
[
10,
65,
60,
20
] | 15 |
[
"65-10=55",
"60-20=40",
"55-40=15"
] |
Current State: 15:[10, 65, 60, 20], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [60, 20, 55]
Generated Node #2: [60, 20, 55] from Operation: 65-10=55
Current State: 15:[60, 20, 55], Operations: ['65-10=55']
Exploring Operation: 60-20=40, Resulting Numbers: [55, 40]
Generated Node #3: [55, 40] from Operation: 60-20=40
Current State: 15:[55, 40], Operations: ['65-10=55', '60-20=40']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[10, 65, 60, 20], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [10, 65, 3]
Generated Node #0,0: 15:[10, 65, 3] Operation: 60/20=3
Exploring Operation: 60/10=6, Resulting Numbers: [65, 20, 6]
Generated Node #0,1: 15:[65, 20, 6] Operation: 60/10=6
Exploring Operation: 65-60=5, Resulting Numbers: [10, 20, 5]
Generated Node #0,2: 15:[10, 20, 5] Operation: 65-60=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[10, 20, 5], Operations: ['65-60=5']
Exploring Operation: 20/10=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 15:[5, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 15:[5, 10] Operation: 20-10=10
Exploring Operation: 10+5=15, Resulting Numbers: [20, 15]
Generated Node #0,2,2: 15:[20, 15] Operation: 10+5=15
Moving to Node #0,2,0
Current State: 15:[5, 2], Operations: ['65-60=5', '20/10=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[5, 10], Operations: ['65-60=5', '20-10=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[10, 65, 60, 20], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [10, 20, 5]
Generated Node #0,2: 15:[10, 20, 5] Operation: 65-60=5
Moving to Node #0,2
Current State: 15:[10, 20, 5], Operations: ['65-60=5']
Exploring Operation: 20-10=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 15:[5, 10] Operation: 20-10=10
Moving to Node #0,2,1
Current State: 15:[5, 10], Operations: ['65-60=5', '20-10=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
83,
16,
15,
6
] | 11 |
[
"83+16=99",
"15-6=9",
"99/9=11"
] |
Current State: 11:[83, 16, 15, 6], Operations: []
Exploring Operation: 83+16=99, Resulting Numbers: [15, 6, 99]
Generated Node #2: [15, 6, 99] from Operation: 83+16=99
Current State: 11:[15, 6, 99], Operations: ['83+16=99']
Exploring Operation: 15-6=9, Resulting Numbers: [99, 9]
Generated Node #3: [99, 9] from Operation: 15-6=9
Current State: 11:[99, 9], Operations: ['83+16=99', '15-6=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[83, 16, 15, 6], Operations: []
Exploring Operation: 83-16=67, Resulting Numbers: [15, 6, 67]
Generated Node #0,0: 11:[15, 6, 67] Operation: 83-16=67
Moving to Node #0,0
Current State: 11:[15, 6, 67], Operations: ['83-16=67']
Exploring Operation: 67-15=52, Resulting Numbers: [6, 52]
Generated Node #0,0,0: 11:[6, 52] Operation: 67-15=52
Moving to Node #0,0,0
Current State: 11:[6, 52], Operations: ['83-16=67', '67-15=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,11 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
38,
49,
49,
57
] | 94 |
[
"38+57=95",
"49/49=1",
"95-1=94"
] |
Current State: 94:[38, 49, 49, 57], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [49, 49, 95]
Generated Node #2: [49, 49, 95] from Operation: 38+57=95
Current State: 94:[49, 49, 95], Operations: ['38+57=95']
Exploring Operation: 49/49=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 49/49=1
Current State: 94:[95, 1], Operations: ['38+57=95', '49/49=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[38, 49, 49, 57], Operations: []
Exploring Operation: 38+49=87, Resulting Numbers: [49, 57, 87]
Generated Node #0,0: 94:[49, 57, 87] Operation: 38+49=87
Exploring Operation: 38+49=87, Resulting Numbers: [49, 57, 87]
Generated Node #0,1: 94:[49, 57, 87] Operation: 38+49=87
Exploring Operation: 38+57=95, Resulting Numbers: [49, 49, 95]
Generated Node #0,2: 94:[49, 49, 95] Operation: 38+57=95
Exploring Operation: 57-49=8, Resulting Numbers: [38, 49, 8]
Generated Node #0,3: 94:[38, 49, 8] Operation: 57-49=8
Exploring Operation: 57-49=8, Resulting Numbers: [38, 49, 8]
Generated Node #0,4: 94:[38, 49, 8] Operation: 57-49=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[49, 49, 95], Operations: ['38+57=95']
Exploring Operation: 49/49=1, Resulting Numbers: [95, 1]
Generated Node #0,2,0: 94:[95, 1] Operation: 49/49=1
Exploring Operation: 95-49=46, Resulting Numbers: [49, 46]
Generated Node #0,2,1: 94:[49, 46] Operation: 95-49=46
Exploring Operation: 49-49=0, Resulting Numbers: [95, 0]
Generated Node #0,2,2: 94:[95, 0] Operation: 49-49=0
Exploring Operation: 49+49=98, Resulting Numbers: [95, 98]
Generated Node #0,2,3: 94:[95, 98] Operation: 49+49=98
Exploring Operation: 95-49=46, Resulting Numbers: [49, 46]
Generated Node #0,2,4: 94:[49, 46] Operation: 95-49=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[95, 1], Operations: ['38+57=95', '49/49=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[38, 49, 49, 57], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [49, 49, 95]
Generated Node #0,2: 94:[49, 49, 95] Operation: 38+57=95
Moving to Node #0,2
Current State: 94:[49, 49, 95], Operations: ['38+57=95']
Exploring Operation: 49/49=1, Resulting Numbers: [95, 1]
Generated Node #0,2,0: 94:[95, 1] Operation: 49/49=1
Moving to Node #0,2,0
Current State: 94:[95, 1], Operations: ['38+57=95', '49/49=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
sum_heuristic
|
[
85,
62,
37,
70
] | 10 |
[
"85-62=23",
"70-37=33",
"33-23=10"
] |
Current State: 10:[85, 62, 37, 70], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [37, 70, 23]
Generated Node #2: [37, 70, 23] from Operation: 85-62=23
Current State: 10:[37, 70, 23], Operations: ['85-62=23']
Exploring Operation: 70-37=33, Resulting Numbers: [23, 33]
Generated Node #3: [23, 33] from Operation: 70-37=33
Current State: 10:[23, 33], Operations: ['85-62=23', '70-37=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[85, 62, 37, 70], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [62, 70, 48]
Generated Node #0,0: 10:[62, 70, 48] Operation: 85-37=48
Exploring Operation: 85-62=23, Resulting Numbers: [37, 70, 23]
Generated Node #0,1: 10:[37, 70, 23] Operation: 85-62=23
Exploring Operation: 70-62=8, Resulting Numbers: [85, 37, 8]
Generated Node #0,2: 10:[85, 37, 8] Operation: 70-62=8
Exploring Operation: 85-70=15, Resulting Numbers: [62, 37, 15]
Generated Node #0,3: 10:[62, 37, 15] Operation: 85-70=15
Moving to Node #0,3
Current State: 10:[62, 37, 15], Operations: ['85-70=15']
Exploring Operation: 62-37=25, Resulting Numbers: [15, 25]
Generated Node #0,3,0: 10:[15, 25] Operation: 62-37=25
Exploring Operation: 62+37=99, Resulting Numbers: [15, 99]
Generated Node #0,3,1: 10:[15, 99] Operation: 62+37=99
Exploring Operation: 37-15=22, Resulting Numbers: [62, 22]
Generated Node #0,3,2: 10:[62, 22] Operation: 37-15=22
Exploring Operation: 62-15=47, Resulting Numbers: [37, 47]
Generated Node #0,3,3: 10:[37, 47] Operation: 62-15=47
Moving to Node #0,1
Current State: 10:[37, 70, 23], Operations: ['85-62=23']
Exploring Operation: 70-23=47, Resulting Numbers: [37, 47]
Generated Node #0,1,0: 10:[37, 47] Operation: 70-23=47
Exploring Operation: 37+70=107, Resulting Numbers: [23, 107]
Generated Node #0,1,1: 10:[23, 107] Operation: 37+70=107
Exploring Operation: 70-37=33, Resulting Numbers: [23, 33]
Generated Node #0,1,2: 10:[23, 33] Operation: 70-37=33
Exploring Operation: 37-23=14, Resulting Numbers: [70, 14]
Generated Node #0,1,3: 10:[70, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[23, 33], Operations: ['85-62=23', '70-37=33']
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,10 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[85, 62, 37, 70], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [37, 70, 23]
Generated Node #0,1: 10:[37, 70, 23] Operation: 85-62=23
Moving to Node #0,1
Current State: 10:[37, 70, 23], Operations: ['85-62=23']
Exploring Operation: 70-37=33, Resulting Numbers: [23, 33]
Generated Node #0,1,2: 10:[23, 33] Operation: 70-37=33
Moving to Node #0,1,2
Current State: 10:[23, 33], Operations: ['85-62=23', '70-37=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
mult_heuristic
|
[
64,
6,
59,
56
] | 46 |
[
"59-56=3",
"6*3=18",
"64-18=46"
] |
Current State: 46:[64, 6, 59, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [64, 6, 3]
Generated Node #2: [64, 6, 3] from Operation: 59-56=3
Current State: 46:[64, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6*3=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 6*3=18
Current State: 46:[64, 18], Operations: ['59-56=3', '6*3=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[64, 6, 59, 56], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [64, 56, 53]
Generated Node #0,0: 46:[64, 56, 53] Operation: 59-6=53
Exploring Operation: 64-59=5, Resulting Numbers: [6, 56, 5]
Generated Node #0,1: 46:[6, 56, 5] Operation: 64-59=5
Exploring Operation: 64-6=58, Resulting Numbers: [59, 56, 58]
Generated Node #0,2: 46:[59, 56, 58] Operation: 64-6=58
Exploring Operation: 59-56=3, Resulting Numbers: [64, 6, 3]
Generated Node #0,3: 46:[64, 6, 3] Operation: 59-56=3
Exploring Operation: 64-56=8, Resulting Numbers: [6, 59, 8]
Generated Node #0,4: 46:[6, 59, 8] Operation: 64-56=8
Moving to Node #0,1
Current State: 46:[6, 56, 5], Operations: ['64-59=5']
Exploring Operation: 6+56=62, Resulting Numbers: [5, 62]
Generated Node #0,1,0: 46:[5, 62] Operation: 6+56=62
Exploring Operation: 6*5=30, Resulting Numbers: [56, 30]
Generated Node #0,1,1: 46:[56, 30] Operation: 6*5=30
Exploring Operation: 56-5=51, Resulting Numbers: [6, 51]
Generated Node #0,1,2: 46:[6, 51] Operation: 56-5=51
Exploring Operation: 6-5=1, Resulting Numbers: [56, 1]
Generated Node #0,1,3: 46:[56, 1] Operation: 6-5=1
Exploring Operation: 56-6=50, Resulting Numbers: [5, 50]
Generated Node #0,1,4: 46:[5, 50] Operation: 56-6=50
Moving to Node #0,4
Current State: 46:[6, 59, 8], Operations: ['64-56=8']
Exploring Operation: 6+8=14, Resulting Numbers: [59, 14]
Generated Node #0,4,0: 46:[59, 14] Operation: 6+8=14
Exploring Operation: 59-8=51, Resulting Numbers: [6, 51]
Generated Node #0,4,1: 46:[6, 51] Operation: 59-8=51
Exploring Operation: 59-6=53, Resulting Numbers: [8, 53]
Generated Node #0,4,2: 46:[8, 53] Operation: 59-6=53
Exploring Operation: 6*8=48, Resulting Numbers: [59, 48]
Generated Node #0,4,3: 46:[59, 48] Operation: 6*8=48
Exploring Operation: 8-6=2, Resulting Numbers: [59, 2]
Generated Node #0,4,4: 46:[59, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 46:[6, 51], Operations: ['64-56=8', '59-8=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,46 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,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,4,2
Current State: 46:[8, 53], Operations: ['64-56=8', '59-6=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,46 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,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,4,4
Current State: 46:[59, 2], Operations: ['64-56=8', '8-6=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,46 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,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,4,3
Current State: 46:[59, 48], Operations: ['64-56=8', '6*8=48']
Exploring Operation: 59*48=2832, Resulting Numbers: [2832]
2832,46 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 59+48=107, Resulting Numbers: [107]
107,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,4,0
Current State: 46:[59, 14], Operations: ['64-56=8', '6+8=14']
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,46 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,46 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: 46:[64, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6-3=3, Resulting Numbers: [64, 3]
Generated Node #0,3,0: 46:[64, 3] Operation: 6-3=3
Exploring Operation: 64-3=61, Resulting Numbers: [6, 61]
Generated Node #0,3,1: 46:[6, 61] Operation: 64-3=61
Exploring Operation: 6*3=18, Resulting Numbers: [64, 18]
Generated Node #0,3,2: 46:[64, 18] Operation: 6*3=18
Exploring Operation: 6/3=2, Resulting Numbers: [64, 2]
Generated Node #0,3,3: 46:[64, 2] Operation: 6/3=2
Exploring Operation: 64-6=58, Resulting Numbers: [3, 58]
Generated Node #0,3,4: 46:[3, 58] Operation: 64-6=58
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[3, 58], Operations: ['59-56=3', '64-6=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,46 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,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,3,3
Current State: 46:[64, 2], Operations: ['59-56=3', '6/3=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,46 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,46 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,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,3,0
Current State: 46:[64, 3], Operations: ['59-56=3', '6-3=3']
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,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,3,1
Current State: 46:[6, 61], Operations: ['59-56=3', '64-3=61']
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,46 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,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,3,2
Current State: 46:[64, 18], Operations: ['59-56=3', '6*3=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[64, 6, 59, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [64, 6, 3]
Generated Node #0,3: 46:[64, 6, 3] Operation: 59-56=3
Moving to Node #0,3
Current State: 46:[64, 6, 3], Operations: ['59-56=3']
Exploring Operation: 6*3=18, Resulting Numbers: [64, 18]
Generated Node #0,3,2: 46:[64, 18] Operation: 6*3=18
Moving to Node #0,3,2
Current State: 46:[64, 18], Operations: ['59-56=3', '6*3=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 |
hs_5
|
mult_heuristic
|
[
4,
2,
31,
61
] | 91 |
[
"4-2=2",
"61*2=122",
"122-31=91"
] |
Current State: 91:[4, 2, 31, 61], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [31, 61, 2]
Generated Node #2: [31, 61, 2] from Operation: 4-2=2
Current State: 91:[31, 61, 2], Operations: ['4-2=2']
Exploring Operation: 61*2=122, Resulting Numbers: [31, 122]
Generated Node #3: [31, 122] from Operation: 61*2=122
Current State: 91:[31, 122], Operations: ['4-2=2', '61*2=122']
Exploring Operation: 122-31=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[4, 2, 31, 61], Operations: []
Exploring Operation: 4+2=6, Resulting Numbers: [31, 61, 6]
Generated Node #0,0: 91:[31, 61, 6] Operation: 4+2=6
Exploring Operation: 61-31=30, Resulting Numbers: [4, 2, 30]
Generated Node #0,1: 91:[4, 2, 30] Operation: 61-31=30
Exploring Operation: 31+61=92, Resulting Numbers: [4, 2, 92]
Generated Node #0,2: 91:[4, 2, 92] Operation: 31+61=92
Moving to Node #0,2
Current State: 91:[4, 2, 92], Operations: ['31+61=92']
Exploring Operation: 92-2=90, Resulting Numbers: [4, 90]
Generated Node #0,2,0: 91:[4, 90] Operation: 92-2=90
Exploring Operation: 4+2=6, Resulting Numbers: [92, 6]
Generated Node #0,2,1: 91:[92, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [92, 8]
Generated Node #0,2,2: 91:[92, 8] Operation: 4*2=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[92, 6], Operations: ['31+61=92', '4+2=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,91 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[92, 8], Operations: ['31+61=92', '4*2=8']
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,91 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[4, 90], Operations: ['31+61=92', '92-2=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[4, 2, 30], Operations: ['61-31=30']
Exploring Operation: 4*2=8, Resulting Numbers: [30, 8]
Generated Node #0,1,0: 91:[30, 8] Operation: 4*2=8
Exploring Operation: 4+2=6, Resulting Numbers: [30, 6]
Generated Node #0,1,1: 91:[30, 6] Operation: 4+2=6
Exploring Operation: 30/2=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 91:[4, 15] Operation: 30/2=15
Moving to Node #0,0
Current State: 91:[31, 61, 6], Operations: ['4+2=6']
Exploring Operation: 31-6=25, Resulting Numbers: [61, 25]
Generated Node #0,0,0: 91:[61, 25] Operation: 31-6=25
Exploring Operation: 61-31=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 91:[6, 30] Operation: 61-31=30
Exploring Operation: 31+61=92, Resulting Numbers: [6, 92]
Generated Node #0,0,2: 91:[6, 92] Operation: 31+61=92
Moving to Node #0,0,2
Current State: 91:[6, 92], Operations: ['4+2=6', '31+61=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[4, 15], Operations: ['61-31=30', '30/2=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[30, 6], Operations: ['61-31=30', '4+2=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[6, 30], Operations: ['4+2=6', '61-31=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[30, 8], Operations: ['61-31=30', '4*2=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,91 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[61, 25], Operations: ['4+2=6', '31-6=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,91 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,91 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
26,
30,
68,
25
] | 62 |
[
"30-25=5",
"26*5=130",
"130-68=62"
] |
Current State: 62:[26, 30, 68, 25], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [26, 68, 5]
Generated Node #2: [26, 68, 5] from Operation: 30-25=5
Current State: 62:[26, 68, 5], Operations: ['30-25=5']
Exploring Operation: 26*5=130, Resulting Numbers: [68, 130]
Generated Node #3: [68, 130] from Operation: 26*5=130
Current State: 62:[68, 130], Operations: ['30-25=5', '26*5=130']
Exploring Operation: 130-68=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[26, 30, 68, 25], Operations: []
Exploring Operation: 26-25=1, Resulting Numbers: [30, 68, 1]
Generated Node #0,0: 62:[30, 68, 1] Operation: 26-25=1
Moving to Node #0,0
Current State: 62:[30, 68, 1], Operations: ['26-25=1']
Exploring Operation: 30+1=31, Resulting Numbers: [68, 31]
Generated Node #0,0,0: 62:[68, 31] Operation: 30+1=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[68, 31], Operations: ['26-25=1', '30+1=31']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
59,
3,
50,
6
] | 72 |
[
"59+3=62",
"62-50=12",
"6*12=72"
] |
Current State: 72:[59, 3, 50, 6], Operations: []
Exploring Operation: 59+3=62, Resulting Numbers: [50, 6, 62]
Generated Node #2: [50, 6, 62] from Operation: 59+3=62
Current State: 72:[50, 6, 62], Operations: ['59+3=62']
Exploring Operation: 62-50=12, Resulting Numbers: [6, 12]
Generated Node #3: [6, 12] from Operation: 62-50=12
Current State: 72:[6, 12], Operations: ['59+3=62', '62-50=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[59, 3, 50, 6], Operations: []
Exploring Operation: 59+6=65, Resulting Numbers: [3, 50, 65]
Generated Node #0,0: 72:[3, 50, 65] Operation: 59+6=65
Exploring Operation: 59-50=9, Resulting Numbers: [3, 6, 9]
Generated Node #0,1: 72:[3, 6, 9] Operation: 59-50=9
Exploring Operation: 50-6=44, Resulting Numbers: [59, 3, 44]
Generated Node #0,2: 72:[59, 3, 44] Operation: 50-6=44
Exploring Operation: 59+3=62, Resulting Numbers: [50, 6, 62]
Generated Node #0,3: 72:[50, 6, 62] Operation: 59+3=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[3, 6, 9], Operations: ['59-50=9']
Exploring Operation: 6/3=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 72:[9, 2] Operation: 6/3=2
Exploring Operation: 3*6=18, Resulting Numbers: [9, 18]
Generated Node #0,1,1: 72:[9, 18] Operation: 3*6=18
Exploring Operation: 6-3=3, Resulting Numbers: [9, 3]
Generated Node #0,1,2: 72:[9, 3] Operation: 6-3=3
Exploring Operation: 3+6=9, Resulting Numbers: [9, 9]
Generated Node #0,1,3: 72:[9, 9] Operation: 3+6=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[9, 2], Operations: ['59-50=9', '6/3=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
No 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: 72:[9, 18], Operations: ['59-50=9', '3*6=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,72 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,72 unequal: No Solution
No 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: 72:[9, 3], Operations: ['59-50=9', '6-3=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No 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: 72:[9, 9], Operations: ['59-50=9', '3+6=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,72 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: 72:[3, 50, 65], Operations: ['59+6=65']
Exploring Operation: 3+65=68, Resulting Numbers: [50, 68]
Generated Node #0,0,0: 72:[50, 68] Operation: 3+65=68
Exploring Operation: 3+50=53, Resulting Numbers: [65, 53]
Generated Node #0,0,1: 72:[65, 53] Operation: 3+50=53
Exploring Operation: 65-50=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 72:[3, 15] Operation: 65-50=15
Exploring Operation: 50-3=47, Resulting Numbers: [65, 47]
Generated Node #0,0,3: 72:[65, 47] Operation: 50-3=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[3, 15], Operations: ['59+6=65', '65-50=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No 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: 72:[50, 68], Operations: ['59+6=65', '3+65=68']
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,72 unequal: No Solution
No 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: 72:[65, 47], Operations: ['59+6=65', '50-3=47']
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,72 unequal: No Solution
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,72 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No 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: 72:[65, 53], Operations: ['59+6=65', '3+50=53']
Exploring Operation: 65*53=3445, Resulting Numbers: [3445]
3445,72 unequal: No Solution
Exploring Operation: 65+53=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,72 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: 72:[59, 3, 44], Operations: ['50-6=44']
Exploring Operation: 59+3=62, Resulting Numbers: [44, 62]
Generated Node #0,2,0: 72:[44, 62] Operation: 59+3=62
Exploring Operation: 59-44=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 72:[3, 15] Operation: 59-44=15
Exploring Operation: 59-3=56, Resulting Numbers: [44, 56]
Generated Node #0,2,2: 72:[44, 56] Operation: 59-3=56
Exploring Operation: 44-3=41, Resulting Numbers: [59, 41]
Generated Node #0,2,3: 72:[59, 41] Operation: 44-3=41
Moving to Node #0,2,1
Current State: 72:[3, 15], Operations: ['50-6=44', '59-44=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[59, 41], Operations: ['50-6=44', '44-3=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[44, 62], Operations: ['50-6=44', '59+3=62']
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,72 unequal: No Solution
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,72 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[44, 56], Operations: ['50-6=44', '59-3=56']
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,72 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No 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: 72:[50, 6, 62], Operations: ['59+3=62']
Exploring Operation: 6+62=68, Resulting Numbers: [50, 68]
Generated Node #0,3,0: 72:[50, 68] Operation: 6+62=68
Exploring Operation: 50-6=44, Resulting Numbers: [62, 44]
Generated Node #0,3,1: 72:[62, 44] Operation: 50-6=44
Exploring Operation: 62-50=12, Resulting Numbers: [6, 12]
Generated Node #0,3,2: 72:[6, 12] Operation: 62-50=12
Exploring Operation: 50+6=56, Resulting Numbers: [62, 56]
Generated Node #0,3,3: 72:[62, 56] Operation: 50+6=56
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[6, 12], Operations: ['59+3=62', '62-50=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[59, 3, 50, 6], Operations: []
Exploring Operation: 59+3=62, Resulting Numbers: [50, 6, 62]
Generated Node #0,3: 72:[50, 6, 62] Operation: 59+3=62
Moving to Node #0,3
Current State: 72:[50, 6, 62], Operations: ['59+3=62']
Exploring Operation: 62-50=12, Resulting Numbers: [6, 12]
Generated Node #0,3,2: 72:[6, 12] Operation: 62-50=12
Moving to Node #0,3,2
Current State: 72:[6, 12], Operations: ['59+3=62', '62-50=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940104 |
hs_4
|
sum_heuristic
|
[
7,
10,
10,
36
] | 22 |
[
"10-7=3",
"36/3=12",
"10+12=22"
] |
Current State: 22:[7, 10, 10, 36], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [36, 3]
Generated Node #2: [36, 3] from Operation: 10-7=3
Current State: 22:[36, 3], Operations: ['10-7=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,22 equal: Goal Reached
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[7, 10, 10, 36], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [10, 10, 29]
Generated Node #0,0: 22:[10, 10, 29] Operation: 36-7=29
Exploring Operation: 36-10=26, Resulting Numbers: [7, 10, 26]
Generated Node #0,1: 22:[7, 10, 26] Operation: 36-10=26
Exploring Operation: 36-10=26, Resulting Numbers: [7, 10, 26]
Generated Node #0,2: 22:[7, 10, 26] Operation: 36-10=26
Exploring Operation: 10-7=3, Resulting Numbers: [10, 36, 3]
Generated Node #0,3: 22:[10, 36, 3] Operation: 10-7=3
Moving to Node #0,0
Current State: 22:[10, 10, 29], Operations: ['36-7=29']
Exploring Operation: 10/10=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 22:[29, 1] Operation: 10/10=1
Exploring Operation: 29-10=19, Resulting Numbers: [10, 19]
Generated Node #0,0,1: 22:[10, 19] Operation: 29-10=19
Exploring Operation: 10+10=20, Resulting Numbers: [29, 20]
Generated Node #0,0,2: 22:[29, 20] Operation: 10+10=20
Exploring Operation: 29-10=19, Resulting Numbers: [10, 19]
Generated Node #0,0,3: 22:[10, 19] Operation: 29-10=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[10, 19], Operations: ['36-7=29', '29-10=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,22 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[10, 19], Operations: ['36-7=29', '29-10=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,22 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[29, 1], Operations: ['36-7=29', '10/10=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[29, 20], Operations: ['36-7=29', '10+10=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 22:[7, 10, 26], Operations: ['36-10=26']
Exploring Operation: 26-7=19, Resulting Numbers: [10, 19]
Generated Node #0,2,0: 22:[10, 19] Operation: 26-7=19
Exploring Operation: 26-10=16, Resulting Numbers: [7, 16]
Generated Node #0,2,1: 22:[7, 16] Operation: 26-10=16
Exploring Operation: 10-7=3, Resulting Numbers: [26, 3]
Generated Node #0,2,2: 22:[26, 3] Operation: 10-7=3
Exploring Operation: 7+10=17, Resulting Numbers: [26, 17]
Generated Node #0,2,3: 22:[26, 17] Operation: 7+10=17
Moving to Node #0,1
Current State: 22:[7, 10, 26], Operations: ['36-10=26']
Exploring Operation: 7+10=17, Resulting Numbers: [26, 17]
Generated Node #0,1,0: 22:[26, 17] Operation: 7+10=17
Exploring Operation: 26-10=16, Resulting Numbers: [7, 16]
Generated Node #0,1,1: 22:[7, 16] Operation: 26-10=16
Exploring Operation: 26-7=19, Resulting Numbers: [10, 19]
Generated Node #0,1,2: 22:[10, 19] Operation: 26-7=19
Exploring Operation: 10-7=3, Resulting Numbers: [26, 3]
Generated Node #0,1,3: 22:[26, 3] Operation: 10-7=3
Moving to Node #0,3
Current State: 22:[10, 36, 3], Operations: ['10-7=3']
Exploring Operation: 36-3=33, Resulting Numbers: [10, 33]
Generated Node #0,3,0: 22:[10, 33] Operation: 36-3=33
Exploring Operation: 10+3=13, Resulting Numbers: [36, 13]
Generated Node #0,3,1: 22:[36, 13] Operation: 10+3=13
Exploring Operation: 36-10=26, Resulting Numbers: [3, 26]
Generated Node #0,3,2: 22:[3, 26] Operation: 36-10=26
Exploring Operation: 36/3=12, Resulting Numbers: [10, 12]
Generated Node #0,3,3: 22:[10, 12] Operation: 36/3=12
Moving to Node #0,3,3
Current State: 22:[10, 12], Operations: ['10-7=3', '36/3=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,22 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[7, 10, 10, 36], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [10, 36, 3]
Generated Node #0,3: 22:[10, 36, 3] Operation: 10-7=3
Moving to Node #0,3
Current State: 22:[10, 36, 3], Operations: ['10-7=3']
Exploring Operation: 36/3=12, Resulting Numbers: [10, 12]
Generated Node #0,3,3: 22:[10, 12] Operation: 36/3=12
Moving to Node #0,3,3
Current State: 22:[10, 12], Operations: ['10-7=3', '36/3=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.966146 |
hs_4
|
mult_heuristic
|
[
5,
72,
43,
12
] | 42 |
[
"5+43=48",
"72/12=6",
"48-6=42"
] |
Current State: 42:[5, 72, 43, 12], Operations: []
Exploring Operation: 5+43=48, Resulting Numbers: [72, 12, 48]
Generated Node #2: [72, 12, 48] from Operation: 5+43=48
Current State: 42:[72, 12, 48], Operations: ['5+43=48']
Exploring Operation: 72/12=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 72/12=6
Current State: 42:[48, 6], Operations: ['5+43=48', '72/12=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[5, 72, 43, 12], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [5, 12, 29]
Generated Node #0,0: 42:[5, 12, 29] Operation: 72-43=29
Exploring Operation: 72-5=67, Resulting Numbers: [43, 12, 67]
Generated Node #0,1: 42:[43, 12, 67] Operation: 72-5=67
Exploring Operation: 72-12=60, Resulting Numbers: [5, 43, 60]
Generated Node #0,2: 42:[5, 43, 60] Operation: 72-12=60
Exploring Operation: 12-5=7, Resulting Numbers: [72, 43, 7]
Generated Node #0,3: 42:[72, 43, 7] Operation: 12-5=7
Exploring Operation: 72/12=6, Resulting Numbers: [5, 43, 6]
Generated Node #0,4: 42:[5, 43, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[5, 43, 6], Operations: ['72/12=6']
Exploring Operation: 5+43=48, Resulting Numbers: [6, 48]
Generated Node #0,4,0: 42:[6, 48] Operation: 5+43=48
Exploring Operation: 6-5=1, Resulting Numbers: [43, 1]
Generated Node #0,4,1: 42:[43, 1] Operation: 6-5=1
Exploring Operation: 5+6=11, Resulting Numbers: [43, 11]
Generated Node #0,4,2: 42:[43, 11] Operation: 5+6=11
Exploring Operation: 43-6=37, Resulting Numbers: [5, 37]
Generated Node #0,4,3: 42:[5, 37] Operation: 43-6=37
Exploring Operation: 43-5=38, Resulting Numbers: [6, 38]
Generated Node #0,4,4: 42:[6, 38] Operation: 43-5=38
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 42:[43, 1], Operations: ['72/12=6', '6-5=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[5, 72, 43, 12], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [5, 43, 6]
Generated Node #0,4: 42:[5, 43, 6] Operation: 72/12=6
Moving to Node #0,4
Current State: 42:[5, 43, 6], Operations: ['72/12=6']
Exploring Operation: 6-5=1, Resulting Numbers: [43, 1]
Generated Node #0,4,1: 42:[43, 1] Operation: 6-5=1
Moving to Node #0,4,1
Current State: 42:[43, 1], Operations: ['72/12=6', '6-5=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
71,
8,
31,
2
] | 56 |
[
"71-31=40",
"8*2=16",
"40+16=56"
] |
Current State: 56:[71, 8, 31, 2], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [8, 2, 40]
Generated Node #2: [8, 2, 40] from Operation: 71-31=40
Current State: 56:[8, 2, 40], Operations: ['71-31=40']
Exploring Operation: 8*2=16, Resulting Numbers: [40, 16]
Generated Node #3: [40, 16] from Operation: 8*2=16
Current State: 56:[40, 16], Operations: ['71-31=40', '8*2=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[71, 8, 31, 2], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [31, 2, 63]
Generated Node #0,0: 56:[31, 2, 63] Operation: 71-8=63
Exploring Operation: 71-31=40, Resulting Numbers: [8, 2, 40]
Generated Node #0,1: 56:[8, 2, 40] Operation: 71-31=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[31, 2, 63], Operations: ['71-8=63']
Exploring Operation: 31-2=29, Resulting Numbers: [63, 29]
Generated Node #0,0,0: 56:[63, 29] Operation: 31-2=29
Exploring Operation: 63-31=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 56:[2, 32] Operation: 63-31=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[2, 32], Operations: ['71-8=63', '63-31=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No 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: 56:[63, 29], Operations: ['71-8=63', '31-2=29']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,56 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: 56:[8, 2, 40], Operations: ['71-31=40']
Exploring Operation: 40-8=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 56:[2, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 56:[2, 5] Operation: 40/8=5
Moving to Node #0,1,1
Current State: 56:[2, 5], Operations: ['71-31=40', '40/8=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[2, 32], Operations: ['71-31=40', '40-8=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,56 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
|
[
49,
17,
77,
34
] | 23 |
[
"49+17=66",
"77-34=43",
"66-43=23"
] |
Current State: 23:[49, 17, 77, 34], Operations: []
Exploring Operation: 49+17=66, Resulting Numbers: [77, 34, 66]
Generated Node #2: [77, 34, 66] from Operation: 49+17=66
Current State: 23:[77, 34, 66], Operations: ['49+17=66']
Exploring Operation: 77-34=43, Resulting Numbers: [66, 43]
Generated Node #3: [66, 43] from Operation: 77-34=43
Current State: 23:[66, 43], Operations: ['49+17=66', '77-34=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[49, 17, 77, 34], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [49, 17, 43]
Generated Node #0,0: 23:[49, 17, 43] Operation: 77-34=43
Exploring Operation: 49-17=32, Resulting Numbers: [77, 34, 32]
Generated Node #0,1: 23:[77, 34, 32] Operation: 49-17=32
Exploring Operation: 49-34=15, Resulting Numbers: [17, 77, 15]
Generated Node #0,2: 23:[17, 77, 15] Operation: 49-34=15
Exploring Operation: 77-49=28, Resulting Numbers: [17, 34, 28]
Generated Node #0,3: 23:[17, 34, 28] Operation: 77-49=28
Moving to Node #0,3
Current State: 23:[17, 34, 28], Operations: ['77-49=28']
Exploring Operation: 34-28=6, Resulting Numbers: [17, 6]
Generated Node #0,3,0: 23:[17, 6] Operation: 34-28=6
Exploring Operation: 34/17=2, Resulting Numbers: [28, 2]
Generated Node #0,3,1: 23:[28, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [28, 17]
Generated Node #0,3,2: 23:[28, 17] Operation: 34-17=17
Exploring Operation: 28-17=11, Resulting Numbers: [34, 11]
Generated Node #0,3,3: 23:[34, 11] Operation: 28-17=11
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[28, 17], Operations: ['77-49=28', '34-17=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,23 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[17, 6], Operations: ['77-49=28', '34-28=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[49, 17, 77, 34], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [17, 34, 28]
Generated Node #0,3: 23:[17, 34, 28] Operation: 77-49=28
Moving to Node #0,3
Current State: 23:[17, 34, 28], Operations: ['77-49=28']
Exploring Operation: 34-28=6, Resulting Numbers: [17, 6]
Generated Node #0,3,0: 23:[17, 6] Operation: 34-28=6
Moving to Node #0,3,0
Current State: 23:[17, 6], Operations: ['77-49=28', '34-28=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
sum_heuristic
|
[
39,
48,
33,
18
] | 35 |
[
"48-39=9",
"18/9=2",
"33+2=35"
] |
Current State: 35:[39, 48, 33, 18], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [33, 18, 9]
Generated Node #2: [33, 18, 9] from Operation: 48-39=9
Current State: 35:[33, 18, 9], Operations: ['48-39=9']
Exploring Operation: 18/9=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 18/9=2
Current State: 35:[33, 2], Operations: ['48-39=9', '18/9=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[39, 48, 33, 18], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [39, 18, 15]
Generated Node #0,0: 35:[39, 18, 15] Operation: 48-33=15
Exploring Operation: 48-18=30, Resulting Numbers: [39, 33, 30]
Generated Node #0,1: 35:[39, 33, 30] Operation: 48-18=30
Exploring Operation: 48-39=9, Resulting Numbers: [33, 18, 9]
Generated Node #0,2: 35:[33, 18, 9] Operation: 48-39=9
Exploring Operation: 33-18=15, Resulting Numbers: [39, 48, 15]
Generated Node #0,3: 35:[39, 48, 15] Operation: 33-18=15
Exploring Operation: 39-33=6, Resulting Numbers: [48, 18, 6]
Generated Node #0,4: 35:[48, 18, 6] Operation: 39-33=6
Moving to Node #0,1
Current State: 35:[39, 33, 30], Operations: ['48-18=30']
Exploring Operation: 39+30=69, Resulting Numbers: [33, 69]
Generated Node #0,1,0: 35:[33, 69] Operation: 39+30=69
Exploring Operation: 33+30=63, Resulting Numbers: [39, 63]
Generated Node #0,1,1: 35:[39, 63] Operation: 33+30=63
Exploring Operation: 39-30=9, Resulting Numbers: [33, 9]
Generated Node #0,1,2: 35:[33, 9] Operation: 39-30=9
Exploring Operation: 33-30=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 35:[39, 3] Operation: 33-30=3
Exploring Operation: 39-33=6, Resulting Numbers: [30, 6]
Generated Node #0,1,4: 35:[30, 6] Operation: 39-33=6
Moving to Node #0,2
Current State: 35:[33, 18, 9], Operations: ['48-39=9']
Exploring Operation: 18+9=27, Resulting Numbers: [33, 27]
Generated Node #0,2,0: 35:[33, 27] Operation: 18+9=27
Exploring Operation: 33+18=51, Resulting Numbers: [9, 51]
Generated Node #0,2,1: 35:[9, 51] Operation: 33+18=51
Exploring Operation: 18/9=2, Resulting Numbers: [33, 2]
Generated Node #0,2,2: 35:[33, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [33, 9]
Generated Node #0,2,3: 35:[33, 9] Operation: 18-9=9
Exploring Operation: 33-18=15, Resulting Numbers: [9, 15]
Generated Node #0,2,4: 35:[9, 15] Operation: 33-18=15
Moving to Node #0,0
Current State: 35:[39, 18, 15], Operations: ['48-33=15']
Exploring Operation: 18+15=33, Resulting Numbers: [39, 33]
Generated Node #0,0,0: 35:[39, 33] Operation: 18+15=33
Exploring Operation: 39-18=21, Resulting Numbers: [15, 21]
Generated Node #0,0,1: 35:[15, 21] Operation: 39-18=21
Exploring Operation: 18-15=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 35:[39, 3] Operation: 18-15=3
Exploring Operation: 39+18=57, Resulting Numbers: [15, 57]
Generated Node #0,0,3: 35:[15, 57] Operation: 39+18=57
Exploring Operation: 39-15=24, Resulting Numbers: [18, 24]
Generated Node #0,0,4: 35:[18, 24] Operation: 39-15=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[39, 33], Operations: ['48-33=15', '18+15=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[39, 3], Operations: ['48-33=15', '18-15=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,35 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[15, 21], Operations: ['48-33=15', '39-18=21']
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,35 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[18, 24], Operations: ['48-33=15', '39-15=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[15, 57], Operations: ['48-33=15', '39+18=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,35 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: 35:[39, 48, 15], Operations: ['33-18=15']
Exploring Operation: 39+15=54, Resulting Numbers: [48, 54]
Generated Node #0,3,0: 35:[48, 54] Operation: 39+15=54
Exploring Operation: 48-39=9, Resulting Numbers: [15, 9]
Generated Node #0,3,1: 35:[15, 9] Operation: 48-39=9
Exploring Operation: 39-15=24, Resulting Numbers: [48, 24]
Generated Node #0,3,2: 35:[48, 24] Operation: 39-15=24
Exploring Operation: 48-15=33, Resulting Numbers: [39, 33]
Generated Node #0,3,3: 35:[39, 33] Operation: 48-15=33
Exploring Operation: 48+15=63, Resulting Numbers: [39, 63]
Generated Node #0,3,4: 35:[39, 63] Operation: 48+15=63
Moving to Node #0,4
Current State: 35:[48, 18, 6], Operations: ['39-33=6']
Exploring Operation: 18/6=3, Resulting Numbers: [48, 3]
Generated Node #0,4,0: 35:[48, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [48, 12]
Generated Node #0,4,1: 35:[48, 12] Operation: 18-6=12
Exploring Operation: 48-6=42, Resulting Numbers: [18, 42]
Generated Node #0,4,2: 35:[18, 42] Operation: 48-6=42
Exploring Operation: 48-18=30, Resulting Numbers: [6, 30]
Generated Node #0,4,3: 35:[6, 30] Operation: 48-18=30
Exploring Operation: 48/6=8, Resulting Numbers: [18, 8]
Generated Node #0,4,4: 35:[18, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[6, 30], Operations: ['39-33=6', '48-18=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[18, 8], Operations: ['39-33=6', '48/6=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[48, 3], Operations: ['39-33=6', '18/6=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[48, 12], Operations: ['39-33=6', '18-6=12']
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[18, 42], Operations: ['39-33=6', '48-6=42']
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,35 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 35:[33, 9], Operations: ['48-18=30', '39-30=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,35 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[33, 9], Operations: ['48-39=9', '18-9=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,35 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[33, 2], Operations: ['48-39=9', '18/9=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[39, 48, 33, 18], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [33, 18, 9]
Generated Node #0,2: 35:[33, 18, 9] Operation: 48-39=9
Moving to Node #0,2
Current State: 35:[33, 18, 9], Operations: ['48-39=9']
Exploring Operation: 18/9=2, Resulting Numbers: [33, 2]
Generated Node #0,2,2: 35:[33, 2] Operation: 18/9=2
Moving to Node #0,2,2
Current State: 35:[33, 2], Operations: ['48-39=9', '18/9=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.93316 |
hs_5
|
mult_heuristic
|
[
60,
11,
71,
71
] | 50 |
[
"60-11=49",
"71/71=1",
"49+1=50"
] |
Current State: 50:[60, 11, 71, 71], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [71, 71, 49]
Generated Node #2: [71, 71, 49] from Operation: 60-11=49
Current State: 50:[71, 71, 49], Operations: ['60-11=49']
Exploring Operation: 71/71=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 71/71=1
Current State: 50:[49, 1], Operations: ['60-11=49', '71/71=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[60, 11, 71, 71], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [60, 11, 1]
Generated Node #0,0: 50:[60, 11, 1] Operation: 71/71=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[60, 11, 1], Operations: ['71/71=1']
Exploring Operation: 60-11=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 50:[1, 49] Operation: 60-11=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[1, 49], Operations: ['71/71=1', '60-11=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[60, 11, 71, 71], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [60, 11, 1]
Generated Node #0,0: 50:[60, 11, 1] Operation: 71/71=1
Moving to Node #0,0
Current State: 50:[60, 11, 1], Operations: ['71/71=1']
Exploring Operation: 60-11=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 50:[1, 49] Operation: 60-11=49
Moving to Node #0,0,0
Current State: 50:[1, 49], Operations: ['71/71=1', '60-11=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.993924 |
hs_1
|
sum_heuristic
|
[
27,
2,
40,
22
] | 85 |
[
"27-22=5",
"2*40=80",
"5+80=85"
] |
Current State: 85:[27, 2, 40, 22], Operations: []
Exploring Operation: 27-22=5, Resulting Numbers: [2, 40, 5]
Generated Node #2: [2, 40, 5] from Operation: 27-22=5
Current State: 85:[2, 40, 5], Operations: ['27-22=5']
Exploring Operation: 2*40=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 2*40=80
Current State: 85:[5, 80], Operations: ['27-22=5', '2*40=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[27, 2, 40, 22], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [27, 2, 18]
Generated Node #0,0: 85:[27, 2, 18] Operation: 40-22=18
Exploring Operation: 40-27=13, Resulting Numbers: [2, 22, 13]
Generated Node #0,1: 85:[2, 22, 13] Operation: 40-27=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 22, 13], Operations: ['40-27=13']
Exploring Operation: 22-2=20, Resulting Numbers: [13, 20]
Generated Node #0,1,0: 85:[13, 20] Operation: 22-2=20
Exploring Operation: 2+13=15, Resulting Numbers: [22, 15]
Generated Node #0,1,1: 85:[22, 15] Operation: 2+13=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[13, 20], Operations: ['40-27=13', '22-2=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[22, 15], Operations: ['40-27=13', '2+13=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[27, 2, 18], Operations: ['40-22=18']
Exploring Operation: 27-18=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 85:[2, 9] Operation: 27-18=9
Exploring Operation: 27-2=25, Resulting Numbers: [18, 25]
Generated Node #0,0,1: 85:[18, 25] Operation: 27-2=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[2, 9], Operations: ['40-22=18', '27-18=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[18, 25], Operations: ['40-22=18', '27-2=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
70,
62,
35,
37
] | 54 |
[
"37-35=2",
"62*2=124",
"124-70=54"
] |
Current State: 54:[70, 62, 35, 37], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [70, 62, 2]
Generated Node #2: [70, 62, 2] from Operation: 37-35=2
Current State: 54:[70, 62, 2], Operations: ['37-35=2']
Exploring Operation: 62*2=124, Resulting Numbers: [70, 124]
Generated Node #3: [70, 124] from Operation: 62*2=124
Current State: 54:[70, 124], Operations: ['37-35=2', '62*2=124']
Exploring Operation: 124-70=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[70, 62, 35, 37], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [35, 37, 8]
Generated Node #0,0: 54:[35, 37, 8] Operation: 70-62=8
Exploring Operation: 70/35=2, Resulting Numbers: [62, 37, 2]
Generated Node #0,1: 54:[62, 37, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 54:[62, 37, 2], Operations: ['70/35=2']
Exploring Operation: 62-37=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 54:[2, 25] Operation: 62-37=25
Exploring Operation: 62/2=31, Resulting Numbers: [37, 31]
Generated Node #0,1,1: 54:[37, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[2, 25], Operations: ['70/35=2', '62-37=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,54 unequal: No Solution
No 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: 54:[37, 31], Operations: ['70/35=2', '62/2=31']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,54 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: 54:[35, 37, 8], Operations: ['70-62=8']
Exploring Operation: 37-35=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 54:[8, 2] Operation: 37-35=2
Exploring Operation: 35-8=27, Resulting Numbers: [37, 27]
Generated Node #0,0,1: 54:[37, 27] Operation: 35-8=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[8, 2], Operations: ['70-62=8', '37-35=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No 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: 54:[37, 27], Operations: ['70-62=8', '35-8=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,54 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
|
[
84,
70,
49,
44
] | 88 |
[
"84-49=35",
"70*44=3080",
"3080/35=88"
] |
Current State: 88:[84, 70, 49, 44], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [70, 44, 35]
Generated Node #2: [70, 44, 35] from Operation: 84-49=35
Current State: 88:[70, 44, 35], Operations: ['84-49=35']
Exploring Operation: 70*44=3080, Resulting Numbers: [35, 3080]
Generated Node #3: [35, 3080] from Operation: 70*44=3080
Current State: 88:[35, 3080], Operations: ['84-49=35', '70*44=3080']
Exploring Operation: 3080/35=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[84, 70, 49, 44], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [84, 44, 21]
Generated Node #0,0: 88:[84, 44, 21] Operation: 70-49=21
Exploring Operation: 49-44=5, Resulting Numbers: [84, 70, 5]
Generated Node #0,1: 88:[84, 70, 5] Operation: 49-44=5
Exploring Operation: 84-70=14, Resulting Numbers: [49, 44, 14]
Generated Node #0,2: 88:[49, 44, 14] Operation: 84-70=14
Exploring Operation: 70-44=26, Resulting Numbers: [84, 49, 26]
Generated Node #0,3: 88:[84, 49, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[84, 44, 21], Operations: ['70-49=21']
Exploring Operation: 84-44=40, Resulting Numbers: [21, 40]
Generated Node #0,0,0: 88:[21, 40] Operation: 84-44=40
Exploring Operation: 84/21=4, Resulting Numbers: [44, 4]
Generated Node #0,0,1: 88:[44, 4] Operation: 84/21=4
Exploring Operation: 44-21=23, Resulting Numbers: [84, 23]
Generated Node #0,0,2: 88:[84, 23] Operation: 44-21=23
Exploring Operation: 84+21=105, Resulting Numbers: [44, 105]
Generated Node #0,0,3: 88:[44, 105] Operation: 84+21=105
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[44, 4], Operations: ['70-49=21', '84/21=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,88 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[21, 40], Operations: ['70-49=21', '84-44=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,88 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[84, 23], Operations: ['70-49=21', '44-21=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[44, 105], Operations: ['70-49=21', '84+21=105']
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,88 unequal: No Solution
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[49, 44, 14], Operations: ['84-70=14']
Exploring Operation: 44-14=30, Resulting Numbers: [49, 30]
Generated Node #0,2,0: 88:[49, 30] Operation: 44-14=30
Exploring Operation: 49+44=93, Resulting Numbers: [14, 93]
Generated Node #0,2,1: 88:[14, 93] Operation: 49+44=93
Exploring Operation: 49-44=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 88:[14, 5] Operation: 49-44=5
Exploring Operation: 49-14=35, Resulting Numbers: [44, 35]
Generated Node #0,2,3: 88:[44, 35] Operation: 49-14=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[14, 5], Operations: ['84-70=14', '49-44=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[14, 93], Operations: ['84-70=14', '49+44=93']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,88 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[44, 35], Operations: ['84-70=14', '49-14=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,88 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[49, 30], Operations: ['84-70=14', '44-14=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[84, 49, 26], Operations: ['70-44=26']
Exploring Operation: 84-49=35, Resulting Numbers: [26, 35]
Generated Node #0,3,0: 88:[26, 35] Operation: 84-49=35
Exploring Operation: 84-26=58, Resulting Numbers: [49, 58]
Generated Node #0,3,1: 88:[49, 58] Operation: 84-26=58
Exploring Operation: 49-26=23, Resulting Numbers: [84, 23]
Generated Node #0,3,2: 88:[84, 23] Operation: 49-26=23
Exploring Operation: 49+26=75, Resulting Numbers: [84, 75]
Generated Node #0,3,3: 88:[84, 75] Operation: 49+26=75
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[84, 23], Operations: ['70-44=26', '49-26=23']
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[26, 35], Operations: ['70-44=26', '84-49=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[84, 75], Operations: ['70-44=26', '49+26=75']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,88 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[49, 58], Operations: ['70-44=26', '84-26=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,88 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[84, 70, 5], Operations: ['49-44=5']
Exploring Operation: 70/5=14, Resulting Numbers: [84, 14]
Generated Node #0,1,0: 88:[84, 14] Operation: 70/5=14
Exploring Operation: 84+5=89, Resulting Numbers: [70, 89]
Generated Node #0,1,1: 88:[70, 89] Operation: 84+5=89
Exploring Operation: 70+5=75, Resulting Numbers: [84, 75]
Generated Node #0,1,2: 88:[84, 75] Operation: 70+5=75
Exploring Operation: 84-70=14, Resulting Numbers: [5, 14]
Generated Node #0,1,3: 88:[5, 14] Operation: 84-70=14
Moving to Node #0,1,3
Current State: 88:[5, 14], Operations: ['49-44=5', '84-70=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[84, 14], Operations: ['49-44=5', '70/5=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,88 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[84, 75], Operations: ['49-44=5', '70+5=75']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[70, 89], Operations: ['49-44=5', '84+5=89']
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
4,
37,
58,
38
] | 21 |
[
"4+37=41",
"58-38=20",
"41-20=21"
] |
Current State: 21:[4, 37, 58, 38], Operations: []
Exploring Operation: 4+37=41, Resulting Numbers: [58, 38, 41]
Generated Node #2: [58, 38, 41] from Operation: 4+37=41
Current State: 21:[58, 38, 41], Operations: ['4+37=41']
Exploring Operation: 58-38=20, Resulting Numbers: [41, 20]
Generated Node #3: [41, 20] from Operation: 58-38=20
Current State: 21:[41, 20], Operations: ['4+37=41', '58-38=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[4, 37, 58, 38], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [4, 38, 21]
Generated Node #0,0: 21:[4, 38, 21] Operation: 58-37=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[4, 38, 21], Operations: ['58-37=21']
Exploring Operation: 38-21=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 21:[4, 17] Operation: 38-21=17
Moving to Node #0,0,0
Current State: 21:[4, 17], Operations: ['58-37=21', '38-21=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[4, 37, 58, 38], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [4, 38, 21]
Generated Node #0,0: 21:[4, 38, 21] Operation: 58-37=21
Moving to Node #0,0
Current State: 21:[4, 38, 21], Operations: ['58-37=21']
Exploring Operation: 38-21=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 21:[4, 17] Operation: 38-21=17
Moving to Node #0,0,0
Current State: 21:[4, 17], Operations: ['58-37=21', '38-21=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
56,
4,
28,
37
] | 13 |
[
"56-4=52",
"28+37=65",
"65-52=13"
] |
Current State: 13:[56, 4, 28, 37], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [28, 37, 52]
Generated Node #2: [28, 37, 52] from Operation: 56-4=52
Current State: 13:[28, 37, 52], Operations: ['56-4=52']
Exploring Operation: 28+37=65, Resulting Numbers: [52, 65]
Generated Node #3: [52, 65] from Operation: 28+37=65
Current State: 13:[52, 65], Operations: ['56-4=52', '28+37=65']
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[56, 4, 28, 37], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [4, 37, 28]
Generated Node #0,0: 13:[4, 37, 28] Operation: 56-28=28
Exploring Operation: 56/4=14, Resulting Numbers: [28, 37, 14]
Generated Node #0,1: 13:[28, 37, 14] Operation: 56/4=14
Exploring Operation: 56-37=19, Resulting Numbers: [4, 28, 19]
Generated Node #0,2: 13:[4, 28, 19] Operation: 56-37=19
Exploring Operation: 56/28=2, Resulting Numbers: [4, 37, 2]
Generated Node #0,3: 13:[4, 37, 2] Operation: 56/28=2
Exploring Operation: 37-28=9, Resulting Numbers: [56, 4, 9]
Generated Node #0,4: 13:[56, 4, 9] Operation: 37-28=9
Moving to Node #0,2
Current State: 13:[4, 28, 19], Operations: ['56-37=19']
Exploring Operation: 4+28=32, Resulting Numbers: [19, 32]
Generated Node #0,2,0: 13:[19, 32] Operation: 4+28=32
Exploring Operation: 28-4=24, Resulting Numbers: [19, 24]
Generated Node #0,2,1: 13:[19, 24] Operation: 28-4=24
Exploring Operation: 28-19=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 13:[4, 9] Operation: 28-19=9
Exploring Operation: 28/4=7, Resulting Numbers: [19, 7]
Generated Node #0,2,3: 13:[19, 7] Operation: 28/4=7
Exploring Operation: 19-4=15, Resulting Numbers: [28, 15]
Generated Node #0,2,4: 13:[28, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[19, 7], Operations: ['56-37=19', '28/4=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[4, 9], Operations: ['56-37=19', '28-19=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[56, 4, 28, 37], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [4, 28, 19]
Generated Node #0,2: 13:[4, 28, 19] Operation: 56-37=19
Moving to Node #0,2
Current State: 13:[4, 28, 19], Operations: ['56-37=19']
Exploring Operation: 28-19=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 13:[4, 9] Operation: 28-19=9
Moving to Node #0,2,2
Current State: 13:[4, 9], Operations: ['56-37=19', '28-19=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
sum_heuristic
|
[
80,
50,
70,
10
] | 65 |
[
"80+70=150",
"150/10=15",
"50+15=65"
] |
Current State: 65:[80, 50, 70, 10], Operations: []
Exploring Operation: 80+70=150, Resulting Numbers: [50, 10, 150]
Generated Node #2: [50, 10, 150] from Operation: 80+70=150
Current State: 65:[50, 10, 150], Operations: ['80+70=150']
Exploring Operation: 150/10=15, Resulting Numbers: [50, 15]
Generated Node #3: [50, 15] from Operation: 150/10=15
Current State: 65:[50, 15], Operations: ['80+70=150', '150/10=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[80, 50, 70, 10], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [70, 10, 30]
Generated Node #0,0: 65:[70, 10, 30] Operation: 80-50=30
Exploring Operation: 80-10=70, Resulting Numbers: [50, 70, 70]
Generated Node #0,1: 65:[50, 70, 70] Operation: 80-10=70
Exploring Operation: 50/10=5, Resulting Numbers: [80, 70, 5]
Generated Node #0,2: 65:[80, 70, 5] Operation: 50/10=5
Exploring Operation: 80/10=8, Resulting Numbers: [50, 70, 8]
Generated Node #0,3: 65:[50, 70, 8] Operation: 80/10=8
Exploring Operation: 80-70=10, Resulting Numbers: [50, 10, 10]
Generated Node #0,4: 65:[50, 10, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[80, 70, 5], Operations: ['50/10=5']
Exploring Operation: 80-5=75, Resulting Numbers: [70, 75]
Generated Node #0,2,0: 65:[70, 75] Operation: 80-5=75
Exploring Operation: 70-5=65, Resulting Numbers: [80, 65]
Generated Node #0,2,1: 65:[80, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [80, 14]
Generated Node #0,2,2: 65:[80, 14] Operation: 70/5=14
Exploring Operation: 80-70=10, Resulting Numbers: [5, 10]
Generated Node #0,2,3: 65:[5, 10] Operation: 80-70=10
Exploring Operation: 80/5=16, Resulting Numbers: [70, 16]
Generated Node #0,2,4: 65:[70, 16] Operation: 80/5=16
Moving to Node #0,2,3
Current State: 65:[5, 10], Operations: ['50/10=5', '80-70=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[70, 16], Operations: ['50/10=5', '80/5=16']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,65 unequal: No Solution
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[70, 75], Operations: ['50/10=5', '80-5=75']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 70*75=5250, Resulting Numbers: [5250]
5250,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[80, 65], Operations: ['50/10=5', '70-5=65']
Exploring Operation: 80+65=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 80*65=5200, Resulting Numbers: [5200]
5200,65 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[80, 14], Operations: ['50/10=5', '70/5=14']
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,65 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[50, 10, 10], Operations: ['80-70=10']
Exploring Operation: 50+10=60, Resulting Numbers: [10, 60]
Generated Node #0,4,0: 65:[10, 60] Operation: 50+10=60
Exploring Operation: 50+10=60, Resulting Numbers: [10, 60]
Generated Node #0,4,1: 65:[10, 60] Operation: 50+10=60
Exploring Operation: 50/10=5, Resulting Numbers: [10, 5]
Generated Node #0,4,2: 65:[10, 5] Operation: 50/10=5
Exploring Operation: 50/10=5, Resulting Numbers: [10, 5]
Generated Node #0,4,3: 65:[10, 5] Operation: 50/10=5
Exploring Operation: 10/10=1, Resulting Numbers: [50, 1]
Generated Node #0,4,4: 65:[50, 1] Operation: 10/10=1
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[10, 5], Operations: ['80-70=10', '50/10=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 65:[10, 5], Operations: ['80-70=10', '50/10=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[10, 60], Operations: ['80-70=10', '50+10=60']
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,65 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 65:[10, 60], Operations: ['80-70=10', '50+10=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,65 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 65:[50, 1], Operations: ['80-70=10', '10/10=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[50, 70, 8], Operations: ['80/10=8']
Exploring Operation: 50-8=42, Resulting Numbers: [70, 42]
Generated Node #0,3,0: 65:[70, 42] Operation: 50-8=42
Exploring Operation: 50+8=58, Resulting Numbers: [70, 58]
Generated Node #0,3,1: 65:[70, 58] Operation: 50+8=58
Exploring Operation: 70+8=78, Resulting Numbers: [50, 78]
Generated Node #0,3,2: 65:[50, 78] Operation: 70+8=78
Exploring Operation: 70-8=62, Resulting Numbers: [50, 62]
Generated Node #0,3,3: 65:[50, 62] Operation: 70-8=62
Exploring Operation: 70-50=20, Resulting Numbers: [8, 20]
Generated Node #0,3,4: 65:[8, 20] Operation: 70-50=20
Moving to Node #0,3,4
Current State: 65:[8, 20], Operations: ['80/10=8', '70-50=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,65 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[70, 58], Operations: ['80/10=8', '50+8=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[50, 62], Operations: ['80/10=8', '70-8=62']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,65 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[70, 42], Operations: ['80/10=8', '50-8=42']
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[50, 78], Operations: ['80/10=8', '70+8=78']
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,65 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[70, 10, 30], Operations: ['80-50=30']
Exploring Operation: 70/10=7, Resulting Numbers: [30, 7]
Generated Node #0,0,0: 65:[30, 7] Operation: 70/10=7
Exploring Operation: 70-30=40, Resulting Numbers: [10, 40]
Generated Node #0,0,1: 65:[10, 40] Operation: 70-30=40
Exploring Operation: 30-10=20, Resulting Numbers: [70, 20]
Generated Node #0,0,2: 65:[70, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [70, 3]
Generated Node #0,0,3: 65:[70, 3] Operation: 30/10=3
Exploring Operation: 70-10=60, Resulting Numbers: [30, 60]
Generated Node #0,0,4: 65:[30, 60] Operation: 70-10=60
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[70, 3], Operations: ['80-50=30', '30/10=3']
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,65 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[70, 20], Operations: ['80-50=30', '30-10=20']
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,65 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[30, 7], Operations: ['80-50=30', '70/10=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,65 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 65:[30, 60], Operations: ['80-50=30', '70-10=60']
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,65 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[10, 40], Operations: ['80-50=30', '70-30=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,65 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[50, 70, 70], Operations: ['80-10=70']
Exploring Operation: 70-50=20, Resulting Numbers: [70, 20]
Generated Node #0,1,0: 65:[70, 20] Operation: 70-50=20
Exploring Operation: 50+70=120, Resulting Numbers: [70, 120]
Generated Node #0,1,1: 65:[70, 120] Operation: 50+70=120
Exploring Operation: 70/70=1, Resulting Numbers: [50, 1]
Generated Node #0,1,2: 65:[50, 1] Operation: 70/70=1
Exploring Operation: 70-70=0, Resulting Numbers: [50, 0]
Generated Node #0,1,3: 65:[50, 0] Operation: 70-70=0
Exploring Operation: 70-50=20, Resulting Numbers: [70, 20]
Generated Node #0,1,4: 65:[70, 20] Operation: 70-50=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[70, 20], Operations: ['80-10=70', '70-50=20']
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,65 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 65:[70, 20], Operations: ['80-10=70', '70-50=20']
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,65 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[50, 1], Operations: ['80-10=70', '70/70=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[50, 0], Operations: ['80-10=70', '70-70=0']
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[70, 120], Operations: ['80-10=70', '50+70=120']
Exploring Operation: 120-70=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 70+120=190, Resulting Numbers: [190]
190,65 unequal: No Solution
Exploring Operation: 70*120=8400, Resulting Numbers: [8400]
8400,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
49,
60,
78,
23
] | 43 |
[
"60+78=138",
"138/23=6",
"49-6=43"
] |
Current State: 43:[49, 60, 78, 23], Operations: []
Exploring Operation: 60+78=138, Resulting Numbers: [49, 23, 138]
Generated Node #2: [49, 23, 138] from Operation: 60+78=138
Current State: 43:[49, 23, 138], Operations: ['60+78=138']
Exploring Operation: 138/23=6, Resulting Numbers: [49, 6]
Generated Node #3: [49, 6] from Operation: 138/23=6
Current State: 43:[49, 6], Operations: ['60+78=138', '138/23=6']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[49, 60, 78, 23], Operations: []
Exploring Operation: 60-23=37, Resulting Numbers: [49, 78, 37]
Generated Node #0,0: 43:[49, 78, 37] Operation: 60-23=37
Exploring Operation: 78-60=18, Resulting Numbers: [49, 23, 18]
Generated Node #0,1: 43:[49, 23, 18] Operation: 78-60=18
Exploring Operation: 78-49=29, Resulting Numbers: [60, 23, 29]
Generated Node #0,2: 43:[60, 23, 29] Operation: 78-49=29
Exploring Operation: 49-23=26, Resulting Numbers: [60, 78, 26]
Generated Node #0,3: 43:[60, 78, 26] Operation: 49-23=26
Exploring Operation: 78-23=55, Resulting Numbers: [49, 60, 55]
Generated Node #0,4: 43:[49, 60, 55] Operation: 78-23=55
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[49, 60, 55], Operations: ['78-23=55']
Exploring Operation: 55-49=6, Resulting Numbers: [60, 6]
Generated Node #0,4,0: 43:[60, 6] Operation: 55-49=6
Exploring Operation: 60-55=5, Resulting Numbers: [49, 5]
Generated Node #0,4,1: 43:[49, 5] Operation: 60-55=5
Exploring Operation: 49+60=109, Resulting Numbers: [55, 109]
Generated Node #0,4,2: 43:[55, 109] Operation: 49+60=109
Exploring Operation: 49+55=104, Resulting Numbers: [60, 104]
Generated Node #0,4,3: 43:[60, 104] Operation: 49+55=104
Exploring Operation: 60-49=11, Resulting Numbers: [55, 11]
Generated Node #0,4,4: 43:[55, 11] Operation: 60-49=11
Moving to Node #0,4,1
Current State: 43:[49, 5], Operations: ['78-23=55', '60-55=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,43 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[55, 11], Operations: ['78-23=55', '60-49=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,43 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[60, 6], Operations: ['78-23=55', '55-49=6']
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,43 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[55, 109], Operations: ['78-23=55', '49+60=109']
Exploring Operation: 109-55=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 55*109=5995, Resulting Numbers: [5995]
5995,43 unequal: No Solution
Exploring Operation: 55+109=164, Resulting Numbers: [164]
164,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[60, 104], Operations: ['78-23=55', '49+55=104']
Exploring Operation: 60+104=164, Resulting Numbers: [164]
164,43 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 60*104=6240, Resulting Numbers: [6240]
6240,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[49, 78, 37], Operations: ['60-23=37']
Exploring Operation: 78-37=41, Resulting Numbers: [49, 41]
Generated Node #0,0,0: 43:[49, 41] Operation: 78-37=41
Exploring Operation: 78+37=115, Resulting Numbers: [49, 115]
Generated Node #0,0,1: 43:[49, 115] Operation: 78+37=115
Exploring Operation: 49+37=86, Resulting Numbers: [78, 86]
Generated Node #0,0,2: 43:[78, 86] Operation: 49+37=86
Exploring Operation: 49-37=12, Resulting Numbers: [78, 12]
Generated Node #0,0,3: 43:[78, 12] Operation: 49-37=12
Exploring Operation: 78-49=29, Resulting Numbers: [37, 29]
Generated Node #0,0,4: 43:[37, 29] Operation: 78-49=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[49, 41], Operations: ['60-23=37', '78-37=41']
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,43 unequal: No Solution
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[37, 29], Operations: ['60-23=37', '78-49=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,43 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[78, 12], Operations: ['60-23=37', '49-37=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,43 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[49, 115], Operations: ['60-23=37', '78+37=115']
Exploring Operation: 49+115=164, Resulting Numbers: [164]
164,43 unequal: No Solution
Exploring Operation: 49*115=5635, Resulting Numbers: [5635]
5635,43 unequal: No Solution
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[78, 86], Operations: ['60-23=37', '49+37=86']
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,43 unequal: No Solution
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,43 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[49, 23, 18], Operations: ['78-60=18']
Exploring Operation: 23-18=5, Resulting Numbers: [49, 5]
Generated Node #0,1,0: 43:[49, 5] Operation: 23-18=5
Exploring Operation: 49-18=31, Resulting Numbers: [23, 31]
Generated Node #0,1,1: 43:[23, 31] Operation: 49-18=31
Exploring Operation: 49-23=26, Resulting Numbers: [18, 26]
Generated Node #0,1,2: 43:[18, 26] Operation: 49-23=26
Exploring Operation: 23+18=41, Resulting Numbers: [49, 41]
Generated Node #0,1,3: 43:[49, 41] Operation: 23+18=41
Exploring Operation: 49+18=67, Resulting Numbers: [23, 67]
Generated Node #0,1,4: 43:[23, 67] Operation: 49+18=67
Moving to Node #0,1,3
Current State: 43:[49, 41], Operations: ['78-60=18', '23+18=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,43 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[23, 31], Operations: ['78-60=18', '49-18=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,43 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[18, 26], Operations: ['78-60=18', '49-23=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[49, 5], Operations: ['78-60=18', '23-18=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[23, 67], Operations: ['78-60=18', '49+18=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,43 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[60, 23, 29], Operations: ['78-49=29']
Exploring Operation: 60-29=31, Resulting Numbers: [23, 31]
Generated Node #0,2,0: 43:[23, 31] Operation: 60-29=31
Exploring Operation: 29-23=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 43:[60, 6] Operation: 29-23=6
Exploring Operation: 23+29=52, Resulting Numbers: [60, 52]
Generated Node #0,2,2: 43:[60, 52] Operation: 23+29=52
Exploring Operation: 60-23=37, Resulting Numbers: [29, 37]
Generated Node #0,2,3: 43:[29, 37] Operation: 60-23=37
Exploring Operation: 60+23=83, Resulting Numbers: [29, 83]
Generated Node #0,2,4: 43:[29, 83] Operation: 60+23=83
Moving to Node #0,2,3
Current State: 43:[29, 37], Operations: ['78-49=29', '60-23=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,43 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[60, 52], Operations: ['78-49=29', '23+29=52']
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[23, 31], Operations: ['78-49=29', '60-29=31']
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,43 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[60, 6], Operations: ['78-49=29', '29-23=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[29, 83], Operations: ['78-49=29', '60+23=83']
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 29*83=2407, Resulting Numbers: [2407]
2407,43 unequal: No Solution
Exploring Operation: 29+83=112, Resulting Numbers: [112]
112,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[60, 78, 26], Operations: ['49-23=26']
Exploring Operation: 78-26=52, Resulting Numbers: [60, 52]
Generated Node #0,3,0: 43:[60, 52] Operation: 78-26=52
Exploring Operation: 60+26=86, Resulting Numbers: [78, 86]
Generated Node #0,3,1: 43:[78, 86] Operation: 60+26=86
Exploring Operation: 78/26=3, Resulting Numbers: [60, 3]
Generated Node #0,3,2: 43:[60, 3] Operation: 78/26=3
Exploring Operation: 78-60=18, Resulting Numbers: [26, 18]
Generated Node #0,3,3: 43:[26, 18] Operation: 78-60=18
Exploring Operation: 60-26=34, Resulting Numbers: [78, 34]
Generated Node #0,3,4: 43:[78, 34] Operation: 60-26=34
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[60, 52], Operations: ['49-23=26', '78-26=52']
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,43 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[26, 18], Operations: ['49-23=26', '78-60=18']
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[78, 34], Operations: ['49-23=26', '60-26=34']
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[60, 3], Operations: ['49-23=26', '78/26=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[78, 86], Operations: ['49-23=26', '60+26=86']
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,43 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,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_5
|
mult_heuristic
|
[
4,
76,
74,
27
] | 25 |
[
"76-4=72",
"74-27=47",
"72-47=25"
] |
Current State: 25:[4, 76, 74, 27], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [74, 27, 72]
Generated Node #2: [74, 27, 72] from Operation: 76-4=72
Current State: 25:[74, 27, 72], Operations: ['76-4=72']
Exploring Operation: 74-27=47, Resulting Numbers: [72, 47]
Generated Node #3: [72, 47] from Operation: 74-27=47
Current State: 25:[72, 47], Operations: ['76-4=72', '74-27=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[4, 76, 74, 27], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [4, 74, 49]
Generated Node #0,0: 25:[4, 74, 49] Operation: 76-27=49
Exploring Operation: 74-27=47, Resulting Numbers: [4, 76, 47]
Generated Node #0,1: 25:[4, 76, 47] Operation: 74-27=47
Exploring Operation: 76-74=2, Resulting Numbers: [4, 27, 2]
Generated Node #0,2: 25:[4, 27, 2] Operation: 76-74=2
Exploring Operation: 76/4=19, Resulting Numbers: [74, 27, 19]
Generated Node #0,3: 25:[74, 27, 19] Operation: 76/4=19
Moving to Node #0,2
Current State: 25:[4, 27, 2], Operations: ['76-74=2']
Exploring Operation: 4*2=8, Resulting Numbers: [27, 8]
Generated Node #0,2,0: 25:[27, 8] Operation: 4*2=8
Exploring Operation: 27-2=25, Resulting Numbers: [4, 25]
Generated Node #0,2,1: 25:[4, 25] Operation: 27-2=25
Exploring Operation: 27-4=23, Resulting Numbers: [2, 23]
Generated Node #0,2,2: 25:[2, 23] Operation: 27-4=23
Exploring Operation: 4+2=6, Resulting Numbers: [27, 6]
Generated Node #0,2,3: 25:[27, 6] Operation: 4+2=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[4, 25], Operations: ['76-74=2', '27-2=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[27, 6], Operations: ['76-74=2', '4+2=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,25 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[27, 8], Operations: ['76-74=2', '4*2=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[2, 23], Operations: ['76-74=2', '27-4=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[4, 76, 74, 27], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [4, 27, 2]
Generated Node #0,2: 25:[4, 27, 2] Operation: 76-74=2
Moving to Node #0,2
Current State: 25:[4, 27, 2], Operations: ['76-74=2']
Exploring Operation: 27-4=23, Resulting Numbers: [2, 23]
Generated Node #0,2,2: 25:[2, 23] Operation: 27-4=23
Moving to Node #0,2,2
Current State: 25:[2, 23], Operations: ['76-74=2', '27-4=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
sum_heuristic
|
[
47,
71,
75,
98
] | 55 |
[
"47+71=118",
"75+98=173",
"173-118=55"
] |
Current State: 55:[47, 71, 75, 98], Operations: []
Exploring Operation: 47+71=118, Resulting Numbers: [75, 98, 118]
Generated Node #2: [75, 98, 118] from Operation: 47+71=118
Current State: 55:[75, 98, 118], Operations: ['47+71=118']
Exploring Operation: 75+98=173, Resulting Numbers: [118, 173]
Generated Node #3: [118, 173] from Operation: 75+98=173
Current State: 55:[118, 173], Operations: ['47+71=118', '75+98=173']
Exploring Operation: 173-118=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[47, 71, 75, 98], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [47, 75, 27]
Generated Node #0,0: 55:[47, 75, 27] Operation: 98-71=27
Exploring Operation: 98-47=51, Resulting Numbers: [71, 75, 51]
Generated Node #0,1: 55:[71, 75, 51] Operation: 98-47=51
Exploring Operation: 98-75=23, Resulting Numbers: [47, 71, 23]
Generated Node #0,2: 55:[47, 71, 23] Operation: 98-75=23
Exploring Operation: 75-71=4, Resulting Numbers: [47, 98, 4]
Generated Node #0,3: 55:[47, 98, 4] Operation: 75-71=4
Moving to Node #0,2
Current State: 55:[47, 71, 23], Operations: ['98-75=23']
Exploring Operation: 47+23=70, Resulting Numbers: [71, 70]
Generated Node #0,2,0: 55:[71, 70] Operation: 47+23=70
Exploring Operation: 47-23=24, Resulting Numbers: [71, 24]
Generated Node #0,2,1: 55:[71, 24] Operation: 47-23=24
Exploring Operation: 71-23=48, Resulting Numbers: [47, 48]
Generated Node #0,2,2: 55:[47, 48] Operation: 71-23=48
Exploring Operation: 71-47=24, Resulting Numbers: [23, 24]
Generated Node #0,2,3: 55:[23, 24] Operation: 71-47=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[47, 48], Operations: ['98-75=23', '71-23=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,55 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,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,2,3
Current State: 55:[23, 24], Operations: ['98-75=23', '71-47=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,55 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,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,2,1
Current State: 55:[71, 24], Operations: ['98-75=23', '47-23=24']
Exploring Operation: 71*24=1704, Resulting Numbers: [1704]
1704,55 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,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,2,0
Current State: 55:[71, 70], Operations: ['98-75=23', '47+23=70']
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,55 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,55 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: 55:[71, 75, 51], Operations: ['98-47=51']
Exploring Operation: 75-71=4, Resulting Numbers: [51, 4]
Generated Node #0,1,0: 55:[51, 4] Operation: 75-71=4
Exploring Operation: 75-51=24, Resulting Numbers: [71, 24]
Generated Node #0,1,1: 55:[71, 24] Operation: 75-51=24
Exploring Operation: 71-51=20, Resulting Numbers: [75, 20]
Generated Node #0,1,2: 55:[75, 20] Operation: 71-51=20
Exploring Operation: 71+51=122, Resulting Numbers: [75, 122]
Generated Node #0,1,3: 55:[75, 122] Operation: 71+51=122
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[51, 4], Operations: ['98-47=51', '75-71=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,55 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[47, 71, 75, 98], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [71, 75, 51]
Generated Node #0,1: 55:[71, 75, 51] Operation: 98-47=51
Moving to Node #0,1
Current State: 55:[71, 75, 51], Operations: ['98-47=51']
Exploring Operation: 75-71=4, Resulting Numbers: [51, 4]
Generated Node #0,1,0: 55:[51, 4] Operation: 75-71=4
Moving to Node #0,1,0
Current State: 55:[51, 4], Operations: ['98-47=51', '75-71=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 |
hs_4
|
sum_heuristic
|
[
72,
80,
45,
24
] | 15 |
[
"80-72=8",
"45*8=360",
"360/24=15"
] |
Current State: 15:[72, 80, 45, 24], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [45, 24, 8]
Generated Node #2: [45, 24, 8] from Operation: 80-72=8
Current State: 15:[45, 24, 8], Operations: ['80-72=8']
Exploring Operation: 45*8=360, Resulting Numbers: [24, 360]
Generated Node #3: [24, 360] from Operation: 45*8=360
Current State: 15:[24, 360], Operations: ['80-72=8', '45*8=360']
Exploring Operation: 360/24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[72, 80, 45, 24], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [72, 24, 35]
Generated Node #0,0: 15:[72, 24, 35] Operation: 80-45=35
Exploring Operation: 72-45=27, Resulting Numbers: [80, 24, 27]
Generated Node #0,1: 15:[80, 24, 27] Operation: 72-45=27
Exploring Operation: 72/24=3, Resulting Numbers: [80, 45, 3]
Generated Node #0,2: 15:[80, 45, 3] Operation: 72/24=3
Exploring Operation: 80-72=8, Resulting Numbers: [45, 24, 8]
Generated Node #0,3: 15:[45, 24, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[45, 24, 8], Operations: ['80-72=8']
Exploring Operation: 45-24=21, Resulting Numbers: [8, 21]
Generated Node #0,3,0: 15:[8, 21] Operation: 45-24=21
Exploring Operation: 45-8=37, Resulting Numbers: [24, 37]
Generated Node #0,3,1: 15:[24, 37] Operation: 45-8=37
Exploring Operation: 24/8=3, Resulting Numbers: [45, 3]
Generated Node #0,3,2: 15:[45, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [45, 16]
Generated Node #0,3,3: 15:[45, 16] Operation: 24-8=16
Moving to Node #0,3,0
Current State: 15:[8, 21], Operations: ['80-72=8', '45-24=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[45, 3], Operations: ['80-72=8', '24/8=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[72, 80, 45, 24], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [45, 24, 8]
Generated Node #0,3: 15:[45, 24, 8] Operation: 80-72=8
Moving to Node #0,3
Current State: 15:[45, 24, 8], Operations: ['80-72=8']
Exploring Operation: 24/8=3, Resulting Numbers: [45, 3]
Generated Node #0,3,2: 15:[45, 3] Operation: 24/8=3
Moving to Node #0,3,2
Current State: 15:[45, 3], Operations: ['80-72=8', '24/8=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
mult_heuristic
|
[
97,
34,
37,
13
] | 39 |
[
"97-34=63",
"37-13=24",
"63-24=39"
] |
Current State: 39:[97, 34, 37, 13], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [37, 13, 63]
Generated Node #2: [37, 13, 63] from Operation: 97-34=63
Current State: 39:[37, 13, 63], Operations: ['97-34=63']
Exploring Operation: 37-13=24, Resulting Numbers: [63, 24]
Generated Node #3: [63, 24] from Operation: 37-13=24
Current State: 39:[63, 24], Operations: ['97-34=63', '37-13=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[97, 34, 37, 13], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [37, 13, 63]
Generated Node #0,0: 39:[37, 13, 63] Operation: 97-34=63
Exploring Operation: 97-13=84, Resulting Numbers: [34, 37, 84]
Generated Node #0,1: 39:[34, 37, 84] Operation: 97-13=84
Exploring Operation: 97-37=60, Resulting Numbers: [34, 13, 60]
Generated Node #0,2: 39:[34, 13, 60] Operation: 97-37=60
Exploring Operation: 37-34=3, Resulting Numbers: [97, 13, 3]
Generated Node #0,3: 39:[97, 13, 3] Operation: 37-34=3
Moving to Node #0,0
Current State: 39:[37, 13, 63], Operations: ['97-34=63']
Exploring Operation: 37-13=24, Resulting Numbers: [63, 24]
Generated Node #0,0,0: 39:[63, 24] Operation: 37-13=24
Exploring Operation: 37+13=50, Resulting Numbers: [63, 50]
Generated Node #0,0,1: 39:[63, 50] Operation: 37+13=50
Exploring Operation: 63-37=26, Resulting Numbers: [13, 26]
Generated Node #0,0,2: 39:[13, 26] Operation: 63-37=26
Exploring Operation: 63-13=50, Resulting Numbers: [37, 50]
Generated Node #0,0,3: 39:[37, 50] Operation: 63-13=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[13, 26], Operations: ['97-34=63', '63-37=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[97, 34, 37, 13], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [37, 13, 63]
Generated Node #0,0: 39:[37, 13, 63] Operation: 97-34=63
Moving to Node #0,0
Current State: 39:[37, 13, 63], Operations: ['97-34=63']
Exploring Operation: 63-37=26, Resulting Numbers: [13, 26]
Generated Node #0,0,2: 39:[13, 26] Operation: 63-37=26
Moving to Node #0,0,2
Current State: 39:[13, 26], Operations: ['97-34=63', '63-37=26']
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
sum_heuristic
|
[
25,
5,
36,
82
] | 23 |
[
"5+36=41",
"82/41=2",
"25-2=23"
] |
Current State: 23:[25, 5, 36, 82], Operations: []
Exploring Operation: 5+36=41, Resulting Numbers: [25, 82, 41]
Generated Node #2: [25, 82, 41] from Operation: 5+36=41
Current State: 23:[25, 82, 41], Operations: ['5+36=41']
Exploring Operation: 82/41=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 82/41=2
Current State: 23:[25, 2], Operations: ['5+36=41', '82/41=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[25, 5, 36, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [25, 5, 46]
Generated Node #0,0: 23:[25, 5, 46] Operation: 82-36=46
Exploring Operation: 82-25=57, Resulting Numbers: [5, 36, 57]
Generated Node #0,1: 23:[5, 36, 57] Operation: 82-25=57
Moving to Node #0,0
Current State: 23:[25, 5, 46], Operations: ['82-36=46']
Exploring Operation: 46-5=41, Resulting Numbers: [25, 41]
Generated Node #0,0,0: 23:[25, 41] Operation: 46-5=41
Exploring Operation: 46-25=21, Resulting Numbers: [5, 21]
Generated Node #0,0,1: 23:[5, 21] Operation: 46-25=21
Moving to Node #0,1
Current State: 23:[5, 36, 57], Operations: ['82-25=57']
Exploring Operation: 57-36=21, Resulting Numbers: [5, 21]
Generated Node #0,1,0: 23:[5, 21] Operation: 57-36=21
Exploring Operation: 36-5=31, Resulting Numbers: [57, 31]
Generated Node #0,1,1: 23:[57, 31] Operation: 36-5=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[5, 21], Operations: ['82-25=57', '57-36=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[57, 31], Operations: ['82-25=57', '36-5=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,23 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: 23:[25, 41], Operations: ['82-36=46', '46-5=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[5, 21], Operations: ['82-36=46', '46-25=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
71,
45,
10,
80
] | 64 |
[
"71-45=26",
"10+80=90",
"90-26=64"
] |
Current State: 64:[71, 45, 10, 80], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [10, 80, 26]
Generated Node #2: [10, 80, 26] from Operation: 71-45=26
Current State: 64:[10, 80, 26], Operations: ['71-45=26']
Exploring Operation: 10+80=90, Resulting Numbers: [26, 90]
Generated Node #3: [26, 90] from Operation: 10+80=90
Current State: 64:[26, 90], Operations: ['71-45=26', '10+80=90']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[71, 45, 10, 80], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [71, 10, 35]
Generated Node #0,0: 64:[71, 10, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[71, 10, 35], Operations: ['80-45=35']
Exploring Operation: 71-10=61, Resulting Numbers: [35, 61]
Generated Node #0,0,0: 64:[35, 61] Operation: 71-10=61
Moving to Node #0,0,0
Current State: 64:[35, 61], Operations: ['80-45=35', '71-10=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,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
|
[
25,
67,
43,
23
] | 48 |
[
"25-23=2",
"67-43=24",
"2*24=48"
] |
Current State: 48:[25, 67, 43, 23], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [67, 43, 2]
Generated Node #2: [67, 43, 2] from Operation: 25-23=2
Current State: 48:[67, 43, 2], Operations: ['25-23=2']
Exploring Operation: 67-43=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 67-43=24
Current State: 48:[2, 24], Operations: ['25-23=2', '67-43=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[25, 67, 43, 23], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [67, 43, 48]
Generated Node #0,0: 48:[67, 43, 48] Operation: 25+23=48
Exploring Operation: 67-23=44, Resulting Numbers: [25, 43, 44]
Generated Node #0,1: 48:[25, 43, 44] Operation: 67-23=44
Exploring Operation: 67-25=42, Resulting Numbers: [43, 23, 42]
Generated Node #0,2: 48:[43, 23, 42] Operation: 67-25=42
Exploring Operation: 67-43=24, Resulting Numbers: [25, 23, 24]
Generated Node #0,3: 48:[25, 23, 24] Operation: 67-43=24
Exploring Operation: 43-25=18, Resulting Numbers: [67, 23, 18]
Generated Node #0,4: 48:[67, 23, 18] Operation: 43-25=18
Moving to Node #0,3
Current State: 48:[25, 23, 24], Operations: ['67-43=24']
Exploring Operation: 25-23=2, Resulting Numbers: [24, 2]
Generated Node #0,3,0: 48:[24, 2] Operation: 25-23=2
Exploring Operation: 23+24=47, Resulting Numbers: [25, 47]
Generated Node #0,3,1: 48:[25, 47] Operation: 23+24=47
Exploring Operation: 25-24=1, Resulting Numbers: [23, 1]
Generated Node #0,3,2: 48:[23, 1] Operation: 25-24=1
Exploring Operation: 25+24=49, Resulting Numbers: [23, 49]
Generated Node #0,3,3: 48:[23, 49] Operation: 25+24=49
Exploring Operation: 25+23=48, Resulting Numbers: [24, 48]
Generated Node #0,3,4: 48:[24, 48] Operation: 25+23=48
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[24, 2], Operations: ['67-43=24', '25-23=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[25, 67, 43, 23], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [25, 23, 24]
Generated Node #0,3: 48:[25, 23, 24] Operation: 67-43=24
Moving to Node #0,3
Current State: 48:[25, 23, 24], Operations: ['67-43=24']
Exploring Operation: 25-23=2, Resulting Numbers: [24, 2]
Generated Node #0,3,0: 48:[24, 2] Operation: 25-23=2
Moving to Node #0,3,0
Current State: 48:[24, 2], Operations: ['67-43=24', '25-23=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
32,
16,
77,
10
] | 39 |
[
"32+16=48",
"77+10=87",
"87-48=39"
] |
Current State: 39:[32, 16, 77, 10], Operations: []
Exploring Operation: 32+16=48, Resulting Numbers: [77, 10, 48]
Generated Node #2: [77, 10, 48] from Operation: 32+16=48
Current State: 39:[77, 10, 48], Operations: ['32+16=48']
Exploring Operation: 77+10=87, Resulting Numbers: [48, 87]
Generated Node #3: [48, 87] from Operation: 77+10=87
Current State: 39:[48, 87], Operations: ['32+16=48', '77+10=87']
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[32, 16, 77, 10], Operations: []
Exploring Operation: 77-16=61, Resulting Numbers: [32, 10, 61]
Generated Node #0,0: 39:[32, 10, 61] Operation: 77-16=61
Exploring Operation: 77-32=45, Resulting Numbers: [16, 10, 45]
Generated Node #0,1: 39:[16, 10, 45] Operation: 77-32=45
Exploring Operation: 77-10=67, Resulting Numbers: [32, 16, 67]
Generated Node #0,2: 39:[32, 16, 67] Operation: 77-10=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[16, 10, 45], Operations: ['77-32=45']
Exploring Operation: 45-16=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 39:[10, 29] Operation: 45-16=29
Exploring Operation: 45-10=35, Resulting Numbers: [16, 35]
Generated Node #0,1,1: 39:[16, 35] Operation: 45-10=35
Exploring Operation: 16-10=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 39:[45, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[16, 35], Operations: ['77-32=45', '45-10=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[45, 6], Operations: ['77-32=45', '16-10=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,39 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[32, 16, 77, 10], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [16, 10, 45]
Generated Node #0,1: 39:[16, 10, 45] Operation: 77-32=45
Moving to Node #0,1
Current State: 39:[16, 10, 45], Operations: ['77-32=45']
Exploring Operation: 16-10=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 39:[45, 6] Operation: 16-10=6
Moving to Node #0,1,2
Current State: 39:[45, 6], Operations: ['77-32=45', '16-10=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
mult_heuristic
|
[
22,
32,
2,
2
] | 88 |
[
"22+2=24",
"32*2=64",
"24+64=88"
] |
Current State: 88:[22, 32, 2, 2], Operations: []
Exploring Operation: 22+2=24, Resulting Numbers: [32, 24]
Generated Node #2: [32, 24] from Operation: 22+2=24
Current State: 88:[32, 24], Operations: ['22+2=24']
Exploring Operation: 32*2=64, Resulting Numbers: [24, 64]
Generated Node #3: [24, 64] from Operation: 32*2=64
Current State: 88:[24, 64], Operations: ['22+2=24', '32*2=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[22, 32, 2, 2], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,0: 88:[22, 2, 16] Operation: 32/2=16
Exploring Operation: 32-22=10, Resulting Numbers: [2, 2, 10]
Generated Node #0,1: 88:[2, 2, 10] Operation: 32-22=10
Moving to Node #0,1
Current State: 88:[2, 2, 10], Operations: ['32-22=10']
Exploring Operation: 10-2=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 88:[2, 8] Operation: 10-2=8
Exploring Operation: 10-2=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 88:[2, 8] Operation: 10-2=8
Moving to Node #0,0
Current State: 88:[22, 2, 16], Operations: ['32/2=16']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 88:[2, 6] Operation: 22-16=6
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #0,0,1: 88:[22, 8] Operation: 16/2=8
Moving to Node #0,1,0
Current State: 88:[2, 8], Operations: ['32-22=10', '10-2=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[22, 8], Operations: ['32/2=16', '16/2=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[2, 8], Operations: ['32-22=10', '10-2=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[2, 6], Operations: ['32/2=16', '22-16=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
76,
2,
87,
99
] | 34 |
[
"76*2=152",
"87+99=186",
"186-152=34"
] |
Current State: 34:[76, 2, 87, 99], Operations: []
Exploring Operation: 76*2=152, Resulting Numbers: [87, 99, 152]
Generated Node #2: [87, 99, 152] from Operation: 76*2=152
Current State: 34:[87, 99, 152], Operations: ['76*2=152']
Exploring Operation: 87+99=186, Resulting Numbers: [152, 186]
Generated Node #3: [152, 186] from Operation: 87+99=186
Current State: 34:[152, 186], Operations: ['76*2=152', '87+99=186']
Exploring Operation: 186-152=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[76, 2, 87, 99], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [2, 87, 23]
Generated Node #0,0: 34:[2, 87, 23] Operation: 99-76=23
Exploring Operation: 76-2=74, Resulting Numbers: [87, 99, 74]
Generated Node #0,1: 34:[87, 99, 74] Operation: 76-2=74
Exploring Operation: 99-87=12, Resulting Numbers: [76, 2, 12]
Generated Node #0,2: 34:[76, 2, 12] Operation: 99-87=12
Exploring Operation: 87-76=11, Resulting Numbers: [2, 99, 11]
Generated Node #0,3: 34:[2, 99, 11] Operation: 87-76=11
Exploring Operation: 76/2=38, Resulting Numbers: [87, 99, 38]
Generated Node #0,4: 34:[87, 99, 38] Operation: 76/2=38
Moving to Node #0,2
Current State: 34:[76, 2, 12], Operations: ['99-87=12']
Exploring Operation: 12/2=6, Resulting Numbers: [76, 6]
Generated Node #0,2,0: 34:[76, 6] Operation: 12/2=6
Exploring Operation: 76-2=74, Resulting Numbers: [12, 74]
Generated Node #0,2,1: 34:[12, 74] Operation: 76-2=74
Exploring Operation: 2+12=14, Resulting Numbers: [76, 14]
Generated Node #0,2,2: 34:[76, 14] Operation: 2+12=14
Exploring Operation: 76/2=38, Resulting Numbers: [12, 38]
Generated Node #0,2,3: 34:[12, 38] Operation: 76/2=38
Exploring Operation: 76-12=64, Resulting Numbers: [2, 64]
Generated Node #0,2,4: 34:[2, 64] Operation: 76-12=64
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[12, 38], Operations: ['99-87=12', '76/2=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[2, 64], Operations: ['99-87=12', '76-12=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[12, 74], Operations: ['99-87=12', '76-2=74']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[76, 14], Operations: ['99-87=12', '2+12=14']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[76, 6], Operations: ['99-87=12', '12/2=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[2, 87, 23], Operations: ['99-76=23']
Exploring Operation: 2+87=89, Resulting Numbers: [23, 89]
Generated Node #0,0,0: 34:[23, 89] Operation: 2+87=89
Exploring Operation: 87-2=85, Resulting Numbers: [23, 85]
Generated Node #0,0,1: 34:[23, 85] Operation: 87-2=85
Exploring Operation: 2+23=25, Resulting Numbers: [87, 25]
Generated Node #0,0,2: 34:[87, 25] Operation: 2+23=25
Exploring Operation: 87-23=64, Resulting Numbers: [2, 64]
Generated Node #0,0,3: 34:[2, 64] Operation: 87-23=64
Exploring Operation: 23-2=21, Resulting Numbers: [87, 21]
Generated Node #0,0,4: 34:[87, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[2, 64], Operations: ['99-76=23', '87-23=64']
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,34 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[23, 85], Operations: ['99-76=23', '87-2=85']
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[87, 21], Operations: ['99-76=23', '23-2=21']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[23, 89], Operations: ['99-76=23', '2+87=89']
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,34 unequal: No Solution
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[87, 25], Operations: ['99-76=23', '2+23=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,34 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,34 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: 34:[2, 99, 11], Operations: ['87-76=11']
Exploring Operation: 99-11=88, Resulting Numbers: [2, 88]
Generated Node #0,3,0: 34:[2, 88] Operation: 99-11=88
Exploring Operation: 2*11=22, Resulting Numbers: [99, 22]
Generated Node #0,3,1: 34:[99, 22] Operation: 2*11=22
Exploring Operation: 99-2=97, Resulting Numbers: [11, 97]
Generated Node #0,3,2: 34:[11, 97] Operation: 99-2=97
Exploring Operation: 99/11=9, Resulting Numbers: [2, 9]
Generated Node #0,3,3: 34:[2, 9] Operation: 99/11=9
Exploring Operation: 2+11=13, Resulting Numbers: [99, 13]
Generated Node #0,3,4: 34:[99, 13] Operation: 2+11=13
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[2, 9], Operations: ['87-76=11', '99/11=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[2, 88], Operations: ['87-76=11', '99-11=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,34 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[11, 97], Operations: ['87-76=11', '99-2=97']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 11+97=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 11*97=1067, Resulting Numbers: [1067]
1067,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[99, 13], Operations: ['87-76=11', '2+11=13']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 99+13=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 99*13=1287, Resulting Numbers: [1287]
1287,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[99, 22], Operations: ['87-76=11', '2*11=22']
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,34 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,34 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,34 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: 34:[87, 99, 38], Operations: ['76/2=38']
Exploring Operation: 99-87=12, Resulting Numbers: [38, 12]
Generated Node #0,4,0: 34:[38, 12] Operation: 99-87=12
Exploring Operation: 87-38=49, Resulting Numbers: [99, 49]
Generated Node #0,4,1: 34:[99, 49] Operation: 87-38=49
Exploring Operation: 87+38=125, Resulting Numbers: [99, 125]
Generated Node #0,4,2: 34:[99, 125] Operation: 87+38=125
Exploring Operation: 87+99=186, Resulting Numbers: [38, 186]
Generated Node #0,4,3: 34:[38, 186] Operation: 87+99=186
Exploring Operation: 99-38=61, Resulting Numbers: [87, 61]
Generated Node #0,4,4: 34:[87, 61] Operation: 99-38=61
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[38, 12], Operations: ['76/2=38', '99-87=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[99, 49], Operations: ['76/2=38', '87-38=49']
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 99*49=4851, Resulting Numbers: [4851]
4851,34 unequal: No Solution
Exploring Operation: 99+49=148, Resulting Numbers: [148]
148,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[87, 61], Operations: ['76/2=38', '99-38=61']
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,34 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[99, 125], Operations: ['76/2=38', '87+38=125']
Exploring Operation: 99*125=12375, Resulting Numbers: [12375]
12375,34 unequal: No Solution
Exploring Operation: 99+125=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 125-99=26, Resulting Numbers: [26]
26,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[38, 186], Operations: ['76/2=38', '87+99=186']
Exploring Operation: 186-38=148, Resulting Numbers: [148]
148,34 unequal: No Solution
Exploring Operation: 38+186=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 38*186=7068, Resulting Numbers: [7068]
7068,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[87, 99, 74], Operations: ['76-2=74']
Exploring Operation: 99-74=25, Resulting Numbers: [87, 25]
Generated Node #0,1,0: 34:[87, 25] Operation: 99-74=25
Exploring Operation: 99-87=12, Resulting Numbers: [74, 12]
Generated Node #0,1,1: 34:[74, 12] Operation: 99-87=12
Exploring Operation: 87-74=13, Resulting Numbers: [99, 13]
Generated Node #0,1,2: 34:[99, 13] Operation: 87-74=13
Exploring Operation: 87+99=186, Resulting Numbers: [74, 186]
Generated Node #0,1,3: 34:[74, 186] Operation: 87+99=186
Exploring Operation: 87+74=161, Resulting Numbers: [99, 161]
Generated Node #0,1,4: 34:[99, 161] Operation: 87+74=161
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[74, 12], Operations: ['76-2=74', '99-87=12']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[87, 25], Operations: ['76-2=74', '99-74=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,34 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[99, 13], Operations: ['76-2=74', '87-74=13']
Exploring Operation: 99+13=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 99*13=1287, Resulting Numbers: [1287]
1287,34 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[74, 186], Operations: ['76-2=74', '87+99=186']
Exploring Operation: 74+186=260, Resulting Numbers: [260]
260,34 unequal: No Solution
Exploring Operation: 74*186=13764, Resulting Numbers: [13764]
13764,34 unequal: No Solution
Exploring Operation: 186-74=112, Resulting Numbers: [112]
112,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[99, 161], Operations: ['76-2=74', '87+74=161']
Exploring Operation: 99*161=15939, Resulting Numbers: [15939]
15939,34 unequal: No Solution
Exploring Operation: 161-99=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 99+161=260, Resulting Numbers: [260]
260,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
30,
65,
63,
1
] | 15 |
[
"30*1=30",
"65-63=2",
"30/2=15"
] |
Current State: 15:[30, 65, 63, 1], Operations: []
Exploring Operation: 30*1=30, Resulting Numbers: [65, 63, 30]
Generated Node #2: [65, 63, 30] from Operation: 30*1=30
Current State: 15:[65, 63, 30], Operations: ['30*1=30']
Exploring Operation: 65-63=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 65-63=2
Current State: 15:[30, 2], Operations: ['30*1=30', '65-63=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[30, 65, 63, 1], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [30, 1, 2]
Generated Node #0,0: 15:[30, 1, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 15:[30, 1, 2], Operations: ['65-63=2']
Exploring Operation: 30/2=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 15:[1, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[1, 15], Operations: ['65-63=2', '30/2=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[30, 65, 63, 1], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [30, 1, 2]
Generated Node #0,0: 15:[30, 1, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 15:[30, 1, 2], Operations: ['65-63=2']
Exploring Operation: 30/2=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 15:[1, 15] Operation: 30/2=15
Moving to Node #0,0,0
Current State: 15:[1, 15], Operations: ['65-63=2', '30/2=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
69,
10,
91,
49
] | 81 |
[
"69-10=59",
"91+49=140",
"140-59=81"
] |
Current State: 81:[69, 10, 91, 49], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [91, 49, 59]
Generated Node #2: [91, 49, 59] from Operation: 69-10=59
Current State: 81:[91, 49, 59], Operations: ['69-10=59']
Exploring Operation: 91+49=140, Resulting Numbers: [59, 140]
Generated Node #3: [59, 140] from Operation: 91+49=140
Current State: 81:[59, 140], Operations: ['69-10=59', '91+49=140']
Exploring Operation: 140-59=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[69, 10, 91, 49], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [10, 91, 20]
Generated Node #0,0: 81:[10, 91, 20] Operation: 69-49=20
Moving to Node #0,0
Current State: 81:[10, 91, 20], Operations: ['69-49=20']
Exploring Operation: 91-10=81, Resulting Numbers: [20, 81]
Generated Node #0,0,0: 81:[20, 81] Operation: 91-10=81
Moving to Node #0,0,0
Current State: 81:[20, 81], Operations: ['69-49=20', '91-10=81']
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,81 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
26,
16,
8,
43
] | 71 |
[
"26+43=69",
"16/8=2",
"69+2=71"
] |
Current State: 71:[26, 16, 8, 43], Operations: []
Exploring Operation: 26+43=69, Resulting Numbers: [16, 8, 69]
Generated Node #2: [16, 8, 69] from Operation: 26+43=69
Current State: 71:[16, 8, 69], Operations: ['26+43=69']
Exploring Operation: 16/8=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 16/8=2
Current State: 71:[69, 2], Operations: ['26+43=69', '16/8=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[26, 16, 8, 43], Operations: []
Exploring Operation: 16+8=24, Resulting Numbers: [26, 43, 24]
Generated Node #0,0: 71:[26, 43, 24] Operation: 16+8=24
Exploring Operation: 26+16=42, Resulting Numbers: [8, 43, 42]
Generated Node #0,1: 71:[8, 43, 42] Operation: 26+16=42
Exploring Operation: 26+8=34, Resulting Numbers: [16, 43, 34]
Generated Node #0,2: 71:[16, 43, 34] Operation: 26+8=34
Exploring Operation: 26+43=69, Resulting Numbers: [16, 8, 69]
Generated Node #0,3: 71:[16, 8, 69] Operation: 26+43=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[26, 43, 24], Operations: ['16+8=24']
Exploring Operation: 26-24=2, Resulting Numbers: [43, 2]
Generated Node #0,0,0: 71:[43, 2] Operation: 26-24=2
Exploring Operation: 26+24=50, Resulting Numbers: [43, 50]
Generated Node #0,0,1: 71:[43, 50] Operation: 26+24=50
Exploring Operation: 26+43=69, Resulting Numbers: [24, 69]
Generated Node #0,0,2: 71:[24, 69] Operation: 26+43=69
Exploring Operation: 43+24=67, Resulting Numbers: [26, 67]
Generated Node #0,0,3: 71:[26, 67] Operation: 43+24=67
Moving to Node #0,0,1
Current State: 71:[43, 50], Operations: ['16+8=24', '26+24=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,71 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[26, 67], Operations: ['16+8=24', '43+24=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,71 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[24, 69], Operations: ['16+8=24', '26+43=69']
Exploring Operation: 24*69=1656, Resulting Numbers: [1656]
1656,71 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[43, 2], Operations: ['16+8=24', '26-24=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[8, 43, 42], Operations: ['26+16=42']
Exploring Operation: 8+43=51, Resulting Numbers: [42, 51]
Generated Node #0,1,0: 71:[42, 51] Operation: 8+43=51
Exploring Operation: 42-8=34, Resulting Numbers: [43, 34]
Generated Node #0,1,1: 71:[43, 34] Operation: 42-8=34
Exploring Operation: 8+42=50, Resulting Numbers: [43, 50]
Generated Node #0,1,2: 71:[43, 50] Operation: 8+42=50
Exploring Operation: 43-8=35, Resulting Numbers: [42, 35]
Generated Node #0,1,3: 71:[42, 35] Operation: 43-8=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[42, 51], Operations: ['26+16=42', '8+43=51']
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,71 unequal: No Solution
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,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,1,2
Current State: 71:[43, 50], Operations: ['26+16=42', '8+42=50']
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,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,1,1
Current State: 71:[43, 34], Operations: ['26+16=42', '42-8=34']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,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,1,3
Current State: 71:[42, 35], Operations: ['26+16=42', '43-8=35']
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,71 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[16, 43, 34], Operations: ['26+8=34']
Exploring Operation: 16+43=59, Resulting Numbers: [34, 59]
Generated Node #0,2,0: 71:[34, 59] Operation: 16+43=59
Exploring Operation: 43-16=27, Resulting Numbers: [34, 27]
Generated Node #0,2,1: 71:[34, 27] Operation: 43-16=27
Exploring Operation: 43+34=77, Resulting Numbers: [16, 77]
Generated Node #0,2,2: 71:[16, 77] Operation: 43+34=77
Exploring Operation: 16+34=50, Resulting Numbers: [43, 50]
Generated Node #0,2,3: 71:[43, 50] Operation: 16+34=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[34, 59], Operations: ['26+8=34', '16+43=59']
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,71 unequal: No Solution
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[43, 50], Operations: ['26+8=34', '16+34=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[16, 77], Operations: ['26+8=34', '43+34=77']
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,71 unequal: No Solution
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[34, 27], Operations: ['26+8=34', '43-16=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,71 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[16, 8, 69], Operations: ['26+43=69']
Exploring Operation: 16*8=128, Resulting Numbers: [69, 128]
Generated Node #0,3,0: 71:[69, 128] Operation: 16*8=128
Exploring Operation: 16+8=24, Resulting Numbers: [69, 24]
Generated Node #0,3,1: 71:[69, 24] Operation: 16+8=24
Exploring Operation: 8+69=77, Resulting Numbers: [16, 77]
Generated Node #0,3,2: 71:[16, 77] Operation: 8+69=77
Exploring Operation: 16-8=8, Resulting Numbers: [69, 8]
Generated Node #0,3,3: 71:[69, 8] Operation: 16-8=8
Moving to Node #0,3,1
Current State: 71:[69, 24], Operations: ['26+43=69', '16+8=24']
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,71 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[69, 128], Operations: ['26+43=69', '16*8=128']
Exploring Operation: 69*128=8832, Resulting Numbers: [8832]
8832,71 unequal: No Solution
Exploring Operation: 128-69=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 69+128=197, Resulting Numbers: [197]
197,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[16, 77], Operations: ['26+43=69', '8+69=77']
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[69, 8], Operations: ['26+43=69', '16-8=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,71 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,71 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
|
[
91,
80,
86,
12
] | 20 |
[
"91-86=5",
"12*5=60",
"80-60=20"
] |
Current State: 20:[91, 80, 86, 12], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [80, 12, 5]
Generated Node #2: [80, 12, 5] from Operation: 91-86=5
Current State: 20:[80, 12, 5], Operations: ['91-86=5']
Exploring Operation: 12*5=60, Resulting Numbers: [80, 60]
Generated Node #3: [80, 60] from Operation: 12*5=60
Current State: 20:[80, 60], Operations: ['91-86=5', '12*5=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[91, 80, 86, 12], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [80, 12, 5]
Generated Node #0,0: 20:[80, 12, 5] Operation: 91-86=5
Exploring Operation: 86-80=6, Resulting Numbers: [91, 12, 6]
Generated Node #0,1: 20:[91, 12, 6] Operation: 86-80=6
Exploring Operation: 91-80=11, Resulting Numbers: [86, 12, 11]
Generated Node #0,2: 20:[86, 12, 11] Operation: 91-80=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[80, 12, 5], Operations: ['91-86=5']
Exploring Operation: 80/5=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 20:[12, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [12, 75]
Generated Node #0,0,1: 20:[12, 75] Operation: 80-5=75
Exploring Operation: 80-12=68, Resulting Numbers: [5, 68]
Generated Node #0,0,2: 20:[5, 68] Operation: 80-12=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[12, 16], Operations: ['91-86=5', '80/5=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[5, 68], Operations: ['91-86=5', '80-12=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[12, 75], Operations: ['91-86=5', '80-5=75']
Exploring Operation: 12*75=900, Resulting Numbers: [900]
900,20 unequal: No Solution
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[86, 12, 11], Operations: ['91-80=11']
Exploring Operation: 86-11=75, Resulting Numbers: [12, 75]
Generated Node #0,2,0: 20:[12, 75] Operation: 86-11=75
Exploring Operation: 12-11=1, Resulting Numbers: [86, 1]
Generated Node #0,2,1: 20:[86, 1] Operation: 12-11=1
Exploring Operation: 86-12=74, Resulting Numbers: [11, 74]
Generated Node #0,2,2: 20:[11, 74] Operation: 86-12=74
Moving to Node #0,2,2
Current State: 20:[11, 74], Operations: ['91-80=11', '86-12=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,20 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[12, 75], Operations: ['91-80=11', '86-11=75']
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 12*75=900, Resulting Numbers: [900]
900,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[86, 1], Operations: ['91-80=11', '12-11=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,20 unequal: No Solution
No 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: 20:[91, 12, 6], Operations: ['86-80=6']
Exploring Operation: 12/6=2, Resulting Numbers: [91, 2]
Generated Node #0,1,0: 20:[91, 2] Operation: 12/6=2
Exploring Operation: 91-12=79, Resulting Numbers: [6, 79]
Generated Node #0,1,1: 20:[6, 79] Operation: 91-12=79
Exploring Operation: 91-6=85, Resulting Numbers: [12, 85]
Generated Node #0,1,2: 20:[12, 85] Operation: 91-6=85
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[6, 79], Operations: ['86-80=6', '91-12=79']
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,20 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[12, 85], Operations: ['86-80=6', '91-6=85']
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,20 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[91, 2], Operations: ['86-80=6', '12/6=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,20 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,20 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
63,
91,
98,
43
] | 99 |
[
"63+91=154",
"98-43=55",
"154-55=99"
] |
Current State: 99:[63, 91, 98, 43], Operations: []
Exploring Operation: 63+91=154, Resulting Numbers: [98, 43, 154]
Generated Node #2: [98, 43, 154] from Operation: 63+91=154
Current State: 99:[98, 43, 154], Operations: ['63+91=154']
Exploring Operation: 98-43=55, Resulting Numbers: [154, 55]
Generated Node #3: [154, 55] from Operation: 98-43=55
Current State: 99:[154, 55], Operations: ['63+91=154', '98-43=55']
Exploring Operation: 154-55=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[63, 91, 98, 43], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [91, 43, 35]
Generated Node #0,0: 99:[91, 43, 35] Operation: 98-63=35
Exploring Operation: 91-63=28, Resulting Numbers: [98, 43, 28]
Generated Node #0,1: 99:[98, 43, 28] Operation: 91-63=28
Exploring Operation: 63+43=106, Resulting Numbers: [91, 98, 106]
Generated Node #0,2: 99:[91, 98, 106] Operation: 63+43=106
Exploring Operation: 63-43=20, Resulting Numbers: [91, 98, 20]
Generated Node #0,3: 99:[91, 98, 20] Operation: 63-43=20
Moving to Node #0,1
Current State: 99:[98, 43, 28], Operations: ['91-63=28']
Exploring Operation: 43-28=15, Resulting Numbers: [98, 15]
Generated Node #0,1,0: 99:[98, 15] Operation: 43-28=15
Exploring Operation: 98+28=126, Resulting Numbers: [43, 126]
Generated Node #0,1,1: 99:[43, 126] Operation: 98+28=126
Exploring Operation: 43+28=71, Resulting Numbers: [98, 71]
Generated Node #0,1,2: 99:[98, 71] Operation: 43+28=71
Exploring Operation: 98-43=55, Resulting Numbers: [28, 55]
Generated Node #0,1,3: 99:[28, 55] Operation: 98-43=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[98, 15], Operations: ['91-63=28', '43-28=15']
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[28, 55], Operations: ['91-63=28', '98-43=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,99 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[98, 71], Operations: ['91-63=28', '43+28=71']
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,99 unequal: No Solution
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,99 unequal: No Solution
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[43, 126], Operations: ['91-63=28', '98+28=126']
Exploring Operation: 43+126=169, Resulting Numbers: [169]
169,99 unequal: No Solution
Exploring Operation: 126-43=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 43*126=5418, Resulting Numbers: [5418]
5418,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 99:[91, 98, 106], Operations: ['63+43=106']
Exploring Operation: 98-91=7, Resulting Numbers: [106, 7]
Generated Node #0,2,0: 99:[106, 7] Operation: 98-91=7
Exploring Operation: 106-91=15, Resulting Numbers: [98, 15]
Generated Node #0,2,1: 99:[98, 15] Operation: 106-91=15
Exploring Operation: 91+98=189, Resulting Numbers: [106, 189]
Generated Node #0,2,2: 99:[106, 189] Operation: 91+98=189
Exploring Operation: 106-98=8, Resulting Numbers: [91, 8]
Generated Node #0,2,3: 99:[91, 8] Operation: 106-98=8
Moving to Node #0,3
Current State: 99:[91, 98, 20], Operations: ['63-43=20']
Exploring Operation: 91+20=111, Resulting Numbers: [98, 111]
Generated Node #0,3,0: 99:[98, 111] Operation: 91+20=111
Exploring Operation: 98+20=118, Resulting Numbers: [91, 118]
Generated Node #0,3,1: 99:[91, 118] Operation: 98+20=118
Exploring Operation: 91-20=71, Resulting Numbers: [98, 71]
Generated Node #0,3,2: 99:[98, 71] Operation: 91-20=71
Exploring Operation: 98-91=7, Resulting Numbers: [20, 7]
Generated Node #0,3,3: 99:[20, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[20, 7], Operations: ['63-43=20', '98-91=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,99 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[98, 111], Operations: ['63-43=20', '91+20=111']
Exploring Operation: 111-98=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 98+111=209, Resulting Numbers: [209]
209,99 unequal: No Solution
Exploring Operation: 98*111=10878, Resulting Numbers: [10878]
10878,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[91, 118], Operations: ['63-43=20', '98+20=118']
Exploring Operation: 91+118=209, Resulting Numbers: [209]
209,99 unequal: No Solution
Exploring Operation: 91*118=10738, Resulting Numbers: [10738]
10738,99 unequal: No Solution
Exploring Operation: 118-91=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[98, 71], Operations: ['63-43=20', '91-20=71']
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,99 unequal: No Solution
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[91, 43, 35], Operations: ['98-63=35']
Exploring Operation: 91-35=56, Resulting Numbers: [43, 56]
Generated Node #0,0,0: 99:[43, 56] Operation: 91-35=56
Exploring Operation: 43+35=78, Resulting Numbers: [91, 78]
Generated Node #0,0,1: 99:[91, 78] Operation: 43+35=78
Exploring Operation: 43-35=8, Resulting Numbers: [91, 8]
Generated Node #0,0,2: 99:[91, 8] Operation: 43-35=8
Exploring Operation: 91-43=48, Resulting Numbers: [35, 48]
Generated Node #0,0,3: 99:[35, 48] Operation: 91-43=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[91, 8], Operations: ['98-63=35', '43-35=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,99 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[63, 91, 98, 43], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [91, 43, 35]
Generated Node #0,0: 99:[91, 43, 35] Operation: 98-63=35
Moving to Node #0,0
Current State: 99:[91, 43, 35], Operations: ['98-63=35']
Exploring Operation: 43-35=8, Resulting Numbers: [91, 8]
Generated Node #0,0,2: 99:[91, 8] Operation: 43-35=8
Moving to Node #0,0,2
Current State: 99:[91, 8], Operations: ['98-63=35', '43-35=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 |
hs_4
|
sum_heuristic
|
[
83,
6,
80,
80
] | 82 |
[
"83-80=3",
"6/3=2",
"80+2=82"
] |
Current State: 82:[83, 6, 80, 80], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [6, 3]
Generated Node #2: [6, 3] from Operation: 83-80=3
Current State: 82:[6, 3], Operations: ['83-80=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,82 equal: Goal Reached
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[83, 6, 80, 80], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [83, 6, 1]
Generated Node #0,0: 82:[83, 6, 1] Operation: 80/80=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[83, 6, 1], Operations: ['80/80=1']
Exploring Operation: 83-1=82, Resulting Numbers: [6, 82]
Generated Node #0,0,0: 82:[6, 82] Operation: 83-1=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[6, 82], Operations: ['80/80=1', '83-1=82']
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,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
|
[
7,
97,
61,
70
] | 41 |
[
"97-7=90",
"61+70=131",
"131-90=41"
] |
Current State: 41:[7, 97, 61, 70], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [61, 70, 90]
Generated Node #2: [61, 70, 90] from Operation: 97-7=90
Current State: 41:[61, 70, 90], Operations: ['97-7=90']
Exploring Operation: 61+70=131, Resulting Numbers: [90, 131]
Generated Node #3: [90, 131] from Operation: 61+70=131
Current State: 41:[90, 131], Operations: ['97-7=90', '61+70=131']
Exploring Operation: 131-90=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[7, 97, 61, 70], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [61, 70, 90]
Generated Node #0,0: 41:[61, 70, 90] Operation: 97-7=90
Exploring Operation: 97-70=27, Resulting Numbers: [7, 61, 27]
Generated Node #0,1: 41:[7, 61, 27] Operation: 97-70=27
Exploring Operation: 97-61=36, Resulting Numbers: [7, 70, 36]
Generated Node #0,2: 41:[7, 70, 36] Operation: 97-61=36
Moving to Node #0,1
Current State: 41:[7, 61, 27], Operations: ['97-70=27']
Exploring Operation: 7+27=34, Resulting Numbers: [61, 34]
Generated Node #0,1,0: 41:[61, 34] Operation: 7+27=34
Exploring Operation: 7+61=68, Resulting Numbers: [27, 68]
Generated Node #0,1,1: 41:[27, 68] Operation: 7+61=68
Exploring Operation: 61-7=54, Resulting Numbers: [27, 54]
Generated Node #0,1,2: 41:[27, 54] Operation: 61-7=54
Moving to Node #0,2
Current State: 41:[7, 70, 36], Operations: ['97-61=36']
Exploring Operation: 70-7=63, Resulting Numbers: [36, 63]
Generated Node #0,2,0: 41:[36, 63] Operation: 70-7=63
Exploring Operation: 7+36=43, Resulting Numbers: [70, 43]
Generated Node #0,2,1: 41:[70, 43] Operation: 7+36=43
Exploring Operation: 70/7=10, Resulting Numbers: [36, 10]
Generated Node #0,2,2: 41:[36, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[36, 63], Operations: ['97-61=36', '70-7=63']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,41 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[70, 43], Operations: ['97-61=36', '7+36=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,41 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[36, 10], Operations: ['97-61=36', '70/7=10']
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[61, 70, 90], Operations: ['97-7=90']
Exploring Operation: 90-70=20, Resulting Numbers: [61, 20]
Generated Node #0,0,0: 41:[61, 20] Operation: 90-70=20
Exploring Operation: 70-61=9, Resulting Numbers: [90, 9]
Generated Node #0,0,1: 41:[90, 9] Operation: 70-61=9
Exploring Operation: 90-61=29, Resulting Numbers: [70, 29]
Generated Node #0,0,2: 41:[70, 29] Operation: 90-61=29
Moving to Node #0,1,0
Current State: 41:[61, 34], Operations: ['97-70=27', '7+27=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,41 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[27, 54], Operations: ['97-70=27', '61-7=54']
Exploring Operation: 27+54=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[27, 68], Operations: ['97-70=27', '7+61=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[7, 97, 61, 70], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [7, 61, 27]
Generated Node #0,1: 41:[7, 61, 27] Operation: 97-70=27
Moving to Node #0,1
Current State: 41:[7, 61, 27], Operations: ['97-70=27']
Exploring Operation: 7+61=68, Resulting Numbers: [27, 68]
Generated Node #0,1,1: 41:[27, 68] Operation: 7+61=68
Moving to Node #0,1,1
Current State: 41:[27, 68], Operations: ['97-70=27', '7+61=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.971354 |
hs_3
|
sum_heuristic
|
[
16,
8,
72,
66
] | 57 |
[
"16-8=8",
"72/8=9",
"66-9=57"
] |
Current State: 57:[16, 8, 72, 66], Operations: []
Exploring Operation: 16-8=8, Resulting Numbers: [72, 66, 8]
Generated Node #2: [72, 66, 8] from Operation: 16-8=8
Current State: 57:[72, 66, 8], Operations: ['16-8=8']
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 72/8=9
Current State: 57:[66, 9], Operations: ['16-8=8', '72/8=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[16, 8, 72, 66], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [16, 8, 6]
Generated Node #0,0: 57:[16, 8, 6] Operation: 72-66=6
Exploring Operation: 72-16=56, Resulting Numbers: [8, 66, 56]
Generated Node #0,1: 57:[8, 66, 56] Operation: 72-16=56
Moving to Node #0,0
Current State: 57:[16, 8, 6], Operations: ['72-66=6']
Exploring Operation: 8-6=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 57:[16, 2] Operation: 8-6=2
Exploring Operation: 16/8=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 57:[6, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[16, 2], Operations: ['72-66=6', '8-6=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,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,0,1
Current State: 57:[6, 2], Operations: ['72-66=6', '16/8=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[8, 66, 56], Operations: ['72-16=56']
Exploring Operation: 66-8=58, Resulting Numbers: [56, 58]
Generated Node #0,1,0: 57:[56, 58] Operation: 66-8=58
Exploring Operation: 66-56=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 57:[8, 10] Operation: 66-56=10
Moving to Node #0,1,0
Current State: 57:[56, 58], Operations: ['72-16=56', '66-8=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[8, 10], Operations: ['72-16=56', '66-56=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
28,
85,
99,
70
] | 33 |
[
"99-85=14",
"70/14=5",
"28+5=33"
] |
Current State: 33:[28, 85, 99, 70], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [28, 70, 14]
Generated Node #2: [28, 70, 14] from Operation: 99-85=14
Current State: 33:[28, 70, 14], Operations: ['99-85=14']
Exploring Operation: 70/14=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 70/14=5
Current State: 33:[28, 5], Operations: ['99-85=14', '70/14=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[28, 85, 99, 70], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [28, 70, 14]
Generated Node #0,0: 33:[28, 70, 14] Operation: 99-85=14
Exploring Operation: 99-70=29, Resulting Numbers: [28, 85, 29]
Generated Node #0,1: 33:[28, 85, 29] Operation: 99-70=29
Exploring Operation: 85-70=15, Resulting Numbers: [28, 99, 15]
Generated Node #0,2: 33:[28, 99, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[28, 70, 14], Operations: ['99-85=14']
Exploring Operation: 70-28=42, Resulting Numbers: [14, 42]
Generated Node #0,0,0: 33:[14, 42] Operation: 70-28=42
Exploring Operation: 70/14=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 33:[28, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [28, 56]
Generated Node #0,0,2: 33:[28, 56] Operation: 70-14=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[28, 5], Operations: ['99-85=14', '70/14=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[28, 85, 99, 70], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [28, 70, 14]
Generated Node #0,0: 33:[28, 70, 14] Operation: 99-85=14
Moving to Node #0,0
Current State: 33:[28, 70, 14], Operations: ['99-85=14']
Exploring Operation: 70/14=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 33:[28, 5] Operation: 70/14=5
Moving to Node #0,0,1
Current State: 33:[28, 5], Operations: ['99-85=14', '70/14=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
47,
67,
10,
30
] | 38 |
[
"47+67=114",
"30/10=3",
"114/3=38"
] |
Current State: 38:[47, 67, 10, 30], Operations: []
Exploring Operation: 47+67=114, Resulting Numbers: [10, 30, 114]
Generated Node #2: [10, 30, 114] from Operation: 47+67=114
Current State: 38:[10, 30, 114], Operations: ['47+67=114']
Exploring Operation: 30/10=3, Resulting Numbers: [114, 3]
Generated Node #3: [114, 3] from Operation: 30/10=3
Current State: 38:[114, 3], Operations: ['47+67=114', '30/10=3']
Exploring Operation: 114/3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[47, 67, 10, 30], Operations: []
Exploring Operation: 47-10=37, Resulting Numbers: [67, 30, 37]
Generated Node #0,0: 38:[67, 30, 37] Operation: 47-10=37
Exploring Operation: 67-10=57, Resulting Numbers: [47, 30, 57]
Generated Node #0,1: 38:[47, 30, 57] Operation: 67-10=57
Exploring Operation: 67-47=20, Resulting Numbers: [10, 30, 20]
Generated Node #0,2: 38:[10, 30, 20] Operation: 67-47=20
Exploring Operation: 67-30=37, Resulting Numbers: [47, 10, 37]
Generated Node #0,3: 38:[47, 10, 37] Operation: 67-30=37
Moving to Node #0,2
Current State: 38:[10, 30, 20], Operations: ['67-47=20']
Exploring Operation: 30/10=3, Resulting Numbers: [20, 3]
Generated Node #0,2,0: 38:[20, 3] Operation: 30/10=3
Exploring Operation: 20/10=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 38:[30, 2] Operation: 20/10=2
Exploring Operation: 10+30=40, Resulting Numbers: [20, 40]
Generated Node #0,2,2: 38:[20, 40] Operation: 10+30=40
Exploring Operation: 30-10=20, Resulting Numbers: [20, 20]
Generated Node #0,2,3: 38:[20, 20] Operation: 30-10=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[20, 3], Operations: ['67-47=20', '30/10=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,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,3
Current State: 38:[20, 20], Operations: ['67-47=20', '30-10=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,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,2
Current State: 38:[20, 40], Operations: ['67-47=20', '10+30=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 20*40=800, Resulting Numbers: [800]
800,38 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,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,1
Current State: 38:[30, 2], Operations: ['67-47=20', '20/10=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,38 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: 38:[47, 10, 37], Operations: ['67-30=37']
Exploring Operation: 47-37=10, Resulting Numbers: [10, 10]
Generated Node #0,3,0: 38:[10, 10] Operation: 47-37=10
Exploring Operation: 47-10=37, Resulting Numbers: [37, 37]
Generated Node #0,3,1: 38:[37, 37] Operation: 47-10=37
Exploring Operation: 10+37=47, Resulting Numbers: [47, 47]
Generated Node #0,3,2: 38:[47, 47] Operation: 10+37=47
Exploring Operation: 37-10=27, Resulting Numbers: [47, 27]
Generated Node #0,3,3: 38:[47, 27] Operation: 37-10=27
Moving to Node #0,1
Current State: 38:[47, 30, 57], Operations: ['67-10=57']
Exploring Operation: 57-47=10, Resulting Numbers: [30, 10]
Generated Node #0,1,0: 38:[30, 10] Operation: 57-47=10
Exploring Operation: 57-30=27, Resulting Numbers: [47, 27]
Generated Node #0,1,1: 38:[47, 27] Operation: 57-30=27
Exploring Operation: 47-30=17, Resulting Numbers: [57, 17]
Generated Node #0,1,2: 38:[57, 17] Operation: 47-30=17
Exploring Operation: 47+30=77, Resulting Numbers: [57, 77]
Generated Node #0,1,3: 38:[57, 77] Operation: 47+30=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[30, 10], Operations: ['67-10=57', '57-47=10']
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,38 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,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,1
Current State: 38:[47, 27], Operations: ['67-10=57', '57-30=27']
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,38 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,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,2
Current State: 38:[57, 17], Operations: ['67-10=57', '47-30=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,38 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,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,3
Current State: 38:[57, 77], Operations: ['67-10=57', '47+30=77']
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,38 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,38 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: 38:[67, 30, 37], Operations: ['47-10=37']
Exploring Operation: 67-37=30, Resulting Numbers: [30, 30]
Generated Node #0,0,0: 38:[30, 30] Operation: 67-37=30
Exploring Operation: 37-30=7, Resulting Numbers: [67, 7]
Generated Node #0,0,1: 38:[67, 7] Operation: 37-30=7
Exploring Operation: 30+37=67, Resulting Numbers: [67, 67]
Generated Node #0,0,2: 38:[67, 67] Operation: 30+37=67
Exploring Operation: 67-30=37, Resulting Numbers: [37, 37]
Generated Node #0,0,3: 38:[37, 37] Operation: 67-30=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[37, 37], Operations: ['47-10=37', '67-30=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,38 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,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,0
Current State: 38:[30, 30], Operations: ['47-10=37', '67-37=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,38 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,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:[67, 7], Operations: ['47-10=37', '37-30=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,38 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,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,2
Current State: 38:[67, 67], Operations: ['47-10=37', '30+37=67']
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,38 unequal: No Solution
Exploring Operation: 67*67=4489, Resulting Numbers: [4489]
4489,38 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 38:[37, 37], Operations: ['67-30=37', '47-10=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,38 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[10, 10], Operations: ['67-30=37', '47-37=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[47, 27], Operations: ['67-30=37', '37-10=27']
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,38 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[47, 47], Operations: ['67-30=37', '10+37=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,38 unequal: No Solution
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,38 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,38 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
53,
30,
29,
66
] | 12 |
[
"53+30=83",
"29+66=95",
"95-83=12"
] |
Current State: 12:[53, 30, 29, 66], Operations: []
Exploring Operation: 53+30=83, Resulting Numbers: [29, 66, 83]
Generated Node #2: [29, 66, 83] from Operation: 53+30=83
Current State: 12:[29, 66, 83], Operations: ['53+30=83']
Exploring Operation: 29+66=95, Resulting Numbers: [83, 95]
Generated Node #3: [83, 95] from Operation: 29+66=95
Current State: 12:[83, 95], Operations: ['53+30=83', '29+66=95']
Exploring Operation: 95-83=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[53, 30, 29, 66], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [53, 30, 37]
Generated Node #0,0: 12:[53, 30, 37] Operation: 66-29=37
Exploring Operation: 66-53=13, Resulting Numbers: [30, 29, 13]
Generated Node #0,1: 12:[30, 29, 13] Operation: 66-53=13
Exploring Operation: 53-29=24, Resulting Numbers: [30, 66, 24]
Generated Node #0,2: 12:[30, 66, 24] Operation: 53-29=24
Exploring Operation: 53-30=23, Resulting Numbers: [29, 66, 23]
Generated Node #0,3: 12:[29, 66, 23] Operation: 53-30=23
Exploring Operation: 66-30=36, Resulting Numbers: [53, 29, 36]
Generated Node #0,4: 12:[53, 29, 36] Operation: 66-30=36
Moving to Node #0,1
Current State: 12:[30, 29, 13], Operations: ['66-53=13']
Exploring Operation: 30+13=43, Resulting Numbers: [29, 43]
Generated Node #0,1,0: 12:[29, 43] Operation: 30+13=43
Exploring Operation: 30-13=17, Resulting Numbers: [29, 17]
Generated Node #0,1,1: 12:[29, 17] Operation: 30-13=17
Exploring Operation: 30+29=59, Resulting Numbers: [13, 59]
Generated Node #0,1,2: 12:[13, 59] Operation: 30+29=59
Exploring Operation: 30-29=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 12:[13, 1] Operation: 30-29=1
Exploring Operation: 29-13=16, Resulting Numbers: [30, 16]
Generated Node #0,1,4: 12:[30, 16] Operation: 29-13=16
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[13, 1], Operations: ['66-53=13', '30-29=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[53, 30, 29, 66], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [30, 29, 13]
Generated Node #0,1: 12:[30, 29, 13] Operation: 66-53=13
Moving to Node #0,1
Current State: 12:[30, 29, 13], Operations: ['66-53=13']
Exploring Operation: 30-29=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 12:[13, 1] Operation: 30-29=1
Moving to Node #0,1,3
Current State: 12:[13, 1], Operations: ['66-53=13', '30-29=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
3,
84,
96,
93
] | 97 |
[
"96-84=12",
"12/3=4",
"93+4=97"
] |
Current State: 97:[3, 84, 96, 93], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [3, 93, 12]
Generated Node #2: [3, 93, 12] from Operation: 96-84=12
Current State: 97:[3, 93, 12], Operations: ['96-84=12']
Exploring Operation: 12/3=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 12/3=4
Current State: 97:[93, 4], Operations: ['96-84=12', '12/3=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[3, 84, 96, 93], Operations: []
Exploring Operation: 3+93=96, Resulting Numbers: [84, 96, 96]
Generated Node #0,0: 97:[84, 96, 96] Operation: 3+93=96
Exploring Operation: 3+96=99, Resulting Numbers: [84, 93, 99]
Generated Node #0,1: 97:[84, 93, 99] Operation: 3+96=99
Exploring Operation: 96-3=93, Resulting Numbers: [84, 93, 93]
Generated Node #0,2: 97:[84, 93, 93] Operation: 96-3=93
Exploring Operation: 3+84=87, Resulting Numbers: [96, 93, 87]
Generated Node #0,3: 97:[96, 93, 87] Operation: 3+84=87
Exploring Operation: 84-3=81, Resulting Numbers: [96, 93, 81]
Generated Node #0,4: 97:[96, 93, 81] Operation: 84-3=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[84, 96, 96], Operations: ['3+93=96']
Exploring Operation: 96+96=192, Resulting Numbers: [84, 192]
Generated Node #0,0,0: 97:[84, 192] Operation: 96+96=192
Exploring Operation: 96-84=12, Resulting Numbers: [96, 12]
Generated Node #0,0,1: 97:[96, 12] Operation: 96-84=12
Exploring Operation: 84+96=180, Resulting Numbers: [96, 180]
Generated Node #0,0,2: 97:[96, 180] Operation: 84+96=180
Exploring Operation: 84+96=180, Resulting Numbers: [96, 180]
Generated Node #0,0,3: 97:[96, 180] Operation: 84+96=180
Exploring Operation: 96-84=12, Resulting Numbers: [96, 12]
Generated Node #0,0,4: 97:[96, 12] Operation: 96-84=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[96, 180], Operations: ['3+93=96', '84+96=180']
Exploring Operation: 96*180=17280, Resulting Numbers: [17280]
17280,97 unequal: No Solution
Exploring Operation: 180-96=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96+180=276, Resulting Numbers: [276]
276,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[96, 180], Operations: ['3+93=96', '84+96=180']
Exploring Operation: 96+180=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 96*180=17280, Resulting Numbers: [17280]
17280,97 unequal: No Solution
Exploring Operation: 180-96=84, Resulting Numbers: [84]
84,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[96, 12], Operations: ['3+93=96', '96-84=12']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,97 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 97:[96, 12], Operations: ['3+93=96', '96-84=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,97 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[84, 192], Operations: ['3+93=96', '96+96=192']
Exploring Operation: 192-84=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 84+192=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 84*192=16128, Resulting Numbers: [16128]
16128,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[96, 93, 87], Operations: ['3+84=87']
Exploring Operation: 93+87=180, Resulting Numbers: [96, 180]
Generated Node #0,3,0: 97:[96, 180] Operation: 93+87=180
Exploring Operation: 96-87=9, Resulting Numbers: [93, 9]
Generated Node #0,3,1: 97:[93, 9] Operation: 96-87=9
Exploring Operation: 96+93=189, Resulting Numbers: [87, 189]
Generated Node #0,3,2: 97:[87, 189] Operation: 96+93=189
Exploring Operation: 93-87=6, Resulting Numbers: [96, 6]
Generated Node #0,3,3: 97:[96, 6] Operation: 93-87=6
Exploring Operation: 96+87=183, Resulting Numbers: [93, 183]
Generated Node #0,3,4: 97:[93, 183] Operation: 96+87=183
Moving to Node #0,3,0
Current State: 97:[96, 180], Operations: ['3+84=87', '93+87=180']
Exploring Operation: 180-96=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96*180=17280, Resulting Numbers: [17280]
17280,97 unequal: No Solution
Exploring Operation: 96+180=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[93, 183], Operations: ['3+84=87', '96+87=183']
Exploring Operation: 93*183=17019, Resulting Numbers: [17019]
17019,97 unequal: No Solution
Exploring Operation: 183-93=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 93+183=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[93, 9], Operations: ['3+84=87', '96-87=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,97 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[96, 6], Operations: ['3+84=87', '93-87=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,97 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[87, 189], Operations: ['3+84=87', '96+93=189']
Exploring Operation: 87+189=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 87*189=16443, Resulting Numbers: [16443]
16443,97 unequal: No Solution
Exploring Operation: 189-87=102, Resulting Numbers: [102]
102,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[84, 93, 99], Operations: ['3+96=99']
Exploring Operation: 99-84=15, Resulting Numbers: [93, 15]
Generated Node #0,1,0: 97:[93, 15] Operation: 99-84=15
Exploring Operation: 93-84=9, Resulting Numbers: [99, 9]
Generated Node #0,1,1: 97:[99, 9] Operation: 93-84=9
Exploring Operation: 84+93=177, Resulting Numbers: [99, 177]
Generated Node #0,1,2: 97:[99, 177] Operation: 84+93=177
Exploring Operation: 84+99=183, Resulting Numbers: [93, 183]
Generated Node #0,1,3: 97:[93, 183] Operation: 84+99=183
Exploring Operation: 99-93=6, Resulting Numbers: [84, 6]
Generated Node #0,1,4: 97:[84, 6] Operation: 99-93=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[99, 177], Operations: ['3+96=99', '84+93=177']
Exploring Operation: 99+177=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 99*177=17523, Resulting Numbers: [17523]
17523,97 unequal: No Solution
Exploring Operation: 177-99=78, Resulting Numbers: [78]
78,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[93, 15], Operations: ['3+96=99', '99-84=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,97 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[99, 9], Operations: ['3+96=99', '93-84=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[93, 183], Operations: ['3+96=99', '84+99=183']
Exploring Operation: 183-93=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 93+183=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 93*183=17019, Resulting Numbers: [17019]
17019,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 97:[84, 6], Operations: ['3+96=99', '99-93=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,97 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[84, 93, 93], Operations: ['96-3=93']
Exploring Operation: 93-84=9, Resulting Numbers: [93, 9]
Generated Node #0,2,0: 97:[93, 9] Operation: 93-84=9
Exploring Operation: 93-84=9, Resulting Numbers: [93, 9]
Generated Node #0,2,1: 97:[93, 9] Operation: 93-84=9
Exploring Operation: 84+93=177, Resulting Numbers: [93, 177]
Generated Node #0,2,2: 97:[93, 177] Operation: 84+93=177
Exploring Operation: 84+93=177, Resulting Numbers: [93, 177]
Generated Node #0,2,3: 97:[93, 177] Operation: 84+93=177
Exploring Operation: 93+93=186, Resulting Numbers: [84, 186]
Generated Node #0,2,4: 97:[84, 186] Operation: 93+93=186
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[93, 177], Operations: ['96-3=93', '84+93=177']
Exploring Operation: 177-93=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 93+177=270, Resulting Numbers: [270]
270,97 unequal: No Solution
Exploring Operation: 93*177=16461, Resulting Numbers: [16461]
16461,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[93, 177], Operations: ['96-3=93', '84+93=177']
Exploring Operation: 177-93=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 93*177=16461, Resulting Numbers: [16461]
16461,97 unequal: No Solution
Exploring Operation: 93+177=270, Resulting Numbers: [270]
270,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[93, 9], Operations: ['96-3=93', '93-84=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[93, 9], Operations: ['96-3=93', '93-84=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,97 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 97:[84, 186], Operations: ['96-3=93', '93+93=186']
Exploring Operation: 84*186=15624, Resulting Numbers: [15624]
15624,97 unequal: No Solution
Exploring Operation: 84+186=270, Resulting Numbers: [270]
270,97 unequal: No Solution
Exploring Operation: 186-84=102, Resulting Numbers: [102]
102,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[96, 93, 81], Operations: ['84-3=81']
Exploring Operation: 96-81=15, Resulting Numbers: [93, 15]
Generated Node #0,4,0: 97:[93, 15] Operation: 96-81=15
Exploring Operation: 96+93=189, Resulting Numbers: [81, 189]
Generated Node #0,4,1: 97:[81, 189] Operation: 96+93=189
Exploring Operation: 96+81=177, Resulting Numbers: [93, 177]
Generated Node #0,4,2: 97:[93, 177] Operation: 96+81=177
Exploring Operation: 93-81=12, Resulting Numbers: [96, 12]
Generated Node #0,4,3: 97:[96, 12] Operation: 93-81=12
Exploring Operation: 93+81=174, Resulting Numbers: [96, 174]
Generated Node #0,4,4: 97:[96, 174] Operation: 93+81=174
Moving to Node #0,4,4
Current State: 97:[96, 174], Operations: ['84-3=81', '93+81=174']
Exploring Operation: 174-96=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 96*174=16704, Resulting Numbers: [16704]
16704,97 unequal: No Solution
Exploring Operation: 96+174=270, Resulting Numbers: [270]
270,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[93, 177], Operations: ['84-3=81', '96+81=177']
Exploring Operation: 93*177=16461, Resulting Numbers: [16461]
16461,97 unequal: No Solution
Exploring Operation: 93+177=270, Resulting Numbers: [270]
270,97 unequal: No Solution
Exploring Operation: 177-93=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[93, 15], Operations: ['84-3=81', '96-81=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,97 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[96, 12], Operations: ['84-3=81', '93-81=12']
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,97 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[81, 189], Operations: ['84-3=81', '96+93=189']
Exploring Operation: 189-81=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 81+189=270, Resulting Numbers: [270]
270,97 unequal: No Solution
Exploring Operation: 81*189=15309, Resulting Numbers: [15309]
15309,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
26,
87,
65,
64
] | 62 |
[
"87-26=61",
"65-64=1",
"61+1=62"
] |
Current State: 62:[26, 87, 65, 64], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [65, 64, 61]
Generated Node #2: [65, 64, 61] from Operation: 87-26=61
Current State: 62:[65, 64, 61], Operations: ['87-26=61']
Exploring Operation: 65-64=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 65-64=1
Current State: 62:[61, 1], Operations: ['87-26=61', '65-64=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[26, 87, 65, 64], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [65, 64, 61]
Generated Node #0,0: 62:[65, 64, 61] Operation: 87-26=61
Exploring Operation: 87-65=22, Resulting Numbers: [26, 64, 22]
Generated Node #0,1: 62:[26, 64, 22] Operation: 87-65=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[65, 64, 61], Operations: ['87-26=61']
Exploring Operation: 65-61=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 62:[64, 4] Operation: 65-61=4
Exploring Operation: 65-64=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 62:[61, 1] Operation: 65-64=1
Moving to Node #0,0,1
Current State: 62:[61, 1], Operations: ['87-26=61', '65-64=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[26, 87, 65, 64], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [65, 64, 61]
Generated Node #0,0: 62:[65, 64, 61] Operation: 87-26=61
Moving to Node #0,0
Current State: 62:[65, 64, 61], Operations: ['87-26=61']
Exploring Operation: 65-64=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 62:[61, 1] Operation: 65-64=1
Moving to Node #0,0,1
Current State: 62:[61, 1], Operations: ['87-26=61', '65-64=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
53,
46,
8,
7
] | 63 |
[
"53-46=7",
"8*7=56",
"7+56=63"
] |
Current State: 63:[53, 46, 8, 7], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [8, 7, 7]
Generated Node #2: [8, 7, 7] from Operation: 53-46=7
Current State: 63:[8, 7, 7], Operations: ['53-46=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,63 equal: Goal Reached
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[53, 46, 8, 7], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [8, 7, 7]
Generated Node #0,0: 63:[8, 7, 7] Operation: 53-46=7
Exploring Operation: 53+8=61, Resulting Numbers: [46, 7, 61]
Generated Node #0,1: 63:[46, 7, 61] Operation: 53+8=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[8, 7, 7], Operations: ['53-46=7']
Exploring Operation: 8-7=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 63:[7, 1] Operation: 8-7=1
Exploring Operation: 8-7=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 63:[7, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[7, 1], Operations: ['53-46=7', '8-7=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No 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: 63:[7, 1], Operations: ['53-46=7', '8-7=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,63 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: 63:[46, 7, 61], Operations: ['53+8=61']
Exploring Operation: 46+7=53, Resulting Numbers: [61, 53]
Generated Node #0,1,0: 63:[61, 53] Operation: 46+7=53
Exploring Operation: 61-46=15, Resulting Numbers: [7, 15]
Generated Node #0,1,1: 63:[7, 15] Operation: 61-46=15
Moving to Node #0,1,1
Current State: 63:[7, 15], Operations: ['53+8=61', '61-46=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[61, 53], Operations: ['53+8=61', '46+7=53']
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,63 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,63 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
|
[
21,
31,
94,
23
] | 20 |
[
"94-31=63",
"63/21=3",
"23-3=20"
] |
Current State: 20:[21, 31, 94, 23], Operations: []
Exploring Operation: 94-31=63, Resulting Numbers: [21, 23, 63]
Generated Node #2: [21, 23, 63] from Operation: 94-31=63
Current State: 20:[21, 23, 63], Operations: ['94-31=63']
Exploring Operation: 63/21=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 63/21=3
Current State: 20:[23, 3], Operations: ['94-31=63', '63/21=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[21, 31, 94, 23], Operations: []
Exploring Operation: 94-31=63, Resulting Numbers: [21, 23, 63]
Generated Node #0,0: 20:[21, 23, 63] Operation: 94-31=63
Exploring Operation: 94-23=71, Resulting Numbers: [21, 31, 71]
Generated Node #0,1: 20:[21, 31, 71] Operation: 94-23=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[21, 23, 63], Operations: ['94-31=63']
Exploring Operation: 63/21=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 20:[23, 3] Operation: 63/21=3
Exploring Operation: 63-23=40, Resulting Numbers: [21, 40]
Generated Node #0,0,1: 20:[21, 40] Operation: 63-23=40
Moving to Node #0,0,0
Current State: 20:[23, 3], Operations: ['94-31=63', '63/21=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[21, 31, 94, 23], Operations: []
Exploring Operation: 94-31=63, Resulting Numbers: [21, 23, 63]
Generated Node #0,0: 20:[21, 23, 63] Operation: 94-31=63
Moving to Node #0,0
Current State: 20:[21, 23, 63], Operations: ['94-31=63']
Exploring Operation: 63/21=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 20:[23, 3] Operation: 63/21=3
Moving to Node #0,0,0
Current State: 20:[23, 3], Operations: ['94-31=63', '63/21=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
7,
86,
10,
17
] | 66 |
[
"7+86=93",
"10+17=27",
"93-27=66"
] |
Current State: 66:[7, 86, 10, 17], Operations: []
Exploring Operation: 7+86=93, Resulting Numbers: [10, 17, 93]
Generated Node #2: [10, 17, 93] from Operation: 7+86=93
Current State: 66:[10, 17, 93], Operations: ['7+86=93']
Exploring Operation: 10+17=27, Resulting Numbers: [93, 27]
Generated Node #3: [93, 27] from Operation: 10+17=27
Current State: 66:[93, 27], Operations: ['7+86=93', '10+17=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[7, 86, 10, 17], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [7, 10, 69]
Generated Node #0,0: 66:[7, 10, 69] Operation: 86-17=69
Exploring Operation: 17-7=10, Resulting Numbers: [86, 10, 10]
Generated Node #0,1: 66:[86, 10, 10] Operation: 17-7=10
Exploring Operation: 86-10=76, Resulting Numbers: [7, 17, 76]
Generated Node #0,2: 66:[7, 17, 76] Operation: 86-10=76
Exploring Operation: 86-7=79, Resulting Numbers: [10, 17, 79]
Generated Node #0,3: 66:[10, 17, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[7, 10, 69], Operations: ['86-17=69']
Exploring Operation: 7+10=17, Resulting Numbers: [69, 17]
Generated Node #0,0,0: 66:[69, 17] Operation: 7+10=17
Exploring Operation: 69-7=62, Resulting Numbers: [10, 62]
Generated Node #0,0,1: 66:[10, 62] Operation: 69-7=62
Exploring Operation: 10-7=3, Resulting Numbers: [69, 3]
Generated Node #0,0,2: 66:[69, 3] Operation: 10-7=3
Exploring Operation: 7*10=70, Resulting Numbers: [69, 70]
Generated Node #0,0,3: 66:[69, 70] Operation: 7*10=70
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[69, 3], Operations: ['86-17=69', '10-7=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[7, 86, 10, 17], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [7, 10, 69]
Generated Node #0,0: 66:[7, 10, 69] Operation: 86-17=69
Moving to Node #0,0
Current State: 66:[7, 10, 69], Operations: ['86-17=69']
Exploring Operation: 10-7=3, Resulting Numbers: [69, 3]
Generated Node #0,0,2: 66:[69, 3] Operation: 10-7=3
Moving to Node #0,0,2
Current State: 66:[69, 3], Operations: ['86-17=69', '10-7=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
14,
93,
61,
91
] | 94 |
[
"61-14=47",
"93-91=2",
"47*2=94"
] |
Current State: 94:[14, 93, 61, 91], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [93, 91, 47]
Generated Node #2: [93, 91, 47] from Operation: 61-14=47
Current State: 94:[93, 91, 47], Operations: ['61-14=47']
Exploring Operation: 93-91=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 93-91=2
Current State: 94:[47, 2], Operations: ['61-14=47', '93-91=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[14, 93, 61, 91], Operations: []
Exploring Operation: 14+91=105, Resulting Numbers: [93, 61, 105]
Generated Node #0,0: 94:[93, 61, 105] Operation: 14+91=105
Exploring Operation: 14+61=75, Resulting Numbers: [93, 91, 75]
Generated Node #0,1: 94:[93, 91, 75] Operation: 14+61=75
Exploring Operation: 61-14=47, Resulting Numbers: [93, 91, 47]
Generated Node #0,2: 94:[93, 91, 47] Operation: 61-14=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[93, 91, 47], Operations: ['61-14=47']
Exploring Operation: 93-91=2, Resulting Numbers: [47, 2]
Generated Node #0,2,0: 94:[47, 2] Operation: 93-91=2
Exploring Operation: 93-47=46, Resulting Numbers: [91, 46]
Generated Node #0,2,1: 94:[91, 46] Operation: 93-47=46
Exploring Operation: 91-47=44, Resulting Numbers: [93, 44]
Generated Node #0,2,2: 94:[93, 44] Operation: 91-47=44
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[47, 2], Operations: ['61-14=47', '93-91=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[14, 93, 61, 91], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [93, 91, 47]
Generated Node #0,2: 94:[93, 91, 47] Operation: 61-14=47
Moving to Node #0,2
Current State: 94:[93, 91, 47], Operations: ['61-14=47']
Exploring Operation: 93-91=2, Resulting Numbers: [47, 2]
Generated Node #0,2,0: 94:[47, 2] Operation: 93-91=2
Moving to Node #0,2,0
Current State: 94:[47, 2], Operations: ['61-14=47', '93-91=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
1,
49,
86,
45
] | 91 |
[
"1+49=50",
"86-45=41",
"50+41=91"
] |
Current State: 91:[1, 49, 86, 45], Operations: []
Exploring Operation: 1+49=50, Resulting Numbers: [86, 45, 50]
Generated Node #2: [86, 45, 50] from Operation: 1+49=50
Current State: 91:[86, 45, 50], Operations: ['1+49=50']
Exploring Operation: 86-45=41, Resulting Numbers: [50, 41]
Generated Node #3: [50, 41] from Operation: 86-45=41
Current State: 91:[50, 41], Operations: ['1+49=50', '86-45=41']
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[1, 49, 86, 45], Operations: []
Exploring Operation: 49+45=94, Resulting Numbers: [1, 86, 94]
Generated Node #0,0: 91:[1, 86, 94] Operation: 49+45=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[1, 86, 94], Operations: ['49+45=94']
Exploring Operation: 1+86=87, Resulting Numbers: [94, 87]
Generated Node #0,0,0: 91:[94, 87] Operation: 1+86=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[94, 87], Operations: ['49+45=94', '1+86=87']
Exploring Operation: 94-87=7, Resulting Numbers: [7]
7,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
25,
91,
46,
2
] | 65 |
[
"91-46=45",
"2*45=90",
"90-25=65"
] |
Current State: 65:[25, 91, 46, 2], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [25, 2, 45]
Generated Node #2: [25, 2, 45] from Operation: 91-46=45
Current State: 65:[25, 2, 45], Operations: ['91-46=45']
Exploring Operation: 2*45=90, Resulting Numbers: [25, 90]
Generated Node #3: [25, 90] from Operation: 2*45=90
Current State: 65:[25, 90], Operations: ['91-46=45', '2*45=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[25, 91, 46, 2], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [25, 2, 45]
Generated Node #0,0: 65:[25, 2, 45] Operation: 91-46=45
Exploring Operation: 25+46=71, Resulting Numbers: [91, 2, 71]
Generated Node #0,1: 65:[91, 2, 71] Operation: 25+46=71
Exploring Operation: 46-25=21, Resulting Numbers: [91, 2, 21]
Generated Node #0,2: 65:[91, 2, 21] Operation: 46-25=21
Exploring Operation: 91-25=66, Resulting Numbers: [46, 2, 66]
Generated Node #0,3: 65:[46, 2, 66] Operation: 91-25=66
Moving to Node #0,3
Current State: 65:[46, 2, 66], Operations: ['91-25=66']
Exploring Operation: 46+2=48, Resulting Numbers: [66, 48]
Generated Node #0,3,0: 65:[66, 48] Operation: 46+2=48
Exploring Operation: 66-46=20, Resulting Numbers: [2, 20]
Generated Node #0,3,1: 65:[2, 20] Operation: 66-46=20
Exploring Operation: 46/2=23, Resulting Numbers: [66, 23]
Generated Node #0,3,2: 65:[66, 23] Operation: 46/2=23
Exploring Operation: 66-2=64, Resulting Numbers: [46, 64]
Generated Node #0,3,3: 65:[46, 64] Operation: 66-2=64
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[2, 20], Operations: ['91-25=66', '66-46=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[66, 23], Operations: ['91-25=66', '46/2=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,65 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[66, 48], Operations: ['91-25=66', '46+2=48']
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,65 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[46, 64], Operations: ['91-25=66', '66-2=64']
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,65 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,65 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: 65:[91, 2, 71], Operations: ['25+46=71']
Exploring Operation: 91-71=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 65:[2, 20] Operation: 91-71=20
Exploring Operation: 91+2=93, Resulting Numbers: [71, 93]
Generated Node #0,1,1: 65:[71, 93] Operation: 91+2=93
Exploring Operation: 71-2=69, Resulting Numbers: [91, 69]
Generated Node #0,1,2: 65:[91, 69] Operation: 71-2=69
Exploring Operation: 91-2=89, Resulting Numbers: [71, 89]
Generated Node #0,1,3: 65:[71, 89] Operation: 91-2=89
Moving to Node #0,0
Current State: 65:[25, 2, 45], Operations: ['91-46=45']
Exploring Operation: 25+45=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 65:[2, 70] Operation: 25+45=70
Exploring Operation: 25-2=23, Resulting Numbers: [45, 23]
Generated Node #0,0,1: 65:[45, 23] Operation: 25-2=23
Exploring Operation: 45-25=20, Resulting Numbers: [2, 20]
Generated Node #0,0,2: 65:[2, 20] Operation: 45-25=20
Exploring Operation: 2+45=47, Resulting Numbers: [25, 47]
Generated Node #0,0,3: 65:[25, 47] Operation: 2+45=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[2, 70], Operations: ['91-46=45', '25+45=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[2, 20], Operations: ['91-46=45', '45-25=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[45, 23], Operations: ['91-46=45', '25-2=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,65 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[25, 47], Operations: ['91-46=45', '2+45=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,65 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,65 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: 65:[91, 2, 21], Operations: ['46-25=21']
Exploring Operation: 91+2=93, Resulting Numbers: [21, 93]
Generated Node #0,2,0: 65:[21, 93] Operation: 91+2=93
Exploring Operation: 91-21=70, Resulting Numbers: [2, 70]
Generated Node #0,2,1: 65:[2, 70] Operation: 91-21=70
Exploring Operation: 91-2=89, Resulting Numbers: [21, 89]
Generated Node #0,2,2: 65:[21, 89] Operation: 91-2=89
Exploring Operation: 21-2=19, Resulting Numbers: [91, 19]
Generated Node #0,2,3: 65:[91, 19] Operation: 21-2=19
Moving to Node #0,2,1
Current State: 65:[2, 70], Operations: ['46-25=21', '91-21=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[2, 20], Operations: ['25+46=71', '91-71=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[71, 89], Operations: ['25+46=71', '91-2=89']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,65 unequal: No Solution
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[91, 69], Operations: ['25+46=71', '71-2=69']
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 91+69=160, Resulting Numbers: [160]
160,65 unequal: No Solution
Exploring Operation: 91*69=6279, Resulting Numbers: [6279]
6279,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[21, 89], Operations: ['46-25=21', '91-2=89']
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,65 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[91, 19], Operations: ['46-25=21', '21-2=19']
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,65 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[71, 93], Operations: ['25+46=71', '91+2=93']
Exploring Operation: 71+93=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 71*93=6603, Resulting Numbers: [6603]
6603,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[21, 93], Operations: ['46-25=21', '91+2=93']
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 21*93=1953, Resulting Numbers: [1953]
1953,65 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,65 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
68,
1,
95,
64
] | 24 |
[
"68-64=4",
"1+95=96",
"96/4=24"
] |
Current State: 24:[68, 1, 95, 64], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [1, 95, 4]
Generated Node #2: [1, 95, 4] from Operation: 68-64=4
Current State: 24:[1, 95, 4], Operations: ['68-64=4']
Exploring Operation: 1+95=96, Resulting Numbers: [4, 96]
Generated Node #3: [4, 96] from Operation: 1+95=96
Current State: 24:[4, 96], Operations: ['68-64=4', '1+95=96']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[68, 1, 95, 64], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [1, 95, 4]
Generated Node #0,0: 24:[1, 95, 4] Operation: 68-64=4
Exploring Operation: 68-1=67, Resulting Numbers: [95, 64, 67]
Generated Node #0,1: 24:[95, 64, 67] Operation: 68-1=67
Exploring Operation: 95-64=31, Resulting Numbers: [68, 1, 31]
Generated Node #0,2: 24:[68, 1, 31] Operation: 95-64=31
Exploring Operation: 95-68=27, Resulting Numbers: [1, 64, 27]
Generated Node #0,3: 24:[1, 64, 27] Operation: 95-68=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[1, 64, 27], Operations: ['95-68=27']
Exploring Operation: 64-27=37, Resulting Numbers: [1, 37]
Generated Node #0,3,0: 24:[1, 37] Operation: 64-27=37
Exploring Operation: 64-1=63, Resulting Numbers: [27, 63]
Generated Node #0,3,1: 24:[27, 63] Operation: 64-1=63
Exploring Operation: 1*64=64, Resulting Numbers: [27, 64]
Generated Node #0,3,2: 24:[27, 64] Operation: 1*64=64
Exploring Operation: 27-1=26, Resulting Numbers: [64, 26]
Generated Node #0,3,3: 24:[64, 26] Operation: 27-1=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 24:[1, 37], Operations: ['95-68=27', '64-27=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[27, 63], Operations: ['95-68=27', '64-1=63']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,24 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 24:[64, 26], Operations: ['95-68=27', '27-1=26']
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,24 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 24:[27, 64], Operations: ['95-68=27', '1*64=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,24 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[68, 1, 31], Operations: ['95-64=31']
Exploring Operation: 68-1=67, Resulting Numbers: [31, 67]
Generated Node #0,2,0: 24:[31, 67] Operation: 68-1=67
Exploring Operation: 31-1=30, Resulting Numbers: [68, 30]
Generated Node #0,2,1: 24:[68, 30] Operation: 31-1=30
Exploring Operation: 68-31=37, Resulting Numbers: [1, 37]
Generated Node #0,2,2: 24:[1, 37] Operation: 68-31=37
Exploring Operation: 68*1=68, Resulting Numbers: [31, 68]
Generated Node #0,2,3: 24:[31, 68] Operation: 68*1=68
Moving to Node #0,2,2
Current State: 24:[1, 37], Operations: ['95-64=31', '68-31=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[68, 30], Operations: ['95-64=31', '31-1=30']
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,24 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[31, 67], Operations: ['95-64=31', '68-1=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,24 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[31, 68], Operations: ['95-64=31', '68*1=68']
Exploring Operation: 31*68=2108, Resulting Numbers: [2108]
2108,24 unequal: No Solution
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[1, 95, 4], Operations: ['68-64=4']
Exploring Operation: 95-4=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 24:[1, 91] Operation: 95-4=91
Exploring Operation: 1*95=95, Resulting Numbers: [4, 95]
Generated Node #0,0,1: 24:[4, 95] Operation: 1*95=95
Exploring Operation: 95/1=95, Resulting Numbers: [4, 95]
Generated Node #0,0,2: 24:[4, 95] Operation: 95/1=95
Exploring Operation: 95-1=94, Resulting Numbers: [4, 94]
Generated Node #0,0,3: 24:[4, 94] Operation: 95-1=94
Moving to Node #0,0,0
Current State: 24:[1, 91], Operations: ['68-64=4', '95-4=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[4, 94], Operations: ['68-64=4', '95-1=94']
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,24 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[4, 95], Operations: ['68-64=4', '95/1=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,24 unequal: No Solution
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[4, 95], Operations: ['68-64=4', '1*95=95']
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,24 unequal: No Solution
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[95, 64, 67], Operations: ['68-1=67']
Exploring Operation: 95-64=31, Resulting Numbers: [67, 31]
Generated Node #0,1,0: 24:[67, 31] Operation: 95-64=31
Exploring Operation: 67-64=3, Resulting Numbers: [95, 3]
Generated Node #0,1,1: 24:[95, 3] Operation: 67-64=3
Exploring Operation: 95-67=28, Resulting Numbers: [64, 28]
Generated Node #0,1,2: 24:[64, 28] Operation: 95-67=28
Exploring Operation: 95+64=159, Resulting Numbers: [67, 159]
Generated Node #0,1,3: 24:[67, 159] Operation: 95+64=159
Moving to Node #0,1,2
Current State: 24:[64, 28], Operations: ['68-1=67', '95-67=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,24 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[67, 31], Operations: ['68-1=67', '95-64=31']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[95, 3], Operations: ['68-1=67', '67-64=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,24 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[67, 159], Operations: ['68-1=67', '95+64=159']
Exploring Operation: 67*159=10653, Resulting Numbers: [10653]
10653,24 unequal: No Solution
Exploring Operation: 67+159=226, Resulting Numbers: [226]
226,24 unequal: No Solution
Exploring Operation: 159-67=92, Resulting Numbers: [92]
92,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
43,
65,
6,
97
] | 16 |
[
"65+97=162",
"162/6=27",
"43-27=16"
] |
Current State: 16:[43, 65, 6, 97], Operations: []
Exploring Operation: 65+97=162, Resulting Numbers: [43, 6, 162]
Generated Node #2: [43, 6, 162] from Operation: 65+97=162
Current State: 16:[43, 6, 162], Operations: ['65+97=162']
Exploring Operation: 162/6=27, Resulting Numbers: [43, 27]
Generated Node #3: [43, 27] from Operation: 162/6=27
Current State: 16:[43, 27], Operations: ['65+97=162', '162/6=27']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[43, 65, 6, 97], Operations: []
Exploring Operation: 65-43=22, Resulting Numbers: [6, 97, 22]
Generated Node #0,0: 16:[6, 97, 22] Operation: 65-43=22
Exploring Operation: 97-65=32, Resulting Numbers: [43, 6, 32]
Generated Node #0,1: 16:[43, 6, 32] Operation: 97-65=32
Moving to Node #0,1
Current State: 16:[43, 6, 32], Operations: ['97-65=32']
Exploring Operation: 43-32=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 16:[6, 11] Operation: 43-32=11
Exploring Operation: 43-6=37, Resulting Numbers: [32, 37]
Generated Node #0,1,1: 16:[32, 37] Operation: 43-6=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[6, 11], Operations: ['97-65=32', '43-32=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[32, 37], Operations: ['97-65=32', '43-6=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[6, 97, 22], Operations: ['65-43=22']
Exploring Operation: 97-6=91, Resulting Numbers: [22, 91]
Generated Node #0,0,0: 16:[22, 91] Operation: 97-6=91
Exploring Operation: 97-22=75, Resulting Numbers: [6, 75]
Generated Node #0,0,1: 16:[6, 75] Operation: 97-22=75
Moving to Node #0,0,1
Current State: 16:[6, 75], Operations: ['65-43=22', '97-22=75']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[22, 91], Operations: ['65-43=22', '97-6=91']
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,16 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
15,
65,
27,
30
] | 77 |
[
"15+65=80",
"30-27=3",
"80-3=77"
] |
Current State: 77:[15, 65, 27, 30], Operations: []
Exploring Operation: 15+65=80, Resulting Numbers: [27, 30, 80]
Generated Node #2: [27, 30, 80] from Operation: 15+65=80
Current State: 77:[27, 30, 80], Operations: ['15+65=80']
Exploring Operation: 30-27=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 30-27=3
Current State: 77:[80, 3], Operations: ['15+65=80', '30-27=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[15, 65, 27, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [15, 65, 3]
Generated Node #0,0: 77:[15, 65, 3] Operation: 30-27=3
Exploring Operation: 27-15=12, Resulting Numbers: [65, 30, 12]
Generated Node #0,1: 77:[65, 30, 12] Operation: 27-15=12
Exploring Operation: 30-15=15, Resulting Numbers: [65, 27, 15]
Generated Node #0,2: 77:[65, 27, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [65, 27, 2]
Generated Node #0,3: 77:[65, 27, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[15, 65, 3], Operations: ['30-27=3']
Exploring Operation: 15/3=5, Resulting Numbers: [65, 5]
Generated Node #0,0,0: 77:[65, 5] Operation: 15/3=5
Exploring Operation: 15+65=80, Resulting Numbers: [3, 80]
Generated Node #0,0,1: 77:[3, 80] Operation: 15+65=80
Exploring Operation: 15-3=12, Resulting Numbers: [65, 12]
Generated Node #0,0,2: 77:[65, 12] Operation: 15-3=12
Exploring Operation: 65+3=68, Resulting Numbers: [15, 68]
Generated Node #0,0,3: 77:[15, 68] Operation: 65+3=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[3, 80], Operations: ['30-27=3', '15+65=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[15, 65, 27, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [15, 65, 3]
Generated Node #0,0: 77:[15, 65, 3] Operation: 30-27=3
Moving to Node #0,0
Current State: 77:[15, 65, 3], Operations: ['30-27=3']
Exploring Operation: 15+65=80, Resulting Numbers: [3, 80]
Generated Node #0,0,1: 77:[3, 80] Operation: 15+65=80
Moving to Node #0,0,1
Current State: 77:[3, 80], Operations: ['30-27=3', '15+65=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
55,
80,
63,
82
] | 92 |
[
"63-55=8",
"80/8=10",
"82+10=92"
] |
Current State: 92:[55, 80, 63, 82], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [80, 82, 8]
Generated Node #2: [80, 82, 8] from Operation: 63-55=8
Current State: 92:[80, 82, 8], Operations: ['63-55=8']
Exploring Operation: 80/8=10, Resulting Numbers: [82, 10]
Generated Node #3: [82, 10] from Operation: 80/8=10
Current State: 92:[82, 10], Operations: ['63-55=8', '80/8=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[55, 80, 63, 82], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [55, 80, 19]
Generated Node #0,0: 92:[55, 80, 19] Operation: 82-63=19
Exploring Operation: 63-55=8, Resulting Numbers: [80, 82, 8]
Generated Node #0,1: 92:[80, 82, 8] Operation: 63-55=8
Exploring Operation: 80-63=17, Resulting Numbers: [55, 82, 17]
Generated Node #0,2: 92:[55, 82, 17] Operation: 80-63=17
Exploring Operation: 82-80=2, Resulting Numbers: [55, 63, 2]
Generated Node #0,3: 92:[55, 63, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 92:[55, 80, 19], Operations: ['82-63=19']
Exploring Operation: 55-19=36, Resulting Numbers: [80, 36]
Generated Node #0,0,0: 92:[80, 36] Operation: 55-19=36
Exploring Operation: 80+19=99, Resulting Numbers: [55, 99]
Generated Node #0,0,1: 92:[55, 99] Operation: 80+19=99
Exploring Operation: 80-19=61, Resulting Numbers: [55, 61]
Generated Node #0,0,2: 92:[55, 61] Operation: 80-19=61
Exploring Operation: 80-55=25, Resulting Numbers: [19, 25]
Generated Node #0,0,3: 92:[19, 25] Operation: 80-55=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[19, 25], Operations: ['82-63=19', '80-55=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,92 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[55, 99], Operations: ['82-63=19', '80+19=99']
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,92 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[80, 36], Operations: ['82-63=19', '55-19=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[55, 61], Operations: ['82-63=19', '80-19=61']
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 55*61=3355, Resulting Numbers: [3355]
3355,92 unequal: No Solution
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 92:[55, 82, 17], Operations: ['80-63=17']
Exploring Operation: 82-55=27, Resulting Numbers: [17, 27]
Generated Node #0,2,0: 92:[17, 27] Operation: 82-55=27
Exploring Operation: 82-17=65, Resulting Numbers: [55, 65]
Generated Node #0,2,1: 92:[55, 65] Operation: 82-17=65
Exploring Operation: 55-17=38, Resulting Numbers: [82, 38]
Generated Node #0,2,2: 92:[82, 38] Operation: 55-17=38
Exploring Operation: 82+17=99, Resulting Numbers: [55, 99]
Generated Node #0,2,3: 92:[55, 99] Operation: 82+17=99
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[17, 27], Operations: ['80-63=17', '82-55=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[55, 99], Operations: ['80-63=17', '82+17=99']
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,92 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[82, 38], Operations: ['80-63=17', '55-17=38']
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[55, 65], Operations: ['80-63=17', '82-17=65']
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 92:[55, 63, 2], Operations: ['82-80=2']
Exploring Operation: 63-55=8, Resulting Numbers: [2, 8]
Generated Node #0,3,0: 92:[2, 8] Operation: 63-55=8
Exploring Operation: 55+63=118, Resulting Numbers: [2, 118]
Generated Node #0,3,1: 92:[2, 118] Operation: 55+63=118
Exploring Operation: 63-2=61, Resulting Numbers: [55, 61]
Generated Node #0,3,2: 92:[55, 61] Operation: 63-2=61
Exploring Operation: 55-2=53, Resulting Numbers: [63, 53]
Generated Node #0,3,3: 92:[63, 53] Operation: 55-2=53
Moving to Node #0,1
Current State: 92:[80, 82, 8], Operations: ['63-55=8']
Exploring Operation: 80/8=10, Resulting Numbers: [82, 10]
Generated Node #0,1,0: 92:[82, 10] Operation: 80/8=10
Exploring Operation: 82+8=90, Resulting Numbers: [80, 90]
Generated Node #0,1,1: 92:[80, 90] Operation: 82+8=90
Exploring Operation: 80+8=88, Resulting Numbers: [82, 88]
Generated Node #0,1,2: 92:[82, 88] Operation: 80+8=88
Exploring Operation: 82-80=2, Resulting Numbers: [8, 2]
Generated Node #0,1,3: 92:[8, 2] Operation: 82-80=2
Moving to Node #0,3,0
Current State: 92:[2, 8], Operations: ['82-80=2', '63-55=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[8, 2], Operations: ['63-55=8', '82-80=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[80, 90], Operations: ['63-55=8', '82+8=90']
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,92 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,92 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[82, 88], Operations: ['63-55=8', '80+8=88']
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,92 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[82, 10], Operations: ['63-55=8', '80/8=10']
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,92 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[55, 80, 63, 82], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [80, 82, 8]
Generated Node #0,1: 92:[80, 82, 8] Operation: 63-55=8
Moving to Node #0,1
Current State: 92:[80, 82, 8], Operations: ['63-55=8']
Exploring Operation: 80/8=10, Resulting Numbers: [82, 10]
Generated Node #0,1,0: 92:[82, 10] Operation: 80/8=10
Moving to Node #0,1,0
Current State: 92:[82, 10], Operations: ['63-55=8', '80/8=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.944444 |
hs_4
|
sum_heuristic
|
[
48,
98,
35,
42
] | 57 |
[
"98-48=50",
"42-35=7",
"50+7=57"
] |
Current State: 57:[48, 98, 35, 42], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [35, 42, 50]
Generated Node #2: [35, 42, 50] from Operation: 98-48=50
Current State: 57:[35, 42, 50], Operations: ['98-48=50']
Exploring Operation: 42-35=7, Resulting Numbers: [50, 7]
Generated Node #3: [50, 7] from Operation: 42-35=7
Current State: 57:[50, 7], Operations: ['98-48=50', '42-35=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[48, 98, 35, 42], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [35, 42, 50]
Generated Node #0,0: 57:[35, 42, 50] Operation: 98-48=50
Exploring Operation: 42-35=7, Resulting Numbers: [48, 98, 7]
Generated Node #0,1: 57:[48, 98, 7] Operation: 42-35=7
Exploring Operation: 98-42=56, Resulting Numbers: [48, 35, 56]
Generated Node #0,2: 57:[48, 35, 56] Operation: 98-42=56
Exploring Operation: 98-35=63, Resulting Numbers: [48, 42, 63]
Generated Node #0,3: 57:[48, 42, 63] Operation: 98-35=63
Moving to Node #0,2
Current State: 57:[48, 35, 56], Operations: ['98-42=56']
Exploring Operation: 56-35=21, Resulting Numbers: [48, 21]
Generated Node #0,2,0: 57:[48, 21] Operation: 56-35=21
Exploring Operation: 48-35=13, Resulting Numbers: [56, 13]
Generated Node #0,2,1: 57:[56, 13] Operation: 48-35=13
Exploring Operation: 48+35=83, Resulting Numbers: [56, 83]
Generated Node #0,2,2: 57:[56, 83] Operation: 48+35=83
Exploring Operation: 56-48=8, Resulting Numbers: [35, 8]
Generated Node #0,2,3: 57:[35, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[56, 13], Operations: ['98-42=56', '48-35=13']
Exploring Operation: 56*13=728, Resulting Numbers: [728]
728,57 unequal: No Solution
Exploring Operation: 56+13=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[48, 21], Operations: ['98-42=56', '56-35=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,57 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[35, 8], Operations: ['98-42=56', '56-48=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,57 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,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,2
Current State: 57:[56, 83], Operations: ['98-42=56', '48+35=83']
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,57 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,57 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,57 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: 57:[48, 42, 63], Operations: ['98-35=63']
Exploring Operation: 48+42=90, Resulting Numbers: [63, 90]
Generated Node #0,3,0: 57:[63, 90] Operation: 48+42=90
Exploring Operation: 48-42=6, Resulting Numbers: [63, 6]
Generated Node #0,3,1: 57:[63, 6] Operation: 48-42=6
Exploring Operation: 63-42=21, Resulting Numbers: [48, 21]
Generated Node #0,3,2: 57:[48, 21] Operation: 63-42=21
Exploring Operation: 63-48=15, Resulting Numbers: [42, 15]
Generated Node #0,3,3: 57:[42, 15] Operation: 63-48=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[63, 6], Operations: ['98-35=63', '48-42=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[48, 98, 35, 42], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [48, 42, 63]
Generated Node #0,3: 57:[48, 42, 63] Operation: 98-35=63
Moving to Node #0,3
Current State: 57:[48, 42, 63], Operations: ['98-35=63']
Exploring Operation: 48-42=6, Resulting Numbers: [63, 6]
Generated Node #0,3,1: 57:[63, 6] Operation: 48-42=6
Moving to Node #0,3,1
Current State: 57:[63, 6], Operations: ['98-35=63', '48-42=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 |
hs_4
|
sum_heuristic
|
[
36,
7,
78,
10
] | 16 |
[
"78-36=42",
"42/7=6",
"10+6=16"
] |
Current State: 16:[36, 7, 78, 10], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [7, 10, 42]
Generated Node #2: [7, 10, 42] from Operation: 78-36=42
Current State: 16:[7, 10, 42], Operations: ['78-36=42']
Exploring Operation: 42/7=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 42/7=6
Current State: 16:[10, 6], Operations: ['78-36=42', '42/7=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[36, 7, 78, 10], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [7, 78, 26]
Generated Node #0,0: 16:[7, 78, 26] Operation: 36-10=26
Exploring Operation: 78-36=42, Resulting Numbers: [7, 10, 42]
Generated Node #0,1: 16:[7, 10, 42] Operation: 78-36=42
Moving to Node #0,1
Current State: 16:[7, 10, 42], Operations: ['78-36=42']
Exploring Operation: 42-10=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 16:[7, 32] Operation: 42-10=32
Exploring Operation: 42/7=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 16:[10, 6] Operation: 42/7=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[10, 6], Operations: ['78-36=42', '42/7=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[36, 7, 78, 10], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [7, 10, 42]
Generated Node #0,1: 16:[7, 10, 42] Operation: 78-36=42
Moving to Node #0,1
Current State: 16:[7, 10, 42], Operations: ['78-36=42']
Exploring Operation: 42/7=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 16:[10, 6] Operation: 42/7=6
Moving to Node #0,1,1
Current State: 16:[10, 6], Operations: ['78-36=42', '42/7=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
24,
63,
91,
72
] | 80 |
[
"91*72=6552",
"6552/63=104",
"104-24=80"
] |
Current State: 80:[24, 63, 91, 72], Operations: []
Exploring Operation: 91*72=6552, Resulting Numbers: [24, 63, 6552]
Generated Node #2: [24, 63, 6552] from Operation: 91*72=6552
Current State: 80:[24, 63, 6552], Operations: ['91*72=6552']
Exploring Operation: 6552/63=104, Resulting Numbers: [24, 104]
Generated Node #3: [24, 104] from Operation: 6552/63=104
Current State: 80:[24, 104], Operations: ['91*72=6552', '6552/63=104']
Exploring Operation: 104-24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[24, 63, 91, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [24, 91, 9]
Generated Node #0,0: 80:[24, 91, 9] Operation: 72-63=9
Exploring Operation: 24+63=87, Resulting Numbers: [91, 72, 87]
Generated Node #0,1: 80:[91, 72, 87] Operation: 24+63=87
Exploring Operation: 91-63=28, Resulting Numbers: [24, 72, 28]
Generated Node #0,2: 80:[24, 72, 28] Operation: 91-63=28
Exploring Operation: 63-24=39, Resulting Numbers: [91, 72, 39]
Generated Node #0,3: 80:[91, 72, 39] Operation: 63-24=39
Exploring Operation: 91-72=19, Resulting Numbers: [24, 63, 19]
Generated Node #0,4: 80:[24, 63, 19] Operation: 91-72=19
Moving to Node #0,0
Current State: 80:[24, 91, 9], Operations: ['72-63=9']
Exploring Operation: 91-24=67, Resulting Numbers: [9, 67]
Generated Node #0,0,0: 80:[9, 67] Operation: 91-24=67
Exploring Operation: 91+9=100, Resulting Numbers: [24, 100]
Generated Node #0,0,1: 80:[24, 100] Operation: 91+9=100
Exploring Operation: 24+9=33, Resulting Numbers: [91, 33]
Generated Node #0,0,2: 80:[91, 33] Operation: 24+9=33
Exploring Operation: 24-9=15, Resulting Numbers: [91, 15]
Generated Node #0,0,3: 80:[91, 15] Operation: 24-9=15
Exploring Operation: 91-9=82, Resulting Numbers: [24, 82]
Generated Node #0,0,4: 80:[24, 82] Operation: 91-9=82
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[24, 82], Operations: ['72-63=9', '91-9=82']
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,80 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[91, 15], Operations: ['72-63=9', '24-9=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[9, 67], Operations: ['72-63=9', '91-24=67']
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[91, 33], Operations: ['72-63=9', '24+9=33']
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[24, 100], Operations: ['72-63=9', '91+9=100']
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 24*100=2400, Resulting Numbers: [2400]
2400,80 unequal: No Solution
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,80 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: 80:[91, 72, 39], Operations: ['63-24=39']
Exploring Operation: 91-39=52, Resulting Numbers: [72, 52]
Generated Node #0,3,0: 80:[72, 52] Operation: 91-39=52
Exploring Operation: 91+39=130, Resulting Numbers: [72, 130]
Generated Node #0,3,1: 80:[72, 130] Operation: 91+39=130
Exploring Operation: 72+39=111, Resulting Numbers: [91, 111]
Generated Node #0,3,2: 80:[91, 111] Operation: 72+39=111
Exploring Operation: 91-72=19, Resulting Numbers: [39, 19]
Generated Node #0,3,3: 80:[39, 19] Operation: 91-72=19
Exploring Operation: 72-39=33, Resulting Numbers: [91, 33]
Generated Node #0,3,4: 80:[91, 33] Operation: 72-39=33
Moving to Node #0,2
Current State: 80:[24, 72, 28], Operations: ['91-63=28']
Exploring Operation: 72-28=44, Resulting Numbers: [24, 44]
Generated Node #0,2,0: 80:[24, 44] Operation: 72-28=44
Exploring Operation: 24+28=52, Resulting Numbers: [72, 52]
Generated Node #0,2,1: 80:[72, 52] Operation: 24+28=52
Exploring Operation: 28-24=4, Resulting Numbers: [72, 4]
Generated Node #0,2,2: 80:[72, 4] Operation: 28-24=4
Exploring Operation: 72/24=3, Resulting Numbers: [28, 3]
Generated Node #0,2,3: 80:[28, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [28, 48]
Generated Node #0,2,4: 80:[28, 48] Operation: 72-24=48
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[24, 44], Operations: ['91-63=28', '72-28=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[72, 4], Operations: ['91-63=28', '28-24=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[28, 3], Operations: ['91-63=28', '72/24=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[28, 48], Operations: ['91-63=28', '72-24=48']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,80 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[72, 52], Operations: ['91-63=28', '24+28=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,80 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,80 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: 80:[24, 63, 19], Operations: ['91-72=19']
Exploring Operation: 63-24=39, Resulting Numbers: [19, 39]
Generated Node #0,4,0: 80:[19, 39] Operation: 63-24=39
Exploring Operation: 24+63=87, Resulting Numbers: [19, 87]
Generated Node #0,4,1: 80:[19, 87] Operation: 24+63=87
Exploring Operation: 63-19=44, Resulting Numbers: [24, 44]
Generated Node #0,4,2: 80:[24, 44] Operation: 63-19=44
Exploring Operation: 63+19=82, Resulting Numbers: [24, 82]
Generated Node #0,4,3: 80:[24, 82] Operation: 63+19=82
Exploring Operation: 24-19=5, Resulting Numbers: [63, 5]
Generated Node #0,4,4: 80:[63, 5] Operation: 24-19=5
Moving to Node #0,1
Current State: 80:[91, 72, 87], Operations: ['24+63=87']
Exploring Operation: 91+72=163, Resulting Numbers: [87, 163]
Generated Node #0,1,0: 80:[87, 163] Operation: 91+72=163
Exploring Operation: 87-72=15, Resulting Numbers: [91, 15]
Generated Node #0,1,1: 80:[91, 15] Operation: 87-72=15
Exploring Operation: 91-72=19, Resulting Numbers: [87, 19]
Generated Node #0,1,2: 80:[87, 19] Operation: 91-72=19
Exploring Operation: 91-87=4, Resulting Numbers: [72, 4]
Generated Node #0,1,3: 80:[72, 4] Operation: 91-87=4
Exploring Operation: 72+87=159, Resulting Numbers: [91, 159]
Generated Node #0,1,4: 80:[91, 159] Operation: 72+87=159
Moving to Node #0,3,3
Current State: 80:[39, 19], Operations: ['63-24=39', '91-72=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,80 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[19, 39], Operations: ['91-72=19', '63-24=39']
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,80 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[24, 82], Operations: ['91-72=19', '63+19=82']
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,80 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[72, 4], Operations: ['24+63=87', '91-87=4']
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,80 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[19, 87], Operations: ['91-72=19', '24+63=87']
Exploring Operation: 19*87=1653, Resulting Numbers: [1653]
1653,80 unequal: No Solution
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[87, 19], Operations: ['24+63=87', '91-72=19']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[24, 44], Operations: ['91-72=19', '63-19=44']
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,80 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[91, 15], Operations: ['24+63=87', '87-72=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,80 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[63, 5], Operations: ['91-72=19', '24-19=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[91, 33], Operations: ['63-24=39', '72-39=33']
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,80 unequal: No Solution
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[72, 52], Operations: ['63-24=39', '91-39=52']
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,80 unequal: No Solution
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[91, 111], Operations: ['63-24=39', '72+39=111']
Exploring Operation: 91*111=10101, Resulting Numbers: [10101]
10101,80 unequal: No Solution
Exploring Operation: 91+111=202, Resulting Numbers: [202]
202,80 unequal: No Solution
Exploring Operation: 111-91=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[72, 130], Operations: ['63-24=39', '91+39=130']
Exploring Operation: 72*130=9360, Resulting Numbers: [9360]
9360,80 unequal: No Solution
Exploring Operation: 72+130=202, Resulting Numbers: [202]
202,80 unequal: No Solution
Exploring Operation: 130-72=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[87, 163], Operations: ['24+63=87', '91+72=163']
Exploring Operation: 87*163=14181, Resulting Numbers: [14181]
14181,80 unequal: No Solution
Exploring Operation: 163-87=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 87+163=250, Resulting Numbers: [250]
250,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[91, 159], Operations: ['24+63=87', '72+87=159']
Exploring Operation: 91*159=14469, Resulting Numbers: [14469]
14469,80 unequal: No Solution
Exploring Operation: 159-91=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 91+159=250, Resulting Numbers: [250]
250,80 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
71,
28,
74,
76
] | 51 |
[
"71+28=99",
"74+76=150",
"150-99=51"
] |
Current State: 51:[71, 28, 74, 76], Operations: []
Exploring Operation: 71+28=99, Resulting Numbers: [74, 76, 99]
Generated Node #2: [74, 76, 99] from Operation: 71+28=99
Current State: 51:[74, 76, 99], Operations: ['71+28=99']
Exploring Operation: 74+76=150, Resulting Numbers: [99, 150]
Generated Node #3: [99, 150] from Operation: 74+76=150
Current State: 51:[99, 150], Operations: ['71+28=99', '74+76=150']
Exploring Operation: 150-99=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[71, 28, 74, 76], Operations: []
Exploring Operation: 74-28=46, Resulting Numbers: [71, 76, 46]
Generated Node #0,0: 51:[71, 76, 46] Operation: 74-28=46
Exploring Operation: 76-71=5, Resulting Numbers: [28, 74, 5]
Generated Node #0,1: 51:[28, 74, 5] Operation: 76-71=5
Exploring Operation: 74-71=3, Resulting Numbers: [28, 76, 3]
Generated Node #0,2: 51:[28, 76, 3] Operation: 74-71=3
Exploring Operation: 76-74=2, Resulting Numbers: [71, 28, 2]
Generated Node #0,3: 51:[71, 28, 2] Operation: 76-74=2
Exploring Operation: 76-28=48, Resulting Numbers: [71, 74, 48]
Generated Node #0,4: 51:[71, 74, 48] Operation: 76-28=48
Moving to Node #0,3
Current State: 51:[71, 28, 2], Operations: ['76-74=2']
Exploring Operation: 71-2=69, Resulting Numbers: [28, 69]
Generated Node #0,3,0: 51:[28, 69] Operation: 71-2=69
Exploring Operation: 28-2=26, Resulting Numbers: [71, 26]
Generated Node #0,3,1: 51:[71, 26] Operation: 28-2=26
Exploring Operation: 28*2=56, Resulting Numbers: [71, 56]
Generated Node #0,3,2: 51:[71, 56] Operation: 28*2=56
Exploring Operation: 28/2=14, Resulting Numbers: [71, 14]
Generated Node #0,3,3: 51:[71, 14] Operation: 28/2=14
Exploring Operation: 71-28=43, Resulting Numbers: [2, 43]
Generated Node #0,3,4: 51:[2, 43] Operation: 71-28=43
Moving to Node #0,2
Current State: 51:[28, 76, 3], Operations: ['74-71=3']
Exploring Operation: 28+3=31, Resulting Numbers: [76, 31]
Generated Node #0,2,0: 51:[76, 31] Operation: 28+3=31
Exploring Operation: 28-3=25, Resulting Numbers: [76, 25]
Generated Node #0,2,1: 51:[76, 25] Operation: 28-3=25
Exploring Operation: 76-28=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 51:[3, 48] Operation: 76-28=48
Exploring Operation: 76+3=79, Resulting Numbers: [28, 79]
Generated Node #0,2,3: 51:[28, 79] Operation: 76+3=79
Exploring Operation: 76-3=73, Resulting Numbers: [28, 73]
Generated Node #0,2,4: 51:[28, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[3, 48], Operations: ['74-71=3', '76-28=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[71, 28, 74, 76], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [28, 76, 3]
Generated Node #0,2: 51:[28, 76, 3] Operation: 74-71=3
Moving to Node #0,2
Current State: 51:[28, 76, 3], Operations: ['74-71=3']
Exploring Operation: 76-28=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 51:[3, 48] Operation: 76-28=48
Moving to Node #0,2,2
Current State: 51:[3, 48], Operations: ['74-71=3', '76-28=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_5
|
mult_heuristic
|
[
80,
20,
40,
7
] | 71 |
[
"80-7=73",
"40/20=2",
"73-2=71"
] |
Current State: 71:[80, 20, 40, 7], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [20, 40, 73]
Generated Node #2: [20, 40, 73] from Operation: 80-7=73
Current State: 71:[20, 40, 73], Operations: ['80-7=73']
Exploring Operation: 40/20=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 40/20=2
Current State: 71:[73, 2], Operations: ['80-7=73', '40/20=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[80, 20, 40, 7], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [20, 40, 73]
Generated Node #0,0: 71:[20, 40, 73] Operation: 80-7=73
Exploring Operation: 20+40=60, Resulting Numbers: [80, 7, 60]
Generated Node #0,1: 71:[80, 7, 60] Operation: 20+40=60
Exploring Operation: 20+7=27, Resulting Numbers: [80, 40, 27]
Generated Node #0,2: 71:[80, 40, 27] Operation: 20+7=27
Moving to Node #0,0
Current State: 71:[20, 40, 73], Operations: ['80-7=73']
Exploring Operation: 20+40=60, Resulting Numbers: [73, 60]
Generated Node #0,0,0: 71:[73, 60] Operation: 20+40=60
Exploring Operation: 40-20=20, Resulting Numbers: [73, 20]
Generated Node #0,0,1: 71:[73, 20] Operation: 40-20=20
Exploring Operation: 73-20=53, Resulting Numbers: [40, 53]
Generated Node #0,0,2: 71:[40, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[73, 60], Operations: ['80-7=73', '20+40=60']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[40, 53], Operations: ['80-7=73', '73-20=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[73, 20], Operations: ['80-7=73', '40-20=20']
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,71 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[80, 7, 60], Operations: ['20+40=60']
Exploring Operation: 80+7=87, Resulting Numbers: [60, 87]
Generated Node #0,1,0: 71:[60, 87] Operation: 80+7=87
Exploring Operation: 80-7=73, Resulting Numbers: [60, 73]
Generated Node #0,1,1: 71:[60, 73] Operation: 80-7=73
Exploring Operation: 7+60=67, Resulting Numbers: [80, 67]
Generated Node #0,1,2: 71:[80, 67] Operation: 7+60=67
Moving to Node #0,2
Current State: 71:[80, 40, 27], Operations: ['20+7=27']
Exploring Operation: 80-27=53, Resulting Numbers: [40, 53]
Generated Node #0,2,0: 71:[40, 53] Operation: 80-27=53
Exploring Operation: 40+27=67, Resulting Numbers: [80, 67]
Generated Node #0,2,1: 71:[80, 67] Operation: 40+27=67
Exploring Operation: 80+27=107, Resulting Numbers: [40, 107]
Generated Node #0,2,2: 71:[40, 107] Operation: 80+27=107
Moving to Node #0,1,1
Current State: 71:[60, 73], Operations: ['20+40=60', '80-7=73']
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[80, 67], Operations: ['20+40=60', '7+60=67']
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,71 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[80, 67], Operations: ['20+7=27', '40+27=67']
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,71 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[60, 87], Operations: ['20+40=60', '80+7=87']
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,71 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[40, 53], Operations: ['20+7=27', '80-27=53']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[40, 107], Operations: ['20+7=27', '80+27=107']
Exploring Operation: 40*107=4280, Resulting Numbers: [4280]
4280,71 unequal: No Solution
Exploring Operation: 40+107=147, Resulting Numbers: [147]
147,71 unequal: No Solution
Exploring Operation: 107-40=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
29,
63,
58,
92
] | 34 |
[
"58/29=2",
"63*2=126",
"126-92=34"
] |
Current State: 34:[29, 63, 58, 92], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [63, 92, 2]
Generated Node #2: [63, 92, 2] from Operation: 58/29=2
Current State: 34:[63, 92, 2], Operations: ['58/29=2']
Exploring Operation: 63*2=126, Resulting Numbers: [92, 126]
Generated Node #3: [92, 126] from Operation: 63*2=126
Current State: 34:[92, 126], Operations: ['58/29=2', '63*2=126']
Exploring Operation: 126-92=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[29, 63, 58, 92], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [58, 92, 34]
Generated Node #0,0: 34:[58, 92, 34] Operation: 63-29=34
Exploring Operation: 92-58=34, Resulting Numbers: [29, 63, 34]
Generated Node #0,1: 34:[29, 63, 34] Operation: 92-58=34
Exploring Operation: 92-63=29, Resulting Numbers: [29, 58, 29]
Generated Node #0,2: 34:[29, 58, 29] Operation: 92-63=29
Exploring Operation: 63-58=5, Resulting Numbers: [29, 92, 5]
Generated Node #0,3: 34:[29, 92, 5] Operation: 63-58=5
Moving to Node #0,1
Current State: 34:[29, 63, 34], Operations: ['92-58=34']
Exploring Operation: 63-34=29, Resulting Numbers: [29, 29]
Generated Node #0,1,0: 34:[29, 29] Operation: 63-34=29
Exploring Operation: 29+63=92, Resulting Numbers: [34, 92]
Generated Node #0,1,1: 34:[34, 92] Operation: 29+63=92
Exploring Operation: 63-29=34, Resulting Numbers: [34, 34]
Generated Node #0,1,2: 34:[34, 34] Operation: 63-29=34
Exploring Operation: 34-29=5, Resulting Numbers: [63, 5]
Generated Node #0,1,3: 34:[63, 5] Operation: 34-29=5
Moving to Node #0,2
Current State: 34:[29, 58, 29], Operations: ['92-63=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29, 29]
Generated Node #0,2,0: 34:[29, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [29, 2]
Generated Node #0,2,1: 34:[29, 2] Operation: 58/29=2
Exploring Operation: 58/29=2, Resulting Numbers: [29, 2]
Generated Node #0,2,2: 34:[29, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [29, 29]
Generated Node #0,2,3: 34:[29, 29] Operation: 58-29=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[29, 2], Operations: ['92-63=29', '58/29=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[29, 2], Operations: ['92-63=29', '58/29=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[29, 29], Operations: ['92-63=29', '58-29=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,34 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[29, 29], Operations: ['92-63=29', '58-29=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,34 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: 34:[29, 92, 5], Operations: ['63-58=5']
Exploring Operation: 92-5=87, Resulting Numbers: [29, 87]
Generated Node #0,3,0: 34:[29, 87] Operation: 92-5=87
Exploring Operation: 92-29=63, Resulting Numbers: [5, 63]
Generated Node #0,3,1: 34:[5, 63] Operation: 92-29=63
Exploring Operation: 29+5=34, Resulting Numbers: [92, 34]
Generated Node #0,3,2: 34:[92, 34] Operation: 29+5=34
Exploring Operation: 29-5=24, Resulting Numbers: [92, 24]
Generated Node #0,3,3: 34:[92, 24] Operation: 29-5=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[5, 63], Operations: ['63-58=5', '92-29=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[29, 87], Operations: ['63-58=5', '92-5=87']
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,34 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[92, 34], Operations: ['63-58=5', '29+5=34']
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,34 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[92, 24], Operations: ['63-58=5', '29-5=24']
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,34 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[58, 92, 34], Operations: ['63-29=34']
Exploring Operation: 92-34=58, Resulting Numbers: [58, 58]
Generated Node #0,0,0: 34:[58, 58] Operation: 92-34=58
Exploring Operation: 58-34=24, Resulting Numbers: [92, 24]
Generated Node #0,0,1: 34:[92, 24] Operation: 58-34=24
Exploring Operation: 92-58=34, Resulting Numbers: [34, 34]
Generated Node #0,0,2: 34:[34, 34] Operation: 92-58=34
Exploring Operation: 58+92=150, Resulting Numbers: [34, 150]
Generated Node #0,0,3: 34:[34, 150] Operation: 58+92=150
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[34, 34], Operations: ['63-29=34', '92-58=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[58, 58], Operations: ['63-29=34', '92-34=58']
Exploring Operation: 58*58=3364, Resulting Numbers: [3364]
3364,34 unequal: No Solution
Exploring Operation: 58+58=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 58/58=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 58-58=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[92, 24], Operations: ['63-29=34', '58-34=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[34, 150], Operations: ['63-29=34', '58+92=150']
Exploring Operation: 150-34=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 34*150=5100, Resulting Numbers: [5100]
5100,34 unequal: No Solution
Exploring Operation: 34+150=184, Resulting Numbers: [184]
184,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 34:[34, 34], Operations: ['92-58=34', '63-29=34']
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[29, 29], Operations: ['92-58=34', '63-34=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[63, 5], Operations: ['92-58=34', '34-29=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[34, 92], Operations: ['92-58=34', '29+63=92']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,34 unequal: No Solution
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,34 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
75,
3,
80,
23
] | 96 |
[
"80-23=57",
"3*57=171",
"171-75=96"
] |
Current State: 96:[75, 3, 80, 23], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [75, 3, 57]
Generated Node #2: [75, 3, 57] from Operation: 80-23=57
Current State: 96:[75, 3, 57], Operations: ['80-23=57']
Exploring Operation: 3*57=171, Resulting Numbers: [75, 171]
Generated Node #3: [75, 171] from Operation: 3*57=171
Current State: 96:[75, 171], Operations: ['80-23=57', '3*57=171']
Exploring Operation: 171-75=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[75, 3, 80, 23], Operations: []
Exploring Operation: 75+23=98, Resulting Numbers: [3, 80, 98]
Generated Node #0,0: 96:[3, 80, 98] Operation: 75+23=98
Exploring Operation: 80+23=103, Resulting Numbers: [75, 3, 103]
Generated Node #0,1: 96:[75, 3, 103] Operation: 80+23=103
Exploring Operation: 75-23=52, Resulting Numbers: [3, 80, 52]
Generated Node #0,2: 96:[3, 80, 52] Operation: 75-23=52
Exploring Operation: 80-75=5, Resulting Numbers: [3, 23, 5]
Generated Node #0,3: 96:[3, 23, 5] Operation: 80-75=5
Exploring Operation: 75/3=25, Resulting Numbers: [80, 23, 25]
Generated Node #0,4: 96:[80, 23, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[3, 23, 5], Operations: ['80-75=5']
Exploring Operation: 3+23=26, Resulting Numbers: [5, 26]
Generated Node #0,3,0: 96:[5, 26] Operation: 3+23=26
Exploring Operation: 5-3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,1: 96:[23, 2] Operation: 5-3=2
Exploring Operation: 23-5=18, Resulting Numbers: [3, 18]
Generated Node #0,3,2: 96:[3, 18] Operation: 23-5=18
Exploring Operation: 3+5=8, Resulting Numbers: [23, 8]
Generated Node #0,3,3: 96:[23, 8] Operation: 3+5=8
Exploring Operation: 3*5=15, Resulting Numbers: [23, 15]
Generated Node #0,3,4: 96:[23, 15] Operation: 3*5=15
Moving to Node #0,3,1
Current State: 96:[23, 2], Operations: ['80-75=5', '5-3=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[23, 8], Operations: ['80-75=5', '3+5=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,96 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[3, 18], Operations: ['80-75=5', '23-5=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[23, 15], Operations: ['80-75=5', '3*5=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[5, 26], Operations: ['80-75=5', '3+23=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,96 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[3, 80, 98], Operations: ['75+23=98']
Exploring Operation: 3+98=101, Resulting Numbers: [80, 101]
Generated Node #0,0,0: 96:[80, 101] Operation: 3+98=101
Exploring Operation: 98-3=95, Resulting Numbers: [80, 95]
Generated Node #0,0,1: 96:[80, 95] Operation: 98-3=95
Exploring Operation: 3+80=83, Resulting Numbers: [98, 83]
Generated Node #0,0,2: 96:[98, 83] Operation: 3+80=83
Exploring Operation: 98-80=18, Resulting Numbers: [3, 18]
Generated Node #0,0,3: 96:[3, 18] Operation: 98-80=18
Exploring Operation: 80-3=77, Resulting Numbers: [98, 77]
Generated Node #0,0,4: 96:[98, 77] Operation: 80-3=77
Moving to Node #0,0,3
Current State: 96:[3, 18], Operations: ['75+23=98', '98-80=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[98, 83], Operations: ['75+23=98', '3+80=83']
Exploring Operation: 98*83=8134, Resulting Numbers: [8134]
8134,96 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 98+83=181, Resulting Numbers: [181]
181,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[80, 95], Operations: ['75+23=98', '98-3=95']
Exploring Operation: 80*95=7600, Resulting Numbers: [7600]
7600,96 unequal: No Solution
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 80+95=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[80, 101], Operations: ['75+23=98', '3+98=101']
Exploring Operation: 101-80=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 80*101=8080, Resulting Numbers: [8080]
8080,96 unequal: No Solution
Exploring Operation: 80+101=181, Resulting Numbers: [181]
181,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[98, 77], Operations: ['75+23=98', '80-3=77']
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 98+77=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Exploring Operation: 98*77=7546, Resulting Numbers: [7546]
7546,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[80, 23, 25], Operations: ['75/3=25']
Exploring Operation: 80-25=55, Resulting Numbers: [23, 55]
Generated Node #0,4,0: 96:[23, 55] Operation: 80-25=55
Exploring Operation: 80+25=105, Resulting Numbers: [23, 105]
Generated Node #0,4,1: 96:[23, 105] Operation: 80+25=105
Exploring Operation: 80+23=103, Resulting Numbers: [25, 103]
Generated Node #0,4,2: 96:[25, 103] Operation: 80+23=103
Exploring Operation: 80-23=57, Resulting Numbers: [25, 57]
Generated Node #0,4,3: 96:[25, 57] Operation: 80-23=57
Exploring Operation: 23+25=48, Resulting Numbers: [80, 48]
Generated Node #0,4,4: 96:[80, 48] Operation: 23+25=48
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[23, 55], Operations: ['75/3=25', '80-25=55']
Exploring Operation: 23*55=1265, Resulting Numbers: [1265]
1265,96 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,96 unequal: No Solution
No 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: 96:[25, 103], Operations: ['75/3=25', '80+23=103']
Exploring Operation: 103-25=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 25*103=2575, Resulting Numbers: [2575]
2575,96 unequal: No Solution
Exploring Operation: 25+103=128, Resulting Numbers: [128]
128,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 96:[23, 105], Operations: ['75/3=25', '80+25=105']
Exploring Operation: 23*105=2415, Resulting Numbers: [2415]
2415,96 unequal: No Solution
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 23+105=128, Resulting Numbers: [128]
128,96 unequal: No Solution
No 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: 96:[25, 57], Operations: ['75/3=25', '80-23=57']
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,96 unequal: No Solution
No 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: 96:[80, 48], Operations: ['75/3=25', '23+25=48']
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,96 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,96 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: 96:[3, 80, 52], Operations: ['75-23=52']
Exploring Operation: 80-52=28, Resulting Numbers: [3, 28]
Generated Node #0,2,0: 96:[3, 28] Operation: 80-52=28
Exploring Operation: 52-3=49, Resulting Numbers: [80, 49]
Generated Node #0,2,1: 96:[80, 49] Operation: 52-3=49
Exploring Operation: 3+80=83, Resulting Numbers: [52, 83]
Generated Node #0,2,2: 96:[52, 83] Operation: 3+80=83
Exploring Operation: 3+52=55, Resulting Numbers: [80, 55]
Generated Node #0,2,3: 96:[80, 55] Operation: 3+52=55
Exploring Operation: 80-3=77, Resulting Numbers: [52, 77]
Generated Node #0,2,4: 96:[52, 77] Operation: 80-3=77
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[3, 28], Operations: ['75-23=52', '80-52=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No 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: 96:[80, 49], Operations: ['75-23=52', '52-3=49']
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,96 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,96 unequal: No Solution
No 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: 96:[52, 83], Operations: ['75-23=52', '3+80=83']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,96 unequal: No Solution
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,96 unequal: No Solution
No 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: 96:[80, 55], Operations: ['75-23=52', '3+52=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,96 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,96 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No 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: 96:[52, 77], Operations: ['75-23=52', '80-3=77']
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,96 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,96 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: 96:[75, 3, 103], Operations: ['80+23=103']
Exploring Operation: 103-75=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 96:[3, 28] Operation: 103-75=28
Exploring Operation: 103-3=100, Resulting Numbers: [75, 100]
Generated Node #0,1,1: 96:[75, 100] Operation: 103-3=100
Exploring Operation: 75-3=72, Resulting Numbers: [103, 72]
Generated Node #0,1,2: 96:[103, 72] Operation: 75-3=72
Exploring Operation: 75/3=25, Resulting Numbers: [103, 25]
Generated Node #0,1,3: 96:[103, 25] Operation: 75/3=25
Exploring Operation: 75+3=78, Resulting Numbers: [103, 78]
Generated Node #0,1,4: 96:[103, 78] Operation: 75+3=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[3, 28], Operations: ['80+23=103', '103-75=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No 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: 96:[103, 25], Operations: ['80+23=103', '75/3=25']
Exploring Operation: 103+25=128, Resulting Numbers: [128]
128,96 unequal: No Solution
Exploring Operation: 103-25=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 103*25=2575, Resulting Numbers: [2575]
2575,96 unequal: No Solution
No 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: 96:[75, 100], Operations: ['80+23=103', '103-3=100']
Exploring Operation: 100-75=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 75+100=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Exploring Operation: 75*100=7500, Resulting Numbers: [7500]
7500,96 unequal: No Solution
No 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: 96:[103, 78], Operations: ['80+23=103', '75+3=78']
Exploring Operation: 103*78=8034, Resulting Numbers: [8034]
8034,96 unequal: No Solution
Exploring Operation: 103-78=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 103+78=181, Resulting Numbers: [181]
181,96 unequal: No Solution
No 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: 96:[103, 72], Operations: ['80+23=103', '75-3=72']
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 103+72=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Exploring Operation: 103*72=7416, Resulting Numbers: [7416]
7416,96 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
|
[
46,
47,
11,
50
] | 79 |
[
"50-47=3",
"11*3=33",
"46+33=79"
] |
Current State: 79:[46, 47, 11, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [46, 11, 3]
Generated Node #2: [46, 11, 3] from Operation: 50-47=3
Current State: 79:[46, 11, 3], Operations: ['50-47=3']
Exploring Operation: 11*3=33, Resulting Numbers: [46, 33]
Generated Node #3: [46, 33] from Operation: 11*3=33
Current State: 79:[46, 33], Operations: ['50-47=3', '11*3=33']
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[46, 47, 11, 50], Operations: []
Exploring Operation: 46+11=57, Resulting Numbers: [47, 50, 57]
Generated Node #0,0: 79:[47, 50, 57] Operation: 46+11=57
Exploring Operation: 11+50=61, Resulting Numbers: [46, 47, 61]
Generated Node #0,1: 79:[46, 47, 61] Operation: 11+50=61
Exploring Operation: 47+11=58, Resulting Numbers: [46, 50, 58]
Generated Node #0,2: 79:[46, 50, 58] Operation: 47+11=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[47, 50, 57], Operations: ['46+11=57']
Exploring Operation: 47+57=104, Resulting Numbers: [50, 104]
Generated Node #0,0,0: 79:[50, 104] Operation: 47+57=104
Exploring Operation: 50+57=107, Resulting Numbers: [47, 107]
Generated Node #0,0,1: 79:[47, 107] Operation: 50+57=107
Exploring Operation: 47+50=97, Resulting Numbers: [57, 97]
Generated Node #0,0,2: 79:[57, 97] Operation: 47+50=97
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[57, 97], Operations: ['46+11=57', '47+50=97']
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,79 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[50, 104], Operations: ['46+11=57', '47+57=104']
Exploring Operation: 50*104=5200, Resulting Numbers: [5200]
5200,79 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[47, 107], Operations: ['46+11=57', '50+57=107']
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[46, 47, 61], Operations: ['11+50=61']
Exploring Operation: 46+47=93, Resulting Numbers: [61, 93]
Generated Node #0,1,0: 79:[61, 93] Operation: 46+47=93
Exploring Operation: 46+61=107, Resulting Numbers: [47, 107]
Generated Node #0,1,1: 79:[47, 107] Operation: 46+61=107
Exploring Operation: 47+61=108, Resulting Numbers: [46, 108]
Generated Node #0,1,2: 79:[46, 108] Operation: 47+61=108
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[61, 93], Operations: ['11+50=61', '46+47=93']
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,79 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[47, 107], Operations: ['11+50=61', '46+61=107']
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,79 unequal: No Solution
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[46, 108], Operations: ['11+50=61', '47+61=108']
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,79 unequal: No Solution
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[46, 50, 58], Operations: ['47+11=58']
Exploring Operation: 50+58=108, Resulting Numbers: [46, 108]
Generated Node #0,2,0: 79:[46, 108] Operation: 50+58=108
Exploring Operation: 46+50=96, Resulting Numbers: [58, 96]
Generated Node #0,2,1: 79:[58, 96] Operation: 46+50=96
Exploring Operation: 46+58=104, Resulting Numbers: [50, 104]
Generated Node #0,2,2: 79:[50, 104] Operation: 46+58=104
Moving to Node #0,2,1
Current State: 79:[58, 96], Operations: ['47+11=58', '46+50=96']
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[50, 104], Operations: ['47+11=58', '46+58=104']
Exploring Operation: 50*104=5200, Resulting Numbers: [5200]
5200,79 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[46, 108], Operations: ['47+11=58', '50+58=108']
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,79 unequal: No Solution
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
53,
17,
51,
9
] | 25 |
[
"53-51=2",
"17*2=34",
"34-9=25"
] |
Current State: 25:[53, 17, 51, 9], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [17, 9, 2]
Generated Node #2: [17, 9, 2] from Operation: 53-51=2
Current State: 25:[17, 9, 2], Operations: ['53-51=2']
Exploring Operation: 17*2=34, Resulting Numbers: [9, 34]
Generated Node #3: [9, 34] from Operation: 17*2=34
Current State: 25:[9, 34], Operations: ['53-51=2', '17*2=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[53, 17, 51, 9], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [17, 51, 44]
Generated Node #0,0: 25:[17, 51, 44] Operation: 53-9=44
Exploring Operation: 53-17=36, Resulting Numbers: [51, 9, 36]
Generated Node #0,1: 25:[51, 9, 36] Operation: 53-17=36
Exploring Operation: 51/17=3, Resulting Numbers: [53, 9, 3]
Generated Node #0,2: 25:[53, 9, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [53, 9, 34]
Generated Node #0,3: 25:[53, 9, 34] Operation: 51-17=34
Exploring Operation: 53-51=2, Resulting Numbers: [17, 9, 2]
Generated Node #0,4: 25:[17, 9, 2] Operation: 53-51=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[17, 9, 2], Operations: ['53-51=2']
Exploring Operation: 17+9=26, Resulting Numbers: [2, 26]
Generated Node #0,4,0: 25:[2, 26] Operation: 17+9=26
Exploring Operation: 17-9=8, Resulting Numbers: [2, 8]
Generated Node #0,4,1: 25:[2, 8] Operation: 17-9=8
Exploring Operation: 9-2=7, Resulting Numbers: [17, 7]
Generated Node #0,4,2: 25:[17, 7] Operation: 9-2=7
Exploring Operation: 17+2=19, Resulting Numbers: [9, 19]
Generated Node #0,4,3: 25:[9, 19] Operation: 17+2=19
Exploring Operation: 17*2=34, Resulting Numbers: [9, 34]
Generated Node #0,4,4: 25:[9, 34] Operation: 17*2=34
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[2, 26], Operations: ['53-51=2', '17+9=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 25:[2, 8], Operations: ['53-51=2', '17-9=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[17, 7], Operations: ['53-51=2', '9-2=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,25 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 25:[9, 19], Operations: ['53-51=2', '17+2=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,25 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[9, 34], Operations: ['53-51=2', '17*2=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,25 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[53, 17, 51, 9], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [17, 9, 2]
Generated Node #0,4: 25:[17, 9, 2] Operation: 53-51=2
Moving to Node #0,4
Current State: 25:[17, 9, 2], Operations: ['53-51=2']
Exploring Operation: 17*2=34, Resulting Numbers: [9, 34]
Generated Node #0,4,4: 25:[9, 34] Operation: 17*2=34
Moving to Node #0,4,4
Current State: 25:[9, 34], Operations: ['53-51=2', '17*2=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 |
hs_5
|
mult_heuristic
|
[
73,
45,
77,
84
] | 24 |
[
"77-73=4",
"84/4=21",
"45-21=24"
] |
Current State: 24:[73, 45, 77, 84], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [45, 84, 4]
Generated Node #2: [45, 84, 4] from Operation: 77-73=4
Current State: 24:[45, 84, 4], Operations: ['77-73=4']
Exploring Operation: 84/4=21, Resulting Numbers: [45, 21]
Generated Node #3: [45, 21] from Operation: 84/4=21
Current State: 24:[45, 21], Operations: ['77-73=4', '84/4=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[73, 45, 77, 84], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [77, 84, 28]
Generated Node #0,0: 24:[77, 84, 28] Operation: 73-45=28
Exploring Operation: 84-77=7, Resulting Numbers: [73, 45, 7]
Generated Node #0,1: 24:[73, 45, 7] Operation: 84-77=7
Exploring Operation: 84-73=11, Resulting Numbers: [45, 77, 11]
Generated Node #0,2: 24:[45, 77, 11] Operation: 84-73=11
Exploring Operation: 77-73=4, Resulting Numbers: [45, 84, 4]
Generated Node #0,3: 24:[45, 84, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[73, 45, 7], Operations: ['84-77=7']
Exploring Operation: 45-7=38, Resulting Numbers: [73, 38]
Generated Node #0,1,0: 24:[73, 38] Operation: 45-7=38
Exploring Operation: 73+7=80, Resulting Numbers: [45, 80]
Generated Node #0,1,1: 24:[45, 80] Operation: 73+7=80
Exploring Operation: 73-45=28, Resulting Numbers: [7, 28]
Generated Node #0,1,2: 24:[7, 28] Operation: 73-45=28
Exploring Operation: 73-7=66, Resulting Numbers: [45, 66]
Generated Node #0,1,3: 24:[45, 66] Operation: 73-7=66
Moving to Node #0,1,2
Current State: 24:[7, 28], Operations: ['84-77=7', '73-45=28']
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,24 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[45, 66], Operations: ['84-77=7', '73-7=66']
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,24 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[73, 38], Operations: ['84-77=7', '45-7=38']
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,24 unequal: No Solution
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[45, 80], Operations: ['84-77=7', '73+7=80']
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,24 unequal: No Solution
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[45, 77, 11], Operations: ['84-73=11']
Exploring Operation: 77-45=32, Resulting Numbers: [11, 32]
Generated Node #0,2,0: 24:[11, 32] Operation: 77-45=32
Exploring Operation: 77-11=66, Resulting Numbers: [45, 66]
Generated Node #0,2,1: 24:[45, 66] Operation: 77-11=66
Exploring Operation: 45-11=34, Resulting Numbers: [77, 34]
Generated Node #0,2,2: 24:[77, 34] Operation: 45-11=34
Exploring Operation: 77/11=7, Resulting Numbers: [45, 7]
Generated Node #0,2,3: 24:[45, 7] Operation: 77/11=7
Moving to Node #0,2,0
Current State: 24:[11, 32], Operations: ['84-73=11', '77-45=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,24 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[45, 7], Operations: ['84-73=11', '77/11=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,24 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[77, 34], Operations: ['84-73=11', '45-11=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,24 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[45, 66], Operations: ['84-73=11', '77-11=66']
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,24 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[45, 84, 4], Operations: ['77-73=4']
Exploring Operation: 84-4=80, Resulting Numbers: [45, 80]
Generated Node #0,3,0: 24:[45, 80] Operation: 84-4=80
Exploring Operation: 45-4=41, Resulting Numbers: [84, 41]
Generated Node #0,3,1: 24:[84, 41] Operation: 45-4=41
Exploring Operation: 84/4=21, Resulting Numbers: [45, 21]
Generated Node #0,3,2: 24:[45, 21] Operation: 84/4=21
Exploring Operation: 84-45=39, Resulting Numbers: [4, 39]
Generated Node #0,3,3: 24:[4, 39] Operation: 84-45=39
Moving to Node #0,3,3
Current State: 24:[4, 39], Operations: ['77-73=4', '84-45=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,24 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[45, 21], Operations: ['77-73=4', '84/4=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[73, 45, 77, 84], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [45, 84, 4]
Generated Node #0,3: 24:[45, 84, 4] Operation: 77-73=4
Moving to Node #0,3
Current State: 24:[45, 84, 4], Operations: ['77-73=4']
Exploring Operation: 84/4=21, Resulting Numbers: [45, 21]
Generated Node #0,3,2: 24:[45, 21] Operation: 84/4=21
Moving to Node #0,3,2
Current State: 24:[45, 21], Operations: ['77-73=4', '84/4=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 |
hs_4
|
mult_heuristic
|
[
57,
13,
73,
13
] | 15 |
[
"73-57=16",
"13/13=1",
"16-1=15"
] |
Current State: 15:[57, 13, 73, 13], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [13, 13, 16]
Generated Node #2: [13, 13, 16] from Operation: 73-57=16
Current State: 15:[13, 13, 16], Operations: ['73-57=16']
Exploring Operation: 13/13=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 13/13=1
Current State: 15:[16, 1], Operations: ['73-57=16', '13/13=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[57, 13, 73, 13], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [13, 13, 16]
Generated Node #0,0: 15:[13, 13, 16] Operation: 73-57=16
Exploring Operation: 57-13=44, Resulting Numbers: [73, 13, 44]
Generated Node #0,1: 15:[73, 13, 44] Operation: 57-13=44
Moving to Node #0,0
Current State: 15:[13, 13, 16], Operations: ['73-57=16']
Exploring Operation: 16-13=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 15:[13, 3] Operation: 16-13=3
Exploring Operation: 16-13=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 15:[13, 3] Operation: 16-13=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[13, 3], Operations: ['73-57=16', '16-13=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,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,0,1
Current State: 15:[13, 3], Operations: ['73-57=16', '16-13=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,15 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: 15:[73, 13, 44], Operations: ['57-13=44']
Exploring Operation: 73-13=60, Resulting Numbers: [44, 60]
Generated Node #0,1,0: 15:[44, 60] Operation: 73-13=60
Exploring Operation: 73-44=29, Resulting Numbers: [13, 29]
Generated Node #0,1,1: 15:[13, 29] Operation: 73-44=29
Moving to Node #0,1,1
Current State: 15:[13, 29], Operations: ['57-13=44', '73-44=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[44, 60], Operations: ['57-13=44', '73-13=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
58,
43,
61,
93
] | 47 |
[
"58-43=15",
"93-61=32",
"15+32=47"
] |
Current State: 47:[58, 43, 61, 93], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [61, 93, 15]
Generated Node #2: [61, 93, 15] from Operation: 58-43=15
Current State: 47:[61, 93, 15], Operations: ['58-43=15']
Exploring Operation: 93-61=32, Resulting Numbers: [15, 32]
Generated Node #3: [15, 32] from Operation: 93-61=32
Current State: 47:[15, 32], Operations: ['58-43=15', '93-61=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[58, 43, 61, 93], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [58, 61, 50]
Generated Node #0,0: 47:[58, 61, 50] Operation: 93-43=50
Exploring Operation: 93-58=35, Resulting Numbers: [43, 61, 35]
Generated Node #0,1: 47:[43, 61, 35] Operation: 93-58=35
Moving to Node #0,0
Current State: 47:[58, 61, 50], Operations: ['93-43=50']
Exploring Operation: 61-58=3, Resulting Numbers: [50, 3]
Generated Node #0,0,0: 47:[50, 3] Operation: 61-58=3
Exploring Operation: 61-50=11, Resulting Numbers: [58, 11]
Generated Node #0,0,1: 47:[58, 11] Operation: 61-50=11
Moving to Node #0,1
Current State: 47:[43, 61, 35], Operations: ['93-58=35']
Exploring Operation: 61-43=18, Resulting Numbers: [35, 18]
Generated Node #0,1,0: 47:[35, 18] Operation: 61-43=18
Exploring Operation: 61-35=26, Resulting Numbers: [43, 26]
Generated Node #0,1,1: 47:[43, 26] Operation: 61-35=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[43, 26], Operations: ['93-58=35', '61-35=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[35, 18], Operations: ['93-58=35', '61-43=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,47 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: 47:[50, 3], Operations: ['93-43=50', '61-58=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[58, 43, 61, 93], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [58, 61, 50]
Generated Node #0,0: 47:[58, 61, 50] Operation: 93-43=50
Moving to Node #0,0
Current State: 47:[58, 61, 50], Operations: ['93-43=50']
Exploring Operation: 61-58=3, Resulting Numbers: [50, 3]
Generated Node #0,0,0: 47:[50, 3] Operation: 61-58=3
Moving to Node #0,0,0
Current State: 47:[50, 3], Operations: ['93-43=50', '61-58=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.986111 |
hs_2
|
sum_heuristic
|
[
53,
45,
59,
42
] | 56 |
[
"59-45=14",
"42/14=3",
"53+3=56"
] |
Current State: 56:[53, 45, 59, 42], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [53, 42, 14]
Generated Node #2: [53, 42, 14] from Operation: 59-45=14
Current State: 56:[53, 42, 14], Operations: ['59-45=14']
Exploring Operation: 42/14=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 42/14=3
Current State: 56:[53, 3], Operations: ['59-45=14', '42/14=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[53, 45, 59, 42], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [53, 59, 3]
Generated Node #0,0: 56:[53, 59, 3] Operation: 45-42=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[53, 59, 3], Operations: ['45-42=3']
Exploring Operation: 59-53=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 56:[3, 6] Operation: 59-53=6
Moving to Node #0,0,0
Current State: 56:[3, 6], Operations: ['45-42=3', '59-53=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
65,
60,
84,
51
] | 66 |
[
"65-51=14",
"84/14=6",
"60+6=66"
] |
Current State: 66:[65, 60, 84, 51], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [60, 84, 14]
Generated Node #2: [60, 84, 14] from Operation: 65-51=14
Current State: 66:[60, 84, 14], Operations: ['65-51=14']
Exploring Operation: 84/14=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 84/14=6
Current State: 66:[60, 6], Operations: ['65-51=14', '84/14=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[65, 60, 84, 51], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [65, 60, 33]
Generated Node #0,0: 66:[65, 60, 33] Operation: 84-51=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[65, 60, 33], Operations: ['84-51=33']
Exploring Operation: 65-60=5, Resulting Numbers: [33, 5]
Generated Node #0,0,0: 66:[33, 5] Operation: 65-60=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[33, 5], Operations: ['84-51=33', '65-60=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
69,
17,
85,
43
] | 94 |
[
"69-17=52",
"85-43=42",
"52+42=94"
] |
Current State: 94:[69, 17, 85, 43], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [85, 43, 52]
Generated Node #2: [85, 43, 52] from Operation: 69-17=52
Current State: 94:[85, 43, 52], Operations: ['69-17=52']
Exploring Operation: 85-43=42, Resulting Numbers: [52, 42]
Generated Node #3: [52, 42] from Operation: 85-43=42
Current State: 94:[52, 42], Operations: ['69-17=52', '85-43=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[69, 17, 85, 43], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [85, 43, 52]
Generated Node #0,0: 94:[85, 43, 52] Operation: 69-17=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[85, 43, 52], Operations: ['69-17=52']
Exploring Operation: 85-43=42, Resulting Numbers: [52, 42]
Generated Node #0,0,0: 94:[52, 42] Operation: 85-43=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[52, 42], Operations: ['69-17=52', '85-43=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[69, 17, 85, 43], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [85, 43, 52]
Generated Node #0,0: 94:[85, 43, 52] Operation: 69-17=52
Moving to Node #0,0
Current State: 94:[85, 43, 52], Operations: ['69-17=52']
Exploring Operation: 85-43=42, Resulting Numbers: [52, 42]
Generated Node #0,0,0: 94:[52, 42] Operation: 85-43=42
Moving to Node #0,0,0
Current State: 94:[52, 42], Operations: ['69-17=52', '85-43=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
42,
41,
81,
20
] | 83 |
[
"41-20=21",
"42/21=2",
"81+2=83"
] |
Current State: 83:[42, 41, 81, 20], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [42, 81, 21]
Generated Node #2: [42, 81, 21] from Operation: 41-20=21
Current State: 83:[42, 81, 21], Operations: ['41-20=21']
Exploring Operation: 42/21=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 42/21=2
Current State: 83:[81, 2], Operations: ['41-20=21', '42/21=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[42, 41, 81, 20], Operations: []
Exploring Operation: 42+41=83, Resulting Numbers: [81, 20, 83]
Generated Node #0,0: 83:[81, 20, 83] Operation: 42+41=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[81, 20, 83], Operations: ['42+41=83']
Exploring Operation: 81+20=101, Resulting Numbers: [83, 101]
Generated Node #0,0,0: 83:[83, 101] Operation: 81+20=101
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[83, 101], Operations: ['42+41=83', '81+20=101']
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,83 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
|
[
30,
66,
17,
29
] | 10 |
[
"66-30=36",
"17+29=46",
"46-36=10"
] |
Current State: 10:[30, 66, 17, 29], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [17, 29, 36]
Generated Node #2: [17, 29, 36] from Operation: 66-30=36
Current State: 10:[17, 29, 36], Operations: ['66-30=36']
Exploring Operation: 17+29=46, Resulting Numbers: [36, 46]
Generated Node #3: [36, 46] from Operation: 17+29=46
Current State: 10:[36, 46], Operations: ['66-30=36', '17+29=46']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[30, 66, 17, 29], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [30, 17, 37]
Generated Node #0,0: 10:[30, 17, 37] Operation: 66-29=37
Exploring Operation: 66-30=36, Resulting Numbers: [17, 29, 36]
Generated Node #0,1: 10:[17, 29, 36] Operation: 66-30=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[17, 29, 36], Operations: ['66-30=36']
Exploring Operation: 29-17=12, Resulting Numbers: [36, 12]
Generated Node #0,1,0: 10:[36, 12] Operation: 29-17=12
Exploring Operation: 36-29=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 10:[17, 7] Operation: 36-29=7
Moving to Node #0,1,1
Current State: 10:[17, 7], Operations: ['66-30=36', '36-29=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[30, 66, 17, 29], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [17, 29, 36]
Generated Node #0,1: 10:[17, 29, 36] Operation: 66-30=36
Moving to Node #0,1
Current State: 10:[17, 29, 36], Operations: ['66-30=36']
Exploring Operation: 36-29=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 10:[17, 7] Operation: 36-29=7
Moving to Node #0,1,1
Current State: 10:[17, 7], Operations: ['66-30=36', '36-29=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
80,
75,
73,
27
] | 20 |
[
"80-75=5",
"73+27=100",
"100/5=20"
] |
Current State: 20:[80, 75, 73, 27], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [73, 27, 5]
Generated Node #2: [73, 27, 5] from Operation: 80-75=5
Current State: 20:[73, 27, 5], Operations: ['80-75=5']
Exploring Operation: 73+27=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 73+27=100
Current State: 20:[5, 100], Operations: ['80-75=5', '73+27=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[80, 75, 73, 27], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [73, 27, 5]
Generated Node #0,0: 20:[73, 27, 5] Operation: 80-75=5
Exploring Operation: 75-73=2, Resulting Numbers: [80, 27, 2]
Generated Node #0,1: 20:[80, 27, 2] Operation: 75-73=2
Exploring Operation: 80-73=7, Resulting Numbers: [75, 27, 7]
Generated Node #0,2: 20:[75, 27, 7] Operation: 80-73=7
Moving to Node #0,0
Current State: 20:[73, 27, 5], Operations: ['80-75=5']
Exploring Operation: 27-5=22, Resulting Numbers: [73, 22]
Generated Node #0,0,0: 20:[73, 22] Operation: 27-5=22
Exploring Operation: 73-5=68, Resulting Numbers: [27, 68]
Generated Node #0,0,1: 20:[27, 68] Operation: 73-5=68
Exploring Operation: 73-27=46, Resulting Numbers: [5, 46]
Generated Node #0,0,2: 20:[5, 46] Operation: 73-27=46
Moving to Node #0,2
Current State: 20:[75, 27, 7], Operations: ['80-73=7']
Exploring Operation: 27-7=20, Resulting Numbers: [75, 20]
Generated Node #0,2,0: 20:[75, 20] Operation: 27-7=20
Exploring Operation: 75-7=68, Resulting Numbers: [27, 68]
Generated Node #0,2,1: 20:[27, 68] Operation: 75-7=68
Exploring Operation: 75-27=48, Resulting Numbers: [7, 48]
Generated Node #0,2,2: 20:[7, 48] Operation: 75-27=48
Moving to Node #0,1
Current State: 20:[80, 27, 2], Operations: ['75-73=2']
Exploring Operation: 80-27=53, Resulting Numbers: [2, 53]
Generated Node #0,1,0: 20:[2, 53] Operation: 80-27=53
Exploring Operation: 80/2=40, Resulting Numbers: [27, 40]
Generated Node #0,1,1: 20:[27, 40] Operation: 80/2=40
Exploring Operation: 80-2=78, Resulting Numbers: [27, 78]
Generated Node #0,1,2: 20:[27, 78] Operation: 80-2=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[27, 40], Operations: ['75-73=2', '80/2=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,20 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No 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: 20:[2, 53], Operations: ['75-73=2', '80-27=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,20 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No 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: 20:[27, 78], Operations: ['75-73=2', '80-2=78']
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 27*78=2106, Resulting Numbers: [2106]
2106,20 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 20:[5, 46], Operations: ['80-75=5', '73-27=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,20 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[7, 48], Operations: ['80-73=7', '75-27=48']
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[27, 68], Operations: ['80-75=5', '73-5=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[27, 68], Operations: ['80-73=7', '75-7=68']
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,20 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[75, 20], Operations: ['80-73=7', '27-7=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[73, 22], Operations: ['80-75=5', '27-5=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,20 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
26,
64,
66,
87
] | 59 |
[
"64-26=38",
"87-66=21",
"38+21=59"
] |
Current State: 59:[26, 64, 66, 87], Operations: []
Exploring Operation: 64-26=38, Resulting Numbers: [66, 87, 38]
Generated Node #2: [66, 87, 38] from Operation: 64-26=38
Current State: 59:[66, 87, 38], Operations: ['64-26=38']
Exploring Operation: 87-66=21, Resulting Numbers: [38, 21]
Generated Node #3: [38, 21] from Operation: 87-66=21
Current State: 59:[38, 21], Operations: ['64-26=38', '87-66=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[26, 64, 66, 87], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [64, 66, 61]
Generated Node #0,0: 59:[64, 66, 61] Operation: 87-26=61
Exploring Operation: 66-26=40, Resulting Numbers: [64, 87, 40]
Generated Node #0,1: 59:[64, 87, 40] Operation: 66-26=40
Exploring Operation: 64-26=38, Resulting Numbers: [66, 87, 38]
Generated Node #0,2: 59:[66, 87, 38] Operation: 64-26=38
Exploring Operation: 26+66=92, Resulting Numbers: [64, 87, 92]
Generated Node #0,3: 59:[64, 87, 92] Operation: 26+66=92
Exploring Operation: 26+64=90, Resulting Numbers: [66, 87, 90]
Generated Node #0,4: 59:[66, 87, 90] Operation: 26+64=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[64, 66, 61], Operations: ['87-26=61']
Exploring Operation: 64+61=125, Resulting Numbers: [66, 125]
Generated Node #0,0,0: 59:[66, 125] Operation: 64+61=125
Exploring Operation: 64-61=3, Resulting Numbers: [66, 3]
Generated Node #0,0,1: 59:[66, 3] Operation: 64-61=3
Exploring Operation: 66-64=2, Resulting Numbers: [61, 2]
Generated Node #0,0,2: 59:[61, 2] Operation: 66-64=2
Exploring Operation: 64+66=130, Resulting Numbers: [61, 130]
Generated Node #0,0,3: 59:[61, 130] Operation: 64+66=130
Exploring Operation: 66-61=5, Resulting Numbers: [64, 5]
Generated Node #0,0,4: 59:[64, 5] Operation: 66-61=5
Moving to Node #0,0,2
Current State: 59:[61, 2], Operations: ['87-26=61', '66-64=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[26, 64, 66, 87], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [64, 66, 61]
Generated Node #0,0: 59:[64, 66, 61] Operation: 87-26=61
Moving to Node #0,0
Current State: 59:[64, 66, 61], Operations: ['87-26=61']
Exploring Operation: 66-64=2, Resulting Numbers: [61, 2]
Generated Node #0,0,2: 59:[61, 2] Operation: 66-64=2
Moving to Node #0,0,2
Current State: 59:[61, 2], Operations: ['87-26=61', '66-64=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
7,
52,
84,
53
] | 78 |
[
"7+52=59",
"84+53=137",
"137-59=78"
] |
Current State: 78:[7, 52, 84, 53], Operations: []
Exploring Operation: 7+52=59, Resulting Numbers: [84, 53, 59]
Generated Node #2: [84, 53, 59] from Operation: 7+52=59
Current State: 78:[84, 53, 59], Operations: ['7+52=59']
Exploring Operation: 84+53=137, Resulting Numbers: [59, 137]
Generated Node #3: [59, 137] from Operation: 84+53=137
Current State: 78:[59, 137], Operations: ['7+52=59', '84+53=137']
Exploring Operation: 137-59=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[7, 52, 84, 53], Operations: []
Exploring Operation: 52-7=45, Resulting Numbers: [84, 53, 45]
Generated Node #0,0: 78:[84, 53, 45] Operation: 52-7=45
Exploring Operation: 84-52=32, Resulting Numbers: [7, 53, 32]
Generated Node #0,1: 78:[7, 53, 32] Operation: 84-52=32
Exploring Operation: 53-52=1, Resulting Numbers: [7, 84, 1]
Generated Node #0,2: 78:[7, 84, 1] Operation: 53-52=1
Exploring Operation: 84-53=31, Resulting Numbers: [7, 52, 31]
Generated Node #0,3: 78:[7, 52, 31] Operation: 84-53=31
Exploring Operation: 53-7=46, Resulting Numbers: [52, 84, 46]
Generated Node #0,4: 78:[52, 84, 46] Operation: 53-7=46
Moving to Node #0,2
Current State: 78:[7, 84, 1], Operations: ['53-52=1']
Exploring Operation: 7*1=7, Resulting Numbers: [84, 7]
Generated Node #0,2,0: 78:[84, 7] Operation: 7*1=7
Exploring Operation: 84-1=83, Resulting Numbers: [7, 83]
Generated Node #0,2,1: 78:[7, 83] Operation: 84-1=83
Exploring Operation: 7-1=6, Resulting Numbers: [84, 6]
Generated Node #0,2,2: 78:[84, 6] Operation: 7-1=6
Exploring Operation: 84/7=12, Resulting Numbers: [1, 12]
Generated Node #0,2,3: 78:[1, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [1, 77]
Generated Node #0,2,4: 78:[1, 77] Operation: 84-7=77
Moving to Node #0,3
Current State: 78:[7, 52, 31], Operations: ['84-53=31']
Exploring Operation: 52-31=21, Resulting Numbers: [7, 21]
Generated Node #0,3,0: 78:[7, 21] Operation: 52-31=21
Exploring Operation: 31-7=24, Resulting Numbers: [52, 24]
Generated Node #0,3,1: 78:[52, 24] Operation: 31-7=24
Exploring Operation: 52+31=83, Resulting Numbers: [7, 83]
Generated Node #0,3,2: 78:[7, 83] Operation: 52+31=83
Exploring Operation: 7+31=38, Resulting Numbers: [52, 38]
Generated Node #0,3,3: 78:[52, 38] Operation: 7+31=38
Exploring Operation: 52-7=45, Resulting Numbers: [31, 45]
Generated Node #0,3,4: 78:[31, 45] Operation: 52-7=45
Moving to Node #0,1
Current State: 78:[7, 53, 32], Operations: ['84-52=32']
Exploring Operation: 53+32=85, Resulting Numbers: [7, 85]
Generated Node #0,1,0: 78:[7, 85] Operation: 53+32=85
Exploring Operation: 53-32=21, Resulting Numbers: [7, 21]
Generated Node #0,1,1: 78:[7, 21] Operation: 53-32=21
Exploring Operation: 53-7=46, Resulting Numbers: [32, 46]
Generated Node #0,1,2: 78:[32, 46] Operation: 53-7=46
Exploring Operation: 32-7=25, Resulting Numbers: [53, 25]
Generated Node #0,1,3: 78:[53, 25] Operation: 32-7=25
Exploring Operation: 7+32=39, Resulting Numbers: [53, 39]
Generated Node #0,1,4: 78:[53, 39] Operation: 7+32=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[7, 21], Operations: ['84-52=32', '53-32=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,78 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[7, 85], Operations: ['84-52=32', '53+32=85']
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,78 unequal: No Solution
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,78 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[7, 52, 84, 53], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [7, 53, 32]
Generated Node #0,1: 78:[7, 53, 32] Operation: 84-52=32
Moving to Node #0,1
Current State: 78:[7, 53, 32], Operations: ['84-52=32']
Exploring Operation: 53+32=85, Resulting Numbers: [7, 85]
Generated Node #0,1,0: 78:[7, 85] Operation: 53+32=85
Moving to Node #0,1,0
Current State: 78:[7, 85], Operations: ['84-52=32', '53+32=85']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 |
hs_5
|
sum_heuristic
|
[
29,
54,
88,
33
] | 85 |
[
"54+33=87",
"87/29=3",
"88-3=85"
] |
Current State: 85:[29, 54, 88, 33], Operations: []
Exploring Operation: 54+33=87, Resulting Numbers: [29, 88, 87]
Generated Node #2: [29, 88, 87] from Operation: 54+33=87
Current State: 85:[29, 88, 87], Operations: ['54+33=87']
Exploring Operation: 87/29=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 87/29=3
Current State: 85:[88, 3], Operations: ['54+33=87', '87/29=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[29, 54, 88, 33], Operations: []
Exploring Operation: 54+33=87, Resulting Numbers: [29, 88, 87]
Generated Node #0,0: 85:[29, 88, 87] Operation: 54+33=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[29, 88, 87], Operations: ['54+33=87']
Exploring Operation: 87/29=3, Resulting Numbers: [88, 3]
Generated Node #0,0,0: 85:[88, 3] Operation: 87/29=3
Moving to Node #0,0,0
Current State: 85:[88, 3], Operations: ['54+33=87', '87/29=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[29, 54, 88, 33], Operations: []
Exploring Operation: 54+33=87, Resulting Numbers: [29, 88, 87]
Generated Node #0,0: 85:[29, 88, 87] Operation: 54+33=87
Moving to Node #0,0
Current State: 85:[29, 88, 87], Operations: ['54+33=87']
Exploring Operation: 87/29=3, Resulting Numbers: [88, 3]
Generated Node #0,0,0: 85:[88, 3] Operation: 87/29=3
Moving to Node #0,0,0
Current State: 85:[88, 3], Operations: ['54+33=87', '87/29=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
6,
44,
96,
76
] | 18 |
[
"44-6=38",
"96-76=20",
"38-20=18"
] |
Current State: 18:[6, 44, 96, 76], Operations: []
Exploring Operation: 44-6=38, Resulting Numbers: [96, 76, 38]
Generated Node #2: [96, 76, 38] from Operation: 44-6=38
Current State: 18:[96, 76, 38], Operations: ['44-6=38']
Exploring Operation: 96-76=20, Resulting Numbers: [38, 20]
Generated Node #3: [38, 20] from Operation: 96-76=20
Current State: 18:[38, 20], Operations: ['44-6=38', '96-76=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[6, 44, 96, 76], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [6, 76, 52]
Generated Node #0,0: 18:[6, 76, 52] Operation: 96-44=52
Exploring Operation: 96-76=20, Resulting Numbers: [6, 44, 20]
Generated Node #0,1: 18:[6, 44, 20] Operation: 96-76=20
Exploring Operation: 96/6=16, Resulting Numbers: [44, 76, 16]
Generated Node #0,2: 18:[44, 76, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[6, 44, 20], Operations: ['96-76=20']
Exploring Operation: 44-20=24, Resulting Numbers: [6, 24]
Generated Node #0,1,0: 18:[6, 24] Operation: 44-20=24
Exploring Operation: 20-6=14, Resulting Numbers: [44, 14]
Generated Node #0,1,1: 18:[44, 14] Operation: 20-6=14
Exploring Operation: 44-6=38, Resulting Numbers: [20, 38]
Generated Node #0,1,2: 18:[20, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[6, 24], Operations: ['96-76=20', '44-20=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[6, 44, 96, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [6, 44, 20]
Generated Node #0,1: 18:[6, 44, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 18:[6, 44, 20], Operations: ['96-76=20']
Exploring Operation: 44-20=24, Resulting Numbers: [6, 24]
Generated Node #0,1,0: 18:[6, 24] Operation: 44-20=24
Moving to Node #0,1,0
Current State: 18:[6, 24], Operations: ['96-76=20', '44-20=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
52,
1,
54,
40
] | 20 |
[
"52*1=52",
"54-52=2",
"40/2=20"
] |
Current State: 20:[52, 1, 54, 40], Operations: []
Exploring Operation: 52*1=52, Resulting Numbers: [54, 40, 52]
Generated Node #2: [54, 40, 52] from Operation: 52*1=52
Current State: 20:[54, 40, 52], Operations: ['52*1=52']
Exploring Operation: 54-52=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 54-52=2
Current State: 20:[40, 2], Operations: ['52*1=52', '54-52=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[52, 1, 54, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [1, 54, 12]
Generated Node #0,0: 20:[1, 54, 12] Operation: 52-40=12
Exploring Operation: 54-1=53, Resulting Numbers: [52, 40, 53]
Generated Node #0,1: 20:[52, 40, 53] Operation: 54-1=53
Exploring Operation: 52-1=51, Resulting Numbers: [54, 40, 51]
Generated Node #0,2: 20:[54, 40, 51] Operation: 52-1=51
Exploring Operation: 54-52=2, Resulting Numbers: [1, 40, 2]
Generated Node #0,3: 20:[1, 40, 2] Operation: 54-52=2
Exploring Operation: 54-40=14, Resulting Numbers: [52, 1, 14]
Generated Node #0,4: 20:[52, 1, 14] Operation: 54-40=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[1, 40, 2], Operations: ['54-52=2']
Exploring Operation: 40-2=38, Resulting Numbers: [1, 38]
Generated Node #0,3,0: 20:[1, 38] Operation: 40-2=38
Exploring Operation: 1*40=40, Resulting Numbers: [2, 40]
Generated Node #0,3,1: 20:[2, 40] Operation: 1*40=40
Exploring Operation: 40/2=20, Resulting Numbers: [1, 20]
Generated Node #0,3,2: 20:[1, 20] Operation: 40/2=20
Exploring Operation: 40-1=39, Resulting Numbers: [2, 39]
Generated Node #0,3,3: 20:[2, 39] Operation: 40-1=39
Exploring Operation: 40/1=40, Resulting Numbers: [2, 40]
Generated Node #0,3,4: 20:[2, 40] Operation: 40/1=40
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[1, 20], Operations: ['54-52=2', '40/2=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[52, 1, 54, 40], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [1, 40, 2]
Generated Node #0,3: 20:[1, 40, 2] Operation: 54-52=2
Moving to Node #0,3
Current State: 20:[1, 40, 2], Operations: ['54-52=2']
Exploring Operation: 40/2=20, Resulting Numbers: [1, 20]
Generated Node #0,3,2: 20:[1, 20] Operation: 40/2=20
Moving to Node #0,3,2
Current State: 20:[1, 20], Operations: ['54-52=2', '40/2=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
mult_heuristic
|
[
28,
23,
18,
13
] | 69 |
[
"28-18=10",
"13-10=3",
"23*3=69"
] |
Current State: 69:[28, 23, 18, 13], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [23, 13, 10]
Generated Node #2: [23, 13, 10] from Operation: 28-18=10
Current State: 69:[23, 13, 10], Operations: ['28-18=10']
Exploring Operation: 13-10=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 13-10=3
Current State: 69:[23, 3], Operations: ['28-18=10', '13-10=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[28, 23, 18, 13], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [23, 18, 15]
Generated Node #0,0: 69:[23, 18, 15] Operation: 28-13=15
Exploring Operation: 18-13=5, Resulting Numbers: [28, 23, 5]
Generated Node #0,1: 69:[28, 23, 5] Operation: 18-13=5
Exploring Operation: 28-23=5, Resulting Numbers: [18, 13, 5]
Generated Node #0,2: 69:[18, 13, 5] Operation: 28-23=5
Exploring Operation: 18+13=31, Resulting Numbers: [28, 23, 31]
Generated Node #0,3: 69:[28, 23, 31] Operation: 18+13=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[28, 23, 5], Operations: ['18-13=5']
Exploring Operation: 28-23=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 69:[5, 5] Operation: 28-23=5
Exploring Operation: 28-5=23, Resulting Numbers: [23, 23]
Generated Node #0,1,1: 69:[23, 23] Operation: 28-5=23
Exploring Operation: 28+5=33, Resulting Numbers: [23, 33]
Generated Node #0,1,2: 69:[23, 33] Operation: 28+5=33
Exploring Operation: 23+5=28, Resulting Numbers: [28, 28]
Generated Node #0,1,3: 69:[28, 28] Operation: 23+5=28
Moving to Node #0,1,1
Current State: 69:[23, 23], Operations: ['18-13=5', '28-5=23']
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,69 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[5, 5], Operations: ['18-13=5', '28-23=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[28, 28], Operations: ['18-13=5', '23+5=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,69 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[23, 33], Operations: ['18-13=5', '28+5=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[23, 18, 15], Operations: ['28-13=15']
Exploring Operation: 18-15=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 18-15=3
Exploring Operation: 18+15=33, Resulting Numbers: [23, 33]
Generated Node #0,0,1: 69:[23, 33] Operation: 18+15=33
Exploring Operation: 23-15=8, Resulting Numbers: [18, 8]
Generated Node #0,0,2: 69:[18, 8] Operation: 23-15=8
Exploring Operation: 23-18=5, Resulting Numbers: [15, 5]
Generated Node #0,0,3: 69:[15, 5] Operation: 23-18=5
Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['28-13=15', '18-15=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[28, 23, 18, 13], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [23, 18, 15]
Generated Node #0,0: 69:[23, 18, 15] Operation: 28-13=15
Moving to Node #0,0
Current State: 69:[23, 18, 15], Operations: ['28-13=15']
Exploring Operation: 18-15=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 18-15=3
Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['28-13=15', '18-15=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 |
hs_4
|
sum_heuristic
|
[
19,
29,
49,
2
] | 54 |
[
"29-19=10",
"10/2=5",
"49+5=54"
] |
Current State: 54:[19, 29, 49, 2], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [49, 2, 10]
Generated Node #2: [49, 2, 10] from Operation: 29-19=10
Current State: 54:[49, 2, 10], Operations: ['29-19=10']
Exploring Operation: 10/2=5, Resulting Numbers: [49, 5]
Generated Node #3: [49, 5] from Operation: 10/2=5
Current State: 54:[49, 5], Operations: ['29-19=10', '10/2=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[19, 29, 49, 2], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [19, 2, 20]
Generated Node #0,0: 54:[19, 2, 20] Operation: 49-29=20
Exploring Operation: 49-19=30, Resulting Numbers: [29, 2, 30]
Generated Node #0,1: 54:[29, 2, 30] Operation: 49-19=30
Exploring Operation: 29-2=27, Resulting Numbers: [19, 49, 27]
Generated Node #0,2: 54:[19, 49, 27] Operation: 29-2=27
Exploring Operation: 29-19=10, Resulting Numbers: [49, 2, 10]
Generated Node #0,3: 54:[49, 2, 10] Operation: 29-19=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[19, 2, 20], Operations: ['49-29=20']
Exploring Operation: 20-19=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 54:[2, 1] Operation: 20-19=1
Exploring Operation: 20-2=18, Resulting Numbers: [19, 18]
Generated Node #0,0,1: 54:[19, 18] Operation: 20-2=18
Exploring Operation: 19-2=17, Resulting Numbers: [20, 17]
Generated Node #0,0,2: 54:[20, 17] Operation: 19-2=17
Exploring Operation: 20/2=10, Resulting Numbers: [19, 10]
Generated Node #0,0,3: 54:[19, 10] Operation: 20/2=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[2, 1], Operations: ['49-29=20', '20-19=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No 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: 54:[19, 18], Operations: ['49-29=20', '20-2=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,54 unequal: No Solution
No 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: 54:[19, 10], Operations: ['49-29=20', '20/2=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,54 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No 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: 54:[20, 17], Operations: ['49-29=20', '19-2=17']
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,54 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,54 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: 54:[29, 2, 30], Operations: ['49-19=30']
Exploring Operation: 30-2=28, Resulting Numbers: [29, 28]
Generated Node #0,1,0: 54:[29, 28] Operation: 30-2=28
Exploring Operation: 29+30=59, Resulting Numbers: [2, 59]
Generated Node #0,1,1: 54:[2, 59] Operation: 29+30=59
Exploring Operation: 30-29=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 54:[2, 1] Operation: 30-29=1
Exploring Operation: 29-2=27, Resulting Numbers: [30, 27]
Generated Node #0,1,3: 54:[30, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[2, 1], Operations: ['49-19=30', '30-29=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No 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: 54:[29, 28], Operations: ['49-19=30', '30-2=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,54 unequal: No Solution
No 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: 54:[30, 27], Operations: ['49-19=30', '29-2=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,54 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,54 unequal: No Solution
No 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: 54:[2, 59], Operations: ['49-19=30', '29+30=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,54 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,54 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: 54:[19, 49, 27], Operations: ['29-2=27']
Exploring Operation: 49-27=22, Resulting Numbers: [19, 22]
Generated Node #0,2,0: 54:[19, 22] Operation: 49-27=22
Exploring Operation: 19+27=46, Resulting Numbers: [49, 46]
Generated Node #0,2,1: 54:[49, 46] Operation: 19+27=46
Exploring Operation: 49-19=30, Resulting Numbers: [27, 30]
Generated Node #0,2,2: 54:[27, 30] Operation: 49-19=30
Exploring Operation: 27-19=8, Resulting Numbers: [49, 8]
Generated Node #0,2,3: 54:[49, 8] Operation: 27-19=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[27, 30], Operations: ['29-2=27', '49-19=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,54 unequal: No Solution
No 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: 54:[19, 22], Operations: ['29-2=27', '49-27=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,54 unequal: No Solution
No 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: 54:[49, 8], Operations: ['29-2=27', '27-19=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,54 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,54 unequal: No Solution
No 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: 54:[49, 46], Operations: ['29-2=27', '19+27=46']
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,54 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,54 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: 54:[49, 2, 10], Operations: ['29-19=10']
Exploring Operation: 10/2=5, Resulting Numbers: [49, 5]
Generated Node #0,3,0: 54:[49, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [49, 8]
Generated Node #0,3,1: 54:[49, 8] Operation: 10-2=8
Exploring Operation: 49+10=59, Resulting Numbers: [2, 59]
Generated Node #0,3,2: 54:[2, 59] Operation: 49+10=59
Exploring Operation: 49+2=51, Resulting Numbers: [10, 51]
Generated Node #0,3,3: 54:[10, 51] Operation: 49+2=51
Moving to Node #0,3,3
Current State: 54:[10, 51], Operations: ['29-19=10', '49+2=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[2, 59], Operations: ['29-19=10', '49+10=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[49, 8], Operations: ['29-19=10', '10-2=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,54 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[49, 5], Operations: ['29-19=10', '10/2=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,54 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[19, 29, 49, 2], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [49, 2, 10]
Generated Node #0,3: 54:[49, 2, 10] Operation: 29-19=10
Moving to Node #0,3
Current State: 54:[49, 2, 10], Operations: ['29-19=10']
Exploring Operation: 10/2=5, Resulting Numbers: [49, 5]
Generated Node #0,3,0: 54:[49, 5] Operation: 10/2=5
Moving to Node #0,3,0
Current State: 54:[49, 5], Operations: ['29-19=10', '10/2=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.936632 |
hs_4
|
mult_heuristic
|
[
60,
20,
5,
10
] | 11 |
[
"20-10=10",
"60/10=6",
"5+6=11"
] |
Current State: 11:[60, 20, 5, 10], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [60, 5, 10]
Generated Node #2: [60, 5, 10] from Operation: 20-10=10
Current State: 11:[60, 5, 10], Operations: ['20-10=10']
Exploring Operation: 60/10=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 60/10=6
Current State: 11:[5, 6], Operations: ['20-10=10', '60/10=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[60, 20, 5, 10], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [20, 10, 12]
Generated Node #0,0: 11:[20, 10, 12] Operation: 60/5=12
Moving to Node #0,0
Current State: 11:[20, 10, 12], Operations: ['60/5=12']
Exploring Operation: 20-10=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 11:[12, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[12, 10], Operations: ['60/5=12', '20-10=10']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,11 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
|
[
36,
87,
7,
61
] | 88 |
[
"61-36=25",
"7*25=175",
"175-87=88"
] |
Current State: 88:[36, 87, 7, 61], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [87, 7, 25]
Generated Node #2: [87, 7, 25] from Operation: 61-36=25
Current State: 88:[87, 7, 25], Operations: ['61-36=25']
Exploring Operation: 7*25=175, Resulting Numbers: [87, 175]
Generated Node #3: [87, 175] from Operation: 7*25=175
Current State: 88:[87, 175], Operations: ['61-36=25', '7*25=175']
Exploring Operation: 175-87=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[36, 87, 7, 61], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [36, 7, 26]
Generated Node #0,0: 88:[36, 7, 26] Operation: 87-61=26
Exploring Operation: 36+61=97, Resulting Numbers: [87, 7, 97]
Generated Node #0,1: 88:[87, 7, 97] Operation: 36+61=97
Exploring Operation: 61-36=25, Resulting Numbers: [87, 7, 25]
Generated Node #0,2: 88:[87, 7, 25] Operation: 61-36=25
Moving to Node #0,2
Current State: 88:[87, 7, 25], Operations: ['61-36=25']
Exploring Operation: 25-7=18, Resulting Numbers: [87, 18]
Generated Node #0,2,0: 88:[87, 18] Operation: 25-7=18
Exploring Operation: 87+7=94, Resulting Numbers: [25, 94]
Generated Node #0,2,1: 88:[25, 94] Operation: 87+7=94
Exploring Operation: 87-7=80, Resulting Numbers: [25, 80]
Generated Node #0,2,2: 88:[25, 80] Operation: 87-7=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[87, 18], Operations: ['61-36=25', '25-7=18']
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[25, 94], Operations: ['61-36=25', '87+7=94']
Exploring Operation: 25+94=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 25*94=2350, Resulting Numbers: [2350]
2350,88 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[25, 80], Operations: ['61-36=25', '87-7=80']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 25*80=2000, Resulting Numbers: [2000]
2000,88 unequal: No Solution
Exploring Operation: 25+80=105, Resulting Numbers: [105]
105,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[87, 7, 97], Operations: ['36+61=97']
Exploring Operation: 97-87=10, Resulting Numbers: [7, 10]
Generated Node #0,1,0: 88:[7, 10] Operation: 97-87=10
Exploring Operation: 87+7=94, Resulting Numbers: [97, 94]
Generated Node #0,1,1: 88:[97, 94] Operation: 87+7=94
Exploring Operation: 97-7=90, Resulting Numbers: [87, 90]
Generated Node #0,1,2: 88:[87, 90] Operation: 97-7=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[7, 10], Operations: ['36+61=97', '97-87=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[87, 90], Operations: ['36+61=97', '97-7=90']
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 87+90=177, Resulting Numbers: [177]
177,88 unequal: No Solution
Exploring Operation: 87*90=7830, Resulting Numbers: [7830]
7830,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[97, 94], Operations: ['36+61=97', '87+7=94']
Exploring Operation: 97+94=191, Resulting Numbers: [191]
191,88 unequal: No Solution
Exploring Operation: 97*94=9118, Resulting Numbers: [9118]
9118,88 unequal: No Solution
Exploring Operation: 97-94=3, Resulting Numbers: [3]
3,88 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: 88:[36, 7, 26], Operations: ['87-61=26']
Exploring Operation: 36-7=29, Resulting Numbers: [26, 29]
Generated Node #0,0,0: 88:[26, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [26, 43]
Generated Node #0,0,1: 88:[26, 43] Operation: 36+7=43
Exploring Operation: 36-26=10, Resulting Numbers: [7, 10]
Generated Node #0,0,2: 88:[7, 10] Operation: 36-26=10
Moving to Node #0,0,2
Current State: 88:[7, 10], Operations: ['87-61=26', '36-26=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[26, 43], Operations: ['87-61=26', '36+7=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,88 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[26, 29], Operations: ['87-61=26', '36-7=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,88 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,88 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
84,
1,
73,
40
] | 30 |
[
"84-1=83",
"73+40=113",
"113-83=30"
] |
Current State: 30:[84, 1, 73, 40], Operations: []
Exploring Operation: 84-1=83, Resulting Numbers: [73, 40, 83]
Generated Node #2: [73, 40, 83] from Operation: 84-1=83
Current State: 30:[73, 40, 83], Operations: ['84-1=83']
Exploring Operation: 73+40=113, Resulting Numbers: [83, 113]
Generated Node #3: [83, 113] from Operation: 73+40=113
Current State: 30:[83, 113], Operations: ['84-1=83', '73+40=113']
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[84, 1, 73, 40], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [1, 40, 11]
Generated Node #0,0: 30:[1, 40, 11] Operation: 84-73=11
Exploring Operation: 84-1=83, Resulting Numbers: [73, 40, 83]
Generated Node #0,1: 30:[73, 40, 83] Operation: 84-1=83
Exploring Operation: 84-40=44, Resulting Numbers: [1, 73, 44]
Generated Node #0,2: 30:[1, 73, 44] Operation: 84-40=44
Exploring Operation: 73-40=33, Resulting Numbers: [84, 1, 33]
Generated Node #0,3: 30:[84, 1, 33] Operation: 73-40=33
Moving to Node #0,0
Current State: 30:[1, 40, 11], Operations: ['84-73=11']
Exploring Operation: 1*40=40, Resulting Numbers: [11, 40]
Generated Node #0,0,0: 30:[11, 40] Operation: 1*40=40
Exploring Operation: 40-11=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 30:[1, 29] Operation: 40-11=29
Exploring Operation: 40-1=39, Resulting Numbers: [11, 39]
Generated Node #0,0,2: 30:[11, 39] Operation: 40-1=39
Exploring Operation: 11-1=10, Resulting Numbers: [40, 10]
Generated Node #0,0,3: 30:[40, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[1, 29], Operations: ['84-73=11', '40-11=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[84, 1, 73, 40], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [1, 40, 11]
Generated Node #0,0: 30:[1, 40, 11] Operation: 84-73=11
Moving to Node #0,0
Current State: 30:[1, 40, 11], Operations: ['84-73=11']
Exploring Operation: 40-11=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 30:[1, 29] Operation: 40-11=29
Moving to Node #0,0,1
Current State: 30:[1, 29], Operations: ['84-73=11', '40-11=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
61,
82,
7,
4
] | 63 |
[
"82-61=21",
"7-4=3",
"21*3=63"
] |
Current State: 63:[61, 82, 7, 4], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [7, 4, 21]
Generated Node #2: [7, 4, 21] from Operation: 82-61=21
Current State: 63:[7, 4, 21], Operations: ['82-61=21']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 7-4=3
Current State: 63:[21, 3], Operations: ['82-61=21', '7-4=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[61, 82, 7, 4], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [7, 4, 21]
Generated Node #0,0: 63:[7, 4, 21] Operation: 82-61=21
Exploring Operation: 82-4=78, Resulting Numbers: [61, 7, 78]
Generated Node #0,1: 63:[61, 7, 78] Operation: 82-4=78
Exploring Operation: 82-7=75, Resulting Numbers: [61, 4, 75]
Generated Node #0,2: 63:[61, 4, 75] Operation: 82-7=75
Exploring Operation: 61+4=65, Resulting Numbers: [82, 7, 65]
Generated Node #0,3: 63:[82, 7, 65] Operation: 61+4=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[7, 4, 21], Operations: ['82-61=21']
Exploring Operation: 7+4=11, Resulting Numbers: [21, 11]
Generated Node #0,0,0: 63:[21, 11] Operation: 7+4=11
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 63:[4, 3] Operation: 21/7=3
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 63:[21, 3] Operation: 7-4=3
Exploring Operation: 4+21=25, Resulting Numbers: [7, 25]
Generated Node #0,0,3: 63:[7, 25] Operation: 4+21=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[21, 3], Operations: ['82-61=21', '7-4=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[61, 82, 7, 4], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [7, 4, 21]
Generated Node #0,0: 63:[7, 4, 21] Operation: 82-61=21
Moving to Node #0,0
Current State: 63:[7, 4, 21], Operations: ['82-61=21']
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 63:[21, 3] Operation: 7-4=3
Moving to Node #0,0,2
Current State: 63:[21, 3], Operations: ['82-61=21', '7-4=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
13,
42,
53,
10
] | 20 |
[
"13+42=55",
"55-53=2",
"10*2=20"
] |
Current State: 20:[13, 42, 53, 10], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [53, 10, 55]
Generated Node #2: [53, 10, 55] from Operation: 13+42=55
Current State: 20:[53, 10, 55], Operations: ['13+42=55']
Exploring Operation: 55-53=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 55-53=2
Current State: 20:[10, 2], Operations: ['13+42=55', '55-53=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[13, 42, 53, 10], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [53, 10, 29]
Generated Node #0,0: 20:[53, 10, 29] Operation: 42-13=29
Exploring Operation: 53-42=11, Resulting Numbers: [13, 10, 11]
Generated Node #0,1: 20:[13, 10, 11] Operation: 53-42=11
Moving to Node #0,1
Current State: 20:[13, 10, 11], Operations: ['53-42=11']
Exploring Operation: 13-10=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 20:[11, 3] Operation: 13-10=3
Exploring Operation: 13-11=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 20:[10, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[10, 2], Operations: ['53-42=11', '13-11=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[13, 42, 53, 10], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [13, 10, 11]
Generated Node #0,1: 20:[13, 10, 11] Operation: 53-42=11
Moving to Node #0,1
Current State: 20:[13, 10, 11], Operations: ['53-42=11']
Exploring Operation: 13-11=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 20:[10, 2] Operation: 13-11=2
Moving to Node #0,1,1
Current State: 20:[10, 2], Operations: ['53-42=11', '13-11=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
31,
1,
54,
90
] | 66 |
[
"31-1=30",
"90-54=36",
"30+36=66"
] |
Current State: 66:[31, 1, 54, 90], Operations: []
Exploring Operation: 31-1=30, Resulting Numbers: [54, 90, 30]
Generated Node #2: [54, 90, 30] from Operation: 31-1=30
Current State: 66:[54, 90, 30], Operations: ['31-1=30']
Exploring Operation: 90-54=36, Resulting Numbers: [30, 36]
Generated Node #3: [30, 36] from Operation: 90-54=36
Current State: 66:[30, 36], Operations: ['31-1=30', '90-54=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[31, 1, 54, 90], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [31, 1, 36]
Generated Node #0,0: 66:[31, 1, 36] Operation: 90-54=36
Exploring Operation: 90-31=59, Resulting Numbers: [1, 54, 59]
Generated Node #0,1: 66:[1, 54, 59] Operation: 90-31=59
Exploring Operation: 54-31=23, Resulting Numbers: [1, 90, 23]
Generated Node #0,2: 66:[1, 90, 23] Operation: 54-31=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[31, 1, 36], Operations: ['90-54=36']
Exploring Operation: 31+36=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 31+36=67
Exploring Operation: 36-31=5, Resulting Numbers: [1, 5]
Generated Node #0,0,1: 66:[1, 5] Operation: 36-31=5
Exploring Operation: 31+1=32, Resulting Numbers: [36, 32]
Generated Node #0,0,2: 66:[36, 32] Operation: 31+1=32
Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['90-54=36', '31+36=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[31, 1, 54, 90], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [31, 1, 36]
Generated Node #0,0: 66:[31, 1, 36] Operation: 90-54=36
Moving to Node #0,0
Current State: 66:[31, 1, 36], Operations: ['90-54=36']
Exploring Operation: 31+36=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 31+36=67
Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['90-54=36', '31+36=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
79,
89,
49,
45
] | 40 |
[
"89-79=10",
"49-45=4",
"10*4=40"
] |
Current State: 40:[79, 89, 49, 45], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [49, 45, 10]
Generated Node #2: [49, 45, 10] from Operation: 89-79=10
Current State: 40:[49, 45, 10], Operations: ['89-79=10']
Exploring Operation: 49-45=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 49-45=4
Current State: 40:[10, 4], Operations: ['89-79=10', '49-45=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[79, 89, 49, 45], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [49, 45, 10]
Generated Node #0,0: 40:[49, 45, 10] Operation: 89-79=10
Exploring Operation: 89-49=40, Resulting Numbers: [79, 45, 40]
Generated Node #0,1: 40:[79, 45, 40] Operation: 89-49=40
Exploring Operation: 89-45=44, Resulting Numbers: [79, 49, 44]
Generated Node #0,2: 40:[79, 49, 44] Operation: 89-45=44
Moving to Node #0,0
Current State: 40:[49, 45, 10], Operations: ['89-79=10']
Exploring Operation: 49-45=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 49-45=4
Exploring Operation: 45-10=35, Resulting Numbers: [49, 35]
Generated Node #0,0,1: 40:[49, 35] Operation: 45-10=35
Exploring Operation: 49-10=39, Resulting Numbers: [45, 39]
Generated Node #0,0,2: 40:[45, 39] Operation: 49-10=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['89-79=10', '49-45=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[79, 89, 49, 45], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [49, 45, 10]
Generated Node #0,0: 40:[49, 45, 10] Operation: 89-79=10
Moving to Node #0,0
Current State: 40:[49, 45, 10], Operations: ['89-79=10']
Exploring Operation: 49-45=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['89-79=10', '49-45=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.